diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/addonput.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/addonput.py deleted file mode 100644 index 72c9a935338..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/addonput.py +++ /dev/null @@ -1,38 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import AKS_CLUSTER_API -from azure.cli.core.azclierror import ( - UnknownError, - CLIError -) - - -def addon_put(cmd, cluster_subscription, cluster_resource_group_name, cluster_name): - from azure.cli.core.util import send_raw_request - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - feature_check_url = ( - f"{armendpoint}/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.ContainerService/managedClusters/{cluster_name}?api-version={AKS_CLUSTER_API}" - ) - try: - headers = ['User-Agent=azuremonitormetrics.addon_get'] - r = send_raw_request(cmd.cli_ctx, "GET", feature_check_url, - body={}, headers=headers) - except CLIError as e: - raise UnknownError(e) # pylint: disable=raise-missing-from - json_response = json.loads(r.text) - if "azureMonitorProfile" in json_response["properties"]: - if "metrics" in json_response["properties"]["azureMonitorProfile"]: - if json_response["properties"]["azureMonitorProfile"]["metrics"]["enabled"] is False: - # What if enabled doesn't exist - json_response["properties"]["azureMonitorProfile"]["metrics"]["enabled"] = True - try: - headers = ['User-Agent=azuremonitormetrics.addon_put'] - body = json.dumps(json_response) - r = send_raw_request(cmd.cli_ctx, "PUT", feature_check_url, - body=body, headers=headers) - except CLIError as e: - raise UnknownError(e) # pylint: disable=raise-missing-from diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amg/__init__.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amg/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amg/link.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amg/link.py deleted file mode 100644 index 6e504333164..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amg/link.py +++ /dev/null @@ -1,97 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -import uuid -from knack.util import CLIError -from azext_aks_preview.azuremonitormetrics.constants import ( - GRAFANA_API, - GRAFANA_ROLE_ASSIGNMENT_API, - GrafanaLink -) -from azext_aks_preview.azuremonitormetrics.helper import sanitize_resource_id - - -def link_grafana_instance(cmd, raw_parameters, azure_monitor_workspace_resource_id): - from azure.cli.core.util import send_raw_request - # GET grafana principal ID - try: - grafana_resource_id = raw_parameters.get("grafana_resource_id") - if grafana_resource_id is None or grafana_resource_id == "": - return GrafanaLink.NOPARAMPROVIDED - grafana_resource_id = sanitize_resource_id(grafana_resource_id) - grafanaURI = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{grafana_resource_id}?api-version={GRAFANA_API}" - headers = ['User-Agent=azuremonitormetrics.link_grafana_instance'] - grafanaArmResponse = send_raw_request(cmd.cli_ctx, "GET", grafanaURI, body={}, headers=headers) - # Check if 'identity' and 'type' exist in the response - identity_info = grafanaArmResponse.json().get("identity", {}) - identity_type = identity_info.get("type", "").lower() - - if identity_type == "systemassigned": - servicePrincipalId = identity_info.get("principalId") - elif identity_type == "userassigned": - user_assigned_identities = identity_info.get("userAssignedIdentities", {}) - if not user_assigned_identities: - raise CLIError("No user-assigned identities found.") - servicePrincipalId = list(user_assigned_identities.values())[0]["principalId"] - else: - raise CLIError("Unsupported or missing identity type.") - - if not servicePrincipalId: - raise CLIError("No service principal ID found for the specified identity.") - except CLIError as e: - raise CLIError(e) # pylint: disable=raise-missing-from - # Add Role Assignment - try: - MonitoringDataReader = "b0d8363b-8ddd-447d-831f-62ca05bff136" - roleDefinitionURI = ( - f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{azure_monitor_workspace_resource_id}/providers/" - f"Microsoft.Authorization/roleAssignments/{uuid.uuid4()}?api-version={GRAFANA_ROLE_ASSIGNMENT_API}" - ) - roleDefinitionId = ( - f"{azure_monitor_workspace_resource_id}/providers/" - f"Microsoft.Authorization/roleDefinitions/{MonitoringDataReader}" - ) - association_body = json.dumps( - { - "properties": { - "roleDefinitionId": roleDefinitionId, - "principalId": servicePrincipalId, - } - } - ) - headers = ['User-Agent=azuremonitormetrics.add_role_assignment'] - send_raw_request(cmd.cli_ctx, "PUT", roleDefinitionURI, body=association_body, headers=headers) - except CLIError as e: - if e.response.status_code != 409: - erroString = ( - "Role Assingment failed. Please manually assign the `Monitoring Data Reader` role to " - f"the Azure Monitor Workspace ({azure_monitor_workspace_resource_id}) for the Azure Managed Grafana " - f"System Assigned Managed Identity ({servicePrincipalId})" - ) - print(erroString) - # Setting up AMW Integration - targetGrafanaArmPayload = grafanaArmResponse.json() - if targetGrafanaArmPayload["properties"] is None: - raise CLIError("Invalid grafana payload to add AMW integration") - if "grafanaIntegrations" not in json.dumps(targetGrafanaArmPayload): - targetGrafanaArmPayload["properties"]["grafanaIntegrations"] = {} - if "azureMonitorWorkspaceIntegrations" not in json.dumps(targetGrafanaArmPayload): - targetGrafanaArmPayload["properties"]["grafanaIntegrations"]["azureMonitorWorkspaceIntegrations"] = [] - amwIntegrations = targetGrafanaArmPayload["properties"]["grafanaIntegrations"]["azureMonitorWorkspaceIntegrations"] - if amwIntegrations and azure_monitor_workspace_resource_id in json.dumps(amwIntegrations).lower(): - return GrafanaLink.ALREADYPRESENT - try: - grafanaURI = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{grafana_resource_id}?api-version={GRAFANA_API}" - targetGrafanaArmPayload["properties"]["grafanaIntegrations"][ - "azureMonitorWorkspaceIntegrations" - ].append( - {"azureMonitorWorkspaceResourceId": azure_monitor_workspace_resource_id} - ) - targetGrafanaArmPayload = json.dumps(targetGrafanaArmPayload) - headers = ['User-Agent=azuremonitormetrics.setup_amw_grafana_integration', 'Content-Type=application/json'] - send_raw_request(cmd.cli_ctx, "PUT", grafanaURI, body=targetGrafanaArmPayload, headers=headers) - except CLIError as e: - raise CLIError(e) # pylint: disable=raise-missing-from - return GrafanaLink.SUCCESS diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/__init__.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/create.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/create.py deleted file mode 100644 index 57e473ab64d..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/create.py +++ /dev/null @@ -1,46 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json - -from azure.cli.command_modules.acs._client_factory import get_resource_groups_client, get_resources_client -from azure.core.exceptions import HttpResponseError -from azext_aks_preview.azuremonitormetrics.constants import MAC_API -from azext_aks_preview.azuremonitormetrics.amw.defaults import get_default_mac_name_and_region - -from knack.util import CLIError - - -def create_default_mac(cmd, cluster_subscription, cluster_region): - from azure.cli.core.util import send_raw_request - default_mac_name, default_mac_region = get_default_mac_name_and_region(cmd, cluster_region) - default_resource_group_name = f"DefaultResourceGroup-{default_mac_region}" - azure_monitor_workspace_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{default_resource_group_name}/providers/" - f"microsoft.monitor/accounts/{default_mac_name}" - ) - # Check if default resource group exists or not, if it does not then create it - resource_groups = get_resource_groups_client(cmd.cli_ctx, cluster_subscription) - resources = get_resources_client(cmd.cli_ctx, cluster_subscription) - - if resource_groups.check_existence(default_resource_group_name): - try: - resource = resources.get_by_id(azure_monitor_workspace_resource_id, MAC_API) - # If MAC already exists then return from here - return azure_monitor_workspace_resource_id, resource.location - except HttpResponseError as ex: - if ex.status_code != 404: - raise ex - else: - resource_groups.create_or_update(default_resource_group_name, {"location": default_mac_region}) - association_body = json.dumps({"location": default_mac_region, "properties": {}}) - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = f"{armendpoint}{azure_monitor_workspace_resource_id}?api-version={MAC_API}" - try: - headers = ['User-Agent=azuremonitormetrics.create_default_mac'] - send_raw_request(cmd.cli_ctx, "PUT", association_url, - body=association_body, headers=headers) - return azure_monitor_workspace_resource_id, default_mac_region - except CLIError as e: - raise e diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/defaults.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/defaults.py deleted file mode 100644 index 93675af571a..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/defaults.py +++ /dev/null @@ -1,44 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.deaults import get_default_region -from azext_aks_preview.azuremonitormetrics.responseparsers.amwlocationresponseparser import ( - parseResourceProviderResponseForLocations, -) -from azext_aks_preview.azuremonitormetrics.constants import RP_LOCATION_API -from knack.util import CLIError - - -def get_supported_rp_locations(cmd, rp_name): - from azure.cli.core.util import send_raw_request - headers = ['User-Agent=azuremonitormetrics.get_supported_rp_locations'] - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = f"{armendpoint}/providers/{rp_name}?api-version={RP_LOCATION_API}" - r = send_raw_request(cmd.cli_ctx, "GET", association_url, headers=headers) - data = json.loads(r.text) - supported_locations = parseResourceProviderResponseForLocations(data) - return supported_locations - - -def get_default_mac_region(cmd, cluster_region): - supported_locations = get_supported_rp_locations(cmd, 'Microsoft.Monitor') - if cluster_region in supported_locations: - return cluster_region - if len(supported_locations) > 0: - return supported_locations[0] - cloud_name = cmd.cli_ctx.cloud.name - if cloud_name.lower() == 'azurechinacloud': - raise CLIError("Azure China Cloud is not supported for the Azure Monitor Metrics addon") - if cloud_name.lower() == 'azureusgovernment': - return "usgovvirginia" - # default to public cloud - return get_default_region(cmd) - - -def get_default_mac_name_and_region(cmd, cluster_region): - default_mac_region = get_default_mac_region(cmd, cluster_region) - default_mac_name = "DefaultAzureMonitorWorkspace-" + default_mac_region - default_mac_name = default_mac_name[0:43] - return default_mac_name, default_mac_region diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/helper.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/helper.py deleted file mode 100644 index a860483b064..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/amw/helper.py +++ /dev/null @@ -1,35 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from azext_aks_preview.azuremonitormetrics.amw.create import create_default_mac -from azext_aks_preview.azuremonitormetrics.constants import MAC_API -from azext_aks_preview.azuremonitormetrics.helper import sanitize_resource_id -from azure.core.exceptions import HttpResponseError -from azure.cli.command_modules.acs._client_factory import get_resources_client - - -def get_amw_region(cmd, azure_monitor_workspace_resource_id): - # region of MAC can be different from region of RG so find the location of the azure_monitor_workspace_resource_id - amw_subscription_id = azure_monitor_workspace_resource_id.split("/")[2] - resources = get_resources_client(cmd.cli_ctx, amw_subscription_id) - try: - resource = resources.get_by_id( - azure_monitor_workspace_resource_id, MAC_API) - return resource.location.lower() - except HttpResponseError as ex: - raise ex - - -def get_azure_monitor_workspace_resource(cmd, cluster_subscription, cluster_region, raw_parameters): - azure_monitor_workspace_resource_id = raw_parameters.get("azure_monitor_workspace_resource_id") - if not azure_monitor_workspace_resource_id: - azure_monitor_workspace_resource_id, azure_monitor_workspace_location = create_default_mac( - cmd, - cluster_subscription, - cluster_region - ) - else: - azure_monitor_workspace_resource_id = sanitize_resource_id(azure_monitor_workspace_resource_id) - azure_monitor_workspace_location = get_amw_region(cmd, azure_monitor_workspace_resource_id) - return azure_monitor_workspace_resource_id, azure_monitor_workspace_location.lower() diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/azuremonitorprofile.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/azuremonitorprofile.py index c97c1bd51e8..9d7be56cf6d 100644 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/azuremonitorprofile.py +++ b/src/aks-preview/azext_aks_preview/azuremonitormetrics/azuremonitorprofile.py @@ -2,19 +2,25 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azext_aks_preview.azuremonitormetrics.addonput import addon_put -from azext_aks_preview.azuremonitormetrics.amg.link import link_grafana_instance -from azext_aks_preview.azuremonitormetrics.amw.helper import get_azure_monitor_workspace_resource -from azext_aks_preview.azuremonitormetrics.dc.dce_api import create_dce -from azext_aks_preview.azuremonitormetrics.dc.dcr_api import create_dcr -from azext_aks_preview.azuremonitormetrics.dc.dcra_api import create_dcra -from azext_aks_preview.azuremonitormetrics.dc.delete import delete_dc_objects_if_prometheus_enabled, get_dc_objects_list -from azext_aks_preview.azuremonitormetrics.helper import check_azuremonitormetrics_profile, rp_registrations -from azext_aks_preview.azuremonitormetrics.recordingrules.create import create_rules -from azext_aks_preview.azuremonitormetrics.recordingrules.delete import delete_rules +from azure.cli.command_modules.acs.azuremonitormetrics.addonput import addon_put +from azure.cli.command_modules.acs.azuremonitormetrics.amg.link import link_grafana_instance +from azure.cli.command_modules.acs.azuremonitormetrics.amw.helper import get_azure_monitor_workspace_resource +from azure.cli.command_modules.acs.azuremonitormetrics.dc.dce_api import create_dce +from azure.cli.command_modules.acs.azuremonitormetrics.dc.dcr_api import create_dcr +from azure.cli.command_modules.acs.azuremonitormetrics.dc.dcra_api import create_dcra +from azure.cli.command_modules.acs.azuremonitormetrics.dc.delete import ( + delete_dc_objects_if_prometheus_enabled, + get_dc_objects_list +) +from azure.cli.command_modules.acs.azuremonitormetrics.recordingrules.create import create_rules +from azure.cli.command_modules.acs.azuremonitormetrics.recordingrules.delete import delete_rules +from azure.cli.command_modules.acs.azuremonitormetrics.helper import ( + check_azuremonitormetrics_profile, + rp_registrations +) +from azure.cli.core.azclierror import InvalidArgumentValueError from knack.util import CLIError from knack.log import get_logger -from azure.cli.core.azclierror import InvalidArgumentValueError logger = get_logger(__name__) @@ -93,7 +99,7 @@ def ensure_azure_monitor_profile_prerequisites( # Do RP registrations and artifact creation (DC*, rules, grafana link etc.) if not enabled already # Otherwise move forward so that the addon can be enabled with new KSM parameters if is_prometheus_enabled is False: - rp_registrations(cmd, cluster_subscription) + rp_registrations(cmd, cluster_subscription, raw_parameters) link_azure_monitor_profile_artifacts( cmd, cluster_subscription, diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/__init__.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dce_api.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dce_api.py deleted file mode 100644 index 0b1b09ff35a..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dce_api.py +++ /dev/null @@ -1,30 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import DC_API -from azext_aks_preview.azuremonitormetrics.dc.defaults import get_default_dce_name -from knack.util import CLIError - - -def create_dce(cmd, cluster_subscription, cluster_resource_group_name, cluster_name, mac_region): - from azure.cli.core.util import send_raw_request - dce_name = get_default_dce_name(cmd, mac_region, cluster_name) - dce_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.Insights/dataCollectionEndpoints/{dce_name}" - ) - try: - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - dce_url = f"{armendpoint}{dce_resource_id}?api-version={DC_API}" - dce_creation_body = json.dumps({"name": dce_name, - "location": mac_region, - "kind": "Linux", - "properties": {}}) - headers = ['User-Agent=azuremonitormetrics.create_dce'] - send_raw_request(cmd.cli_ctx, "PUT", - dce_url, body=dce_creation_body, headers=headers) - return dce_resource_id - except CLIError as error: - raise error diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcr_api.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcr_api.py deleted file mode 100644 index e4d2e9c824e..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcr_api.py +++ /dev/null @@ -1,78 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import MapToClosestMACRegion -from azext_aks_preview.azuremonitormetrics.dc.defaults import get_default_region, sanitize_name -from azext_aks_preview.azuremonitormetrics.constants import ( - DC_TYPE, - DC_API -) -from knack.util import CLIError - - -def get_default_dcr_name(cmd, mac_region, cluster_name): - region = MapToClosestMACRegion.get(mac_region, get_default_region(cmd)) - default_dcr_name = "MSProm-" + region + "-" + cluster_name - return sanitize_name(default_dcr_name, DC_TYPE.DCR, 64) - - -# pylint: disable=too-many-locals,too-many-branches,too-many-statements -def create_dcr( - cmd, - mac_region, - azure_monitor_workspace_resource_id, - cluster_subscription, - cluster_resource_group_name, - cluster_name, - dce_resource_id -): - from azure.cli.core.util import send_raw_request - dcr_name = get_default_dcr_name(cmd, mac_region, cluster_name) - dcr_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.Insights/dataCollectionRules/{dcr_name}" - ) - dcr_creation_body = json.dumps( - { - "location": mac_region, - "kind": "Linux", - "properties": { - "dataCollectionEndpointId": dce_resource_id, - "dataSources": { - "prometheusForwarder": [ - { - "name": "PrometheusDataSource", - "streams": ["Microsoft-PrometheusMetrics"], - "labelIncludeFilter": {}, - } - ] - }, - "dataFlows": [ - { - "destinations": ["MonitoringAccount1"], - "streams": ["Microsoft-PrometheusMetrics"], - } - ], - "description": "DCR description", - "destinations": { - "monitoringAccounts": [ - { - "accountResourceId": azure_monitor_workspace_resource_id, - "name": "MonitoringAccount1", - } - ] - }, - }, - } - ) - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - dcr_url = f"{armendpoint}{dcr_resource_id}?api-version={DC_API}" - try: - headers = ['User-Agent=azuremonitormetrics.create_dcr'] - send_raw_request(cmd.cli_ctx, "PUT", - dcr_url, body=dcr_creation_body, headers=headers) - return dcr_resource_id - except CLIError as error: - raise error diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcra_api.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcra_api.py deleted file mode 100644 index c04f1c73d47..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/dcra_api.py +++ /dev/null @@ -1,43 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import DC_API -from azext_aks_preview.azuremonitormetrics.dc.defaults import get_default_dcra_name -from knack.util import CLIError - - -def create_dcra(cmd, cluster_region, cluster_subscription, cluster_resource_group_name, cluster_name, dcr_resource_id): - from azure.cli.core.util import send_raw_request - cluster_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.ContainerService/managedClusters/{cluster_name}" - ) - dcra_name = get_default_dcra_name(cmd, cluster_region, cluster_name) - dcra_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.Insights/dataCollectionRuleAssociations/{dcra_name}" - ) - # only create or delete the association between the DCR and cluster - association_body = json.dumps( - { - "location": cluster_region, - "properties": { - "dataCollectionRuleId": dcr_resource_id, - "description": "Promtheus data collection association between DCR, DCE and target AKS resource", - }, - } - ) - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = ( - f"{armendpoint}{cluster_resource_id}/providers/Microsoft.Insights/" - f"dataCollectionRuleAssociations/{dcra_name}?api-version={DC_API}" - ) - try: - headers = ['User-Agent=azuremonitormetrics.create_dcra'] - send_raw_request(cmd.cli_ctx, "PUT", association_url, - body=association_body, headers=headers) - return dcra_resource_id - except CLIError as error: - raise error diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/defaults.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/defaults.py deleted file mode 100644 index 32dca05ecfa..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/defaults.py +++ /dev/null @@ -1,37 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from azext_aks_preview.azuremonitormetrics.constants import ( - DC_TYPE, - MapToClosestMACRegion -) -from azext_aks_preview.azuremonitormetrics.deaults import get_default_region - - -# DCR = 64, DCE = 44, DCRA = 64 -# All DC* object names should end only in alpha numeric (after `length` trim) -# DCE remove underscore from cluster name -def sanitize_name(name, dc_type, length): - length = length - 1 - if dc_type == DC_TYPE.DCE: - name = name.replace("_", "") - name = name[0:length] - lastIndexAlphaNumeric = len(name) - 1 - while ((name[lastIndexAlphaNumeric].isalnum() is False) and lastIndexAlphaNumeric > -1): - lastIndexAlphaNumeric = lastIndexAlphaNumeric - 1 - if lastIndexAlphaNumeric < 0: - return "" - return name[0:lastIndexAlphaNumeric + 1] - - -def get_default_dce_name(cmd, mac_region, cluster_name): - region = MapToClosestMACRegion.get(mac_region, get_default_region(cmd)) - default_dce_name = "MSProm-" + region + "-" + cluster_name - return sanitize_name(default_dce_name, DC_TYPE.DCE, 44) - - -def get_default_dcra_name(cmd, cluster_region, cluster_name): - region = MapToClosestMACRegion.get(cluster_region, get_default_region(cmd)) - default_dcra_name = "ContainerInsightsMetricsExtension-" + region + "-" + cluster_name - return sanitize_name(default_dcra_name, DC_TYPE.DCRA, 64) diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/delete.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/delete.py deleted file mode 100644 index 94b94c42686..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/dc/delete.py +++ /dev/null @@ -1,96 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import DC_API -from knack.util import CLIError - - -def get_dce_from_dcr(cmd, dcrId): - from azure.cli.core.util import send_raw_request - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = f"{armendpoint}{dcrId}?api-version={DC_API}" - headers = ['User-Agent=azuremonitormetrics.get_dce_from_dcr'] - r = send_raw_request(cmd.cli_ctx, "GET", association_url, headers=headers) - data = json.loads(r.text) - if 'dataCollectionEndpointId' in data['properties']: - return str(data['properties']['dataCollectionEndpointId']) - return "" - - -def get_dc_objects_list(cmd, cluster_subscription, cluster_resource_group_name, cluster_name): - try: - from azure.cli.core.util import send_raw_request - cluster_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.ContainerService/managedClusters/{cluster_name}" - ) - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = ( - f"{armendpoint}{cluster_resource_id}/providers/" - f"Microsoft.Insights/dataCollectionRuleAssociations?api-version={DC_API}" - ) - headers = ['User-Agent=azuremonitormetrics.get_dcra'] - r = send_raw_request(cmd.cli_ctx, "GET", association_url, headers=headers) - data = json.loads(r.text) - dc_object_array = [] - for item in data['value']: - if 'properties' in item and 'dataCollectionRuleId' in item['properties']: - dce_id = get_dce_from_dcr(cmd, item['properties']['dataCollectionRuleId']) - dc_object_array.append( - { - "name": item["name"], - "dataCollectionRuleId": item["properties"][ - "dataCollectionRuleId" - ], - "dceId": dce_id, - } - ) - return dc_object_array - except CLIError as e: - raise CLIError(e) # pylint: disable=raise-missing-from - - -def delete_dc_objects_if_prometheus_enabled( - cmd, - dc_objects_list, - cluster_subscription, - cluster_resource_group_name, - cluster_name -): - from azure.cli.core.util import send_raw_request - cluster_resource_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.ContainerService/managedClusters/{cluster_name}" - ) - for item in dc_objects_list: - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - association_url = f"{armendpoint}{item['dataCollectionRuleId']}?api-version={DC_API}" - try: - headers = ['User-Agent=azuremonitormetrics.get_dcr_if_prometheus_enabled'] - r = send_raw_request(cmd.cli_ctx, "GET", association_url, headers=headers) - data = json.loads(r.text) - if "microsoft-prometheusmetrics" in [ - stream.lower() - for stream in data["properties"]["dataFlows"][0]["streams"] - ]: - # delete DCRA - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - url = ( - f"{armendpoint}{cluster_resource_id}/providers/" - f"Microsoft.Insights/dataCollectionRuleAssociations/{item['name']}?api-version={DC_API}" - ) - headers = ['User-Agent=azuremonitormetrics.delete_dcra'] - send_raw_request(cmd.cli_ctx, "DELETE", url, headers=headers) - # delete DCR - url = f"{armendpoint}{item['dataCollectionRuleId']}?api-version={DC_API}" - headers = ['User-Agent=azuremonitormetrics.delete_dcr'] - send_raw_request(cmd.cli_ctx, "DELETE", url, headers=headers) - # delete DCE - url = f"{armendpoint}{item['dceId']}?api-version={DC_API}" - headers = ['User-Agent=azuremonitormetrics.delete_dce'] - send_raw_request(cmd.cli_ctx, "DELETE", url, headers=headers) - except CLIError as e: - error = e - raise CLIError(error) # pylint: disable=raise-missing-from diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/deaults.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/deaults.py deleted file mode 100644 index 2e338217c2a..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/deaults.py +++ /dev/null @@ -1,14 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from knack.util import CLIError - - -def get_default_region(cmd): - cloud_name = cmd.cli_ctx.cloud.name - if cloud_name.lower() == 'azurechinacloud': - raise CLIError("Azure China Cloud is not supported for the Azure Monitor Metrics addon") - if cloud_name.lower() == 'azureusgovernment': - return "usgovvirginia" - return "eastus" diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/helper.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/helper.py deleted file mode 100644 index c1ba49ef1e2..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/helper.py +++ /dev/null @@ -1,110 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from knack.util import CLIError -from azure.cli.core.azclierror import ( - UnknownError -) -from azext_aks_preview.azuremonitormetrics.constants import ( - RP_API, - AKS_CLUSTER_API -) - - -def sanitize_resource_id(resource_id): - resource_id = resource_id.strip() - if not resource_id.startswith("/"): - resource_id = "/" + resource_id - if resource_id.endswith("/"): - resource_id = resource_id.rstrip("/") - return resource_id.lower() - - -def post_request(cmd, subscription_id, rp_name, headers): - from azure.cli.core.util import send_raw_request - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - customUrl = ( - f"{armendpoint}/subscriptions/{subscription_id}/providers/{rp_name}/register?api-version={RP_API}" - ) - try: - send_raw_request(cmd.cli_ctx, "POST", customUrl, headers=headers) - except CLIError as e: - raise CLIError(e) # pylint: disable=raise-missing-from - - -def rp_registrations(cmd, subscription_id): - from azure.cli.core.util import send_raw_request - # Get list of RP's for RP's subscription - try: - headers = ['User-Agent=azuremonitormetrics.get_mac_sub_list'] - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - customUrl = ( - f"{armendpoint}/subscriptions/{subscription_id}/providers?" - f"api-version={RP_API}&$select=namespace,registrationstate" - ) - r = send_raw_request(cmd.cli_ctx, "GET", customUrl, headers=headers) - except CLIError as e: - raise CLIError(e) # pylint: disable=raise-missing-from - isInsightsRpRegistered = False - isAlertsManagementRpRegistered = False - isMoniotrRpRegistered = False - isDashboardRpRegistered = False - json_response = json.loads(r.text) - values_array = json_response["value"] - for value in values_array: - if ( - value["namespace"].lower() == "microsoft.insights" and - value["registrationState"].lower() == "registered" - ): - isInsightsRpRegistered = True - if ( - value["namespace"].lower() == "microsoft.alertsmanagement" and - value["registrationState"].lower() == "registered" - ): - isAlertsManagementRpRegistered = True - if ( - value["namespace"].lower() == "microsoft.monitor" and - value["registrationState"].lower() == "registered" - ): - isAlertsManagementRpRegistered = True - if ( - value["namespace"].lower() == "microsoft.dashboard" and - value["registrationState"].lower() == "registered" - ): - isAlertsManagementRpRegistered = True - if not isInsightsRpRegistered: - headers = ['User-Agent=azuremonitormetrics.register_insights_rp'] - post_request(cmd, subscription_id, "microsoft.insights", headers) - if isAlertsManagementRpRegistered is False: - headers = ['User-Agent=azuremonitormetrics.register_alertsmanagement_rp'] - post_request(cmd, subscription_id, "microsoft.alertsmanagement", headers) - if isMoniotrRpRegistered is False: - headers = ['User-Agent=azuremonitormetrics.register_monitor_rp'] - post_request(cmd, subscription_id, "microsoft.monitor", headers) - if isDashboardRpRegistered is False: - headers = ['User-Agent=azuremonitormetrics.register_dashboard_rp'] - post_request(cmd, subscription_id, "microsoft.dashboard", headers) - - -def check_azuremonitormetrics_profile(cmd, cluster_subscription, cluster_resource_group_name, cluster_name): - from azure.cli.core.util import send_raw_request - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - feature_check_url = ( - f"{armendpoint}/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.ContainerService/managedClusters/{cluster_name}?api-version={AKS_CLUSTER_API}" - ) - try: - headers = ['User-Agent=azuremonitormetrics.check_azuremonitormetrics_profile'] - r = send_raw_request(cmd.cli_ctx, "GET", feature_check_url, - body={}, headers=headers) - except CLIError as e: - raise UnknownError(e) # pylint: disable=raise-missing-from - json_response = json.loads(r.text) - values_array = json_response["properties"] - if "azureMonitorProfile" in values_array: - if "metrics" in values_array["azureMonitorProfile"]: - if values_array["azureMonitorProfile"]["metrics"]["enabled"] is True: - return True - return False diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/__init__.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/common.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/common.py deleted file mode 100644 index 2a7818e8ca0..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/common.py +++ /dev/null @@ -1,8 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - - -def truncate_rule_group_name(name, max_length=260): - return name[:max_length] diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/create.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/create.py deleted file mode 100644 index fcfa2f5f2e1..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/create.py +++ /dev/null @@ -1,166 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -import json -from azext_aks_preview.azuremonitormetrics.constants import ALERTS_API, RULES_API -from azext_aks_preview.azuremonitormetrics.recordingrules.common import truncate_rule_group_name -from knack.util import CLIError - - -# pylint: disable=line-too-long -def get_recording_rules_template(cmd, azure_monitor_workspace_resource_id): - from azure.cli.core.util import send_raw_request - headers = ['User-Agent=azuremonitormetrics.get_recording_rules_template'] - armendpoint = cmd.cli_ctx.cloud.endpoints.resource_manager - url = ( - f"{armendpoint}{azure_monitor_workspace_resource_id}/providers/" - f"microsoft.alertsManagement/alertRuleRecommendations?api-version={ALERTS_API}" - ) - r = send_raw_request(cmd.cli_ctx, "GET", url, headers=headers) - data = json.loads(r.text) - # Safely filter the templates with case-insensitive check - filtered_templates = [ - template for template in data.get('value', []) - if template.get("properties", {}).get("alertRuleType", "").lower() == "microsoft.alertsmanagement/prometheusrulegroups" and isinstance(template.get("properties", {}).get("rulesArmTemplate", {}).get("resources"), list) and all( - isinstance(rule, dict) and "record" in rule and "expression" in rule - for resource in template["properties"]["rulesArmTemplate"]["resources"] - if resource.get("type", "").lower() == "microsoft.alertsmanagement/prometheusrulegroups" - for rule in resource.get("properties", {}).get("rules", []) - ) - ] - - return filtered_templates - - -def put_rules( - cmd, - default_rule_group_id, - default_rule_group_name, - mac_region, - azure_monitor_workspace_resource_id, - cluster_name, - default_rules_template, - url, - enable_rules, - i, -): - from azure.cli.core.util import send_raw_request - body = json.dumps({ - "id": default_rule_group_id, - "name": default_rule_group_name, - "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": mac_region, - "properties": { - "scopes": [ - azure_monitor_workspace_resource_id - ], - "enabled": enable_rules, - "clusterName": cluster_name, - "interval": "PT1M", - "rules": default_rules_template[i]["properties"]["rulesArmTemplate"]["resources"][0]["properties"]["rules"] - } - }) - for _ in range(3): - try: - headers = ['User-Agent=azuremonitormetrics.put_rules.' + default_rule_group_name] - send_raw_request(cmd.cli_ctx, "PUT", url, - body=body, headers=headers) - break - except CLIError as e: - error = e - else: - # TODO: where is error defined? - raise error # pylint: disable=used-before-assignment - - -def create_rules( - cmd, - cluster_subscription, - cluster_resource_group_name, - cluster_name, - azure_monitor_workspace_resource_id, - mac_region, - raw_parameters, -): - default_rules_template = get_recording_rules_template(cmd, azure_monitor_workspace_resource_id) - default_rule_group_name = truncate_rule_group_name("{0}-{1}".format(default_rules_template[0]["name"], cluster_name)) - default_rule_group_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.AlertsManagement/prometheusRuleGroups/{default_rule_group_name}" - ) - url = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{default_rule_group_id}?api-version={RULES_API}" - put_rules( - cmd, - default_rule_group_id, - default_rule_group_name, - mac_region, - azure_monitor_workspace_resource_id, - cluster_name, - default_rules_template, - url, - True, - 0, - ) - - default_rule_group_name = truncate_rule_group_name("{0}-{1}".format(default_rules_template[1]["name"], cluster_name)) - default_rule_group_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.AlertsManagement/prometheusRuleGroups/{default_rule_group_name}" - ) - url = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{default_rule_group_id}?api-version={RULES_API}" - put_rules( - cmd, - default_rule_group_id, - default_rule_group_name, - mac_region, - azure_monitor_workspace_resource_id, - cluster_name, - default_rules_template, - url, - True, - 1, - ) - - enable_windows_recording_rules = raw_parameters.get("enable_windows_recording_rules") - - if enable_windows_recording_rules is not True: - enable_windows_recording_rules = False - - default_rule_group_name = truncate_rule_group_name("{0}-{1}".format(default_rules_template[2]["name"], cluster_name)) - default_rule_group_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.AlertsManagement/prometheusRuleGroups/{default_rule_group_name}" - ) - url = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{default_rule_group_id}?api-version={RULES_API}" - put_rules( - cmd, - default_rule_group_id, - default_rule_group_name, - mac_region, - azure_monitor_workspace_resource_id, - cluster_name, - default_rules_template, - url, - enable_windows_recording_rules, - 2, - ) - - default_rule_group_name = truncate_rule_group_name("{0}-{1}".format(default_rules_template[3]["name"], cluster_name)) - default_rule_group_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.AlertsManagement/prometheusRuleGroups/{default_rule_group_name}" - ) - url = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{default_rule_group_id}?api-version={RULES_API}" - put_rules( - cmd, - default_rule_group_id, - default_rule_group_name, - mac_region, - azure_monitor_workspace_resource_id, - cluster_name, - default_rules_template, - url, - enable_windows_recording_rules, - 3, - ) diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/delete.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/delete.py deleted file mode 100644 index 5a869997401..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/recordingrules/delete.py +++ /dev/null @@ -1,43 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from azext_aks_preview.azuremonitormetrics.constants import RULES_API - - -def delete_rule(cmd, cluster_subscription, cluster_resource_group_name, default_rule_group_name): - from azure.cli.core.util import send_raw_request - default_rule_group_id = ( - f"/subscriptions/{cluster_subscription}/resourceGroups/{cluster_resource_group_name}/providers/" - f"Microsoft.AlertsManagement/prometheusRuleGroups/{default_rule_group_name}" - ) - headers = ['User-Agent=azuremonitormetrics.delete_rule.' + default_rule_group_name] - url = f"{cmd.cli_ctx.cloud.endpoints.resource_manager}{default_rule_group_id}?api-version={RULES_API}" - send_raw_request(cmd.cli_ctx, "DELETE", url, headers=headers) - - -def delete_rules(cmd, cluster_subscription, cluster_resource_group_name, cluster_name): - delete_rule( - cmd, - cluster_subscription, - cluster_resource_group_name, - f"NodeRecordingRulesRuleGroup-{cluster_name}", - ) - delete_rule( - cmd, - cluster_subscription, - cluster_resource_group_name, - f"KubernetesRecordingRulesRuleGroup-{cluster_name}", - ) - delete_rule( - cmd, - cluster_subscription, - cluster_resource_group_name, - f"NodeRecordingRulesRuleGroup-Win-{cluster_name}", - ) - delete_rule( - cmd, - cluster_subscription, - cluster_resource_group_name, - f"NodeAndKubernetesRecordingRulesRuleGroup-Win-{cluster_name}", - ) diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/responseparsers/__init__.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/responseparsers/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/aks-preview/azext_aks_preview/azuremonitormetrics/responseparsers/amwlocationresponseparser.py b/src/aks-preview/azext_aks_preview/azuremonitormetrics/responseparsers/amwlocationresponseparser.py deleted file mode 100644 index 98b9c48d0d1..00000000000 --- a/src/aks-preview/azext_aks_preview/azuremonitormetrics/responseparsers/amwlocationresponseparser.py +++ /dev/null @@ -1,29 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- -from typing import List - - -def parseResourceProviderResponseForLocations(resourceProviderResponse): - supportedLocationMap = {} - if not resourceProviderResponse.get('resourceTypes'): - return supportedLocationMap - resourceTypesRawArr = resourceProviderResponse['resourceTypes'] - for resourceTypeResponse in resourceTypesRawArr: - if resourceTypeResponse['resourceType'] == 'accounts': - supportedLocationMap = parseLocations(resourceTypeResponse['locations']) - return supportedLocationMap - - -def parseLocations(locations: List[str]) -> List[str]: - if not locations or len(locations) == 0: - return [] - return [reduceLocation(x) for x in locations] - - -def reduceLocation(location: str) -> str: - if not location: - return location - location = location.replace(' ', '').lower() - return location diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitormetrics.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitormetrics.yaml index 63fb075b418..cb57c0a148e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitormetrics.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitormetrics.yaml @@ -12,10 +12,9 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: @@ -31,38 +30,44 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:41:43 GMT + - Wed, 23 Jul 2025 12:42:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: F8A07341436F47FAA91D8AF71A949AAB Ref B: BN1AA2051013025 Ref C: 2025-07-23T12:42:26Z' status: code: 404 message: Not Found - request: - body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestseoizsap2-79a739", - "agentPoolProfiles": [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": - 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": - false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, - "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 + body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "kind": "Base", "properties": {"kubernetesVersion": + "", "dnsPrefix": "cliakstest-clitestmvpcsg6g2-79a739", "agentPoolProfiles": + [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": 0, "workloadRuntime": + "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "", "upgradeSettings": {}, "enableNodePublicIP": + false, "enableCustomCATrust": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "nodeInitializationTaints": + [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "networkProfile": {}, "securityProfile": {"sshAccess": "localuser"}, + "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, - "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": + "networkProfile": {"podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false, "storageProfile": {}, "azureMonitorProfile": {"metrics": {"enabled": false, "kubeStateMetrics": {"metricLabelsAllowlist": - "", "metricAnnotationsAllowList": ""}}}}}' + "", "metricAnnotationsAllowList": ""}}}, "bootstrapProfile": {"artifactSource": + "Direct"}}}' headers: Accept: - application/json @@ -73,86 +78,107 @@ interactions: Connection: - keep-alive Content-Length: - - '1721' + - '1808' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": - false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": - {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": - {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": - true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n - \ },\n \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": - {\n \"metrics\": {\n \"enabled\": false,\n \"kubeStateMetrics\": - {\n \"metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": - \"\"\n }\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"nodeLabels\": {},\n \ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"\ + enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\"\ + ,\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\"\ + : \"0\"\n },\n \"enableFIPS\": false,\n \"networkProfile\": {},\n\ + \ \"securityProfile\": {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\"\ + : false,\n \"enableSecureBoot\": false\n }\n }\n ],\n \"linuxProfile\"\ + : {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"backendPoolType\"\ + : \"nodeIPConfiguration\"\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"\ + serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"\ + outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"podLinkLocalAccess\": \"IMDS\"\n },\n \"\ + maxAgentPools\": 100,\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\"\ + : \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\"\ + : {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\":\ + \ true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n\ + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\"\ + : {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": false,\n\ + \ \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n \ + \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n },\n \"metricsProfile\"\ + : {\n \"costAnalysis\": {\n \"enabled\": false\n }\n },\n \"resourceUID\"\ + : \"6880d8b8c68d2b0001e3f04b\",\n \"controlPlanePluginProfiles\": {\n \"\ + azure-monitor-metrics-ccp\": {\n \"enableV2\": true\n },\n \"gpu-provisioner\"\ + : {\n \"enableV2\": true\n },\n \"karpenter\": {\n \"enableV2\"\ + : true\n },\n \"kubelet-serving-csr-approver\": {\n \"enableV2\": true\n\ + \ },\n \"live-patching-controller\": {\n \"enableV2\": true\n },\n\ + \ \"static-egress-controller\": {\n \"enableV2\": true\n }\n },\n\ + \ \"nodeProvisioningProfile\": {\n \"mode\": \"Manual\",\n \"defaultNodePools\"\ + : \"Auto\"\n },\n \"bootstrapProfile\": {\n \"artifactSource\": \"Direct\"\ + \n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgM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-7YOIrRx85PU83sSf4dwNCxZ6viiOmqMW3YBmRdWus4d9Ut7W-xAmhmj1jRT1_TJxho6xzolpgOYpwrwGWHmVDv31qayiz-imnAr2sRjY2-oFCIwA_6iBWQGOs3zWvXURsHZfWHDKbljlc-1h79HmMScP_IY55kHTCF0RMy8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A cache-control: - no-cache content-length: - - '3702' + - '4585' content-type: - application/json date: - - Tue, 09 May 2023 21:41:48 GMT + - Wed, 23 Jul 2025 12:42:32 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/717287df-a964-4825-a708-53d3ff446cac + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '799' + x-msedge-ref: + - 'Ref A: AD5E077392094994A18A68C3B6739BC8 Ref B: BN1AA2051014039 Ref C: 2025-07-23T12:42:26Z' status: code: 201 message: Created @@ -169,88 +195,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKC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4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:41:48 GMT + - Wed, 23 Jul 2025 12:42:32 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output - User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Tue, 09 May 2023 21:42:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/8ccafdce-3d21-42f4-ad8f-8ef4e0d58c3e + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 4E43AC81C16745B3B7BA993E87ADA2EF Ref B: BN1AA2051013029 Ref C: 2025-07-23T12:42:33Z' status: code: 200 message: OK @@ -267,39 +245,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2V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3zWvXURsHZfWHDKbljlc-1h79HmMScP_IY55kHTCF0RMy8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:42:48 GMT + - Wed, 23 Jul 2025 12:43:03 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/5cee1caa-0f43-43a0-894f-e170e08e2f05 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: D011A0C729B84031A024C9A2EFC0F26F Ref B: BN1AA2051014029 Ref C: 2025-07-23T12:43:03Z' status: code: 200 message: OK @@ -316,39 +295,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAg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IM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:43:18 GMT + - Wed, 23 Jul 2025 12:43:33 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/e11ca7ac-ae63-4c13-8b10-32b62dd9d4d9 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 6CA511BAC5B14ADB9A4E38260A4B193F Ref B: BN1AA2051015009 Ref C: 2025-07-23T12:43:34Z' status: code: 200 message: OK @@ -365,39 +345,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFgh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kwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:43:49 GMT + - Wed, 23 Jul 2025 12:44:05 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/cec0ff72-539f-41b9-a20d-4eab17f9281c + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: F8FA5B7ACB9042AFAFBDA8856FB21EE7 Ref B: BN1AA2051013037 Ref C: 2025-07-23T12:44:05Z' status: code: 200 message: OK @@ -414,39 +395,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzW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tE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:44:19 GMT + - Wed, 23 Jul 2025 12:44:35 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/9be6cd02-386b-4ab8-ad8b-28f80989d47b + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 717DFBC694F94611B8FE1D958462E0C2 Ref B: BN1AA2051013027 Ref C: 2025-07-23T12:44:35Z' status: code: 200 message: OK @@ -463,39 +445,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQ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ScP_IY55kHTCF0RMy8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:44:49 GMT + - Wed, 23 Jul 2025 12:45:05 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/335f59f5-41b3-44b2-bcb5-2fb5315fb182 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 6D5090603093459DBB12B43BAEC1ABF7 Ref B: BN1AA2051012049 Ref C: 2025-07-23T12:45:06Z' status: code: 200 message: OK @@ -512,39 +495,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7in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j09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:45:19 GMT + - Wed, 23 Jul 2025 12:45:36 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/8b843a45-0e60-4b19-9fe5-4d61e0ca82d7 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: EE8B64BA88BB49C793C688E0416AF671 Ref B: BN1AA2051015039 Ref C: 2025-07-23T12:45:36Z' status: code: 200 message: OK @@ -561,39 +545,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBg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--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:45:49 GMT + - Wed, 23 Jul 2025 12:46:07 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/ef04b426-d2a9-44a5-947a-511c5365c170 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 8CD5C9EA64B44FA3ABDC7FDA7E9A97DA Ref B: BN1AA2051013009 Ref C: 2025-07-23T12:46:07Z' status: code: 200 message: OK @@ -610,39 +595,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aS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1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:46:19 GMT + - Wed, 23 Jul 2025 12:46:38 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/e5ddfed5-ba27-4446-bb5f-d4e4ee400601 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 69ADF7FFA27C4428933384E4FBBFF440 Ref B: BN1AA2051014037 Ref C: 2025-07-23T12:46:38Z' status: code: 200 message: OK @@ -659,39 +645,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADC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Euslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:46:50 GMT + - Wed, 23 Jul 2025 12:47:08 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/ff6cb566-79bf-44e3-84a0-482492c50616 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 6D821A6D11D34926BD69CEE94E42107A Ref B: BN1AA2051012021 Ref C: 2025-07-23T12:47:08Z' status: code: 200 message: OK @@ -708,39 +695,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQ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0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:47:21 GMT + - Wed, 23 Jul 2025 12:47:39 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/a98d1dcd-6dea-4450-a00e-9e32a190477c + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 7D3B459D13554B36AD38E93C0B24E2AE Ref B: BN1AA2051012021 Ref C: 2025-07-23T12:47:39Z' status: code: 200 message: OK @@ -757,39 +745,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFB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rq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:47:51 GMT + - Wed, 23 Jul 2025 12:48:09 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/bcebe691-e8d4-44fc-96fd-96ecb6ad550b + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 696D4E1F94DD479EA276422150CFC3D9 Ref B: BN1AA2051015033 Ref C: 2025-07-23T12:48:09Z' status: code: 200 message: OK @@ -806,39 +795,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgsc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V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:48:20 GMT + - Wed, 23 Jul 2025 12:48:40 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/88ec369c-985f-4d1b-bbe0-30c92e270bb4 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: B78FA6680AA74036BA3DCCE3E8FD0FC9 Ref B: BN1AA2051014009 Ref C: 2025-07-23T12:48:40Z' status: code: 200 message: OK @@ -855,39 +845,40 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mY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5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=Qmud8eurkwJ_6P2TELquvUSANTNIY22nc5zsWP--RHtxMXnDKGL3Dllai3I3mGLJ-xPjfrq1E2HcdHj-j8_lcD-cInd1E7fBZUqgMs4UjD1w63gXJa7MTl7EMrJTwibCQGbz2dmuxJHNOdP8q0L9K2rSZC2UyRT1CJ-t008deIW12UG5g0XzD4L6udG-udjEC36i23TLd5IYkU6mozHtdSQnOGGRNzCcyw9Wpf-lT_T_5RgutGBanEOx5Qzl8GFo2YzCC5IPpLo1DWleZJfejAiIM1emGwM2Ke6gUDlAXA8dYDj09G0eFJiUUuYxVtzgsc0-QoG8QK0GPq0kYEx47Q&h=C98XDQA9e7_WLHxO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Tue, 09 May 2023 21:48:51 GMT + - Wed, 23 Jul 2025 12:49:10 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/f9432dd2-c9f4-487f-bb29-86902cc8baef + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 5E511FF531634C91B6C473A90F6F0A01 Ref B: BN1AA2051015031 Ref C: 2025-07-23T12:49:10Z' status: code: 200 message: OK @@ -904,40 +895,41 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9452ab00-2cdd-44f0-99e0-0c087bd00358?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/286c4772-cf81-42ab-a2a3-87eeddf9180a?api-version=2025-03-01&t=638888713530774684&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQY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xO4wbup5a6gys5ymxymebzcrK3f5A response: body: - string: "{\n \"name\": \"00ab5294-dd2c-f044-99e0-0c087bd00358\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-05-09T21:41:48.5775143Z\",\n \"endTime\": - \"2023-05-09T21:48:52.9733706Z\"\n }" + string: "{\n \"name\": \"286c4772-cf81-42ab-a2a3-87eeddf9180a\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2025-07-23T12:42:32.9059784Z\",\n \"endTime\"\ + : \"2025-07-23T12:49:40.082845Z\"\n}" headers: cache-control: - no-cache content-length: - - '170' + - '164' content-type: - application/json date: - - Tue, 09 May 2023 21:49:21 GMT + - Wed, 23 Jul 2025 12:49:41 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/055bf7f3-41de-4b27-b5c7-3a7a51111863 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: E47E97EA30324B5B96DF065C869756AC Ref B: BN1AA2051013047 Ref C: 2025-07-23T12:49:41Z' status: code: 200 message: OK @@ -954,85 +946,103 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - false,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"348f657d-9e10-4acb-b7db-0526fbc64185\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": false,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"cb607aed-2469-4943-84aa-04a7448c847f\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4355' + - '5305' content-type: - application/json date: - - Tue, 09 May 2023 21:49:21 GMT + - Wed, 23 Jul 2025 12:49:42 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 87F6332D5F58468994EB8139B2EFED63 Ref B: BN1AA2051013037 Ref C: 2025-07-23T12:49:41Z' status: code: 200 message: OK @@ -1049,99 +1059,38 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_mac_sub_list + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_cluster_sub_rp_list method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.MarketplaceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Media","registrationState":"Registering"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registering"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.TimeSeriesInsights","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registering"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnyBuild","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousDevelopmentPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousSystems","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureCIS","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePercept","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Codespaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.CognitiveSearch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCollaboration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DelegatedNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeploymentManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevAI","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Falcon","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HpcWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Kubernetes","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Logz","registrationState":"NotRegistered"},{"namespace":"Microsoft.MachineLearning","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedStorageClass","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.Metaverse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobilePacketCore","registrationState":"NotRegistered"},{"namespace":"Microsoft.ModSimWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkAnalytics","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenLogisticsPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.PlayFab","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.ScVmm","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.SystemIntegrityMonitoring","registrationState":"NotRegistered"},{"namespace":"Microsoft.TestBase","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.VSOnline","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsESU","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsIoT","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"},{"namespace":"SolarWinds.Observability","registrationState":"NotRegistered"},{"namespace":"Wandisco.Fusion","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"}]}' - headers: - cache-control: - - no-cache - content-length: - - '19647' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 May 2023 21:49:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output - User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_monitor_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.monitor/register?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"}],"resourceTypes":[{"resourceType":"accounts","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North - Central US","East US","Australia Central","Australia Southeast","Brazil South","Canada - Central","Central India","Central US","East Asia","East US 2","North Europe","Norway - East","South Africa North","South Central US","Southeast Asia","UAE North","UK - South","West Central US","West Europe","West US","West US 2","East US 2 EUAP","Central - US EUAP"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2246' + - '23097' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:28 GMT + - Wed, 23 Jul 2025 12:49:45 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 25BFD4CD64A14B47BB97D740AED4005E Ref B: BN1AA2051013011 Ref C: 2025-07-23T12:49:43Z' status: code: 200 message: OK @@ -1156,57 +1105,40 @@ interactions: - aks create Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_dashboard_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.dashboard/register?api-version=2021-04-01 + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_monitor_workspace_rp_list + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard","namespace":"Microsoft.Dashboard","authorizations":[{"applicationId":"ce34e7e5-485f-4d76-964f-b3d2b16d1e4f","roleDefinitionId":"996b8381-eac0-46be-8daf-9619bafd1073"},{"applicationId":"6f2d169c-08f3-4a4c-a982-bcaf2d038c45"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","South Central US","West Europe","North Europe","UK - South","East US","East US 2","West Central US","Australia East","Sweden Central","West - US","West US 3","East Asia"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana","locations":["South - Central US","West Central US","West Europe","East US","East US 2","North Europe","UK - South","Australia East","Sweden Central","West US 3","East Asia","East US - 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateEndpointConnections","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateLinkResources","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/managedPrivateEndpoints","locations":["East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2807' + - '23097' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:28 GMT + - Wed, 23 Jul 2025 12:49:50 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 05142BDE632445C89B1EBF0127780D84 Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:49:46Z' status: code: 200 message: OK @@ -1223,55 +1155,91 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_supported_rp_locations + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_supported_rp_locations method: GET - uri: https://management.azure.com/providers/Microsoft.Monitor?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor?api-version=2022-01-01 response: body: - string: '{"namespace":"Microsoft.Monitor","resourceTypes":[{"resourceType":"accounts","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"operations","locations":["East US 2 EUAP","Central - US EUAP","North Central US","East US","Australia Central","Australia Southeast","Brazil - South","Canada Central","Central India","Central US","East Asia","East US - 2","North Europe","Norway East","South Africa North","South Central US","Southeast - Asia","UAE North","UK South","West Central US","West Europe","West US","West - US 2"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"7d307c7e-d1c0-4b3f-976d-094279ad11ab"},{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"b59a8212-567c-4cbe-9fa7-e05e3acfd513"},{"applicationId":"0e282aa8-2770-4b6c-8cf8-fac26e9ebe1f","roleDefinitionId":"2dfe42c1-88e3-4036-a4ce-bd17b5c5d578"},{"applicationId":"6bccf540-eb86-4037-af03-7fa058c2db75","roleDefinitionId":"89dcede2-9219-403a-9723-d3c6473f9472"}],"resourceTypes":[{"resourceType":"accounts","locations":["East + US","Australia Central","Australia East","Australia Southeast","Brazil South","Canada + Central","Canada East","Central India","Central US","East Asia","East US 2","France + Central","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Korea Central","Korea South","North Europe","Norway East","South Africa + North","South Central US","Southeast Asia","South India","Spain Central","Sweden + Central","Switzerland North","UAE North","UK South","UK West","West Central + US","West Europe","West US","West US 2","West US 3","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-05-03-preview","2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2025-03-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2024-10-03-preview","2024-10-01-preview","2024-10-01","2024-04-03-preview","2024-04-01-preview","2023-10-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2023-04-03","capabilities":"None"},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/locationOperationStatuses","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2","West US 2","West Europe","East US 2 EUAP","Central US EUAP"],"apiVersions":["2024-10-01-preview","2023-10-01-preview"],"defaultApiVersion":"2024-10-01-preview","capabilities":"None"},{"resourceType":"pipelineGroups","locations":["Canada + Central","East US 2","West US 2","Italy North","West Europe","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-03-01-preview","2024-10-01-preview"],"defaultApiVersion":"2025-03-01-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"investigations","locations":["North Europe","Germany + West Central","Sweden Central","UAE North","South Africa North","Norway East","global","France + Central","France South","Germany North","Italy North","Norway West","Poland + Central","Switzerland North","Switzerland West","Israel Central","Qatar Central","South + Africa West","UAE Central","Japan East","Central India","Japan West","South + India","West India","Korea Central","Korea South","Australia East","Australia + Southeast","Australia Central","Australia Central 2","Southeast Asia","UK + South","UK West","West Central US","East Asia","West US 3","Central US","East + US 2","South Central US","West US 2","East US","Canada Central","Canada East","North + Central US","West US","Brazil South","Brazil Southeast","West Europe","East + US 2 EUAP"],"apiVersions":["2024-01-01-preview"],"capabilities":"SupportsExtension"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2213' + - '6839' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:28 GMT + - Wed, 23 Jul 2025 12:49:50 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: D3504AAAB5D24F2F9FA60CD46AB0D943 Ref B: BN1AA2051014021 Ref C: 2025-07-23T12:49:50Z' status: code: 200 message: OK @@ -1288,9 +1256,9 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DefaultResourceGroup-westus2?api-version=2024-11-01 response: @@ -1302,15 +1270,21 @@ interactions: content-length: - '0' date: - - Tue, 09 May 2023 21:49:28 GMT + - Wed, 23 Jul 2025 12:49:50 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: FB96AED6CCD94413B3E1BE1667A4CBAE Ref B: BN1AA2051012049 Ref C: 2025-07-23T12:49:51Z' status: code: 204 message: No Content @@ -1327,41 +1301,45 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2?api-version=2023-04-03 response: body: - string: '{"properties":{"accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-9jg3.westus2.prometheus.monitor.azure.com","internalId":"mac_ec050f19-1529-4ec2-9d0c-e6677ca07ac8"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"3d030879-0000-0800-0000-6452ca160000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-03T20:54:27.8807957Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-03T20:54:27.8807957Z"}}' + string: '{"properties":{"accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-dqhtf8b6gqg5dbbv.westus2.prometheus.monitor.azure.com","internalId":"mac_47fa17c3-ea86-44d8-a015-7347a49f6140"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"d709bfec-0000-0800-0000-6822fc140000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-05-13T08:00:13.461865Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-05-13T08:00:13.461865Z"}}' headers: api-supported-versions: - - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03 + - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03, 2023-06-01-preview, + 2024-04-01-preview, 2024-04-03-preview, 2024-10-01-preview, 2024-10-03-preview, + 2025-05-01-preview, 2025-05-03-preview cache-control: - no-cache content-length: - - '1443' + - '1453' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:29 GMT + - Wed, 23 Jul 2025 12:49:50 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:74683e7d-3ee8-4856-bfe7-e63c83b6737e - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 027F3A14CBC34190876FB8DF6AC9C890 Ref B: BN1AA2051013021 Ref C: 2025-07-23T12:49:51Z' status: code: 200 message: OK @@ -1383,18 +1361,18 @@ interactions: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dce + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dce method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000001?api-version=2022-06-01 response: body: - string: '{"properties":{"immutableId":"dce-f98e7f5e0cc14618a1a60bc6dd35044f","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000001-5j6w.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000001-5j6w.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000001-5j6w.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000001","name":"MSProm-westus2-cliakstest000001","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"38073d53-0000-0800-0000-645ac0010000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-09T21:49:30.9790547Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-09T21:49:30.9790547Z"}}' + string: '{"properties":{"immutableId":"dce-6a4e308af7c34765a5fc9d2e50121319","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000001-cu5d.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000001-cu5d.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000001-cu5d.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000001","name":"MSProm-westus2-cliakstest000001","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"750590bc-0000-0800-0000-6880da720000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:52.6585383Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:52.6585383Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -1402,25 +1380,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:55 GMT + - Wed, 23 Jul 2025 12:49:54 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/af2d9352-310e-45cf-88b0-f7b68f64df88 x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '199' + x-msedge-ref: + - 'Ref A: 76FF3681617142B1842AB626EE7D979D Ref B: BN1AA2051014037 Ref C: 2025-07-23T12:49:51Z' status: code: 200 message: OK @@ -1448,18 +1428,19 @@ interactions: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcr + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcr method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000001?api-version=2022-06-01 response: body: - string: '{"properties":{"description":"DCR description","immutableId":"dcr-b947d5f96a44495d876d48eab79706a5","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000001","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000001","name":"MSProm-westus2-cliakstest000001","type":"Microsoft.Insights/dataCollectionRules","etag":"\"38078a54-0000-0800-0000-645ac0050000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-09T21:49:56.4064219Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-09T21:49:56.4064219Z"}}' + string: '{"properties":{"description":"DCR description","immutableId":"dcr-e75e7c1ff6cb44759c019a287ef79e8b","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000001","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000001","name":"MSProm-westus2-cliakstest000001","type":"Microsoft.Insights/dataCollectionRules","etag":"\"750507bd-0000-0800-0000-6880da730000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:55.3977587Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:55.3977587Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -1467,25 +1448,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:58 GMT + - Wed, 23 Jul 2025 12:49:55 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/f55f1e4e-90dc-4b32-b9f1-0cb267ddb2c7 x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '199' + x-msedge-ref: + - 'Ref A: 802C27A33B14474C9D70085EC3EBE7B5 Ref B: BN1AA2051014023 Ref C: 2025-07-23T12:49:54Z' status: code: 200 message: OK @@ -1508,43 +1491,48 @@ interactions: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcra method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000001?api-version=2022-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension?api-version=2022-06-01 response: body: string: '{"properties":{"description":"Promtheus data collection association - between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000001"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000001","name":"ContainerInsightsMetricsExtension-westus2-cliakstest000001","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"38074355-0000-0800-0000-645ac0070000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-09T21:49:58.5106375Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-09T21:49:58.5106375Z"}}' + between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000001"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension","name":"ContainerInsightsMetricsExtension","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"750564bd-0000-0800-0000-6880da750000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:56.9164815Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:56.9164815Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - - '1030' + - '980' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:49:59 GMT + - Wed, 23 Jul 2025 12:49:59 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/ac65f121-dd2f-4e7b-a09b-43de0b8ee2cb x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 2DA4C94E88BA4EB3A60A5EC6AF33D0B0 Ref B: BN1AA2051014039 Ref C: 2025-07-23T12:49:56Z' status: code: 200 message: OK @@ -1561,615 +1549,780 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_recording_rules_template + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_recording_rules_template method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations?api-version=2023-01-01-preview response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n \"metadata\": - {\r\n \"description\": \"prefix of the alert rule name\"\r\n - \ }\r\n },\r\n \"alertName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'), - ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"Name - of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_cpu_utilisation:rate5m\",\r\n \"expression\": - \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n - \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) - ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", image!=\\\"\\\"}[5m])) - * on (cluster, namespace, pod) group_left(node) topk by (cluster, namespace, - pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n \"expression\": - \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n - \ \"record\": \"node_namespace_pod_container:container_memory_swap\",\r\n - \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \"expression\": - \"max by (cluster, namespace, workload, pod) ( label_replace( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) - * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": - \"deployment\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"daemonset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"statefulset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"job\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": - \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\": - \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup-Win\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_num_cpu:sum\",\r\n \"expression\": - \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_utilisation:\",\r\n \"expression\": - \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \"expression\": - \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \"expression\": - \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemTotal_bytes:sum\",\r\n \"expression\": - \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_available:sum\",\r\n \"expression\": - \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_total:sum\",\r\n \"expression\": - \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_utilisation:ratio\",\r\n \"expression\": - \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\",\r\n - \ \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node and Kubernetes Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_filesystem_avail:\",\r\n \"expression\": - \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_utilisation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \"windows_pod_container_available\",\r\n \"expression\": - \"windows_container_available{job=\\\"windows-exporter\\\", container_id != - \\\"\\\"} * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", - container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n - \ },\r\n {\r\n \"record\": - \"windows_container_total_runtime\",\r\n \"expression\": - \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_memory_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_private_working_set_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_received_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_transmitted_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( - kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesAlert-DefaultAlerts\",\r\n - \ \"name\": \"KubernetesAlert-DefaultAlerts\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"KubernetesAlert-DefaultAlerts\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom\"\r\n },\r\n - \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesAlert-DefaultAlerts\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Alert RuleGroup-DefaultAlerts\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"alert\": \"KubePodCrashLooping\",\r\n - \ \"expression\": \"max_over_time(kube_pod_container_status_waiting_reason{reason=\\\"CrashLoopBackOff\\\", - job=\\\"kube-state-metrics\\\"}[5m]) >= 1\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubePodNotReady\",\r\n \"expression\": \"sum by (namespace, - pod, cluster) ( max by(namespace, pod, cluster) ( kube_pod_status_phase{job=\\\"kube-state-metrics\\\", - phase=~\\\"Pending|Unknown\\\"} ) * on(namespace, pod, cluster) group_left(owner_kind) - topk by(namespace, pod, cluster) ( 1, max by(namespace, pod, owner_kind, - cluster) (kube_pod_owner{owner_kind!=\\\"Job\\\"}) )) > 0\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeDeploymentReplicasMismatch\",\r\n \"expression\": - \"( kube_deployment_spec_replicas{job=\\\"kube-state-metrics\\\"} > kube_deployment_status_replicas_available{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_deployment_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeStatefulSetReplicasMismatch\",\r\n \"expression\": - \"( kube_statefulset_status_replicas_ready{job=\\\"kube-state-metrics\\\"} - \ != kube_statefulset_status_replicas{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_statefulset_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeJobNotCompleted\",\r\n \"expression\": \"time() - - max by(namespace, job_name, cluster) (kube_job_status_start_time{job=\\\"kube-state-metrics\\\"} - \ and kube_job_status_active{job=\\\"kube-state-metrics\\\"} > 0) > 43200\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeJobFailed\",\r\n - \ \"expression\": \"kube_job_failed{job=\\\"kube-state-metrics\\\"} - \ > 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeHpaReplicasMismatch\",\r\n \"expression\": \"(kube_horizontalpodautoscaler_status_desired_replicas{job=\\\"kube-state-metrics\\\"} - \ !=kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ >kube_horizontalpodautoscaler_spec_min_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeMemoryQuotaOvercommit\",\r\n \"expression\": \"sum(min - without(resource) (kube_resourcequota{job=\\\"kube-state-metrics\\\", type=\\\"hard\\\", - resource=~\\\"(memory|requests.memory)\\\"})) /sum(kube_node_status_allocatable{resource=\\\"memory\\\", - job=\\\"kube-state-metrics\\\"}) > 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeQuotaAlmostFull\",\r\n \"expression\": \"kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"used\\\"} / ignoring(instance, job, type)(kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"hard\\\"} > 0) > 0.9 < 1\",\r\n \"for\": \"PT15M\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeVersionMismatch\",\r\n - \ \"expression\": \"count by (cluster) (count by (git_version, - cluster) (label_replace(kubernetes_build_info{job!~\\\"kube-dns|coredns\\\"},\\\"git_version\\\",\\\"$1\\\",\\\"git_version\\\",\\\"(v[0-9]*.[0-9]*).*\\\"))) - > 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeNotReady\",\r\n \"expression\": \"kube_node_status_condition{job=\\\"kube-state-metrics\\\",condition=\\\"Ready\\\",status=\\\"true\\\"} - == 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeUnreachable\",\r\n \"expression\": \"(kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=\\\"node.kubernetes.io/unreachable\\\",effect=\\\"NoSchedule\\\"} - unless ignoring(key,value) kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=~\\\"ToBeDeletedByClusterAutoscaler|cloud.google.com/impending-node-termination|aws-node-termination-handler/spot-itn\\\"}) - == 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeletTooManyPods\",\r\n \"expression\": \"count by(cluster, - node) ( (kube_pod_status_phase{job=\\\"kube-state-metrics\\\",phase=\\\"Running\\\"} - == 1) * on(instance,pod,namespace,cluster) group_left(node) topk by(instance,pod,namespace,cluster) - (1, kube_pod_info{job=\\\"kube-state-metrics\\\"}))/max by(cluster, node) - ( kube_node_status_capacity{job=\\\"kube-state-metrics\\\",resource=\\\"pods\\\"} - != 1) > 0.95\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeReadinessFlapping\",\r\n \"expression\": \"sum(changes(kube_node_status_condition{status=\\\"true\\\",condition=\\\"Ready\\\"}[15m])) - by (cluster, node) > 2\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n }\r\n ]\r\n}" + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"\ + Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\ + \n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"instance:node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\ + \"node\\\",mode=\\\"idle\\\"})\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\"\ + ,\r\n \"expression\": \"1 - avg without (cpu) ( sum without\ + \ (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", mode=~\\\"idle|iowait|steal\\\ + \"}[5m])))\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n \ + \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\ + \"node\\\"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \ + \ \"expression\": \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\ + \"node\\\"} or ( node_memory_Buffers_bytes{job=\\\"node\\\"} \ + \ + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} ) )/\ + \ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\ + \n {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\"\ + ,\r\n \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\ + \"node\\\"}[5m])\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n \ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Kubernetes Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, pod,\ + \ container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node)\ + \ topk by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod,\ + \ node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\"\ + ,\r\n \"expression\": \"container_memory_working_set_bytes{job=\\\ + \"cadvisor\\\", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk\ + \ by(namespace, pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\ + \"\\\"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_memory_rss\"\ + ,\r\n \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_cache\",\r\n \ + \ \"expression\": \"container_memory_cache{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_swap\",\r\n \ + \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1) )\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\ + \", owner_kind=\\\"ReplicaSet\\\"}, \\\"replicaset\\\", \\\"$1\\\", \\\ + \"owner_name\\\", \\\"(.*)\\\" ) * on(replicaset, namespace) group_left(owner_name)\ + \ topk by(replicaset, namespace) ( 1, max by (replicaset, namespace,\ + \ owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"\ + } ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\ + \" ))\",\r\n \"labels\": {\r\n \"\ + workload_type\": \"deployment\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"DaemonSet\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"daemonset\"\r\n }\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \ + \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace(\ + \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\ + \"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\"\ + ,\r\n \"labels\": {\r\n \"workload_type\"\ + : \"statefulset\"\r\n }\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"Job\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"job\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":node_memory_MemAvailable_bytes:sum\",\r\n \"expression\"\ + : \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( node_memory_Buffers_bytes{job=\\\ + \"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} )) by (cluster)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\"\ + : \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\ + \"iowait\\\",mode!=\\\"steal\\\"}[5m])) by (cluster) /count(sum(node_cpu_seconds_total{job=\\\ + \"node\\\"}) by (cluster, instance, cpu)) by (cluster)\"\r\n \ + \ }\r\n ]\r\n }\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"\ + clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n \ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n \ + \ {\r\n \"record\": \"node:windows_node:sum\"\ + ,\r\n \"expression\": \"count (windows_system_system_up_time{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count by (instance) (sum by (instance,\ + \ core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\"\ + : \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\ + \"idle\\\"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_cpu_utilisation:avg5m\"\ + ,\r\n \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\ + \"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n },\r\ + \n {\r\n \"record\": \":windows_node_memory_utilisation:\"\ + ,\r\n \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \ + \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"\ + windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"\ + } + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"\ + windows-exporter\\\"})\"\r\n },\r\n {\r\n\ + \ \"record\": \"node:windows_node_memory_bytes_available:sum\"\ + ,\r\n \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"}))\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_bytes_total:sum\"\ + ,\r\n \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_utilisation:ratio\"\ + ,\r\n \"expression\": \"(node:windows_node_memory_bytes_total:sum\ + \ - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_memory_utilisation:\",\r\n \ + \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum /\ + \ node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n\ + \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\"\ + ,\r\n \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\ + \"windows-exporter\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n\ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\ + \n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node and Kubernetes Recording Rules RuleGroup for Windows\"\ + ,\r\n \"scopes\": \"[variables('scopes')]\",\r\n \ + \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n\ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\ + \n {\r\n \"record\": \"node:windows_node_filesystem_usage:\"\ + ,\r\n \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\ + \"windows-exporter\\\"} - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"node:windows_node_filesystem_avail:\",\r\n \"expression\"\ + : \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"} / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_net_utilisation:sum_irate\",\r\n \"expression\"\ + : \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])) + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \"windows_pod_container_available\"\ + ,\r\n \"expression\": \"windows_container_available{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"windows_container_total_runtime\",\r\n \"expression\"\ + : \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"\ + , container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_memory_usage\",\r\n \"expression\": \"\ + windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\",\ + \ container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_private_working_set_usage\",\r\n \"expression\"\ + : \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_received_bytes_total\",\r\n \"\ + expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_transmitted_bytes_total\",\r\n \ + \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"kube_pod_windows_container_resource_memory_request\",\r\n \ + \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"}) * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\"\ + ,\r\n \"expression\": \"max by (namespace, pod, container)\ + \ ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\ + \"}) * on(container,pod,namespace) (windows_pod_container_available)\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n \ + \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace) (windows_pod_container_available)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\"\ + ,\r\n \"expression\": \"sum by (namespace, pod, container)\ + \ (rate(windows_container_total_runtime{}[5m]))\"\r\n }\r\ + \n ]\r\n }\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup - \",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup - \",\r\ + \n \"RuleTitle\": \"UX Recording Rules for Linux\"\r\n },\r\ + \n \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Linux\",\r\n \"\ + scopes\": \"[variables('scopes')]\",\r\n \"clusterName\": \"\ + [parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"(sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\tirate(container_cpu_usage_seconds_total{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}[5m])\\n)) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory:sum\",\r\n \ + \ \"expression\": \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\t\\tcontainer_memory_working_set_bytes{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_workingset_memory:sum\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_rss_memory:sum\",\r\n \"expression\"\ + : \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid) (\\\ + n\\t\\tcontainer_memory_rss{container != \\\"\\\", pod != \\\"\\\", job =\ + \ \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n(max by (node, created_by_name,\ + \ created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_rss_memory:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_rss_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_count:sum\",\r\n \"expression\"\ + : \"sum by (node, created_by_name, created_by_kind, namespace, cluster, pod,\ + \ microsoft_resourceid) (\\n(\\n(\\nsum by (container, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_container_info{container != \\\"\\\", pod\ + \ != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"\ + })\\nor sum by (container, pod, namespace, cluster, microsoft_resourceid)\ + \ (kube_pod_init_container_info{container != \\\"\\\", pod != \\\"\\\", container_id\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n* on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n)\\n)\\n)\\n\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:controller_container_count:sum\",\r\n\ + \ \"expression\": \"sum by (node, created_by_name, created_by_kind,\ + \ namespace, cluster, microsoft_resourceid) (\\nux:pod_container_count:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_restarts:max\",\r\n \"\ + expression\": \"max by (node, created_by_name, created_by_kind, namespace,\ + \ cluster, pod, microsoft_resourceid) (\\n(\\n(\\nmax by (container, pod,\ + \ namespace, cluster, microsoft_resourceid) (kube_pod_container_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\nor sum\ + \ by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n*\ + \ on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name,\ + \ created_by_kind)\\n(\\nmax by (node, created_by_name, created_by_kind, pod,\ + \ namespace, cluster, microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\ + \"\\\", job = \\\"kube-state-metrics\\\"}\\n)\\n)\\n)\\n\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + ux:controller_container_restarts:max\",\r\n \"expression\"\ + : \"max by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid)\ + \ (\\nux:pod_container_restarts:max\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:pod_resource_limit:sum\"\ + ,\r\n \"expression\": \"(sum by (cluster, pod, namespace,\ + \ resource, microsoft_resourceid) (\\n(\\n\\tmax by (cluster, microsoft_resourceid,\ + \ pod, container, namespace, resource)\\n\\t (kube_pod_container_resource_limits{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n)unless\ + \ (count by (pod, namespace, cluster, resource, microsoft_resourceid)\\n\\\ + t(kube_pod_container_resource_limits{container != \\\"\\\", pod != \\\"\\\"\ + , job = \\\"kube-state-metrics\\\"})\\n!= on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left()\\n sum by (pod, namespace, cluster, microsoft_resourceid)\\\ + n (kube_pod_container_info{container != \\\"\\\", pod != \\\"\\\", job = \\\ + \"kube-state-metrics\\\"}) \\n)\\n\\n)* on (namespace, pod, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_kind, created_by_name)\\n(\\n\\tkube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_resource_limit:sum\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, created_by_name,\ + \ created_by_kind, node, resource, microsoft_resourceid) (\\nux:pod_resource_limit:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, created_by_kind, created_by_name,\ + \ namespace, microsoft_resourceid) ( (\\n(kube_pod_status_phase{job=\\\"kube-state-metrics\\\ + \",pod!=\\\"\\\"})\\n or (label_replace((count(kube_pod_deletion_timestamp{job=\\\ + \"kube-state-metrics\\\",pod!=\\\"\\\"}) by (namespace, pod, cluster, microsoft_resourceid)\ + \ * count(kube_pod_status_reason{reason=\\\"NodeLost\\\", job=\\\"kube-state-metrics\\\ + \"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), \\\"phase\\\ + \", \\\"terminating\\\", \\\"\\\", \\\"\\\"))) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\nkube_pod_info{job=\\\"kube-state-metrics\\\",pod!=\\\ + \"\\\"}\\n)\\n)\\n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:cluster_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, namespace,\ + \ microsoft_resourceid) (\\nux:controller_pod_phase_count:sum\\n)\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_cpu_usage:sum_irate\",\r\n \"expression\":\ + \ \"sum by (instance, cluster, microsoft_resourceid) (\\n(1 - irate(node_cpu_seconds_total{job=\\\ + \"node\\\", mode=\\\"idle\\\"}[5m]))\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_memory_usage:sum\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nnode_memory_MemTotal_bytes{job = \\\"node\\\"}\\n- node_memory_MemFree_bytes{job\ + \ = \\\"node\\\"} \\n- node_memory_cached_bytes{job = \\\"node\\\"}\\n- node_memory_buffers_bytes{job\ + \ = \\\"node\\\"}\\n))\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_network_receive_drop_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_receive_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_network_transmit_drop_total:sum_irate\",\r\ + \n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_transmit_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n }\r\n ]\r\n }\r\ + \n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\ + \n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup-Win - \",\r\n \ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \ + \ \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup-Win -\ + \ \",\r\n \"RuleTitle\": \"UX Recording Rules for Windows\"\r\n \ + \ },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": \"\ + https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage_windows:sum_irate\",\r\n\ + \ \"expression\": \"sum by (cluster, pod, namespace, node,\ + \ created_by_kind, created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\\ + tmax by (instance, container_id, cluster, microsoft_resourceid) (\\n\\t\\\ + t\\tirate(windows_container_cpu_usage_seconds_total{ container_id != \\\"\\\ + \", job = \\\"windows-exporter\\\"}[5m])\\n\\t\\t) * on (container_id, cluster,\ + \ microsoft_resourceid) group_left (container, pod, namespace) (\\n\\t\\t\\\ + tmax by (container, container_id, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t\\t\\tkube_pod_container_info{container != \\\"\\\", pod != \\\ + \"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n\\t\\\ + t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_cpu_usage_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage_windows:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory_windows:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, pod, namespace, node, created_by_kind,\ + \ created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\tmax by (instance,\ + \ container_id, cluster, microsoft_resourceid) (\\n\\t\\t\\twindows_container_memory_usage_private_working_set_bytes{\ + \ container_id != \\\"\\\", job = \\\"windows-exporter\\\"}\\n\\t\\t) * on\ + \ (container_id, cluster, microsoft_resourceid) group_left (container, pod,\ + \ namespace) (\\n\\t\\t\\tmax by (container, container_id, pod, namespace,\ + \ cluster, microsoft_resourceid) (\\n\\t\\t\\t\\tkube_pod_container_info{container\ + \ != \\\"\\\", pod != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_workingset_memory_windows:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory_windows:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_cpu_usage_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (\\n(1 - irate(windows_cpu_time_total{job=\\\"windows-exporter\\\", mode=\\\ + \"idle\\\"}[5m]))\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_memory_usage_windows:sum\",\r\n\ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nwindows_os_visible_memory_bytes{job = \\\"windows-exporter\\\"}\\n-\ + \ windows_memory_available_bytes{job = \\\"windows-exporter\\\"}\\n))\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_network_packets_received_drop_total_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_network_packets_outbound_drop_total_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n }\r\n ]\r\n}" headers: api-supported-versions: - - 2023-01-01-preview + - 2023-01-01-preview, 2023-08-01-preview arr-disable-session-affinity: - 'true' cache-control: - no-cache content-length: - - '49343' + - '56595' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:50:01 GMT + - Wed, 23 Jul 2025 12:49:59 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/0e9c0f31-7d11-4c76-a1e5-a9946041c5e4 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '249' + x-msedge-ref: + - 'Ref A: 7389EFA7E7B0454387A5E40CCC3965FE Ref B: BN1AA2051015025 Ref C: 2025-07-23T12:49:59Z' x-powered-by: - ASP.NET status: @@ -2178,7 +2331,8 @@ interactions: - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000001", "name": "NodeRecordingRulesRuleGroup-cliakstest000001", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": [{"record": "instance:node_num_cpu:sum", "expression": "count without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"}, {"record": "instance:node_cpu_utilisation:rate5m", @@ -2209,95 +2363,78 @@ interactions: Connection: - keep-alive Content-Length: - - '2653' + - '2807' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestdevqav + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestaby67s method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000001?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000001\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-cliakstest000001\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000001\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\",\r\n - \ \"expression\": \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_load1_per_cpu:ratio\",\r\n \"expression\": \"( node_load1{job=\\\"node\\\"}/ - \ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000001","name":"NodeRecordingRulesRuleGroup-cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"instance:node_num_cpu:sum","expression":"count + without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"},{"record":"instance:node_cpu_utilisation:rate5m","expression":"1 + - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\"node\", + mode=~\"idle|iowait|steal\"}[5m])))"},{"record":"instance:node_load1_per_cpu:ratio","expression":"( node_load1{job=\"node\"}/ instance:node_num_cpu:sum{job=\"node\"})"},{"record":"instance:node_memory_utilisation:ratio","expression":"1 + - ( ( node_memory_MemAvailable_bytes{job=\"node\"} or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} ) )/ node_memory_MemTotal_bytes{job=\"node\"})"},{"record":"instance:node_vmstat_pgmajfault:rate5m","expression":"rate(node_vmstat_pgmajfault{job=\"node\"}[5m])"},{"record":"instance_device:node_disk_io_time_seconds:rate5m","expression":"rate(node_disk_io_time_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance_device:node_disk_io_time_weighted_seconds:rate5m","expression":"rate(node_disk_io_time_weighted_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance:node_network_receive_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_receive_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_drop_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_drop_total{job=\"node\", device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '3096' + - '2745' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:50:03 GMT + - Wed, 23 Jul 2025 12:50:02 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/fcb12673-98ff-475f-b1f9-280e2fbd93da x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: AF07EDD19D8B4D93B2DA191595CEC76C Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:50:00Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '27' + x-rate-limit-reset: + - '2025-07-23T12:50:37.6994939Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000001", "name": "KubernetesRecordingRulesRuleGroup-cliakstest000001", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": [{"record": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate", "expression": "sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", @@ -2379,152 +2516,119 @@ interactions: Connection: - keep-alive Content-Length: - - '7331' + - '7485' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestdevqav + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestaby67s method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000001?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000001\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup-cliakstest000001\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000001\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", - image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk - by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n - \ \"expression\": \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_swap\",\r\n \"expression\": - \"container_memory_swap{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000001","name":"KubernetesRecordingRulesRuleGroup-cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate","expression":"sum + by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", + image!=\"\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk by + (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_working_set_bytes","expression":"container_memory_working_set_bytes{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_rss","expression":"container_memory_rss{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_cache","expression":"container_memory_cache{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_swap","expression":"container_memory_swap{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_cpu:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1) )"},{"record":"namespace_cpu:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"ReplicaSet\"}, \"replicaset\", \"$1\", \"owner_name\", \"(.*)\" ) * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": \"deployment\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"daemonset\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"statefulset\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"job\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": \"cluster:node_cpu:ratio_rate5m\",\r\n - \ \"expression\": \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\"kube-state-metrics\"} ) ), \"workload\", + \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"deployment"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"DaemonSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"daemonset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"StatefulSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"statefulset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"Job\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"job"}},{"record":":node_memory_MemAvailable_bytes:sum","expression":"sum( node_memory_MemAvailable_bytes{job=\"node\"} + or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} )) + by (cluster)"},{"record":"cluster:node_cpu:ratio_rate5m","expression":"sum(rate(node_cpu_seconds_total{job=\"node\",mode!=\"idle\",mode!=\"iowait\",mode!=\"steal\"}[5m])) + by (cluster) /count(sum(node_cpu_seconds_total{job=\"node\"}) by (cluster, + instance, cpu)) by (cluster)"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '8170' + - '7379' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:50:06 GMT + - Wed, 23 Jul 2025 12:50:03 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/073dfdc5-5516-47b8-bacc-d25a3469ed35 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: A9E98E45CF664F7587E4C7E571B7209F Ref B: BN1AA2051015047 Ref C: 2025-07-23T12:50:02Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '26' + x-rate-limit-reset: + - '2025-07-23T12:50:37.6994939Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000001", "name": "NodeRecordingRulesRuleGroup-Win-cliakstest000001", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": [{"record": "node:windows_node:sum", "expression": "count (windows_system_system_up_time{job=\"windows-exporter\"})"}, {"record": "node:windows_node_num_cpu:sum", "expression": "count by (instance) @@ -2563,96 +2667,76 @@ interactions: Connection: - keep-alive Content-Length: - - '3501' + - '3655' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestdevqav + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestaby67s method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000001?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000001\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win-cliakstest000001\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000001\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_num_cpu:sum\",\r\n - \ \"expression\": \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n - \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_available:sum\",\r\n - \ \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_total:sum\",\r\n - \ \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_utilisation:ratio\",\r\n - \ \"expression\": \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n {\r\n \"record\": - \"node:windows_node_memory_swap_io_pages:irate\",\r\n \"expression\": - \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000001","name":"NodeRecordingRulesRuleGroup-Win-cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"node:windows_node:sum","expression":"count + (windows_system_system_up_time{job=\"windows-exporter\"})"},{"record":"node:windows_node_num_cpu:sum","expression":"count + by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\"windows-exporter\"}))"},{"record":":windows_node_cpu_utilisation:avg5m","expression":"1 + - avg(rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":"node:windows_node_cpu_utilisation:avg5m","expression":"1 + - avg by (instance) (rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":":windows_node_memory_utilisation:","expression":"1 + -sum(windows_memory_available_bytes{job=\"windows-exporter\"})/sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemFreeCached_bytes:sum","expression":"sum(windows_memory_available_bytes{job=\"windows-exporter\"} + + windows_memory_cache_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_totalCached_bytes:sum","expression":"(windows_memory_cache_bytes{job=\"windows-exporter\"} + + windows_memory_modified_page_list_bytes{job=\"windows-exporter\"} + windows_memory_standby_cache_core_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_normal_priority_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_reserve_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemTotal_bytes:sum","expression":"sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_bytes_available:sum","expression":"sum + by (instance) ((windows_memory_available_bytes{job=\"windows-exporter\"}))"},{"record":"node:windows_node_memory_bytes_total:sum","expression":"sum + by (instance) (windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_utilisation:ratio","expression":"(node:windows_node_memory_bytes_total:sum + - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))"},{"record":"node:windows_node_memory_utilisation:","expression":"1 + - (node:windows_node_memory_bytes_available:sum / node:windows_node_memory_bytes_total:sum)"},{"record":"node:windows_node_memory_swap_io_pages:irate","expression":"irate(windows_memory_swap_page_operations_total{job=\"windows-exporter\"}[5m])"},{"record":":windows_node_disk_utilisation:avg_irate","expression":"avg(irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_disk_utilisation:avg_irate","expression":"avg + by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m])))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '4080' + - '3577' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:50:09 GMT + - Wed, 23 Jul 2025 12:50:06 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=9cb1bc897938da8404211ecc3ed3aec683951261adccc90be81b72b617a0b887;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=9cb1bc897938da8404211ecc3ed3aec683951261adccc90be81b72b617a0b887;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/02028981-5537-4b4d-870b-faed68356929 x-ms-ratelimit-remaining-subscription-resource-requests: - - '298' + - '199' + x-msedge-ref: + - 'Ref A: 2F6440B22EF54464B30A0B65CD4E4C2F Ref B: BN1AA2051012019 Ref C: 2025-07-23T12:50:04Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:51:06.0041795Z' status: code: 200 message: OK @@ -2660,7 +2744,8 @@ interactions: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001", "name": "NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", "properties": - {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": [{"record": "node:windows_node_filesystem_usage:", "expression": "max by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"}, @@ -2719,118 +2804,466 @@ interactions: Connection: - keep-alive Content-Length: - - '5187' + - '5341' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestdevqav + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestaby67s method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": - \"westus2\",\r\n \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": - \"cliakstest000001\",\r\n \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_filesystem_avail:\",\r\n - \ \"expression\": \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \"windows_pod_container_available\",\r\n - \ \"expression\": \"windows_container_available{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"windows_container_total_runtime\",\r\n \"expression\": - \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"windows_container_memory_usage\",\r\n \"expression\": - \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"windows_container_private_working_set_usage\",\r\n \"expression\": - \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"windows_container_network_received_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"windows_container_network_transmitted_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\", - container_id != \\\"\\\"} * on(container_id) group_left(container, pod, namespace) - max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id != - \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n - \ \"record\": \"kube_pod_windows_container_resource_memory_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001","name":"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"node:windows_node_filesystem_usage:","expression":"max + by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} + - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_filesystem_avail:","expression":"max + by (instance, volume) (windows_logical_disk_free_bytes{job=\"windows-exporter\"} + / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_net_utilisation:sum_irate","expression":"sum(irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_utilisation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m])))"},{"record":":windows_node_net_saturation:sum_irate","expression":"sum(irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m])) + + sum(irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_saturation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m]) + + irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m])))"},{"record":"windows_pod_container_available","expression":"windows_container_available{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_total_runtime","expression":"windows_container_cpu_usage_seconds_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_memory_usage","expression":"windows_container_memory_usage_commit_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_private_working_set_usage","expression":"windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_received_bytes_total","expression":"windows_container_network_receive_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_transmitted_bytes_total","expression":"windows_container_network_transmit_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"kube_pod_windows_container_resource_memory_request","expression":"max + by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_memory_limit","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_request","expression":"max + by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_limit","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate","expression":"sum + by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '5834' + - '5255' content-type: - application/json; charset=utf-8 date: - - Tue, 09 May 2023 21:50:12 GMT + - Wed, 23 Jul 2025 12:50:08 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=d3888da00a6c22fd6922d241b1e1f8b74760295bc9888c172907d962f5a68055;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=d3888da00a6c22fd6922d241b1e1f8b74760295bc9888c172907d962f5a68055;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/92be399f-da78-4072-a0c3-7bb0468df15f + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: 153E5BCC932B4C539E7ED0C498DB067F Ref B: BN1AA2051014009 Ref C: 2025-07-23T12:50:06Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '28' + x-rate-limit-reset: + - '2025-07-23T12:50:39.9686587Z' + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000001", "name": "UXRecordingRulesRuleGroup - -cliakstest000001", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], + "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage:sum_irate", "expression": "(sum by (namespace, + pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_cpu_usage:sum_irate", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_cpu_usage:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_working_set_bytes{container != \"\", pod != \"\", job + = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(max by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_workingset_memory:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory:sum\n)"}, {"record": "ux:pod_rss_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_rss{container != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(max by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, + {"record": "ux:controller_rss_memory:sum", "expression": "sum by (namespace, + node, cluster, created_by_name, created_by_kind, microsoft_resourceid) (\nux:pod_rss_memory:sum\n)"}, + {"record": "ux:pod_container_count:sum", "expression": "sum by (node, created_by_name, + created_by_kind, namespace, cluster, pod, microsoft_resourceid) (\n(\n(\nsum + by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\nor + sum by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* + on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_count:sum", "expression": "sum by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"}, {"record": "ux:pod_container_restarts:max", + "expression": "max by (node, created_by_name, created_by_kind, namespace, cluster, + pod, microsoft_resourceid) (\n(\n(\nmax by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_container_status_restarts_total{container != + \"\", pod != \"\", job = \"kube-state-metrics\"})\nor sum by (container, pod, + namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_restarts:max", "expression": "max by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"}, {"record": "ux:pod_resource_limit:sum", + "expression": "(sum by (cluster, pod, namespace, resource, microsoft_resourceid) + (\n(\n\tmax by (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t + (kube_pod_container_resource_limits{container != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless + (count by (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != \"\", + job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, microsoft_resourceid) + group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"}, {"record": "ux:controller_resource_limit:sum", + "expression": "sum by (cluster, namespace, created_by_name, created_by_kind, + node, resource, microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"}, {"record": + "ux:controller_pod_phase_count:sum", "expression": "sum by (cluster, phase, + node, created_by_kind, created_by_name, namespace, microsoft_resourceid) ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n + or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"}, + {"record": "ux:cluster_pod_phase_count:sum", "expression": "sum by (cluster, + phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"}, + {"record": "ux:node_cpu_usage:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", mode=\"idle\"}[5m]))\n)"}, + {"record": "ux:node_memory_usage:sum", "expression": "sum by (instance, cluster, + microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job = \"node\"}\n- node_memory_MemFree_bytes{job + = \"node\"} \n- node_memory_cached_bytes{job = \"node\"}\n- node_memory_buffers_bytes{job + = \"node\"}\n))"}, {"record": "ux:node_network_receive_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_transmit_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '7723' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity + --enable-azure-monitor-metrics --enable-windows-recording-rules --output + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup - -cliakstestaby67s + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup%20-%20-cliakstest000001?api-version=2023-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000001","name":"UXRecordingRulesRuleGroup - -cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"ux:pod_cpu_usage:sum_irate","expression":"(sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_cpu_usage:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_working_set_bytes{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_workingset_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory:sum\n)"},{"record":"ux:pod_rss_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_rss{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_rss_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_rss_memory:sum\n)"},{"record":"ux:pod_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nsum by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_info{container != \"\", pod != \"\", container_id != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_container_info{container != \"\", pod + != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, + namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", + job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"},{"record":"ux:pod_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nmax by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_status_restarts_total{container != \"\", pod != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_status_restarts_total{container != \"\", + pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"},{"record":"ux:pod_resource_limit:sum","expression":"(sum + by (cluster, pod, namespace, resource, microsoft_resourceid) (\n(\n\tmax by + (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t (kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless (count by + (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != + \"\", job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, + microsoft_resourceid) group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"},{"record":"ux:controller_resource_limit:sum","expression":"sum + by (cluster, namespace, created_by_name, created_by_kind, node, resource, + microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"},{"record":"ux:controller_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, created_by_kind, created_by_name, namespace, microsoft_resourceid) + ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"},{"record":"ux:cluster_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"},{"record":"ux:node_cpu_usage:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job + = \"node\"}\n- node_memory_MemFree_bytes{job = \"node\"} \n- node_memory_cached_bytes{job + = \"node\"}\n- node_memory_buffers_bytes{job = \"node\"}\n))"},{"record":"ux:node_network_receive_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_transmit_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' + headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview + cache-control: + - no-cache + content-length: + - '7633' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jul 2025 12:50:10 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=a3053b2a1619a6aa4b0e7e497e4fa01864cd730cd9c257837f8a0036d6c79b63;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=a3053b2a1619a6aa4b0e7e497e4fa01864cd730cd9c257837f8a0036d6c79b63;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/dc69eaea-bf93-4e58-be43-f89070e6e7d1 + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: CA1836F6A5D3408AB2924D2037C77A5A Ref B: BN1AA2051013031 Ref C: 2025-07-23T12:50:08Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:51:10.0419186Z' + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000001", "name": "UXRecordingRulesRuleGroup-Win - -cliakstest000001", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"], + "enabled": true, "clusterName": "cliakstest000001", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage_windows:sum_irate", "expression": "sum by (cluster, + pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ + container_id != \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, + cluster, microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, + {"record": "ux:controller_cpu_usage_windows:sum_irate", "expression": "sum by + (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory_windows:sum", + "expression": "sum by (cluster, pod, namespace, node, created_by_kind, created_by_name, + microsoft_resourceid) (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod != \"\", + job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, {"record": "ux:controller_workingset_memory_windows:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory_windows:sum\n)"}, {"record": + "ux:node_cpu_usage_windows:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"}, {"record": "ux:node_memory_usage_windows:sum", "expression": + "sum by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"}, + {"record": "ux:node_network_packets_received_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_packets_outbound_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '4071' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity + --enable-azure-monitor-metrics --enable-windows-recording-rules --output + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup-Win - -cliakstestaby67s + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win%20-%20-cliakstest000001?api-version=2023-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000001","name":"UXRecordingRulesRuleGroup-Win - -cliakstest000001","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000001","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001"],"rules":[{"record":"ux:pod_cpu_usage_windows:sum_irate","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ container_id != + \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, cluster, + microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_cpu_usage_windows:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory_windows:sum","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod + != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_workingset_memory_windows:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory_windows:sum\n)"},{"record":"ux:node_cpu_usage_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage_windows:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"},{"record":"ux:node_network_packets_received_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_packets_outbound_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' + headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview + cache-control: + - no-cache + content-length: + - '4021' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jul 2025 12:50:11 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/ca12ec96-849d-47dd-be81-daa58db2617f x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 143E8108F4084475A9B5B6FDC8C35165 Ref B: BN1AA2051015025 Ref C: 2025-07-23T12:50:10Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '24' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK @@ -2847,83 +3280,85 @@ interactions: - keep-alive ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.addon_get + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.addon_get method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2023-01-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": - false\n },\n \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": - {\n \"metrics\": {\n \"enabled\": false,\n \"kubeStateMetrics\": - {\n \"metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": - \"\"\n }\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"\ + provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"\ + Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n \"currentKubernetesVersion\"\ + : \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\",\n\ + \ \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\"\n },\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\"\ + ,\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n\ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n \"serviceCidrs\"\ + : [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n\ + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\"\ + : {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {},\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"\ + storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n\ + \ \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\"\ + : {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"\ + enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\"\ + : {\n \"metrics\": {\n \"enabled\": false,\n \"kubeStateMetrics\"\ + : {\n \"metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\"\ + : \"\"\n }\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\ + ,\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\":\ + \ \"Basic\",\n \"tier\": \"Free\"\n }\n}" headers: cache-control: - no-cache content-length: - - '4187' + - '3986' content-type: - application/json date: - - Tue, 09 May 2023 21:50:13 GMT + - Wed, 23 Jul 2025 12:50:12 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 8163676DB11C49FFA6A9F7C90F8C2984 Ref B: BN1AA2051015027 Ref C: 2025-07-23T12:50:12Z' status: code: 200 message: OK @@ -2931,37 +3366,36 @@ interactions: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001", "location": "westus2", "name": "cliakstest000001", "type": "Microsoft.ContainerService/ManagedClusters", "properties": {"provisioningState": "Succeeded", "powerState": {"code": "Running"}, - "kubernetesVersion": "1.25.6", "currentKubernetesVersion": "1.25.6", "dnsPrefix": - "cliakstest-clitestseoizsap2-79a739", "fqdn": "cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io", - "azurePortalFQDN": "cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io", + "kubernetesVersion": "1.32", "currentKubernetesVersion": "1.32.5", "dnsPrefix": + "cliakstest-clitestmvpcsg6g2-79a739", "fqdn": "cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io", + "azurePortalFQDN": "cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io", "agentPoolProfiles": [{"name": "nodepool1", "count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": - "OCIContainer", "maxPods": 110, "type": "VirtualMachineScaleSets", "enableAutoScaling": - false, "provisioningState": "Succeeded", "powerState": {"code": "Running"}, - "orchestratorVersion": "1.25.6", "currentOrchestratorVersion": "1.25.6", "enableNodePublicIP": - false, "mode": "System", "enableEncryptionAtHost": false, "enableUltraSSD": - false, "osType": "Linux", "osSKU": "Ubuntu", "nodeImageVersion": "AKSUbuntu-2204gen2containerd-202304.20.0", - "upgradeSettings": {}, "enableFIPS": false}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 + "OCIContainer", "maxPods": 250, "type": "VirtualMachineScaleSets", "enableAutoScaling": + false, "scaleDownMode": "Delete", "provisioningState": "Succeeded", "powerState": + {"code": "Running"}, "orchestratorVersion": "1.32", "currentOrchestratorVersion": + "1.32.5", "enableNodePublicIP": false, "mode": "System", "enableEncryptionAtHost": + false, "enableUltraSSD": false, "osType": "Linux", "osSKU": "Ubuntu", "nodeImageVersion": + "AKSUbuntu-2204gen2containerd-202507.06.0", "upgradeSettings": {"maxSurge": + "10%"}, "enableFIPS": false}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": - "kubenet", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b"}]}, - "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "podCidrs": - ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, - "maxAgentPools": 100, "identityProfile": {"kubeletidentity": {"resourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + true, "networkProfile": {"networkPlugin": "azure", "loadBalancerSku": "standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e"}]}, + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "outboundType": "loadBalancer", + "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "maxAgentPools": 100, + "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {"diskCSIDriver": - {"enabled": true}, "fileCSIDriver": {"enabled": true}, "snapshotController": - {"enabled": true}}, "oidcIssuerProfile": {"enabled": false}, "workloadAutoScalerProfile": - {}, "azureMonitorProfile": {"metrics": {"enabled": true, "kubeStateMetrics": - {"metricLabelsAllowlist": "", "metricAnnotationsAllowList": ""}}}}, "identity": - {"type": "SystemAssigned", "principalId":"00000000-0000-0000-0000-000000000001", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "sku": {"name": "Basic", - "tier": "Free"}}' + "autoUpgradeProfile": {}, "disableLocalAccounts": false, "securityProfile": + {}, "storageProfile": {"diskCSIDriver": {"enabled": true}, "fileCSIDriver": + {"enabled": true}, "snapshotController": {"enabled": true}}, "oidcIssuerProfile": + {"enabled": false}, "workloadAutoScalerProfile": {}, "azureMonitorProfile": + {"metrics": {"enabled": true, "kubeStateMetrics": {"metricLabelsAllowlist": + "", "metricAnnotationsAllowList": ""}}}}, "identity": {"type": "SystemAssigned", + "principalId":"00000000-0000-0000-0000-000000000001", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, + "sku": {"name": "Basic", "tier": "Free"}}' headers: Accept: - '*/*' @@ -2972,92 +3406,96 @@ interactions: Connection: - keep-alive Content-Length: - - '3591' + - '3525' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --enable-azuremonitormetrics --enable-windows-recording-rules --output + --enable-azure-monitor-metrics --enable-windows-recording-rules --output User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.addon_put + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.addon_put method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2023-01-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": - false\n },\n \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": - {\n \"metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": - {\n \"metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": - \"\"\n }\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"\ + provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\ + \n },\n \"kubernetesVersion\": \"1.32\",\n \"currentKubernetesVersion\"\ + : \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\",\n\ + \ \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"enableEncryptionAtHost\"\ + : false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \ + \ \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\"\n },\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\"\ + ,\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n\ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n \"serviceCidrs\"\ + : [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n\ + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\"\ + : {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {},\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"\ + storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n\ + \ \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\"\ + : {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"\ + enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\"\ + : {\n \"metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\":\ + \ {\n \"metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\"\ + : \"\"\n }\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\"\ + ,\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\":\ + \ \"Basic\",\n \"tier\": \"Free\"\n }\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8616cc58-7fbb-4abe-ba5b-103ac7efe60d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3640495c-4941-4c4d-9f62-a8bda862bfd2?api-version=2016-03-30&t=638888718196444050&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC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dgUgyF2V3VilHyXpIX29qhAZ-C9wuvUvFXMBMI5RRqELR5pIkwshtALj_tTfFw2BWPi6qsT77z1qcFvwxTrbFYAsu4LVjcRqrND9PaNLA8TolPmarYpr2Kyr3nqwCZ-lHzSu-nA6Rsz0tKV3Bec-o1NH68BY4CjUCMDdugGkB8nwIKTaWj5XGdZO-ZtIEzMDKx71l7k0ARrqIpE5OKNWRJEQoayUkZRnPwGCoBWXlq1Cim46HQ&h=YaIBlBHwB1_bFUHR6HsUdrEvwQtSU1NNd0zsDUv5rGs cache-control: - no-cache content-length: - - '4184' + - '4005' content-type: - application/json date: - - Tue, 09 May 2023 21:50:25 GMT + - Wed, 23 Jul 2025 12:50:18 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/08e39432-4d27-426b-8b69-65bf07b1f721 + x-ms-ratelimit-remaining-subscription-global-writes: + - '12000' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '800' + x-msedge-ref: + - 'Ref A: 9D70F78E44124FAEA34FA0392098CB90 Ref B: BN1AA2051014045 Ref C: 2025-07-23T12:50:13Z' status: code: 200 message: OK @@ -3075,83 +3513,101 @@ interactions: ParameterSetName: - --resource-group --name --updated --interval --timeout User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"929f09d8-f4da-40be-8e56-75e15e73ad8d\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"c06d756c-6a58-4953-809c-3d3b82dc20b0\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4352' + - '5302' content-type: - application/json date: - - Tue, 09 May 2023 21:50:26 GMT + - Wed, 23 Jul 2025 12:50:20 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 24FE925EC8E7495C88B2BAD4870E1953 Ref B: BN1AA2051012033 Ref C: 2025-07-23T12:50:20Z' status: code: 200 message: OK @@ -3169,83 +3625,101 @@ interactions: ParameterSetName: - --resource-group --name --updated --interval --timeout User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"929f09d8-f4da-40be-8e56-75e15e73ad8d\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"ed5cb337-352e-4f67-9834-906becbbaeaf\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4352' + - '5302' content-type: - application/json date: - - Tue, 09 May 2023 21:51:28 GMT + - Wed, 23 Jul 2025 12:51:21 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: AF8351E1732F457392B75D013AFE8F80 Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:51:20Z' status: code: 200 message: OK @@ -3263,83 +3737,101 @@ interactions: ParameterSetName: - --resource-group --name --updated --interval --timeout User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"58262278-c0ba-4511-a430-433da19138f9\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"22df5b45-b327-4624-bd3f-f16550ec78ba\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4352' + - '5302' content-type: - application/json date: - - Tue, 09 May 2023 21:52:28 GMT + - Wed, 23 Jul 2025 12:52:21 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 7B78CFC44B5147158ABBB2B1A41AE8D7 Ref B: BN1AA2051013025 Ref C: 2025-07-23T12:52:21Z' status: code: 200 message: OK @@ -3357,83 +3849,213 @@ interactions: ParameterSetName: - --resource-group --name --updated --interval --timeout User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"58262278-c0ba-4511-a430-433da19138f9\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"22df5b45-b327-4624-bd3f-f16550ec78ba\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4354' + - '5302' content-type: - application/json date: - - Tue, 09 May 2023 21:53:29 GMT + - Wed, 23 Jul 2025 12:53:22 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 04F563D9E8B74EA3B3E679081D3E7DB6 Ref B: BN1AA2051014009 Ref C: 2025-07-23T12:53:22Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks wait + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --updated --interval --timeout + User-Agent: + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"6b50c3cb-8cab-4d15-b8b1-1d89f0acd3e3\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"768e0685-bf33-49fd-8a7a-58c507ce5eca\"\ + \n}" + headers: + cache-control: + - no-cache + content-length: + - '5304' + content-type: + - application/json + date: + - Wed, 23 Jul 2025 12:54:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C7B9E84774EE44D7A4F9351B590AA5A6 Ref B: BN1AA2051014035 Ref C: 2025-07-23T12:54:23Z' status: code: 200 message: OK @@ -3451,83 +4073,101 @@ interactions: ParameterSetName: - -g -n --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestseoizsap2-79a739\",\n \"fqdn\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestseoizsap2-79a739-371v7pcg.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BDSUJ8cOCQbYSYIvKVgl1kB77S+6EBfuYie1VtR0dmxrD5ej+l20VOlwE8qK8Bmzi+fHWNVbVCOQvUjmka7+a8BeWgvCSOPx7iM3qVbRV3tWs5YjGE+zZZ5Swp6IqvAMSF2kv6YVchDTLrRjPxVWVzybvem2RGD0MSokB9I86p3oh8aisvL2AWqimMvClPJ71OjRqvdn+ebpG5iLMY4POxXjIvMIy6eLCUn03FrPH8JBHbRUHD/SytA4/u//5D4KShEV6mTJgJXV2ouPPv9rSGyqYHPJVcfTvYuvVgw4dECb15h4uatDPapvHVqVr9E+eMy18/L+LjWRgoc2NkN9 - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/5dae7c66-59f9-4312-a604-abbb87a3f34b\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestmvpcsg6g2-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestmvpcsg6g2-79a739-zof4blf3.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"6b50c3cb-8cab-4d15-b8b1-1d89f0acd3e3\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/c1774118-f679-41cc-89f2-df3cf60f2f3e\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b8c68d2b0001e3f04b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"768e0685-bf33-49fd-8a7a-58c507ce5eca\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4354' + - '5304' content-type: - application/json date: - - Tue, 09 May 2023 21:53:30 GMT + - Wed, 23 Jul 2025 12:54:24 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: FBD22EC0002D4030A41AB66AE5A65406 Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:54:24Z' status: code: 200 message: OK @@ -3547,8 +4187,7 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2025-06-02-preview response: @@ -3556,27 +4195,33 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1e472810-1db0-4d9a-9b27-9dfb1770e4a3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1c8af1b0-bd78-4745-9f1d-63be6a7b7a7b?api-version=2025-03-01&t=638888720677443009&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7Dhb3kxibECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFgh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_4Fn8Zead9Q8Dc cache-control: - no-cache content-length: - '0' date: - - Tue, 09 May 2023 21:53:31 GMT + - Wed, 23 Jul 2025 12:54:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/1e472810-1db0-4d9a-9b27-9dfb1770e4a3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/1c8af1b0-bd78-4745-9f1d-63be6a7b7a7b?api-version=2025-03-01&t=638888720677599272&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7Dhb3kxibECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKw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LTmJdxucBcyyt2JMODSydvLiSb4KLeb6IazgYnADBlGloCGhhjw&h=Y5Qh8RgcTyPirH6TFMPHxhyumG_QTHcpkNahlhlC9qg pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/a57b51d5-0eee-4214-82db-a98000258c38 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 3ECE3D4503164E0CBF9D49918CDA9BBD Ref B: BN1AA2051012051 Ref C: 2025-07-23T12:54:25Z' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_azuremonitormetrics.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_azuremonitormetrics.yaml index 838766411a5..8b31c0cb168 100755 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_azuremonitormetrics.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_azuremonitormetrics.yaml @@ -14,8 +14,7 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: @@ -31,36 +30,42 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:08:57 GMT + - Wed, 23 Jul 2025 12:42:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: F8E87D96C4AF4307A27304CEA8B3B79E Ref B: BN1AA2051013049 Ref C: 2025-07-23T12:42:26Z' status: code: 404 message: Not Found - request: - body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestptfp5fag2-79a739", - "agentPoolProfiles": [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": - 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": - false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, - "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt + body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "kind": "Base", "properties": {"kubernetesVersion": + "", "dnsPrefix": "cliakstest-clitestr3r2azvbf-79a739", "agentPoolProfiles": + [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": 0, "workloadRuntime": + "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "", "upgradeSettings": {}, "enableNodePublicIP": + false, "enableCustomCATrust": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "nodeInitializationTaints": + [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "networkProfile": {}, "securityProfile": {"sshAccess": "localuser"}, + "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, - "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", - "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", - "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": - "standard"}, "disableLocalAccounts": false, "storageProfile": {}}}' + "networkProfile": {"podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false, "storageProfile": {}, "bootstrapProfile": + {"artifactSource": "Direct"}}}' headers: Accept: - application/json @@ -71,83 +76,105 @@ interactions: Connection: - keep-alive Content-Length: - - '1580' + - '1667' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n - \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": - false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": - {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": - {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": - true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n - \ },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"nodeLabels\": {},\n \ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"\ + enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\"\ + ,\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\"\ + : \"0\"\n },\n \"enableFIPS\": false,\n \"networkProfile\": {},\n\ + \ \"securityProfile\": {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\"\ + : false,\n \"enableSecureBoot\": false\n }\n }\n ],\n \"linuxProfile\"\ + : {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"backendPoolType\"\ + : \"nodeIPConfiguration\"\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"\ + serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"\ + outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\ + \n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\"\ + : [\n \"IPv4\"\n ],\n \"podLinkLocalAccess\": \"IMDS\"\n },\n \"\ + maxAgentPools\": 100,\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\"\ + : \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\"\ + : {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\":\ + \ true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n\ + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\"\ + : {},\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"enabled\": false\n\ + \ }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\",\n \"controlPlanePluginProfiles\"\ + : {\n \"azure-monitor-metrics-ccp\": {\n \"enableV2\": true\n },\n\ + \ \"gpu-provisioner\": {\n \"enableV2\": true\n },\n \"karpenter\"\ + : {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\": {\n\ + \ \"enableV2\": true\n },\n \"live-patching-controller\": {\n \"\ + enableV2\": true\n },\n \"static-egress-controller\": {\n \"enableV2\"\ + : true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\": \"Manual\"\ + ,\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\": {\n \ + \ \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\":\ + \ \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMw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B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw cache-control: - no-cache content-length: - - '3514' + - '4406' content-type: - application/json date: - - Fri, 12 May 2023 10:09:07 GMT + - Wed, 23 Jul 2025 12:42:32 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/4337e3f9-958b-4e34-98dc-9786fcb3af56 + x-ms-ratelimit-remaining-subscription-global-writes: + - '12000' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '800' + x-msedge-ref: + - 'Ref A: 2D7EFC8890AC4176B2EA9768BEC29DFE Ref B: BN1AA2051015017 Ref C: 2025-07-23T12:42:26Z' status: code: 201 message: Created @@ -166,184 +193,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 12 May 2023 10:09:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --output - User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 12 May 2023 10:09:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --output - User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 12 May 2023 10:10:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity - --output - User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpg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W98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:10:37 GMT + - Wed, 23 Jul 2025 12:42:33 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/de921ae0-afbb-4a21-b208-35e3ab1b2e9e + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 66C3F343E4104DF9B3A1752CEFC7DE44 Ref B: BN1AA2051012025 Ref C: 2025-07-23T12:42:34Z' status: code: 200 message: OK @@ -362,37 +243,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEz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Jxho6xzolpgOYpwrwGWHmVDv31qayiz-imnAr2sRjY2-oFCIwA_6iBWQGOs3zWvXURsHZfWHDKbljlc-1h79HmMScP_IY55kHTCF0RMy8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:11:07 GMT + - Wed, 23 Jul 2025 12:43:04 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/6eba4783-7aa6-4f3d-9941-fc318b9a115a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 9C2224CB9E2643B7BCBCF7D737F24A74 Ref B: BN1AA2051013053 Ref C: 2025-07-23T12:43:04Z' status: code: 200 message: OK @@ -411,37 +293,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEn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kEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:11:37 GMT + - Wed, 23 Jul 2025 12:43:34 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/4e72653e-2489-4213-9a74-abca66678a37 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C56BAFBA12FE45BC8BB8D1AC7FF3F9E0 Ref B: BN1AA2051015023 Ref C: 2025-07-23T12:43:35Z' status: code: 200 message: OK @@ -460,37 +343,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29m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8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:12:07 GMT + - Wed, 23 Jul 2025 12:44:05 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/98465ae7-b1fd-424e-910d-601414397942 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: A8394157D1F0415CACB8CF75D9B7D4E1 Ref B: BN1AA2051015047 Ref C: 2025-07-23T12:44:05Z' status: code: 200 message: OK @@ -509,37 +393,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYB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7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:12:38 GMT + - Wed, 23 Jul 2025 12:44:35 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/afe8732a-5405-4d15-8a33-89e17bccf3aa + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 56BC317CADDC45D59EA770B03AD2ADDA Ref B: BN1AA2051012033 Ref C: 2025-07-23T12:44:36Z' status: code: 200 message: OK @@ -558,37 +443,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVV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8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:13:08 GMT + - Wed, 23 Jul 2025 12:45:06 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/835db3da-e3ad-4950-80f4-d0a6cf44b2d2 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 50A61C393F9F4DAB9687B4A4D7407BB5 Ref B: BN1AA2051014035 Ref C: 2025-07-23T12:45:06Z' status: code: 200 message: OK @@ -607,37 +493,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVn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Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:13:38 GMT + - Wed, 23 Jul 2025 12:45:37 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/52e911a3-172e-4f78-960e-32f4108c7edd + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 7D30301A30464414AD576E99F78EBB1D Ref B: BN1AA2051015033 Ref C: 2025-07-23T12:45:37Z' status: code: 200 message: OK @@ -656,37 +543,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwM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a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:14:08 GMT + - Wed, 23 Jul 2025 12:46:08 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/6d043d07-087d-4304-af2c-c418712ff47a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: E0B44773493341E9A6A8A38E5961D7C9 Ref B: BN1AA2051013045 Ref C: 2025-07-23T12:46:08Z' status: code: 200 message: OK @@ -705,37 +593,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888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-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:14:39 GMT + - Wed, 23 Jul 2025 12:46:39 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/66f99bb4-df45-458c-8172-f47a7cd12903 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: D90C88CE0CCA4EED96790C71C8B2EBAF Ref B: BN1AA2051014051 Ref C: 2025-07-23T12:46:39Z' status: code: 200 message: OK @@ -754,37 +643,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCs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9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:15:09 GMT + - Wed, 23 Jul 2025 12:47:09 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/15b2b21b-ac5f-4cc0-aa01-012e771c59c8 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C1556CA20D854299969A9BB44FE68BB6 Ref B: BN1AA2051014045 Ref C: 2025-07-23T12:47:09Z' status: code: 200 message: OK @@ -803,37 +693,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOC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zzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:15:39 GMT + - Wed, 23 Jul 2025 12:47:40 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/e4dfeb70-4f39-42de-9a30-393988b409b1 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 4925282D02324DB5BA8D2F2778BBB12E Ref B: BN1AA2051015017 Ref C: 2025-07-23T12:47:40Z' status: code: 200 message: OK @@ -852,37 +743,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4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uMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:16:10 GMT + - Wed, 23 Jul 2025 12:48:10 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/53e877c3-7daa-412b-9c78-6c46cb8ea050 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 52D17D16CB5C4AB489B402670F4A9F23 Ref B: BN1AA2051013017 Ref C: 2025-07-23T12:48:10Z' status: code: 200 message: OK @@ -901,33 +793,38 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBB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8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=AnKf5b87B_YnI0psnoxQ9lWJoii7jM1ZRwmSI07dMiIoimrClj9N_ufyXD11ZA9sFCj4gWuL0yl__t6zjugfdSVeV-sJH2feRHrje8WTH-gbBtnZAF_qlRgXk7ogIcbUEcI-VWX13_2yHDQsfO_8kWGFZKo5I5a1wcPHQr0lbjpGCq5IWiEk0HyQVtTCPhfflqEaB94obUueXSq0ASMPR2P3rmyrgQ5VnqdxUc-OixuKCAA1b8jJQjt1J-Sc0sx-fo7rI_YzYshL-NYrmYAxVAvHFTdIK9hkEGNFTyMBNx1_k44fn29HIRQ29mPJ4Gnw6_B8zav_vshg097dhAQ03A&h=GeC7V3v5alj3SCk2xAt4LC6fs2DfdpHz52l98NWCBrw response: body: - string: "{\n \"name\": \"28ce2e76-02d5-304a-8328-a23c213e3a50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:16:40 GMT + - Wed, 23 Jul 2025 12:48:41 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/19cc9d63-b19c-49ae-901f-9802b173f443 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 807AE5398B9347B9A866EE671CEED7B3 Ref B: BN1AA2051014051 Ref C: 2025-07-23T12:48:41Z' status: code: 200 message: OK @@ -946,34 +843,39 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/762ece28-d502-4a30-8328-a23c213e3a50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d5faf435-7543-44e4-8d85-f3a14f695b42?api-version=2025-03-01&t=638888713537282853&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcN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8328-a23c213e3a50\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-05-12T10:09:07.0372783Z\",\n \"endTime\": - \"2023-05-12T10:16:44.4814855Z\"\n }" + string: "{\n \"name\": \"d5faf435-7543-44e4-8d85-f3a14f695b42\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2025-07-23T12:42:33.5309955Z\",\n \"endTime\"\ + : \"2025-07-23T12:49:09.6646818Z\"\n}" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Fri, 12 May 2023 10:17:10 GMT + - Wed, 23 Jul 2025 12:49:11 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/32eb1b06-860a-466d-92e3-f2ea117b82f0 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: B232607BA03C4A1E838CE382B6CD5161 Ref B: BN1AA2051014027 Ref C: 2025-07-23T12:49:11Z' status: code: 200 message: OK @@ -992,76 +894,98 @@ interactions: - --resource-group --name --location --ssh-key-value --node-vm-size --enable-managed-identity --output User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"14fa3dfd-cece-4e72-8843-84fba1c4ee99\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"metricsProfile\": {\n \"costAnalysis\"\ + : {\n \"enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"7b3a5e02-a4f0-463b-adcb-303403b233e7\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4167' + - '5126' content-type: - application/json date: - - Fri, 12 May 2023 10:17:10 GMT + - Wed, 23 Jul 2025 12:49:12 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 1980929E0427468FBCC7C2C7891CF550 Ref B: BN1AA2051013009 Ref C: 2025-07-23T12:49:12Z' status: code: 200 message: OK @@ -1077,83 +1001,101 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {}\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"14fa3dfd-cece-4e72-8843-84fba1c4ee99\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"metricsProfile\": {\n \"costAnalysis\"\ + : {\n \"enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"7b3a5e02-a4f0-463b-adcb-303403b233e7\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4167' + - '5126' content-type: - application/json date: - - Fri, 12 May 2023 10:17:11 GMT + - Wed, 23 Jul 2025 12:49:13 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 9364B3251F274FBAAFB08F2703029418 Ref B: BN1AA2051013023 Ref C: 2025-07-23T12:49:13Z' status: code: 200 message: OK @@ -1169,81 +1111,83 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.check_azuremonitormetrics_profile + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.check_azuremonitormetrics_profile method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-01-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": - false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"\ + provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"\ + Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n \"currentKubernetesVersion\"\ + : \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\",\n\ + \ \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\"\n },\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\"\ + ,\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n\ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n \"serviceCidrs\"\ + : [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n\ + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\"\ + : {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {},\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"\ + storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n\ + \ \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\"\ + : {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"\ + enabled\": false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n}" headers: cache-control: - no-cache content-length: - - '3999' + - '3807' content-type: - application/json date: - - Fri, 12 May 2023 10:17:12 GMT + - Wed, 23 Jul 2025 12:49:14 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 0D1C4BA69F0544F9BD45E78DDDAB06F4 Ref B: BN1AA2051014017 Ref C: 2025-07-23T12:49:14Z' status: code: 200 message: OK @@ -1259,94 +1203,39 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_mac_sub_list + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_cluster_sub_rp_list method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.MarketplaceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Media","registrationState":"Registering"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registering"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.TimeSeriesInsights","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registering"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnyBuild","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousDevelopmentPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousSystems","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureCIS","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePercept","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Codespaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.CognitiveSearch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCollaboration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DelegatedNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeploymentManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevAI","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Falcon","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HpcWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Kubernetes","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Logz","registrationState":"NotRegistered"},{"namespace":"Microsoft.MachineLearning","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedStorageClass","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.Metaverse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobilePacketCore","registrationState":"NotRegistered"},{"namespace":"Microsoft.ModSimWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkAnalytics","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenLogisticsPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.PlayFab","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.ScVmm","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.SystemIntegrityMonitoring","registrationState":"NotRegistered"},{"namespace":"Microsoft.TestBase","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.VSOnline","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsESU","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsIoT","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"},{"namespace":"SolarWinds.Observability","registrationState":"NotRegistered"},{"namespace":"Wandisco.Fusion","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"}]}' - headers: - cache-control: - - no-cache - content-length: - - '19647' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 12 May 2023 10:17:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks update - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity - --enable-windows-recording-rules - User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_monitor_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.monitor/register?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"}],"resourceTypes":[{"resourceType":"accounts","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North - Central US","East US","Australia Central","Australia Southeast","Brazil South","Canada - Central","Central India","Central US","East Asia","East US 2","North Europe","Norway - East","South Africa North","South Central US","Southeast Asia","UAE North","UK - South","West Central US","West Europe","West US","West US 2","East US 2 EUAP","Central - US EUAP"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2246' + - '23097' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:18 GMT + - Wed, 23 Jul 2025 12:49:17 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: AAF77FB252544FBCBB361E0FA0C394C1 Ref B: BN1AA2051015033 Ref C: 2025-07-23T12:49:15Z' status: code: 200 message: OK @@ -1361,57 +1250,40 @@ interactions: - aks update Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_dashboard_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.dashboard/register?api-version=2021-04-01 + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_monitor_workspace_rp_list + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard","namespace":"Microsoft.Dashboard","authorizations":[{"applicationId":"ce34e7e5-485f-4d76-964f-b3d2b16d1e4f","roleDefinitionId":"996b8381-eac0-46be-8daf-9619bafd1073"},{"applicationId":"6f2d169c-08f3-4a4c-a982-bcaf2d038c45"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","South Central US","West Europe","North Europe","UK - South","East US","East US 2","West Central US","Australia East","Sweden Central","West - US","West US 3","East Asia"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana","locations":["South - Central US","West Central US","West Europe","East US","East US 2","North Europe","UK - South","Australia East","Sweden Central","West US 3","East Asia","East US - 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateEndpointConnections","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateLinkResources","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/managedPrivateEndpoints","locations":["East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2807' + - '23097' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:19 GMT + - Wed, 23 Jul 2025 12:49:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 40762450383748AC855731723E2F20F1 Ref B: BN1AA2051013039 Ref C: 2025-07-23T12:49:18Z' status: code: 200 message: OK @@ -1427,54 +1299,92 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_supported_rp_locations + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_supported_rp_locations method: GET - uri: https://management.azure.com/providers/Microsoft.Monitor?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor?api-version=2022-01-01 response: body: - string: '{"namespace":"Microsoft.Monitor","resourceTypes":[{"resourceType":"accounts","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"operations","locations":["East US 2 EUAP","Central - US EUAP","North Central US","East US","Australia Central","Australia Southeast","Brazil - South","Canada Central","Central India","Central US","East Asia","East US - 2","North Europe","Norway East","South Africa North","South Central US","Southeast - Asia","UAE North","UK South","West Central US","West Europe","West US","West - US 2"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"7d307c7e-d1c0-4b3f-976d-094279ad11ab"},{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"b59a8212-567c-4cbe-9fa7-e05e3acfd513"},{"applicationId":"0e282aa8-2770-4b6c-8cf8-fac26e9ebe1f","roleDefinitionId":"2dfe42c1-88e3-4036-a4ce-bd17b5c5d578"},{"applicationId":"6bccf540-eb86-4037-af03-7fa058c2db75","roleDefinitionId":"89dcede2-9219-403a-9723-d3c6473f9472"}],"resourceTypes":[{"resourceType":"accounts","locations":["East + US","Australia Central","Australia East","Australia Southeast","Brazil South","Canada + Central","Canada East","Central India","Central US","East Asia","East US 2","France + Central","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Korea Central","Korea South","North Europe","Norway East","South Africa + North","South Central US","Southeast Asia","South India","Spain Central","Sweden + Central","Switzerland North","UAE North","UK South","UK West","West Central + US","West Europe","West US","West US 2","West US 3","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-05-03-preview","2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2025-03-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2024-10-03-preview","2024-10-01-preview","2024-10-01","2024-04-03-preview","2024-04-01-preview","2023-10-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2023-04-03","capabilities":"None"},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/locationOperationStatuses","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2","West US 2","West Europe","East US 2 EUAP","Central US EUAP"],"apiVersions":["2024-10-01-preview","2023-10-01-preview"],"defaultApiVersion":"2024-10-01-preview","capabilities":"None"},{"resourceType":"pipelineGroups","locations":["Canada + Central","East US 2","West US 2","Italy North","West Europe","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-03-01-preview","2024-10-01-preview"],"defaultApiVersion":"2025-03-01-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"investigations","locations":["North Europe","Germany + West Central","Sweden Central","UAE North","South Africa North","Norway East","global","France + Central","France South","Germany North","Italy North","Norway West","Poland + Central","Switzerland North","Switzerland West","Israel Central","Qatar Central","South + Africa West","UAE Central","Japan East","Central India","Japan West","South + India","West India","Korea Central","Korea South","Australia East","Australia + Southeast","Australia Central","Australia Central 2","Southeast Asia","UK + South","UK West","West Central US","East Asia","West US 3","Central US","East + US 2","South Central US","West US 2","East US","Canada Central","Canada East","North + Central US","West US","Brazil South","Brazil Southeast","West Europe","East + US 2 EUAP"],"apiVersions":["2024-01-01-preview"],"capabilities":"SupportsExtension"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2213' + - '6839' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:19 GMT + - Wed, 23 Jul 2025 12:49:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 595C2781B18846FA976BBB9819E80CAB Ref B: BN1AA2051012051 Ref C: 2025-07-23T12:49:21Z' status: code: 200 message: OK @@ -1490,10 +1400,10 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DefaultResourceGroup-westus2?api-version=2024-11-01 response: @@ -1505,15 +1415,21 @@ interactions: content-length: - '0' date: - - Fri, 12 May 2023 10:17:19 GMT + - Wed, 23 Jul 2025 12:49:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 8467638632F54A31AA31BE5ED60CB208 Ref B: BN1AA2051013049 Ref C: 2025-07-23T12:49:21Z' status: code: 204 message: No Content @@ -1529,42 +1445,46 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2?api-version=2023-04-03 response: body: - string: '{"properties":{"accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-9jg3.westus2.prometheus.monitor.azure.com","internalId":"mac_ec050f19-1529-4ec2-9d0c-e6677ca07ac8"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"3d030879-0000-0800-0000-6452ca160000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-03T20:54:27.8807957Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-03T20:54:27.8807957Z"}}' + string: '{"properties":{"accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-dqhtf8b6gqg5dbbv.westus2.prometheus.monitor.azure.com","internalId":"mac_47fa17c3-ea86-44d8-a015-7347a49f6140"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"d709bfec-0000-0800-0000-6822fc140000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-05-13T08:00:13.461865Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-05-13T08:00:13.461865Z"}}' headers: api-supported-versions: - - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03 + - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03, 2023-06-01-preview, + 2024-04-01-preview, 2024-04-03-preview, 2024-10-01-preview, 2024-10-03-preview, + 2025-05-01-preview, 2025-05-03-preview cache-control: - no-cache content-length: - - '1443' + - '1453' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:20 GMT + - Wed, 23 Jul 2025 12:49:21 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:74683e7d-3ee8-4856-bfe7-e63c83b6737e - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 0807B680A18D4642B314ED6C4D37448B Ref B: BN1AA2051013021 Ref C: 2025-07-23T12:49:22Z' status: code: 200 message: OK @@ -1585,19 +1505,19 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dce + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dce method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"immutableId":"dce-dbc6505b5de04d2fbe162b35dec588a2","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"4e08a563-0000-0800-0000-645e12330000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:21.7263493Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:21.7263493Z"}}' + string: '{"properties":{"immutableId":"dce-44d2a3bdf7234ecea934b388e1c39df0","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"7505fab6-0000-0800-0000-6880da540000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:23.4460333Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:23.4460333Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -1605,25 +1525,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:24 GMT + - Wed, 23 Jul 2025 12:49:24 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/67fbd7bb-69c4-4911-915b-d3abd1be9f95 x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '199' + x-msedge-ref: + - 'Ref A: DC1758EC1E0D4AE89742A0C6A37557BC Ref B: BN1AA2051015033 Ref C: 2025-07-23T12:49:22Z' status: code: 200 message: OK @@ -1650,19 +1572,20 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcr + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcr method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"description":"DCR description","immutableId":"dcr-47f9c942a60a4808984936e13fba633e","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"4e08b564-0000-0800-0000-645e12360000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:25.8820682Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:25.8820682Z"}}' + string: '{"properties":{"description":"DCR description","immutableId":"dcr-ab663efad29c46c6adaf1e44651113d1","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"750566b7-0000-0800-0000-6880da570000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:26.5588503Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:26.5588503Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -1670,25 +1593,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:28 GMT + - Wed, 23 Jul 2025 12:49:27 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/e388b0b0-2b2b-43b7-9b5a-0ab2b7efa34b x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '199' + x-msedge-ref: + - 'Ref A: 36A90FB5FBDF4D3C93AE6FEB67E4DECA Ref B: BN1AA2051014039 Ref C: 2025-07-23T12:49:25Z' status: code: 200 message: OK @@ -1710,46 +1635,49 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcra method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002?api-version=2022-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension?api-version=2022-06-01 response: body: string: '{"properties":{"description":"Promtheus data collection association - between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002","name":"ContainerInsightsMetricsExtension-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4e086465-0000-0800-0000-645e12390000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:28.5135106Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:28.5135106Z"}}' + between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension","name":"ContainerInsightsMetricsExtension","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"7505b7b7-0000-0800-0000-6880da580000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:28.1732074Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:28.1732074Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - - '1030' + - '980' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:29 GMT + - Wed, 23 Jul 2025 12:49:29 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/36172af0-0b17-4096-82aa-aed15f68faaa x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: F84C4FA237D04F248BCD15FAA97CDD4D Ref B: BN1AA2051014033 Ref C: 2025-07-23T12:49:27Z' status: code: 200 message: OK @@ -1765,610 +1693,781 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_recording_rules_template + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_recording_rules_template method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations?api-version=2023-01-01-preview response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n \"metadata\": - {\r\n \"description\": \"prefix of the alert rule name\"\r\n - \ }\r\n },\r\n \"alertName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'), - ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"Name - of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_cpu_utilisation:rate5m\",\r\n \"expression\": - \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n - \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) - ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", image!=\\\"\\\"}[5m])) - * on (cluster, namespace, pod) group_left(node) topk by (cluster, namespace, - pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n \"expression\": - \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n - \ \"record\": \"node_namespace_pod_container:container_memory_swap\",\r\n - \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \"expression\": - \"max by (cluster, namespace, workload, pod) ( label_replace( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) - * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": - \"deployment\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"daemonset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"statefulset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"job\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": - \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\": - \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup-Win\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_num_cpu:sum\",\r\n \"expression\": - \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_utilisation:\",\r\n \"expression\": - \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \"expression\": - \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \"expression\": - \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemTotal_bytes:sum\",\r\n \"expression\": - \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_available:sum\",\r\n \"expression\": - \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_total:sum\",\r\n \"expression\": - \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_utilisation:ratio\",\r\n \"expression\": - \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\",\r\n - \ \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node and Kubernetes Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_filesystem_avail:\",\r\n \"expression\": - \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_utilisation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \"windows_pod_container_available\",\r\n \"expression\": - \"windows_container_available{job=\\\"windows-exporter\\\"} * on(container_id) - group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_total_runtime\",\r\n - \ \"expression\": \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_memory_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_private_working_set_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_received_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_transmitted_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( - kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesAlert-DefaultAlerts\",\r\n - \ \"name\": \"KubernetesAlert-DefaultAlerts\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"KubernetesAlert-DefaultAlerts\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom\"\r\n },\r\n - \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesAlert-DefaultAlerts\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Alert RuleGroup-DefaultAlerts\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"alert\": \"KubePodCrashLooping\",\r\n - \ \"expression\": \"max_over_time(kube_pod_container_status_waiting_reason{reason=\\\"CrashLoopBackOff\\\", - job=\\\"kube-state-metrics\\\"}[5m]) >= 1\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubePodNotReady\",\r\n \"expression\": \"sum by (namespace, - pod, cluster) ( max by(namespace, pod, cluster) ( kube_pod_status_phase{job=\\\"kube-state-metrics\\\", - phase=~\\\"Pending|Unknown\\\"} ) * on(namespace, pod, cluster) group_left(owner_kind) - topk by(namespace, pod, cluster) ( 1, max by(namespace, pod, owner_kind, - cluster) (kube_pod_owner{owner_kind!=\\\"Job\\\"}) )) > 0\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeDeploymentReplicasMismatch\",\r\n \"expression\": - \"( kube_deployment_spec_replicas{job=\\\"kube-state-metrics\\\"} > kube_deployment_status_replicas_available{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_deployment_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeStatefulSetReplicasMismatch\",\r\n \"expression\": - \"( kube_statefulset_status_replicas_ready{job=\\\"kube-state-metrics\\\"} - \ != kube_statefulset_status_replicas{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_statefulset_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeJobNotCompleted\",\r\n \"expression\": \"time() - - max by(namespace, job_name, cluster) (kube_job_status_start_time{job=\\\"kube-state-metrics\\\"} - \ and kube_job_status_active{job=\\\"kube-state-metrics\\\"} > 0) > 43200\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeJobFailed\",\r\n - \ \"expression\": \"kube_job_failed{job=\\\"kube-state-metrics\\\"} - \ > 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeHpaReplicasMismatch\",\r\n \"expression\": \"(kube_horizontalpodautoscaler_status_desired_replicas{job=\\\"kube-state-metrics\\\"} - \ !=kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ >kube_horizontalpodautoscaler_spec_min_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeMemoryQuotaOvercommit\",\r\n \"expression\": \"sum(min - without(resource) (kube_resourcequota{job=\\\"kube-state-metrics\\\", type=\\\"hard\\\", - resource=~\\\"(memory|requests.memory)\\\"})) /sum(kube_node_status_allocatable{resource=\\\"memory\\\", - job=\\\"kube-state-metrics\\\"}) > 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeQuotaAlmostFull\",\r\n \"expression\": \"kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"used\\\"} / ignoring(instance, job, type)(kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"hard\\\"} > 0) > 0.9 < 1\",\r\n \"for\": \"PT15M\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeVersionMismatch\",\r\n - \ \"expression\": \"count by (cluster) (count by (git_version, - cluster) (label_replace(kubernetes_build_info{job!~\\\"kube-dns|coredns\\\"},\\\"git_version\\\",\\\"$1\\\",\\\"git_version\\\",\\\"(v[0-9]*.[0-9]*).*\\\"))) - > 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeNotReady\",\r\n \"expression\": \"kube_node_status_condition{job=\\\"kube-state-metrics\\\",condition=\\\"Ready\\\",status=\\\"true\\\"} - == 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeUnreachable\",\r\n \"expression\": \"(kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=\\\"node.kubernetes.io/unreachable\\\",effect=\\\"NoSchedule\\\"} - unless ignoring(key,value) kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=~\\\"ToBeDeletedByClusterAutoscaler|cloud.google.com/impending-node-termination|aws-node-termination-handler/spot-itn\\\"}) - == 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeletTooManyPods\",\r\n \"expression\": \"count by(cluster, - node) ( (kube_pod_status_phase{job=\\\"kube-state-metrics\\\",phase=\\\"Running\\\"} - == 1) * on(instance,pod,namespace,cluster) group_left(node) topk by(instance,pod,namespace,cluster) - (1, kube_pod_info{job=\\\"kube-state-metrics\\\"}))/max by(cluster, node) - ( kube_node_status_capacity{job=\\\"kube-state-metrics\\\",resource=\\\"pods\\\"} - != 1) > 0.95\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeReadinessFlapping\",\r\n \"expression\": \"sum(changes(kube_node_status_condition{status=\\\"true\\\",condition=\\\"Ready\\\"}[15m])) - by (cluster, node) > 2\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n }\r\n ]\r\n}" + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"\ + Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\ + \n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"instance:node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\ + \"node\\\",mode=\\\"idle\\\"})\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\"\ + ,\r\n \"expression\": \"1 - avg without (cpu) ( sum without\ + \ (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", mode=~\\\"idle|iowait|steal\\\ + \"}[5m])))\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n \ + \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\ + \"node\\\"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \ + \ \"expression\": \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\ + \"node\\\"} or ( node_memory_Buffers_bytes{job=\\\"node\\\"} \ + \ + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} ) )/\ + \ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\ + \n {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\"\ + ,\r\n \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\ + \"node\\\"}[5m])\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n \ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Kubernetes Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, pod,\ + \ container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node)\ + \ topk by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod,\ + \ node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\"\ + ,\r\n \"expression\": \"container_memory_working_set_bytes{job=\\\ + \"cadvisor\\\", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk\ + \ by(namespace, pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\ + \"\\\"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_memory_rss\"\ + ,\r\n \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_cache\",\r\n \ + \ \"expression\": \"container_memory_cache{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_swap\",\r\n \ + \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1) )\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\ + \", owner_kind=\\\"ReplicaSet\\\"}, \\\"replicaset\\\", \\\"$1\\\", \\\ + \"owner_name\\\", \\\"(.*)\\\" ) * on(replicaset, namespace) group_left(owner_name)\ + \ topk by(replicaset, namespace) ( 1, max by (replicaset, namespace,\ + \ owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"\ + } ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\ + \" ))\",\r\n \"labels\": {\r\n \"\ + workload_type\": \"deployment\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"DaemonSet\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"daemonset\"\r\n }\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \ + \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace(\ + \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\ + \"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\"\ + ,\r\n \"labels\": {\r\n \"workload_type\"\ + : \"statefulset\"\r\n }\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"Job\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"job\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":node_memory_MemAvailable_bytes:sum\",\r\n \"expression\"\ + : \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( node_memory_Buffers_bytes{job=\\\ + \"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} )) by (cluster)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\"\ + : \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\ + \"iowait\\\",mode!=\\\"steal\\\"}[5m])) by (cluster) /count(sum(node_cpu_seconds_total{job=\\\ + \"node\\\"}) by (cluster, instance, cpu)) by (cluster)\"\r\n \ + \ }\r\n ]\r\n }\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"\ + clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n \ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n \ + \ {\r\n \"record\": \"node:windows_node:sum\"\ + ,\r\n \"expression\": \"count (windows_system_system_up_time{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count by (instance) (sum by (instance,\ + \ core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\"\ + : \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\ + \"idle\\\"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_cpu_utilisation:avg5m\"\ + ,\r\n \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\ + \"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n },\r\ + \n {\r\n \"record\": \":windows_node_memory_utilisation:\"\ + ,\r\n \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \ + \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"\ + windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"\ + } + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"\ + windows-exporter\\\"})\"\r\n },\r\n {\r\n\ + \ \"record\": \"node:windows_node_memory_bytes_available:sum\"\ + ,\r\n \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"}))\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_bytes_total:sum\"\ + ,\r\n \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_utilisation:ratio\"\ + ,\r\n \"expression\": \"(node:windows_node_memory_bytes_total:sum\ + \ - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_memory_utilisation:\",\r\n \ + \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum /\ + \ node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n\ + \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\"\ + ,\r\n \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\ + \"windows-exporter\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n\ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\ + \n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node and Kubernetes Recording Rules RuleGroup for Windows\"\ + ,\r\n \"scopes\": \"[variables('scopes')]\",\r\n \ + \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n\ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\ + \n {\r\n \"record\": \"node:windows_node_filesystem_usage:\"\ + ,\r\n \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\ + \"windows-exporter\\\"} - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"node:windows_node_filesystem_avail:\",\r\n \"expression\"\ + : \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"} / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_net_utilisation:sum_irate\",\r\n \"expression\"\ + : \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])) + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \"windows_pod_container_available\"\ + ,\r\n \"expression\": \"windows_container_available{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"windows_container_total_runtime\",\r\n \"expression\"\ + : \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"\ + , container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_memory_usage\",\r\n \"expression\": \"\ + windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\",\ + \ container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_private_working_set_usage\",\r\n \"expression\"\ + : \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_received_bytes_total\",\r\n \"\ + expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_transmitted_bytes_total\",\r\n \ + \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"kube_pod_windows_container_resource_memory_request\",\r\n \ + \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"}) * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\"\ + ,\r\n \"expression\": \"max by (namespace, pod, container)\ + \ ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\ + \"}) * on(container,pod,namespace) (windows_pod_container_available)\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n \ + \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace) (windows_pod_container_available)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\"\ + ,\r\n \"expression\": \"sum by (namespace, pod, container)\ + \ (rate(windows_container_total_runtime{}[5m]))\"\r\n }\r\ + \n ]\r\n }\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup - \",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup - \",\r\ + \n \"RuleTitle\": \"UX Recording Rules for Linux\"\r\n },\r\ + \n \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Linux\",\r\n \"\ + scopes\": \"[variables('scopes')]\",\r\n \"clusterName\": \"\ + [parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"(sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\tirate(container_cpu_usage_seconds_total{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}[5m])\\n)) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory:sum\",\r\n \ + \ \"expression\": \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\t\\tcontainer_memory_working_set_bytes{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_workingset_memory:sum\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_rss_memory:sum\",\r\n \"expression\"\ + : \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid) (\\\ + n\\t\\tcontainer_memory_rss{container != \\\"\\\", pod != \\\"\\\", job =\ + \ \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n(max by (node, created_by_name,\ + \ created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_rss_memory:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_rss_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_count:sum\",\r\n \"expression\"\ + : \"sum by (node, created_by_name, created_by_kind, namespace, cluster, pod,\ + \ microsoft_resourceid) (\\n(\\n(\\nsum by (container, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_container_info{container != \\\"\\\", pod\ + \ != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"\ + })\\nor sum by (container, pod, namespace, cluster, microsoft_resourceid)\ + \ (kube_pod_init_container_info{container != \\\"\\\", pod != \\\"\\\", container_id\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n* on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n)\\n)\\n)\\n\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:controller_container_count:sum\",\r\n\ + \ \"expression\": \"sum by (node, created_by_name, created_by_kind,\ + \ namespace, cluster, microsoft_resourceid) (\\nux:pod_container_count:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_restarts:max\",\r\n \"\ + expression\": \"max by (node, created_by_name, created_by_kind, namespace,\ + \ cluster, pod, microsoft_resourceid) (\\n(\\n(\\nmax by (container, pod,\ + \ namespace, cluster, microsoft_resourceid) (kube_pod_container_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\nor sum\ + \ by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n*\ + \ on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name,\ + \ created_by_kind)\\n(\\nmax by (node, created_by_name, created_by_kind, pod,\ + \ namespace, cluster, microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\ + \"\\\", job = \\\"kube-state-metrics\\\"}\\n)\\n)\\n)\\n\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + ux:controller_container_restarts:max\",\r\n \"expression\"\ + : \"max by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid)\ + \ (\\nux:pod_container_restarts:max\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:pod_resource_limit:sum\"\ + ,\r\n \"expression\": \"(sum by (cluster, pod, namespace,\ + \ resource, microsoft_resourceid) (\\n(\\n\\tmax by (cluster, microsoft_resourceid,\ + \ pod, container, namespace, resource)\\n\\t (kube_pod_container_resource_limits{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n)unless\ + \ (count by (pod, namespace, cluster, resource, microsoft_resourceid)\\n\\\ + t(kube_pod_container_resource_limits{container != \\\"\\\", pod != \\\"\\\"\ + , job = \\\"kube-state-metrics\\\"})\\n!= on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left()\\n sum by (pod, namespace, cluster, microsoft_resourceid)\\\ + n (kube_pod_container_info{container != \\\"\\\", pod != \\\"\\\", job = \\\ + \"kube-state-metrics\\\"}) \\n)\\n\\n)* on (namespace, pod, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_kind, created_by_name)\\n(\\n\\tkube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_resource_limit:sum\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, created_by_name,\ + \ created_by_kind, node, resource, microsoft_resourceid) (\\nux:pod_resource_limit:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, created_by_kind, created_by_name,\ + \ namespace, microsoft_resourceid) ( (\\n(kube_pod_status_phase{job=\\\"kube-state-metrics\\\ + \",pod!=\\\"\\\"})\\n or (label_replace((count(kube_pod_deletion_timestamp{job=\\\ + \"kube-state-metrics\\\",pod!=\\\"\\\"}) by (namespace, pod, cluster, microsoft_resourceid)\ + \ * count(kube_pod_status_reason{reason=\\\"NodeLost\\\", job=\\\"kube-state-metrics\\\ + \"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), \\\"phase\\\ + \", \\\"terminating\\\", \\\"\\\", \\\"\\\"))) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\nkube_pod_info{job=\\\"kube-state-metrics\\\",pod!=\\\ + \"\\\"}\\n)\\n)\\n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:cluster_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, namespace,\ + \ microsoft_resourceid) (\\nux:controller_pod_phase_count:sum\\n)\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_cpu_usage:sum_irate\",\r\n \"expression\":\ + \ \"sum by (instance, cluster, microsoft_resourceid) (\\n(1 - irate(node_cpu_seconds_total{job=\\\ + \"node\\\", mode=\\\"idle\\\"}[5m]))\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_memory_usage:sum\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nnode_memory_MemTotal_bytes{job = \\\"node\\\"}\\n- node_memory_MemFree_bytes{job\ + \ = \\\"node\\\"} \\n- node_memory_cached_bytes{job = \\\"node\\\"}\\n- node_memory_buffers_bytes{job\ + \ = \\\"node\\\"}\\n))\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_network_receive_drop_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_receive_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_network_transmit_drop_total:sum_irate\",\r\ + \n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_transmit_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n }\r\n ]\r\n }\r\ + \n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\ + \n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup-Win - \",\r\n \ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \ + \ \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup-Win -\ + \ \",\r\n \"RuleTitle\": \"UX Recording Rules for Windows\"\r\n \ + \ },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": \"\ + https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage_windows:sum_irate\",\r\n\ + \ \"expression\": \"sum by (cluster, pod, namespace, node,\ + \ created_by_kind, created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\\ + tmax by (instance, container_id, cluster, microsoft_resourceid) (\\n\\t\\\ + t\\tirate(windows_container_cpu_usage_seconds_total{ container_id != \\\"\\\ + \", job = \\\"windows-exporter\\\"}[5m])\\n\\t\\t) * on (container_id, cluster,\ + \ microsoft_resourceid) group_left (container, pod, namespace) (\\n\\t\\t\\\ + tmax by (container, container_id, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t\\t\\tkube_pod_container_info{container != \\\"\\\", pod != \\\ + \"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n\\t\\\ + t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_cpu_usage_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage_windows:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory_windows:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, pod, namespace, node, created_by_kind,\ + \ created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\tmax by (instance,\ + \ container_id, cluster, microsoft_resourceid) (\\n\\t\\t\\twindows_container_memory_usage_private_working_set_bytes{\ + \ container_id != \\\"\\\", job = \\\"windows-exporter\\\"}\\n\\t\\t) * on\ + \ (container_id, cluster, microsoft_resourceid) group_left (container, pod,\ + \ namespace) (\\n\\t\\t\\tmax by (container, container_id, pod, namespace,\ + \ cluster, microsoft_resourceid) (\\n\\t\\t\\t\\tkube_pod_container_info{container\ + \ != \\\"\\\", pod != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_workingset_memory_windows:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory_windows:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_cpu_usage_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (\\n(1 - irate(windows_cpu_time_total{job=\\\"windows-exporter\\\", mode=\\\ + \"idle\\\"}[5m]))\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_memory_usage_windows:sum\",\r\n\ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nwindows_os_visible_memory_bytes{job = \\\"windows-exporter\\\"}\\n-\ + \ windows_memory_available_bytes{job = \\\"windows-exporter\\\"}\\n))\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_network_packets_received_drop_total_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_network_packets_outbound_drop_total_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n }\r\n ]\r\n}" headers: api-supported-versions: - - 2023-01-01-preview + - 2023-01-01-preview, 2023-08-01-preview arr-disable-session-affinity: - 'true' cache-control: - no-cache content-length: - - '49079' + - '56595' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:30 GMT + - Wed, 23 Jul 2025 12:49:29 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/5e9dc135-47af-45a2-bdb7-239889b992f5 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '249' + x-msedge-ref: + - 'Ref A: 294E117B443243518C57E76CEB659A79 Ref B: BN1AA2051014009 Ref C: 2025-07-23T12:49:29Z' x-powered-by: - ASP.NET status: @@ -2377,7 +2476,8 @@ interactions: - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002", "name": "NodeRecordingRulesRuleGroup-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "instance:node_num_cpu:sum", "expression": "count without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"}, {"record": "instance:node_cpu_utilisation:rate5m", @@ -2408,95 +2508,78 @@ interactions: Connection: - keep-alive Content-Length: - - '2653' + - '2807' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\",\r\n - \ \"expression\": \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_load1_per_cpu:ratio\",\r\n \"expression\": \"( node_load1{job=\\\"node\\\"}/ - \ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002","name":"NodeRecordingRulesRuleGroup-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"instance:node_num_cpu:sum","expression":"count + without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"},{"record":"instance:node_cpu_utilisation:rate5m","expression":"1 + - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\"node\", + mode=~\"idle|iowait|steal\"}[5m])))"},{"record":"instance:node_load1_per_cpu:ratio","expression":"( node_load1{job=\"node\"}/ instance:node_num_cpu:sum{job=\"node\"})"},{"record":"instance:node_memory_utilisation:ratio","expression":"1 + - ( ( node_memory_MemAvailable_bytes{job=\"node\"} or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} ) )/ node_memory_MemTotal_bytes{job=\"node\"})"},{"record":"instance:node_vmstat_pgmajfault:rate5m","expression":"rate(node_vmstat_pgmajfault{job=\"node\"}[5m])"},{"record":"instance_device:node_disk_io_time_seconds:rate5m","expression":"rate(node_disk_io_time_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance_device:node_disk_io_time_weighted_seconds:rate5m","expression":"rate(node_disk_io_time_weighted_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance:node_network_receive_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_receive_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_drop_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_drop_total{job=\"node\", device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '3096' + - '2745' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:32 GMT + - Wed, 23 Jul 2025 12:49:31 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/c969462d-cf8a-44c3-bed0-752fa5dcba20 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 777012FC78BD451B9F7450E5CF9AD0A3 Ref B: BN1AA2051014009 Ref C: 2025-07-23T12:49:30Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:50:31.4744605Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002", "name": "KubernetesRecordingRulesRuleGroup-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate", "expression": "sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", @@ -2578,152 +2661,119 @@ interactions: Connection: - keep-alive Content-Length: - - '7331' + - '7485' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", - image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk - by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n - \ \"expression\": \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_swap\",\r\n \"expression\": - \"container_memory_swap{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002","name":"KubernetesRecordingRulesRuleGroup-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate","expression":"sum + by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", + image!=\"\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk by + (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_working_set_bytes","expression":"container_memory_working_set_bytes{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_rss","expression":"container_memory_rss{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_cache","expression":"container_memory_cache{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_swap","expression":"container_memory_swap{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_cpu:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1) )"},{"record":"namespace_cpu:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"ReplicaSet\"}, \"replicaset\", \"$1\", \"owner_name\", \"(.*)\" ) * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": \"deployment\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"daemonset\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"statefulset\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"job\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": \"cluster:node_cpu:ratio_rate5m\",\r\n - \ \"expression\": \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\"kube-state-metrics\"} ) ), \"workload\", + \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"deployment"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"DaemonSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"daemonset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"StatefulSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"statefulset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"Job\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"job"}},{"record":":node_memory_MemAvailable_bytes:sum","expression":"sum( node_memory_MemAvailable_bytes{job=\"node\"} + or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} )) + by (cluster)"},{"record":"cluster:node_cpu:ratio_rate5m","expression":"sum(rate(node_cpu_seconds_total{job=\"node\",mode!=\"idle\",mode!=\"iowait\",mode!=\"steal\"}[5m])) + by (cluster) /count(sum(node_cpu_seconds_total{job=\"node\"}) by (cluster, + instance, cpu)) by (cluster)"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '8170' + - '7379' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:36 GMT + - Wed, 23 Jul 2025 12:49:33 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/7d287df5-63a2-41eb-9886-33e5ce3bb41f x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 7699087DD49047848B7E50BB935D14B7 Ref B: BN1AA2051014027 Ref C: 2025-07-23T12:49:32Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '28' + x-rate-limit-reset: + - '2025-07-23T12:50:31.4744605Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002", "name": "NodeRecordingRulesRuleGroup-Win-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node:windows_node:sum", "expression": "count (windows_system_system_up_time{job=\"windows-exporter\"})"}, {"record": "node:windows_node_num_cpu:sum", "expression": "count by (instance) @@ -2762,96 +2812,76 @@ interactions: Connection: - keep-alive Content-Length: - - '3501' + - '3655' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_num_cpu:sum\",\r\n - \ \"expression\": \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n - \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_available:sum\",\r\n - \ \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_total:sum\",\r\n - \ \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_utilisation:ratio\",\r\n - \ \"expression\": \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n {\r\n \"record\": - \"node:windows_node_memory_swap_io_pages:irate\",\r\n \"expression\": - \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002","name":"NodeRecordingRulesRuleGroup-Win-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node:windows_node:sum","expression":"count + (windows_system_system_up_time{job=\"windows-exporter\"})"},{"record":"node:windows_node_num_cpu:sum","expression":"count + by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\"windows-exporter\"}))"},{"record":":windows_node_cpu_utilisation:avg5m","expression":"1 + - avg(rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":"node:windows_node_cpu_utilisation:avg5m","expression":"1 + - avg by (instance) (rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":":windows_node_memory_utilisation:","expression":"1 + -sum(windows_memory_available_bytes{job=\"windows-exporter\"})/sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemFreeCached_bytes:sum","expression":"sum(windows_memory_available_bytes{job=\"windows-exporter\"} + + windows_memory_cache_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_totalCached_bytes:sum","expression":"(windows_memory_cache_bytes{job=\"windows-exporter\"} + + windows_memory_modified_page_list_bytes{job=\"windows-exporter\"} + windows_memory_standby_cache_core_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_normal_priority_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_reserve_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemTotal_bytes:sum","expression":"sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_bytes_available:sum","expression":"sum + by (instance) ((windows_memory_available_bytes{job=\"windows-exporter\"}))"},{"record":"node:windows_node_memory_bytes_total:sum","expression":"sum + by (instance) (windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_utilisation:ratio","expression":"(node:windows_node_memory_bytes_total:sum + - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))"},{"record":"node:windows_node_memory_utilisation:","expression":"1 + - (node:windows_node_memory_bytes_available:sum / node:windows_node_memory_bytes_total:sum)"},{"record":"node:windows_node_memory_swap_io_pages:irate","expression":"irate(windows_memory_swap_page_operations_total{job=\"windows-exporter\"}[5m])"},{"record":":windows_node_disk_utilisation:avg_irate","expression":"avg(irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_disk_utilisation:avg_irate","expression":"avg + by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m])))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '4080' + - '3577' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:40 GMT + - Wed, 23 Jul 2025 12:49:35 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/4885f758-b6ae-4c94-a46b-fce2d737931b x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 1E39B4A48A494E19B25CDFC3D281BADD Ref B: BN1AA2051013047 Ref C: 2025-07-23T12:49:34Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK @@ -2859,7 +2889,8 @@ interactions: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002", "name": "NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", "properties": - {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node:windows_node_filesystem_usage:", "expression": "max by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"}, @@ -2873,23 +2904,29 @@ interactions: {"record": "node:windows_node_net_saturation:sum_irate", "expression": "sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m]) + irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m])))"}, - {"record": "windows_pod_container_available", "expression": "windows_container_available{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + {"record": "windows_pod_container_available", "expression": "windows_container_available{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_total_runtime", - "expression": "windows_container_cpu_usage_seconds_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_cpu_usage_seconds_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_memory_usage", - "expression": "windows_container_memory_usage_commit_bytes{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_memory_usage_commit_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_private_working_set_usage", - "expression": "windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_network_received_bytes_total", - "expression": "windows_container_network_receive_bytes_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_network_receive_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_network_transmitted_bytes_total", - "expression": "windows_container_network_transmit_bytes_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_network_transmit_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "kube_pod_windows_container_resource_memory_request", "expression": "max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"}) * on(container,pod,namespace) (windows_pod_container_available)"}, {"record": @@ -2912,115 +2949,182 @@ interactions: Connection: - keep-alive Content-Length: - - '4923' + - '5341' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": - \"westus2\",\r\n \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": - \"cliakstest000002\",\r\n \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_filesystem_avail:\",\r\n - \ \"expression\": \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \"windows_pod_container_available\",\r\n - \ \"expression\": \"windows_container_available{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_total_runtime\",\r\n \"expression\": \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_memory_usage\",\r\n \"expression\": \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_private_working_set_usage\",\r\n \"expression\": - \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_network_received_bytes_total\",\r\n \"expression\": - \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_network_transmitted_bytes_total\",\r\n \"expression\": - \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"kube_pod_windows_container_resource_memory_request\",\r\n \"expression\": - \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002","name":"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node:windows_node_filesystem_usage:","expression":"max + by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} + - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_filesystem_avail:","expression":"max + by (instance, volume) (windows_logical_disk_free_bytes{job=\"windows-exporter\"} + / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_net_utilisation:sum_irate","expression":"sum(irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_utilisation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m])))"},{"record":":windows_node_net_saturation:sum_irate","expression":"sum(irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m])) + + sum(irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_saturation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m]) + + irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m])))"},{"record":"windows_pod_container_available","expression":"windows_container_available{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_total_runtime","expression":"windows_container_cpu_usage_seconds_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_memory_usage","expression":"windows_container_memory_usage_commit_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_private_working_set_usage","expression":"windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_received_bytes_total","expression":"windows_container_network_receive_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_transmitted_bytes_total","expression":"windows_container_network_transmit_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"kube_pod_windows_container_resource_memory_request","expression":"max + by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_memory_limit","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_request","expression":"max + by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_limit","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate","expression":"sum + by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '5570' + - '5255' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:43 GMT + - Wed, 23 Jul 2025 12:49:38 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/7e8e5e33-8bbe-4f74-9a9c-b17c79df7a6d x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: 3F315E6735CD4AE08A3EC113ED12AA44 Ref B: BN1AA2051014047 Ref C: 2025-07-23T12:49:36Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:50:37.6994939Z' status: code: 200 message: OK - request: - body: null + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000002", "name": "UXRecordingRulesRuleGroup - -cliakstest000002", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], + "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage:sum_irate", "expression": "(sum by (namespace, + pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_cpu_usage:sum_irate", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_cpu_usage:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_working_set_bytes{container != \"\", pod != \"\", job + = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(max by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_workingset_memory:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory:sum\n)"}, {"record": "ux:pod_rss_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_rss{container != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(max by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, + {"record": "ux:controller_rss_memory:sum", "expression": "sum by (namespace, + node, cluster, created_by_name, created_by_kind, microsoft_resourceid) (\nux:pod_rss_memory:sum\n)"}, + {"record": "ux:pod_container_count:sum", "expression": "sum by (node, created_by_name, + created_by_kind, namespace, cluster, pod, microsoft_resourceid) (\n(\n(\nsum + by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\nor + sum by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* + on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_count:sum", "expression": "sum by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"}, {"record": "ux:pod_container_restarts:max", + "expression": "max by (node, created_by_name, created_by_kind, namespace, cluster, + pod, microsoft_resourceid) (\n(\n(\nmax by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_container_status_restarts_total{container != + \"\", pod != \"\", job = \"kube-state-metrics\"})\nor sum by (container, pod, + namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_restarts:max", "expression": "max by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"}, {"record": "ux:pod_resource_limit:sum", + "expression": "(sum by (cluster, pod, namespace, resource, microsoft_resourceid) + (\n(\n\tmax by (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t + (kube_pod_container_resource_limits{container != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless + (count by (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != \"\", + job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, microsoft_resourceid) + group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"}, {"record": "ux:controller_resource_limit:sum", + "expression": "sum by (cluster, namespace, created_by_name, created_by_kind, + node, resource, microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"}, {"record": + "ux:controller_pod_phase_count:sum", "expression": "sum by (cluster, phase, + node, created_by_kind, created_by_name, namespace, microsoft_resourceid) ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n + or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"}, + {"record": "ux:cluster_pod_phase_count:sum", "expression": "sum by (cluster, + phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"}, + {"record": "ux:node_cpu_usage:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", mode=\"idle\"}[5m]))\n)"}, + {"record": "ux:node_memory_usage:sum", "expression": "sum by (instance, cluster, + microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job = \"node\"}\n- node_memory_MemFree_bytes{job + = \"node\"} \n- node_memory_cached_bytes{job = \"node\"}\n- node_memory_buffers_bytes{job + = \"node\"}\n))"}, {"record": "ux:node_network_receive_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_transmit_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}]}}' headers: Accept: - '*/*' @@ -3030,87 +3134,182 @@ interactions: - aks update Connection: - keep-alive + Content-Length: + - '7723' + Content-Type: + - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.check_azuremonitormetrics_profile - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-01-01 + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup - -cliakstestoo676r + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup%20-%20-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n - \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n - \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": - false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000002","name":"UXRecordingRulesRuleGroup - -cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"ux:pod_cpu_usage:sum_irate","expression":"(sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_cpu_usage:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_working_set_bytes{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_workingset_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory:sum\n)"},{"record":"ux:pod_rss_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_rss{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_rss_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_rss_memory:sum\n)"},{"record":"ux:pod_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nsum by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_info{container != \"\", pod != \"\", container_id != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_container_info{container != \"\", pod + != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, + namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", + job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"},{"record":"ux:pod_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nmax by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_status_restarts_total{container != \"\", pod != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_status_restarts_total{container != \"\", + pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"},{"record":"ux:pod_resource_limit:sum","expression":"(sum + by (cluster, pod, namespace, resource, microsoft_resourceid) (\n(\n\tmax by + (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t (kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless (count by + (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != + \"\", job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, + microsoft_resourceid) group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"},{"record":"ux:controller_resource_limit:sum","expression":"sum + by (cluster, namespace, created_by_name, created_by_kind, node, resource, + microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"},{"record":"ux:controller_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, created_by_kind, created_by_name, namespace, microsoft_resourceid) + ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"},{"record":"ux:cluster_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"},{"record":"ux:node_cpu_usage:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job + = \"node\"}\n- node_memory_MemFree_bytes{job = \"node\"} \n- node_memory_cached_bytes{job + = \"node\"}\n- node_memory_buffers_bytes{job = \"node\"}\n))"},{"record":"ux:node_network_receive_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_transmit_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '3999' + - '7633' content-type: - - application/json + - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:43 GMT + - Wed, 23 Jul 2025 12:49:40 GMT expires: - '-1' pragma: - no-cache - server: - - nginx + set-cookie: + - ARRAffinity=d3888da00a6c22fd6922d241b1e1f8b74760295bc9888c172907d962f5a68055;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=d3888da00a6c22fd6922d241b1e1f8b74760295bc9888c172907d962f5a68055;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/4872bd54-7ffd-4970-8943-e9104b70fbbf + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: 2CD72BF739E0463E9463F500236ABF17 Ref B: BN1AA2051013019 Ref C: 2025-07-23T12:49:38Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '29' + x-rate-limit-reset: + - '2025-07-23T12:50:39.9686587Z' status: code: 200 message: OK - request: - body: null + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000002", "name": "UXRecordingRulesRuleGroup-Win - -cliakstest000002", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], + "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage_windows:sum_irate", "expression": "sum by (cluster, + pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ + container_id != \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, + cluster, microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, + {"record": "ux:controller_cpu_usage_windows:sum_irate", "expression": "sum by + (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory_windows:sum", + "expression": "sum by (cluster, pod, namespace, node, created_by_kind, created_by_name, + microsoft_resourceid) (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod != \"\", + job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, {"record": "ux:controller_workingset_memory_windows:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory_windows:sum\n)"}, {"record": + "ux:node_cpu_usage_windows:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"}, {"record": "ux:node_memory_usage_windows:sum", "expression": + "sum by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"}, + {"record": "ux:node_network_packets_received_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_packets_outbound_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}]}}' headers: Accept: - '*/*' @@ -3120,36 +3319,96 @@ interactions: - aks update Connection: - keep-alive + Content-Length: + - '4071' + Content-Type: + - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_mac_sub_list - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup-Win - -cliakstestoo676r + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win%20-%20-cliakstest000002?api-version=2023-03-01 response: body: - string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.MarketplaceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Media","registrationState":"Registering"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registering"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.TimeSeriesInsights","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registering"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnyBuild","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousDevelopmentPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AutonomousSystems","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureCIS","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePercept","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Codespaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.CognitiveSearch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataCollaboration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DelegatedNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeploymentManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevAI","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Falcon","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HpcWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Kubernetes","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Logz","registrationState":"NotRegistered"},{"namespace":"Microsoft.MachineLearning","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedStorageClass","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.Metaverse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobilePacketCore","registrationState":"NotRegistered"},{"namespace":"Microsoft.ModSimWorkbench","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkAnalytics","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenLogisticsPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.PlayFab","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.ScVmm","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDevOps","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.SystemIntegrityMonitoring","registrationState":"NotRegistered"},{"namespace":"Microsoft.TestBase","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.VSOnline","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsESU","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsIoT","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"},{"namespace":"SolarWinds.Observability","registrationState":"NotRegistered"},{"namespace":"Wandisco.Fusion","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000002","name":"UXRecordingRulesRuleGroup-Win - -cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"ux:pod_cpu_usage_windows:sum_irate","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ container_id != + \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, cluster, + microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_cpu_usage_windows:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory_windows:sum","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod + != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_workingset_memory_windows:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory_windows:sum\n)"},{"record":"ux:node_cpu_usage_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage_windows:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"},{"record":"ux:node_network_packets_received_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_packets_outbound_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '19647' + - '4021' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:47 GMT + - Wed, 23 Jul 2025 12:49:42 GMT expires: - '-1' pragma: - no-cache + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/028a6970-1cfc-4662-934c-2072074c9d3a + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: 8D620D7FA0A546AABF54D6C8EADEBA5C Ref B: BN1AA2051012011 Ref C: 2025-07-23T12:49:41Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '28' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK @@ -3164,57 +3423,84 @@ interactions: - aks update Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_monitor_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.monitor/register?api-version=2021-04-01 + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.check_azuremonitormetrics_profile + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-01-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"}],"resourceTypes":[{"resourceType":"accounts","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North - Central US","East US","Australia Central","Australia Southeast","Brazil South","Canada - Central","Central India","Central US","East Asia","East US 2","North Europe","Norway - East","South Africa North","South Central US","Southeast Asia","UAE North","UK - South","West Central US","West Europe","West US","West US 2","East US 2 EUAP","Central - US EUAP"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US","Central India","Central US","East US 2","North Europe","South Central - US","Southeast Asia","UK South","West Europe","West US","West US 2","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2023-04-03","2021-06-03-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"\ + provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"\ + Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n \"currentKubernetesVersion\"\ + : \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\",\n\ + \ \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\"\n },\n \"\ + enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"adminUsername\"\ + : \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\"\ + : \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": \"azure\"\ + ,\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n\ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n \"serviceCidrs\"\ + : [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n\ + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\"\ + : {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {},\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"\ + storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n\ + \ \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\"\ + : {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"\ + enabled\": false\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n}" headers: cache-control: - no-cache content-length: - - '2246' + - '3807' content-type: - - application/json; charset=utf-8 + - application/json date: - - Fri, 12 May 2023 10:17:48 GMT + - Wed, 23 Jul 2025 12:49:43 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: E0F3DBA34266435DB4C8B6AE9F203E1C Ref B: BN1AA2051015037 Ref C: 2025-07-23T12:49:42Z' status: code: 200 message: OK @@ -3229,57 +3515,40 @@ interactions: - aks update Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.register_dashboard_rp - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.dashboard/register?api-version=2021-04-01 + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_cluster_sub_rp_list + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard","namespace":"Microsoft.Dashboard","authorizations":[{"applicationId":"ce34e7e5-485f-4d76-964f-b3d2b16d1e4f","roleDefinitionId":"996b8381-eac0-46be-8daf-9619bafd1073"},{"applicationId":"6f2d169c-08f3-4a4c-a982-bcaf2d038c45"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","South Central US","West Europe","North Europe","UK - South","East US","East US 2","West Central US","Australia East","Sweden Central","West - US","West US 3","East Asia"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana","locations":["South - Central US","West Central US","West Europe","East US","East US 2","North Europe","UK - South","Australia East","Sweden Central","West US 3","East Asia","East US - 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateEndpointConnections","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"grafana/privateLinkResources","locations":["South - Central US","West Central US","West Europe","North Europe","UK South","East - US","East US 2","Australia East","Sweden Central","West US 3","East Asia","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/checkNameAvailability","locations":[],"apiVersions":["2022-10-01-preview","2022-08-01","2022-05-01-preview","2021-09-01-preview"],"capabilities":"None"},{"resourceType":"grafana/managedPrivateEndpoints","locations":["East - US 2 EUAP","Central US EUAP"],"apiVersions":["2022-10-01-preview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2807' + - '23097' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:49 GMT + - Wed, 23 Jul 2025 12:49:45 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 0878615951A043E4BF508A4EC9530F97 Ref B: BN1AA2051014027 Ref C: 2025-07-23T12:49:43Z' status: code: 200 message: OK @@ -3295,56 +3564,140 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_supported_rp_locations + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_monitor_workspace_rp_list method: GET - uri: https://management.azure.com/providers/Microsoft.Monitor?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers?api-version=2021-04-01&$select=namespace,registrationstate response: body: - string: '{"namespace":"Microsoft.Monitor","resourceTypes":[{"resourceType":"accounts","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"operations","locations":["East US 2 EUAP","Central - US EUAP","North Central US","East US","Australia Central","Australia Southeast","Brazil - South","Canada Central","Central India","Central US","East Asia","East US - 2","North Europe","Norway East","South Africa North","South Central US","Southeast - Asia","UAE North","UK South","West Central US","West Europe","West US","West - US 2"],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationResults","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East - US 2 EUAP","Central US EUAP","North Central US","East US","Australia Central","Australia - Southeast","Brazil South","Canada Central","Central India","Central US","East - Asia","East US 2","North Europe","Norway East","South Africa North","South - Central US","Southeast Asia","UAE North","UK South","West Central US","West - Europe","West US","West US 2"],"apiVersions":["2023-04-01","2021-06-01-preview"],"capabilities":"None"}]}' + string: '{"value":[{"namespace":"Microsoft.Security","registrationState":"Registered"},{"namespace":"Microsoft.Compute","registrationState":"Registered"},{"namespace":"Microsoft.ContainerService","registrationState":"Registered"},{"namespace":"Microsoft.ContainerInstance","registrationState":"Registered"},{"namespace":"Microsoft.OperationsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Capacity","registrationState":"Registered"},{"namespace":"Microsoft.Storage","registrationState":"Registered"},{"namespace":"Microsoft.Advisor","registrationState":"Registered"},{"namespace":"Microsoft.ManagedIdentity","registrationState":"Registered"},{"namespace":"Microsoft.KeyVault","registrationState":"Registered"},{"namespace":"Microsoft.ContainerRegistry","registrationState":"Registered"},{"namespace":"Microsoft.Kusto","registrationState":"Registered"},{"namespace":"Microsoft.Migrate","registrationState":"Registered"},{"namespace":"Microsoft.Diagnostics","registrationState":"Registered"},{"namespace":"Microsoft.ChangeAnalysis","registrationState":"Registered"},{"namespace":"microsoft.insights","registrationState":"Registered"},{"namespace":"Microsoft.Logic","registrationState":"Registered"},{"namespace":"Microsoft.Web","registrationState":"Registered"},{"namespace":"Microsoft.ResourceHealth","registrationState":"Registered"},{"namespace":"Microsoft.Monitor","registrationState":"Registered"},{"namespace":"Microsoft.Dashboard","registrationState":"Registered"},{"namespace":"Microsoft.ManagedServices","registrationState":"Registered"},{"namespace":"Microsoft.NotificationHubs","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeStore","registrationState":"Registered"},{"namespace":"Microsoft.Blueprint","registrationState":"Registered"},{"namespace":"Microsoft.Databricks","registrationState":"Registered"},{"namespace":"Microsoft.Relay","registrationState":"Registered"},{"namespace":"Microsoft.Maintenance","registrationState":"Registered"},{"namespace":"Microsoft.HealthcareApis","registrationState":"Registered"},{"namespace":"Microsoft.AppPlatform","registrationState":"Registered"},{"namespace":"Microsoft.DevTestLab","registrationState":"Registered"},{"namespace":"Microsoft.DataLakeAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Devices","registrationState":"Registered"},{"namespace":"Microsoft.Automation","registrationState":"Registered"},{"namespace":"Microsoft.BotService","registrationState":"Registered"},{"namespace":"Microsoft.Management","registrationState":"Registered"},{"namespace":"Microsoft.CustomProviders","registrationState":"Registered"},{"namespace":"Microsoft.MixedReality","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabricMesh","registrationState":"Registered"},{"namespace":"Microsoft.DataMigration","registrationState":"Registered"},{"namespace":"Microsoft.RecoveryServices","registrationState":"Registered"},{"namespace":"Microsoft.DesktopVirtualization","registrationState":"Registered"},{"namespace":"Microsoft.DataProtection","registrationState":"Registered"},{"namespace":"Microsoft.DocumentDB","registrationState":"Registered"},{"namespace":"Microsoft.Cache","registrationState":"Registered"},{"namespace":"Microsoft.DBforMySQL","registrationState":"Registered"},{"namespace":"Microsoft.SecurityInsights","registrationState":"Registered"},{"namespace":"Microsoft.ApiManagement","registrationState":"Registered"},{"namespace":"Microsoft.EventHub","registrationState":"Registered"},{"namespace":"Microsoft.AVS","registrationState":"Registered"},{"namespace":"Microsoft.PowerBIDedicated","registrationState":"Registered"},{"namespace":"Microsoft.EventGrid","registrationState":"Registered"},{"namespace":"Microsoft.Maps","registrationState":"Registered"},{"namespace":"Microsoft.MachineLearningServices","registrationState":"Registered"},{"namespace":"Microsoft.StreamAnalytics","registrationState":"Registered"},{"namespace":"Microsoft.Search","registrationState":"Registered"},{"namespace":"Microsoft.DBforMariaDB","registrationState":"Registered"},{"namespace":"Microsoft.CognitiveServices","registrationState":"Registered"},{"namespace":"Microsoft.Cdn","registrationState":"Registered"},{"namespace":"Microsoft.HDInsight","registrationState":"Registered"},{"namespace":"Microsoft.ServiceFabric","registrationState":"Registered"},{"namespace":"Microsoft.DBforPostgreSQL","registrationState":"Registered"},{"namespace":"Microsoft.CloudShell","registrationState":"Registered"},{"namespace":"Microsoft.ServiceLinker","registrationState":"Registered"},{"namespace":"Microsoft.AlertsManagement","registrationState":"Registered"},{"namespace":"Microsoft.Kubernetes","registrationState":"Registered"},{"namespace":"Microsoft.KubernetesConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.ExtendedLocation","registrationState":"Registered"},{"namespace":"Microsoft.OperationalInsights","registrationState":"Registered"},{"namespace":"Microsoft.PolicyInsights","registrationState":"Registered"},{"namespace":"Microsoft.GuestConfiguration","registrationState":"Registered"},{"namespace":"Microsoft.Network","registrationState":"Registered"},{"namespace":"Microsoft.ServiceBus","registrationState":"Registered"},{"namespace":"Microsoft.Sql","registrationState":"Registered"},{"namespace":"ArizeAi.ObservabilityEval","registrationState":"NotRegistered"},{"namespace":"Astronomer.Astro","registrationState":"NotRegistered"},{"namespace":"Dell.Storage","registrationState":"NotRegistered"},{"namespace":"Dynatrace.Observability","registrationState":"NotRegistered"},{"namespace":"GitHub.Network","registrationState":"NotRegistered"},{"namespace":"Informatica.DataManagement","registrationState":"NotRegistered"},{"namespace":"LambdaTest.HyperExecute","registrationState":"NotRegistered"},{"namespace":"Microsoft.AAD","registrationState":"NotRegistered"},{"namespace":"Microsoft.AadCustomSecurityAttributesDiagnosticSettings","registrationState":"NotRegistered"},{"namespace":"microsoft.aadiam","registrationState":"NotRegistered"},{"namespace":"Microsoft.Addons","registrationState":"NotRegistered"},{"namespace":"Microsoft.ADHybridHealthService","registrationState":"Registered"},{"namespace":"Microsoft.AgFoodPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AgriculturePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.AnalysisServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApiCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.App","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppAssessment","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppComplianceAutomation","registrationState":"NotRegistered"},{"namespace":"Microsoft.AppConfiguration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ApplicationMigration","registrationState":"NotRegistered"},{"namespace":"Microsoft.Attestation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Authorization","registrationState":"Registered"},{"namespace":"Microsoft.Automanage","registrationState":"NotRegistered"},{"namespace":"Microsoft.AwsConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureActiveDirectory","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureArcData","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureBusinessContinuity","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureDataTransfer","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureFleet","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureImageTestingForLinux","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureLargeInstance","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzurePlaywrightService","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureResilienceManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureScan","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStack","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureStackHCI","registrationState":"NotRegistered"},{"namespace":"Microsoft.AzureTerraform","registrationState":"NotRegistered"},{"namespace":"Microsoft.BackupSolutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetal","registrationState":"NotRegistered"},{"namespace":"Microsoft.BareMetalInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.Batch","registrationState":"NotRegistered"},{"namespace":"Microsoft.Billing","registrationState":"Registered"},{"namespace":"Microsoft.BillingBenefits","registrationState":"NotRegistered"},{"namespace":"Microsoft.Bing","registrationState":"NotRegistered"},{"namespace":"Microsoft.BlockchainTokens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Carbon","registrationState":"NotRegistered"},{"namespace":"Microsoft.CertificateRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.ChangeSafety","registrationState":"NotRegistered"},{"namespace":"Microsoft.Chaos","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicInfrastructureMigrate","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicStorage","registrationState":"NotRegistered"},{"namespace":"Microsoft.ClassicSubscription","registrationState":"Registered"},{"namespace":"Microsoft.CleanRoom","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudDevicePlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudHealth","registrationState":"NotRegistered"},{"namespace":"Microsoft.CloudTest","registrationState":"NotRegistered"},{"namespace":"Microsoft.CodeSigning","registrationState":"NotRegistered"},{"namespace":"Microsoft.Commerce","registrationState":"Registered"},{"namespace":"Microsoft.Communication","registrationState":"NotRegistered"},{"namespace":"Microsoft.Community","registrationState":"NotRegistered"},{"namespace":"Microsoft.ComputeSchedule","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConfidentialLedger","registrationState":"NotRegistered"},{"namespace":"Microsoft.Confluent","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedCredentials","registrationState":"NotRegistered"},{"namespace":"microsoft.connectedopenstack","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVehicle","registrationState":"NotRegistered"},{"namespace":"Microsoft.ConnectedVMwarevSphere","registrationState":"NotRegistered"},{"namespace":"Microsoft.Consumption","registrationState":"Registered"},{"namespace":"Microsoft.CostManagement","registrationState":"Registered"},{"namespace":"Microsoft.CostManagementExports","registrationState":"NotRegistered"},{"namespace":"Microsoft.CustomerLockbox","registrationState":"NotRegistered"},{"namespace":"Microsoft.D365CustomerInsights","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseFleetManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.DatabaseWatcher","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBox","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataBoxEdge","registrationState":"NotRegistered"},{"namespace":"Microsoft.Datadog","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataFactory","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataReplication","registrationState":"NotRegistered"},{"namespace":"Microsoft.DataShare","registrationState":"NotRegistered"},{"namespace":"Microsoft.DependencyMap","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevCenter","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevelopmentWindows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceOnboarding","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceRegistry","registrationState":"NotRegistered"},{"namespace":"Microsoft.DeviceUpdate","registrationState":"NotRegistered"},{"namespace":"Microsoft.DevOpsInfrastructure","registrationState":"NotRegistered"},{"namespace":"Microsoft.DigitalTwins","registrationState":"NotRegistered"},{"namespace":"Microsoft.Discovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.DomainRegistration","registrationState":"NotRegistered"},{"namespace":"Microsoft.DurableTask","registrationState":"NotRegistered"},{"namespace":"Microsoft.Easm","registrationState":"NotRegistered"},{"namespace":"Microsoft.Edge","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeMarketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrder","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeOrderPartner","registrationState":"NotRegistered"},{"namespace":"Microsoft.EdgeZones","registrationState":"NotRegistered"},{"namespace":"Microsoft.Elastic","registrationState":"NotRegistered"},{"namespace":"Microsoft.ElasticSan","registrationState":"NotRegistered"},{"namespace":"Microsoft.EnterpriseSupport","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntitlementManagement","registrationState":"NotRegistered"},{"namespace":"Microsoft.EntraIDGovernance","registrationState":"NotRegistered"},{"namespace":"Microsoft.Experimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.Fabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.FairfieldGardens","registrationState":"NotRegistered"},{"namespace":"Microsoft.Features","registrationState":"Registered"},{"namespace":"Microsoft.FileShares","registrationState":"NotRegistered"},{"namespace":"Microsoft.FluidRelay","registrationState":"NotRegistered"},{"namespace":"Microsoft.GraphServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HanaOnAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.HardwareSecurityModules","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthBot","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthcareInterop","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthDataAIServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthModel","registrationState":"NotRegistered"},{"namespace":"Microsoft.HealthPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Help","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridCompute","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridContainerService","registrationState":"NotRegistered"},{"namespace":"Microsoft.HybridNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.Impact","registrationState":"NotRegistered"},{"namespace":"Microsoft.IntegrationSpaces","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTCentral","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTFirmwareDefense","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperations","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTOperationsDataProcessor","registrationState":"NotRegistered"},{"namespace":"Microsoft.IoTSecurity","registrationState":"NotRegistered"},{"namespace":"Microsoft.KubernetesRuntime","registrationState":"NotRegistered"},{"namespace":"Microsoft.LabServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.LoadTestService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManagedNetworkFabric","registrationState":"NotRegistered"},{"namespace":"Microsoft.ManufacturingPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Marketplace","registrationState":"NotRegistered"},{"namespace":"Microsoft.MarketplaceOrdering","registrationState":"Registered"},{"namespace":"Microsoft.MessagingCatalog","registrationState":"NotRegistered"},{"namespace":"Microsoft.MessagingConnectors","registrationState":"NotRegistered"},{"namespace":"Microsoft.Mission","registrationState":"NotRegistered"},{"namespace":"Microsoft.MobileNetwork","registrationState":"NotRegistered"},{"namespace":"Microsoft.MySQLDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetApp","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkCloud","registrationState":"NotRegistered"},{"namespace":"Microsoft.NetworkFunction","registrationState":"NotRegistered"},{"namespace":"Microsoft.NexusIdentity","registrationState":"NotRegistered"},{"namespace":"Microsoft.Nutanix","registrationState":"NotRegistered"},{"namespace":"Microsoft.ObjectStore","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzure","registrationState":"NotRegistered"},{"namespace":"Microsoft.OffAzureSpringBoot","registrationState":"NotRegistered"},{"namespace":"Microsoft.OnlineExperimentation","registrationState":"NotRegistered"},{"namespace":"Microsoft.OpenEnergyPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.OperatorVoicemail","registrationState":"NotRegistered"},{"namespace":"Microsoft.OracleDiscovery","registrationState":"NotRegistered"},{"namespace":"Microsoft.Orbital","registrationState":"NotRegistered"},{"namespace":"Microsoft.PartnerManagedConsumerRecurrence","registrationState":"NotRegistered"},{"namespace":"Microsoft.Peering","registrationState":"NotRegistered"},{"namespace":"Microsoft.Pki","registrationState":"NotRegistered"},{"namespace":"Microsoft.Portal","registrationState":"Registered"},{"namespace":"Microsoft.PowerBI","registrationState":"NotRegistered"},{"namespace":"Microsoft.PowerPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.Premonition","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProfessionalService","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProgrammableConnectivity","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProjectArcadia","registrationState":"NotRegistered"},{"namespace":"Microsoft.ProviderHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Purview","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quantum","registrationState":"NotRegistered"},{"namespace":"Microsoft.Quota","registrationState":"NotRegistered"},{"namespace":"Microsoft.RecommendationsService","registrationState":"NotRegistered"},{"namespace":"Microsoft.RedHatOpenShift","registrationState":"NotRegistered"},{"namespace":"Microsoft.Relationships","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceConnector","registrationState":"NotRegistered"},{"namespace":"Microsoft.ResourceGraph","registrationState":"Registered"},{"namespace":"Microsoft.ResourceNotifications","registrationState":"Registered"},{"namespace":"Microsoft.Resources","registrationState":"Registered"},{"namespace":"Microsoft.SaaS","registrationState":"NotRegistered"},{"namespace":"Microsoft.SaaSHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.Scom","registrationState":"NotRegistered"},{"namespace":"Microsoft.SCVMM","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecretSyncController","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityCopilot","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityDetonation","registrationState":"NotRegistered"},{"namespace":"Microsoft.SecurityPlatform","registrationState":"NotRegistered"},{"namespace":"Microsoft.SentinelPlatformServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.SerialConsole","registrationState":"Registered"},{"namespace":"Microsoft.ServiceNetworking","registrationState":"NotRegistered"},{"namespace":"Microsoft.ServicesHub","registrationState":"NotRegistered"},{"namespace":"Microsoft.SignalRService","registrationState":"NotRegistered"},{"namespace":"Microsoft.Singularity","registrationState":"NotRegistered"},{"namespace":"Microsoft.SoftwarePlan","registrationState":"NotRegistered"},{"namespace":"Microsoft.Solutions","registrationState":"NotRegistered"},{"namespace":"Microsoft.Sovereign","registrationState":"NotRegistered"},{"namespace":"Microsoft.SqlVirtualMachine","registrationState":"NotRegistered"},{"namespace":"Microsoft.StandbyPool","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageActions","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageCache","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageMover","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageSync","registrationState":"NotRegistered"},{"namespace":"Microsoft.StorageTasks","registrationState":"NotRegistered"},{"namespace":"Microsoft.Subscription","registrationState":"NotRegistered"},{"namespace":"microsoft.support","registrationState":"Registered"},{"namespace":"Microsoft.SustainabilityServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.Synapse","registrationState":"NotRegistered"},{"namespace":"Microsoft.Syntex","registrationState":"NotRegistered"},{"namespace":"Microsoft.ToolchainOrchestrator","registrationState":"NotRegistered"},{"namespace":"Microsoft.UpdateManager","registrationState":"NotRegistered"},{"namespace":"Microsoft.UsageBilling","registrationState":"NotRegistered"},{"namespace":"Microsoft.VerifiedId","registrationState":"NotRegistered"},{"namespace":"Microsoft.VideoIndexer","registrationState":"NotRegistered"},{"namespace":"Microsoft.VirtualMachineImages","registrationState":"NotRegistered"},{"namespace":"microsoft.visualstudio","registrationState":"NotRegistered"},{"namespace":"Microsoft.VMware","registrationState":"NotRegistered"},{"namespace":"Microsoft.VoiceServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WeightsAndBiases","registrationState":"NotRegistered"},{"namespace":"Microsoft.Windows365","registrationState":"NotRegistered"},{"namespace":"Microsoft.WindowsPushNotificationServices","registrationState":"NotRegistered"},{"namespace":"Microsoft.WorkloadBuilder","registrationState":"NotRegistered"},{"namespace":"Microsoft.Workloads","registrationState":"NotRegistered"},{"namespace":"MongoDB.Atlas","registrationState":"NotRegistered"},{"namespace":"Neon.Postgres","registrationState":"NotRegistered"},{"namespace":"NewRelic.Observability","registrationState":"NotRegistered"},{"namespace":"NGINX.NGINXPLUS","registrationState":"NotRegistered"},{"namespace":"Oracle.Database","registrationState":"NotRegistered"},{"namespace":"PaloAltoNetworks.Cloudngfw","registrationState":"NotRegistered"},{"namespace":"Pinecone.VectorDb","registrationState":"NotRegistered"},{"namespace":"PureStorage.Block","registrationState":"NotRegistered"},{"namespace":"Qumulo.Storage","registrationState":"NotRegistered"}]}' headers: cache-control: - no-cache content-length: - - '2213' + - '23097' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:49 GMT + - Wed, 23 Jul 2025 12:49:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: A8E8F765B00345EC9C9FBD2C9F0C2253 Ref B: BN1AA2051015037 Ref C: 2025-07-23T12:49:46Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_supported_rp_locations + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor?api-version=2022-01-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Monitor","namespace":"Microsoft.Monitor","authorizations":[{"applicationId":"7d307c7e-d1c0-4b3f-976d-094279ad11ab"},{"applicationId":"be14bf7e-8ab4-49b0-9dc6-a0eddd6fa73e","roleDefinitionId":"803a038d-eff1-4489-a0c2-dbc204ebac3c"},{"applicationId":"e158b4a5-21ab-442e-ae73-2e19f4e7d763","roleDefinitionId":"e46476d4-e741-4936-a72b-b768349eed70","managedByRoleDefinitionId":"50cd84fb-5e4c-4801-a8d2-4089ab77e6cd"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"b59a8212-567c-4cbe-9fa7-e05e3acfd513"},{"applicationId":"0e282aa8-2770-4b6c-8cf8-fac26e9ebe1f","roleDefinitionId":"2dfe42c1-88e3-4036-a4ce-bd17b5c5d578"},{"applicationId":"6bccf540-eb86-4037-af03-7fa058c2db75","roleDefinitionId":"89dcede2-9219-403a-9723-d3c6473f9472"}],"resourceTypes":[{"resourceType":"accounts","locations":["East + US","Australia Central","Australia East","Australia Southeast","Brazil South","Canada + Central","Canada East","Central India","Central US","East Asia","East US 2","France + Central","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Korea Central","Korea South","North Europe","Norway East","South Africa + North","South Central US","Southeast Asia","South India","Spain Central","Sweden + Central","Switzerland North","UAE North","UK South","UK West","West Central + US","West Europe","West US","West US 2","West US 3","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-05-03-preview","2023-04-03","2021-06-03-preview"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"operations","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2025-03-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2021-06-01-preview","capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2024-10-03-preview","2024-10-01-preview","2024-10-01","2024-04-03-preview","2024-04-01-preview","2023-10-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"defaultApiVersion":"2023-04-03","capabilities":"None"},{"resourceType":"locations/operationResults","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/locationOperationStatuses","locations":["North + Central US","East US","Australia Central","Australia Central 2","Australia + East","Australia Southeast","Brazil South","Brazil Southeast","Canada Central","Canada + East","Central India","Central US","East Asia","East US 2","France Central","France + South","Germany West Central","Israel Central","Italy North","Japan East","Japan + West","Jio India Central","Jio India West","Korea Central","Korea South","Mexico + Central","New Zealand North","North Europe","Norway East","Norway West","Poland + Central","Qatar Central","South Africa North","South Central US","Southeast + Asia","South India","Spain Central","Sweden Central","Switzerland North","Switzerland + West","UAE Central","UAE North","UK South","UK West","West Central US","West + Europe","West US","West US 2","West US 3","East US 2 EUAP","Central US EUAP"],"apiVersions":["2025-05-03-preview","2025-05-01-preview","2024-10-03-preview","2024-10-01-preview","2024-04-03-preview","2024-04-01-preview","2023-04-03","2023-04-01","2021-06-03-preview","2021-06-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2","West US 2","West Europe","East US 2 EUAP","Central US EUAP"],"apiVersions":["2024-10-01-preview","2023-10-01-preview"],"defaultApiVersion":"2024-10-01-preview","capabilities":"None"},{"resourceType":"pipelineGroups","locations":["Canada + Central","East US 2","West US 2","Italy North","West Europe","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2025-03-01-preview","2024-10-01-preview"],"defaultApiVersion":"2025-03-01-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"investigations","locations":["North Europe","Germany + West Central","Sweden Central","UAE North","South Africa North","Norway East","global","France + Central","France South","Germany North","Italy North","Norway West","Poland + Central","Switzerland North","Switzerland West","Israel Central","Qatar Central","South + Africa West","UAE Central","Japan East","Central India","Japan West","South + India","West India","Korea Central","Korea South","Australia East","Australia + Southeast","Australia Central","Australia Central 2","Southeast Asia","UK + South","UK West","West Central US","East Asia","West US 3","Central US","East + US 2","South Central US","West US 2","East US","Canada Central","Canada East","North + Central US","West US","Brazil South","Brazil Southeast","West Europe","East + US 2 EUAP"],"apiVersions":["2024-01-01-preview"],"capabilities":"SupportsExtension"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '6839' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jul 2025 12:49:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 297F91EEB93D4C93B89CF2ED75DA6754 Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:49:49Z' status: code: 200 message: OK @@ -3360,10 +3713,10 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/DefaultResourceGroup-westus2?api-version=2024-11-01 response: @@ -3375,15 +3728,21 @@ interactions: content-length: - '0' date: - - Fri, 12 May 2023 10:17:48 GMT + - Wed, 23 Jul 2025 12:49:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: F47F53A599F642F4AEFBD4EAB514C392 Ref B: BN1AA2051015025 Ref C: 2025-07-23T12:49:49Z' status: code: 204 message: No Content @@ -3399,42 +3758,46 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2?api-version=2023-04-03 response: body: - string: '{"properties":{"accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-9jg3.westus2.prometheus.monitor.azure.com","internalId":"mac_ec050f19-1529-4ec2-9d0c-e6677ca07ac8"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"3d030879-0000-0800-0000-6452ca160000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-03T20:54:27.8807957Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-03T20:54:27.8807957Z"}}' + string: '{"properties":{"accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","metrics":{"prometheusQueryEndpoint":"https://defaultazuremonitorworkspace-westus2-dqhtf8b6gqg5dbbv.westus2.prometheus.monitor.azure.com","internalId":"mac_47fa17c3-ea86-44d8-a015-7347a49f6140"},"provisioningState":"Succeeded","defaultIngestionSettings":{"dataCollectionRuleResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionRules/defaultazuremonitorworkspace-westus2","dataCollectionEndpointResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MA_defaultazuremonitorworkspace-westus2_westus2_managed/providers/Microsoft.Insights/dataCollectionEndpoints/defaultazuremonitorworkspace-westus2"},"publicNetworkAccess":"Enabled"},"location":"westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-westus2/providers/microsoft.monitor/accounts/defaultazuremonitorworkspace-westus2","name":"DefaultAzureMonitorWorkspace-westus2","type":"Microsoft.Monitor/accounts","etag":"\"d709bfec-0000-0800-0000-6822fc140000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-05-13T08:00:13.461865Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-05-13T08:00:13.461865Z"}}' headers: api-supported-versions: - - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03 + - 2021-06-01-preview, 2021-06-03-preview, 2023-04-01, 2023-04-03, 2023-06-01-preview, + 2024-04-01-preview, 2024-04-03-preview, 2024-10-01-preview, 2024-10-03-preview, + 2025-05-01-preview, 2025-05-03-preview cache-control: - no-cache content-length: - - '1443' + - '1453' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:50 GMT + - Wed, 23 Jul 2025 12:49:49 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:74683e7d-3ee8-4856-bfe7-e63c83b6737e - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: FC531F9127A946DB9BAF6495E619C0B6 Ref B: BN1AA2051015021 Ref C: 2025-07-23T12:49:50Z' status: code: 200 message: OK @@ -3455,19 +3818,19 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dce + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dce method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"immutableId":"dce-dbc6505b5de04d2fbe162b35dec588a2","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-sdy0.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"4e08276a-0000-0800-0000-645e124f0000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:21.7263493Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:50.4962224Z"}}' + string: '{"properties":{"immutableId":"dce-44d2a3bdf7234ecea934b388e1c39df0","configurationAccess":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.handler.control.monitor.azure.com"},"logsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.ingest.monitor.azure.com"},"metricsIngestion":{"endpoint":"https://msprom-westus2-cliakstest000002-ge1x.westus2-1.metrics.ingest.monitor.azure.com"},"networkAcls":{"publicNetworkAccess":"Enabled"},"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionEndpoints","etag":"\"7505efbb-0000-0800-0000-6880da6f0000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:23.4460333Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:51.0939073Z"}}' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -3475,25 +3838,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:51 GMT + - Wed, 23 Jul 2025 12:49:51 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/53beae10-03d0-4616-bdde-f76eeb18579e x-ms-ratelimit-remaining-subscription-resource-requests: - - '59' + - '199' + x-msedge-ref: + - 'Ref A: D57F6996FB334B3E96E79735411CB824 Ref B: BN1AA2051015019 Ref C: 2025-07-23T12:49:50Z' status: code: 200 message: OK @@ -3520,19 +3885,20 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcr + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcr method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"description":"DCR description","immutableId":"dcr-47f9c942a60a4808984936e13fba633e","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"4e08816a-0000-0800-0000-645e12510000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:25.8820682Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:52.4817462Z"}}' + string: '{"properties":{"description":"DCR description","immutableId":"dcr-ab663efad29c46c6adaf1e44651113d1","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"75052fbc-0000-0800-0000-6880da700000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:26.5588503Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:52.0377494Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -3540,23 +3906,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:53 GMT + - Wed, 23 Jul 2025 12:49:52 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/20b6e0ac-3b17-4f6b-b57f-bacd9438d77f x-ms-ratelimit-remaining-subscription-resource-requests: - - '149' + - '199' + x-msedge-ref: + - 'Ref A: D52D13F143B74CEB921C2BC9B8BEC4C0 Ref B: BN1AA2051012031 Ref C: 2025-07-23T12:49:51Z' status: code: 200 message: OK @@ -3578,46 +3948,49 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.create_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.create_dcra method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002?api-version=2022-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension?api-version=2022-06-01 response: body: string: '{"properties":{"description":"Promtheus data collection association - between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002","name":"ContainerInsightsMetricsExtension-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4e08f56a-0000-0800-0000-645e12530000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:54.3369938Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:54.3369938Z"}}' + between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension","name":"ContainerInsightsMetricsExtension","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"75055cbc-0000-0800-0000-6880da710000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:53.0314488Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:53.0314488Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - - '1030' + - '980' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:55 GMT + - Wed, 23 Jul 2025 12:49:53 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/121a5a38-0ad5-4391-9de3-2baf98a514a1 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: E16B94E89CB34489848D5150817E02C3 Ref B: BN1AA2051015019 Ref C: 2025-07-23T12:49:52Z' status: code: 200 message: OK @@ -3633,610 +4006,781 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_recording_rules_template + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_recording_rules_template method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations?api-version=2023-01-01-preview response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n \"metadata\": - {\r\n \"description\": \"prefix of the alert rule name\"\r\n - \ }\r\n },\r\n \"alertName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'), - ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"Name - of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_cpu_utilisation:rate5m\",\r\n \"expression\": - \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n - \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n \"expression\": - \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", device!=\\\"\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom recording - rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesRecordingRulesRuleGroup\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Recording Rules RuleGroup\",\r\n \"scopes\": \"[variables('scopes')]\",\r\n - \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) - ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", image!=\\\"\\\"}[5m])) - * on (cluster, namespace, pod) group_left(node) topk by (cluster, namespace, - pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n \"expression\": - \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n - \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n - \ \"record\": \"node_namespace_pod_container:container_memory_swap\",\r\n - \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum - by (namespace, pod, cluster) ( max by (namespace, pod, container, cluster) - ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": - \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \"expression\": - \"max by (cluster, namespace, workload, pod) ( label_replace( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) - * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": - \"deployment\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"daemonset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"statefulset\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, - pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": - \"job\"\r\n }\r\n },\r\n {\r\n - \ \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": - \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\": - \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ]\r\n - \ }\r\n }\r\n ]\r\n }\r\n }\r\n - \ },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeRecordingRulesRuleGroup-Win\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_num_cpu:sum\",\r\n \"expression\": - \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_cpu_utilisation:avg5m\",\r\n \"expression\": - \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_utilisation:\",\r\n \"expression\": - \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \"expression\": - \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \"expression\": - \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_memory_MemTotal_bytes:sum\",\r\n \"expression\": - \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_available:sum\",\r\n \"expression\": - \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_bytes_total:sum\",\r\n \"expression\": - \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_memory_utilisation:ratio\",\r\n \"expression\": - \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\",\r\n - \ \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_disk_utilisation:avg_irate\",\r\n \"expression\": - \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"type\": - \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"location\": - \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"displayInformation\": {\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n - \ \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n \"rulesArmTemplate\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n \"minLength\": - 1,\r\n \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Node and Kubernetes Recording Rules RuleGroup for Windows\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_filesystem_avail:\",\r\n \"expression\": - \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_utilisation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \":windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": - \"node:windows_node_net_saturation:sum_irate\",\r\n \"expression\": - \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": - \"windows_pod_container_available\",\r\n \"expression\": - \"windows_container_available{job=\\\"windows-exporter\\\"} * on(container_id) - group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_total_runtime\",\r\n - \ \"expression\": \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_memory_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_private_working_set_usage\",\r\n - \ \"expression\": \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_received_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"windows_container_network_transmitted_bytes_total\",\r\n - \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( - kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesAlert-DefaultAlerts\",\r\n - \ \"name\": \"KubernetesAlert-DefaultAlerts\",\r\n \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n - \ \"location\": \"global\",\r\n \"properties\": {\r\n \"alertRuleType\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"displayInformation\": - {\r\n \"AlertRuleNamePrefix\": \"KubernetesAlert-DefaultAlerts\",\r\n - \ \"RuleTitle\": \"This would be the info message for prom\"\r\n },\r\n - \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n - \ \"targetResourceId\": {\r\n \"type\": \"string\",\r\n - \ \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ },\r\n \"targetResourceName\": {\r\n \"type\": - \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\r\n - \ },\r\n \"actionGroupIds\": {\r\n \"type\": - \"array\",\r\n \"defaultValue\": [],\r\n \"metadata\": - {\r\n \"description\": \"Insert Action groups ids to attach - them to the below alert rules.\"\r\n }\r\n },\r\n - \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"westus2\"\r\n },\r\n \"clusterNameForPrometheus\": - {\r\n \"type\": \"string\"\r\n },\r\n \"alertNamePrefix\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"KubernetesAlert-DefaultAlerts\",\r\n \"minLength\": 1,\r\n - \ \"metadata\": {\r\n \"description\": \"prefix - of the alert rule name\"\r\n }\r\n },\r\n \"alertName\": - {\r\n \"type\": \"string\",\r\n \"defaultValue\": - \"[concat(parameters('alertNamePrefix'), ' - ', parameters('clusterNameForPrometheus'))]\",\r\n - \ \"minLength\": 1,\r\n \"metadata\": {\r\n \"description\": - \"Name of the alert rule\"\r\n }\r\n }\r\n },\r\n - \ \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\",\r\n - \ \"copy\": [\r\n {\r\n \"name\": \"actionsForPrometheusRuleGroups\",\r\n - \ \"count\": \"[length(parameters('actionGroupIds'))]\",\r\n - \ \"input\": {\r\n \"actiongroupId\": \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\r\n - \ }\r\n }\r\n ]\r\n },\r\n - \ \"resources\": [\r\n {\r\n \"name\": \"[parameters('alertName')]\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n - \ \"apiVersion\": \"2021-07-22-preview\",\r\n \"location\": - \"[parameters('location')]\",\r\n \"properties\": {\r\n \"description\": - \"Kubernetes Alert RuleGroup-DefaultAlerts\",\r\n \"scopes\": - \"[variables('scopes')]\",\r\n \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n - \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n - \ {\r\n \"alert\": \"KubePodCrashLooping\",\r\n - \ \"expression\": \"max_over_time(kube_pod_container_status_waiting_reason{reason=\\\"CrashLoopBackOff\\\", - job=\\\"kube-state-metrics\\\"}[5m]) >= 1\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubePodNotReady\",\r\n \"expression\": \"sum by (namespace, - pod, cluster) ( max by(namespace, pod, cluster) ( kube_pod_status_phase{job=\\\"kube-state-metrics\\\", - phase=~\\\"Pending|Unknown\\\"} ) * on(namespace, pod, cluster) group_left(owner_kind) - topk by(namespace, pod, cluster) ( 1, max by(namespace, pod, owner_kind, - cluster) (kube_pod_owner{owner_kind!=\\\"Job\\\"}) )) > 0\",\r\n \"for\": - \"PT15M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeDeploymentReplicasMismatch\",\r\n \"expression\": - \"( kube_deployment_spec_replicas{job=\\\"kube-state-metrics\\\"} > kube_deployment_status_replicas_available{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_deployment_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeStatefulSetReplicasMismatch\",\r\n \"expression\": - \"( kube_statefulset_status_replicas_ready{job=\\\"kube-state-metrics\\\"} - \ != kube_statefulset_status_replicas{job=\\\"kube-state-metrics\\\"}) - and ( changes(kube_statefulset_status_replicas_updated{job=\\\"kube-state-metrics\\\"}[10m]) - \ == 0)\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeJobNotCompleted\",\r\n \"expression\": \"time() - - max by(namespace, job_name, cluster) (kube_job_status_start_time{job=\\\"kube-state-metrics\\\"} - \ and kube_job_status_active{job=\\\"kube-state-metrics\\\"} > 0) > 43200\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeJobFailed\",\r\n - \ \"expression\": \"kube_job_failed{job=\\\"kube-state-metrics\\\"} - \ > 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeHpaReplicasMismatch\",\r\n \"expression\": \"(kube_horizontalpodautoscaler_status_desired_replicas{job=\\\"kube-state-metrics\\\"} - \ !=kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ >kube_horizontalpodautoscaler_spec_min_replicas{job=\\\"kube-state-metrics\\\"}) - \ and(kube_horizontalpodautoscaler_status_current_replicas{job=\\\"kube-state-metrics\\\"} - \ 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeMemoryQuotaOvercommit\",\r\n \"expression\": \"sum(min - without(resource) (kube_resourcequota{job=\\\"kube-state-metrics\\\", type=\\\"hard\\\", - resource=~\\\"(memory|requests.memory)\\\"})) /sum(kube_node_status_allocatable{resource=\\\"memory\\\", - job=\\\"kube-state-metrics\\\"}) > 1.5\",\r\n \"for\": - \"PT5M\",\r\n \"labels\": {\r\n \"severity\": - \"warning\"\r\n },\r\n \"Severity\": - 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeQuotaAlmostFull\",\r\n \"expression\": \"kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"used\\\"} / ignoring(instance, job, type)(kube_resourcequota{job=\\\"kube-state-metrics\\\", - type=\\\"hard\\\"} > 0) > 0.9 < 1\",\r\n \"for\": \"PT15M\",\r\n - \ \"labels\": {\r\n \"severity\": \"warning\"\r\n - \ },\r\n \"Severity\": 3,\r\n \"actions\": - \"[variables('actionsForPrometheusRuleGroups')]\"\r\n },\r\n - \ {\r\n \"alert\": \"KubeVersionMismatch\",\r\n - \ \"expression\": \"count by (cluster) (count by (git_version, - cluster) (label_replace(kubernetes_build_info{job!~\\\"kube-dns|coredns\\\"},\\\"git_version\\\",\\\"$1\\\",\\\"git_version\\\",\\\"(v[0-9]*.[0-9]*).*\\\"))) - > 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeNotReady\",\r\n \"expression\": \"kube_node_status_condition{job=\\\"kube-state-metrics\\\",condition=\\\"Ready\\\",status=\\\"true\\\"} - == 0\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeUnreachable\",\r\n \"expression\": \"(kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=\\\"node.kubernetes.io/unreachable\\\",effect=\\\"NoSchedule\\\"} - unless ignoring(key,value) kube_node_spec_taint{job=\\\"kube-state-metrics\\\",key=~\\\"ToBeDeletedByClusterAutoscaler|cloud.google.com/impending-node-termination|aws-node-termination-handler/spot-itn\\\"}) - == 1\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeletTooManyPods\",\r\n \"expression\": \"count by(cluster, - node) ( (kube_pod_status_phase{job=\\\"kube-state-metrics\\\",phase=\\\"Running\\\"} - == 1) * on(instance,pod,namespace,cluster) group_left(node) topk by(instance,pod,namespace,cluster) - (1, kube_pod_info{job=\\\"kube-state-metrics\\\"}))/max by(cluster, node) - ( kube_node_status_capacity{job=\\\"kube-state-metrics\\\",resource=\\\"pods\\\"} - != 1) > 0.95\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ },\r\n {\r\n \"alert\": - \"KubeNodeReadinessFlapping\",\r\n \"expression\": \"sum(changes(kube_node_status_condition{status=\\\"true\\\",condition=\\\"Ready\\\"}[15m])) - by (cluster, node) > 2\",\r\n \"for\": \"PT15M\",\r\n \"labels\": - {\r\n \"severity\": \"warning\"\r\n },\r\n - \ \"Severity\": 3,\r\n \"actions\": \"[variables('actionsForPrometheusRuleGroups')]\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n - \ ]\r\n }\r\n }\r\n }\r\n ]\r\n}" + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup\",\r\n \"type\": \"\ + Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup\",\r\ + \n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"instance:node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\ + \"node\\\",mode=\\\"idle\\\"})\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\"\ + ,\r\n \"expression\": \"1 - avg without (cpu) ( sum without\ + \ (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", mode=~\\\"idle|iowait|steal\\\ + \"}[5m])))\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_load1_per_cpu:ratio\",\r\n \ + \ \"expression\": \"( node_load1{job=\\\"node\\\"}/ instance:node_num_cpu:sum{job=\\\ + \"node\\\"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \ + \ \"expression\": \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\ + \"node\\\"} or ( node_memory_Buffers_bytes{job=\\\"node\\\"} \ + \ + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} ) )/\ + \ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\ + \n {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\"\ + ,\r\n \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\ + \"node\\\"}[5m])\"\r\n },\r\n {\r\n \ + \ \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\"\ + ,\r\n \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\ + \"node\\\", device!=\\\"\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_bytes_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_receive_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"instance:node_network_transmit_drop_excluding_lo:rate5m\"\ + ,\r\n \"expression\": \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\ + \"node\\\", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n \ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"name\": \"KubernetesRecordingRulesRuleGroup\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"RuleTitle\": \"This would be the info message for prom recording\ + \ rules\"\r\n },\r\n \"rulesArmTemplate\": {\r\n \"\ + $schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"KubernetesRecordingRulesRuleGroup\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Kubernetes Recording Rules RuleGroup\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, pod,\ + \ container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node)\ + \ topk by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod,\ + \ node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\"\ + ,\r\n \"expression\": \"container_memory_working_set_bytes{job=\\\ + \"cadvisor\\\", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk\ + \ by(namespace, pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\ + \"\\\"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node_namespace_pod_container:container_memory_rss\"\ + ,\r\n \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_cache\",\r\n \ + \ \"expression\": \"container_memory_cache{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node_namespace_pod_container:container_memory_swap\",\r\n \ + \ \"expression\": \"container_memory_swap{job=\\\"cadvisor\\\ + \", image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace,\ + \ pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_requests{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1))\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on (namespace, pod, cluster)group_left()\ + \ max by (namespace, pod, cluster) ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\ + \"} == 1) )\"\r\n },\r\n {\r\n \ + \ \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, cluster) ( \ + \ sum by (namespace, pod, cluster) ( max by (namespace, pod, container,\ + \ cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\ + \",job=\\\"kube-state-metrics\\\"} ) * on(namespace, pod, cluster)\ + \ group_left() max by (namespace, pod, cluster) ( kube_pod_status_phase{phase=~\\\ + \"Pending|Running\\\"} == 1 ) ))\"\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\ + \", owner_kind=\\\"ReplicaSet\\\"}, \\\"replicaset\\\", \\\"$1\\\", \\\ + \"owner_name\\\", \\\"(.*)\\\" ) * on(replicaset, namespace) group_left(owner_name)\ + \ topk by(replicaset, namespace) ( 1, max by (replicaset, namespace,\ + \ owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"\ + } ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\ + \" ))\",\r\n \"labels\": {\r\n \"\ + workload_type\": \"deployment\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"DaemonSet\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"daemonset\"\r\n }\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n \ + \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace(\ + \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\ + \"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\"\ + ,\r\n \"labels\": {\r\n \"workload_type\"\ + : \"statefulset\"\r\n }\r\n },\r\n \ + \ {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\"\ + ,\r\n \"expression\": \"max by (cluster, namespace, workload,\ + \ pod) ( label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\"\ + , owner_kind=\\\"Job\\\"}, \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\ + \", \\\"(.*)\\\" ))\",\r\n \"labels\": {\r\n \ + \ \"workload_type\": \"job\"\r\n }\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":node_memory_MemAvailable_bytes:sum\",\r\n \"expression\"\ + : \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( node_memory_Buffers_bytes{job=\\\ + \"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} + node_memory_MemFree_bytes{job=\\\ + \"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} )) by (cluster)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"cluster:node_cpu:ratio_rate5m\",\r\n \"expression\"\ + : \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\ + \"iowait\\\",mode!=\\\"steal\\\"}[5m])) by (cluster) /count(sum(node_cpu_seconds_total{job=\\\ + \"node\\\"}) by (cluster, instance, cpu)) by (cluster)\"\r\n \ + \ }\r\n ]\r\n }\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeRecordingRulesRuleGroup-Win\",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node Recording Rules RuleGroup for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"\ + clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n \ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\n \ + \ {\r\n \"record\": \"node:windows_node:sum\"\ + ,\r\n \"expression\": \"count (windows_system_system_up_time{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_num_cpu:sum\",\r\n \ + \ \"expression\": \"count by (instance) (sum by (instance,\ + \ core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_cpu_utilisation:avg5m\",\r\n \"expression\"\ + : \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\ + \"idle\\\"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_cpu_utilisation:avg5m\"\ + ,\r\n \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\ + \"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n },\r\ + \n {\r\n \"record\": \":windows_node_memory_utilisation:\"\ + ,\r\n \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"} + windows_memory_cache_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n \ + \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"\ + windows-exporter\\\"} + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"\ + } + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\ + \"} + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\ + \"})\"\r\n },\r\n {\r\n \ + \ \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n \ + \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"\ + windows-exporter\\\"})\"\r\n },\r\n {\r\n\ + \ \"record\": \"node:windows_node_memory_bytes_available:sum\"\ + ,\r\n \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\ + \"windows-exporter\\\"}))\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_bytes_total:sum\"\ + ,\r\n \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\ + \"windows-exporter\\\"})\"\r\n },\r\n {\r\ + \n \"record\": \"node:windows_node_memory_utilisation:ratio\"\ + ,\r\n \"expression\": \"(node:windows_node_memory_bytes_total:sum\ + \ - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_memory_utilisation:\",\r\n \ + \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum /\ + \ node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n\ + \ {\r\n \"record\": \"node:windows_node_memory_swap_io_pages:irate\"\ + ,\r\n \"expression\": \"irate(windows_memory_swap_page_operations_total{job=\\\ + \"windows-exporter\\\"}[5m])\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\"\ + ,\r\n \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_logical_disk_write_seconds_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\",\r\n\ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\ + \n \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"RuleTitle\": \"Windows Recording Rules\"\r\n },\r\n\ + \ \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win\"\ + ,\r\n \"minLength\": 1,\r\n \"metadata\": {\r\n\ + \ \"description\": \"prefix of the alert rule name\"\r\n \ + \ }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"Node and Kubernetes Recording Rules RuleGroup for Windows\"\ + ,\r\n \"scopes\": \"[variables('scopes')]\",\r\n \ + \ \"clusterName\": \"[parameters('clusterNameForPrometheus')]\",\r\n\ + \ \"interval\": \"PT1M\",\r\n \"rules\": [\r\ + \n {\r\n \"record\": \"node:windows_node_filesystem_usage:\"\ + ,\r\n \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\ + \"windows-exporter\\\"} - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"node:windows_node_filesystem_avail:\",\r\n \"expression\"\ + : \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\ + \"} / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \":windows_node_net_utilisation:sum_irate\",\r\n \"expression\"\ + : \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\ + \r\n },\r\n {\r\n \"\ + record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \":windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])) + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m]) + irate(windows_net_packets_outbound_discarded_total{job=\\\ + \"windows-exporter\\\"}[5m])))\"\r\n },\r\n \ + \ {\r\n \"record\": \"windows_pod_container_available\"\ + ,\r\n \"expression\": \"windows_container_available{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"windows_container_total_runtime\",\r\n \"expression\"\ + : \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"\ + , container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_memory_usage\",\r\n \"expression\": \"\ + windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\",\ + \ container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_private_working_set_usage\",\r\n \"expression\"\ + : \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_received_bytes_total\",\r\n \"\ + expression\": \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\ + \", container_id != \\\"\\\"} * on(container_id) group_left(container, pod,\ + \ namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\", container_id\ + \ != \\\"\\\"}) by(container, container_id, pod, namespace)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + windows_container_network_transmitted_bytes_total\",\r\n \ + \ \"expression\": \"windows_container_network_transmit_bytes_total{job=\\\ + \"windows-exporter\\\", container_id != \\\"\\\"} * on(container_id) group_left(container,\ + \ pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\ + \", container_id != \\\"\\\"}) by(container, container_id, pod, namespace)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"kube_pod_windows_container_resource_memory_request\",\r\n \ + \ \"expression\": \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"}) * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\"\ + ,\r\n \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"memory\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace)\ + \ (windows_pod_container_available)\"\r\n },\r\n \ + \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\"\ + ,\r\n \"expression\": \"max by (namespace, pod, container)\ + \ ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\ + \"}) * on(container,pod,namespace) (windows_pod_container_available)\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n \ + \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\ + \"cpu\\\",job=\\\"kube-state-metrics\\\"} * on(container,pod,namespace) (windows_pod_container_available)\"\ + \r\n },\r\n {\r\n \"\ + record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\"\ + ,\r\n \"expression\": \"sum by (namespace, pod, container)\ + \ (rate(windows_container_total_runtime{}[5m]))\"\r\n }\r\ + \n ]\r\n }\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n },\r\n {\r\n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup - \",\r\n \"type\"\ + : \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \"properties\"\ + : {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup - \",\r\ + \n \"RuleTitle\": \"UX Recording Rules for Linux\"\r\n },\r\ + \n \"rulesArmTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Linux\",\r\n \"\ + scopes\": \"[variables('scopes')]\",\r\n \"clusterName\": \"\ + [parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"(sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\tirate(container_cpu_usage_seconds_total{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}[5m])\\n)) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_cpu_usage:sum_irate\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory:sum\",\r\n \ + \ \"expression\": \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid)\ + \ (\\n\\t\\tcontainer_memory_working_set_bytes{container != \\\"\\\", pod\ + \ != \\\"\\\", job = \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(max by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_workingset_memory:sum\",\r\n \ + \ \"expression\": \"sum by (namespace, node, cluster, created_by_name,\ + \ created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_rss_memory:sum\",\r\n \"expression\"\ + : \"(\\n\\t sum by (namespace, pod, cluster, microsoft_resourceid) (\\\ + n\\t\\tcontainer_memory_rss{container != \\\"\\\", pod != \\\"\\\", job =\ + \ \\\"cadvisor\\\"}\\n\\t )\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n(max by (node, created_by_name,\ + \ created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}))\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_rss_memory:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_rss_memory:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_count:sum\",\r\n \"expression\"\ + : \"sum by (node, created_by_name, created_by_kind, namespace, cluster, pod,\ + \ microsoft_resourceid) (\\n(\\n(\\nsum by (container, pod, namespace, cluster,\ + \ microsoft_resourceid) (kube_pod_container_info{container != \\\"\\\", pod\ + \ != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"\ + })\\nor sum by (container, pod, namespace, cluster, microsoft_resourceid)\ + \ (kube_pod_init_container_info{container != \\\"\\\", pod != \\\"\\\", container_id\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n* on (pod, namespace,\ + \ cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n)\\n)\\n)\\n\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:controller_container_count:sum\",\r\n\ + \ \"expression\": \"sum by (node, created_by_name, created_by_kind,\ + \ namespace, cluster, microsoft_resourceid) (\\nux:pod_container_count:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_container_restarts:max\",\r\n \"\ + expression\": \"max by (node, created_by_name, created_by_kind, namespace,\ + \ cluster, pod, microsoft_resourceid) (\\n(\\n(\\nmax by (container, pod,\ + \ namespace, cluster, microsoft_resourceid) (kube_pod_container_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\nor sum\ + \ by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n*\ + \ on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name,\ + \ created_by_kind)\\n(\\nmax by (node, created_by_name, created_by_kind, pod,\ + \ namespace, cluster, microsoft_resourceid) (\\n\\tkube_pod_info{pod != \\\ + \"\\\", job = \\\"kube-state-metrics\\\"}\\n)\\n)\\n)\\n\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"\ + ux:controller_container_restarts:max\",\r\n \"expression\"\ + : \"max by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid)\ + \ (\\nux:pod_container_restarts:max\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:pod_resource_limit:sum\"\ + ,\r\n \"expression\": \"(sum by (cluster, pod, namespace,\ + \ resource, microsoft_resourceid) (\\n(\\n\\tmax by (cluster, microsoft_resourceid,\ + \ pod, container, namespace, resource)\\n\\t (kube_pod_container_resource_limits{container\ + \ != \\\"\\\", pod != \\\"\\\", job = \\\"kube-state-metrics\\\"})\\n)\\n)unless\ + \ (count by (pod, namespace, cluster, resource, microsoft_resourceid)\\n\\\ + t(kube_pod_container_resource_limits{container != \\\"\\\", pod != \\\"\\\"\ + , job = \\\"kube-state-metrics\\\"})\\n!= on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left()\\n sum by (pod, namespace, cluster, microsoft_resourceid)\\\ + n (kube_pod_container_info{container != \\\"\\\", pod != \\\"\\\", job = \\\ + \"kube-state-metrics\\\"}) \\n)\\n\\n)* on (namespace, pod, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_kind, created_by_name)\\n(\\n\\tkube_pod_info{pod\ + \ != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n)\"\r\n \ + \ },\r\n {\r\n \"record\": \"ux:controller_resource_limit:sum\"\ + ,\r\n \"expression\": \"sum by (cluster, namespace, created_by_name,\ + \ created_by_kind, node, resource, microsoft_resourceid) (\\nux:pod_resource_limit:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:controller_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, created_by_kind, created_by_name,\ + \ namespace, microsoft_resourceid) ( (\\n(kube_pod_status_phase{job=\\\"kube-state-metrics\\\ + \",pod!=\\\"\\\"})\\n or (label_replace((count(kube_pod_deletion_timestamp{job=\\\ + \"kube-state-metrics\\\",pod!=\\\"\\\"}) by (namespace, pod, cluster, microsoft_resourceid)\ + \ * count(kube_pod_status_reason{reason=\\\"NodeLost\\\", job=\\\"kube-state-metrics\\\ + \"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), \\\"phase\\\ + \", \\\"terminating\\\", \\\"\\\", \\\"\\\"))) * on (pod, namespace, cluster,\ + \ microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\\\ + n(\\nmax by (node, created_by_name, created_by_kind, pod, namespace, cluster,\ + \ microsoft_resourceid) (\\nkube_pod_info{job=\\\"kube-state-metrics\\\",pod!=\\\ + \"\\\"}\\n)\\n)\\n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:cluster_pod_phase_count:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, phase, node, namespace,\ + \ microsoft_resourceid) (\\nux:controller_pod_phase_count:sum\\n)\"\r\n \ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_cpu_usage:sum_irate\",\r\n \"expression\":\ + \ \"sum by (instance, cluster, microsoft_resourceid) (\\n(1 - irate(node_cpu_seconds_total{job=\\\ + \"node\\\", mode=\\\"idle\\\"}[5m]))\\n)\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_memory_usage:sum\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nnode_memory_MemTotal_bytes{job = \\\"node\\\"}\\n- node_memory_MemFree_bytes{job\ + \ = \\\"node\\\"} \\n- node_memory_cached_bytes{job = \\\"node\\\"}\\n- node_memory_buffers_bytes{job\ + \ = \\\"node\\\"}\\n))\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_network_receive_drop_total:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_receive_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_network_transmit_drop_total:sum_irate\",\r\ + \n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(node_network_transmit_drop_total{job=\\\"node\\\", device!=\\\"lo\\\ + \"}[5m]))\"\r\n }\r\n ]\r\n }\r\ + \n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\ + \n \"id\": \"subscriptions/79a7390d-3a85-432d-9f6f-a11a703c8b83/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2/providers/microsoft.alertsManagement/alertRuleRecommendations/UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"name\": \"UXRecordingRulesRuleGroup-Win - \",\r\n \ + \ \"type\": \"Microsoft.AlertsManagement/AlertRuleRecommendations\",\r\n \ + \ \"properties\": {\r\n \"alertRuleType\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"displayInformation\": {\r\n \"RuleNames\": \"[null,null,null,null,null,null,null,null]\"\ + ,\r\n \"AlertRuleNamePrefix\": \"UXRecordingRulesRuleGroup-Win -\ + \ \",\r\n \"RuleTitle\": \"UX Recording Rules for Windows\"\r\n \ + \ },\r\n \"rulesArmTemplate\": {\r\n \"$schema\": \"\ + https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\"\ + ,\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\"\ + : {\r\n \"targetResourceId\": {\r\n \"type\": \"string\"\ + ,\r\n \"defaultValue\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\ + \r\n },\r\n \"targetResourceName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"defaultazuremonitorworkspace-westus2\"\ + \r\n },\r\n \"actionGroupIds\": {\r\n \"\ + type\": \"array\",\r\n \"defaultValue\": [],\r\n \ + \ \"metadata\": {\r\n \"description\": \"Insert Action groups\ + \ ids to attach them to the below alert rules.\"\r\n }\r\n \ + \ },\r\n \"location\": {\r\n \"type\": \"\ + string\",\r\n \"defaultValue\": \"westus2\"\r\n },\r\ + \n \"clusterNameForPrometheus\": {\r\n \"type\": \"\ + string\"\r\n },\r\n \"alertNamePrefix\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"UXRecordingRulesRuleGroup-Win\ + \ - \",\r\n \"minLength\": 1,\r\n \"metadata\":\ + \ {\r\n \"description\": \"prefix of the alert rule name\"\r\ + \n }\r\n },\r\n \"alertName\": {\r\n \ + \ \"type\": \"string\",\r\n \"defaultValue\": \"[concat(parameters('alertNamePrefix'),\ + \ ' - ', parameters('clusterNameForPrometheus'))]\",\r\n \"minLength\"\ + : 1,\r\n \"metadata\": {\r\n \"description\":\ + \ \"Name of the alert rule\"\r\n }\r\n }\r\n \ + \ },\r\n \"variables\": {\r\n \"scopes\": \"[array(parameters('targetResourceId'))]\"\ + ,\r\n \"copy\": [\r\n {\r\n \"name\"\ + : \"actionsForPrometheusRuleGroups\",\r\n \"count\": \"[length(parameters('actionGroupIds'))]\"\ + ,\r\n \"input\": {\r\n \"actiongroupId\":\ + \ \"[parameters('actionGroupIds')[copyIndex('actionsForPrometheusRuleGroups')]]\"\ + \r\n }\r\n }\r\n ]\r\n },\r\ + \n \"resources\": [\r\n {\r\n \"name\": \"\ + [parameters('alertName')]\",\r\n \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\"\ + ,\r\n \"apiVersion\": \"2021-07-22-preview\",\r\n \ + \ \"location\": \"[parameters('location')]\",\r\n \"tags\"\ + : {\r\n \"alertRuleCreatedWithAlertsRecommendations\": \"true\"\ + \r\n },\r\n \"properties\": {\r\n \ + \ \"description\": \"UX Recording Rules for Windows\",\r\n \ + \ \"scopes\": \"[variables('scopes')]\",\r\n \"clusterName\"\ + : \"[parameters('clusterNameForPrometheus')]\",\r\n \"interval\"\ + : \"PT1M\",\r\n \"rules\": [\r\n {\r\n \ + \ \"record\": \"ux:pod_cpu_usage_windows:sum_irate\",\r\n\ + \ \"expression\": \"sum by (cluster, pod, namespace, node,\ + \ created_by_kind, created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\\ + tmax by (instance, container_id, cluster, microsoft_resourceid) (\\n\\t\\\ + t\\tirate(windows_container_cpu_usage_seconds_total{ container_id != \\\"\\\ + \", job = \\\"windows-exporter\\\"}[5m])\\n\\t\\t) * on (container_id, cluster,\ + \ microsoft_resourceid) group_left (container, pod, namespace) (\\n\\t\\t\\\ + tmax by (container, container_id, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t\\t\\tkube_pod_container_info{container != \\\"\\\", pod != \\\ + \"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\"}\\n\\t\\\ + t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_cpu_usage_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_cpu_usage_windows:sum_irate\\\ + n)\\n\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:pod_workingset_memory_windows:sum\",\r\n \ + \ \"expression\": \"sum by (cluster, pod, namespace, node, created_by_kind,\ + \ created_by_name, microsoft_resourceid) (\\n\\t(\\n\\t\\tmax by (instance,\ + \ container_id, cluster, microsoft_resourceid) (\\n\\t\\t\\twindows_container_memory_usage_private_working_set_bytes{\ + \ container_id != \\\"\\\", job = \\\"windows-exporter\\\"}\\n\\t\\t) * on\ + \ (container_id, cluster, microsoft_resourceid) group_left (container, pod,\ + \ namespace) (\\n\\t\\t\\tmax by (container, container_id, pod, namespace,\ + \ cluster, microsoft_resourceid) (\\n\\t\\t\\t\\tkube_pod_container_info{container\ + \ != \\\"\\\", pod != \\\"\\\", container_id != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t\\t)\\n\\t\\t)\\n\\t) * on (pod, namespace, cluster, microsoft_resourceid)\ + \ group_left (node, created_by_name, created_by_kind)\\n\\t(\\n\\t\\tmax by\ + \ (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid)\ + \ (\\n\\t\\t kube_pod_info{ pod != \\\"\\\", job = \\\"kube-state-metrics\\\ + \"}\\n\\t\\t)\\n\\t)\\n)\"\r\n },\r\n {\r\ + \n \"record\": \"ux:controller_workingset_memory_windows:sum\"\ + ,\r\n \"expression\": \"sum by (namespace, node, cluster,\ + \ created_by_name, created_by_kind, microsoft_resourceid) (\\nux:pod_workingset_memory_windows:sum\\\ + n)\"\r\n },\r\n {\r\n \ + \ \"record\": \"ux:node_cpu_usage_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (\\n(1 - irate(windows_cpu_time_total{job=\\\"windows-exporter\\\", mode=\\\ + \"idle\\\"}[5m]))\\n)\"\r\n },\r\n {\r\n\ + \ \"record\": \"ux:node_memory_usage_windows:sum\",\r\n\ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ ((\\nwindows_os_visible_memory_bytes{job = \\\"windows-exporter\\\"}\\n-\ + \ windows_memory_available_bytes{job = \\\"windows-exporter\\\"}\\n))\"\r\n\ + \ },\r\n {\r\n \"record\"\ + : \"ux:node_network_packets_received_drop_total_windows:sum_irate\",\r\n \ + \ \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n \ + \ {\r\n \"record\": \"ux:node_network_packets_outbound_drop_total_windows:sum_irate\"\ + ,\r\n \"expression\": \"sum by (instance, cluster, microsoft_resourceid)\ + \ (irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\ + \", device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n \ + \ ]\r\n }\r\n }\r\n ]\r\n }\r\n \ + \ }\r\n }\r\n ]\r\n}" headers: api-supported-versions: - - 2023-01-01-preview + - 2023-01-01-preview, 2023-08-01-preview arr-disable-session-affinity: - 'true' cache-control: - no-cache content-length: - - '49079' + - '56595' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:56 GMT + - Wed, 23 Jul 2025 12:49:54 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/3faaea80-6804-4208-9b76-2dd8214ac7bd x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '249' + x-msedge-ref: + - 'Ref A: F5AF2A953D2B42BC98A74B5A4574EB12 Ref B: BN1AA2051015023 Ref C: 2025-07-23T12:49:53Z' x-powered-by: - ASP.NET status: @@ -4245,7 +4789,8 @@ interactions: - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002", "name": "NodeRecordingRulesRuleGroup-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "instance:node_num_cpu:sum", "expression": "count without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"}, {"record": "instance:node_cpu_utilisation:rate5m", @@ -4276,95 +4821,78 @@ interactions: Connection: - keep-alive Content-Length: - - '2653' + - '2807' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"instance:node_num_cpu:sum\",\r\n - \ \"expression\": \"count without (cpu, mode) ( node_cpu_seconds_total{job=\\\"node\\\",mode=\\\"idle\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"instance:node_cpu_utilisation:rate5m\",\r\n - \ \"expression\": \"1 - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\\\"node\\\", - mode=~\\\"idle|iowait|steal\\\"}[5m])))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_load1_per_cpu:ratio\",\r\n \"expression\": \"( node_load1{job=\\\"node\\\"}/ - \ instance:node_num_cpu:sum{job=\\\"node\\\"})\"\r\n },\r\n {\r\n - \ \"record\": \"instance:node_memory_utilisation:ratio\",\r\n \"expression\": - \"1 - ( ( node_memory_MemAvailable_bytes{job=\\\"node\\\"} or ( - \ node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - \ + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ ) )/ node_memory_MemTotal_bytes{job=\\\"node\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"instance:node_vmstat_pgmajfault:rate5m\",\r\n - \ \"expression\": \"rate(node_vmstat_pgmajfault{job=\\\"node\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance_device:node_disk_io_time_weighted_seconds:rate5m\",\r\n - \ \"expression\": \"rate(node_disk_io_time_weighted_seconds_total{job=\\\"node\\\", - device!=\\\"\\\"}[5m])\"\r\n },\r\n {\r\n \"record\": \"instance:node_network_receive_bytes_excluding_lo:rate5m\",\r\n - \ \"expression\": \"sum without (device) ( rate(node_network_receive_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_bytes_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_bytes_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_receive_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_receive_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n },\r\n {\r\n \"record\": - \"instance:node_network_transmit_drop_excluding_lo:rate5m\",\r\n \"expression\": - \"sum without (device) ( rate(node_network_transmit_drop_total{job=\\\"node\\\", - device!=\\\"lo\\\"}[5m]))\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002","name":"NodeRecordingRulesRuleGroup-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"instance:node_num_cpu:sum","expression":"count + without (cpu, mode) ( node_cpu_seconds_total{job=\"node\",mode=\"idle\"})"},{"record":"instance:node_cpu_utilisation:rate5m","expression":"1 + - avg without (cpu) ( sum without (mode) (rate(node_cpu_seconds_total{job=\"node\", + mode=~\"idle|iowait|steal\"}[5m])))"},{"record":"instance:node_load1_per_cpu:ratio","expression":"( node_load1{job=\"node\"}/ instance:node_num_cpu:sum{job=\"node\"})"},{"record":"instance:node_memory_utilisation:ratio","expression":"1 + - ( ( node_memory_MemAvailable_bytes{job=\"node\"} or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} ) )/ node_memory_MemTotal_bytes{job=\"node\"})"},{"record":"instance:node_vmstat_pgmajfault:rate5m","expression":"rate(node_vmstat_pgmajfault{job=\"node\"}[5m])"},{"record":"instance_device:node_disk_io_time_seconds:rate5m","expression":"rate(node_disk_io_time_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance_device:node_disk_io_time_weighted_seconds:rate5m","expression":"rate(node_disk_io_time_weighted_seconds_total{job=\"node\", + device!=\"\"}[5m])"},{"record":"instance:node_network_receive_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_bytes_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_bytes_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_receive_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_receive_drop_total{job=\"node\", device!=\"lo\"}[5m]))"},{"record":"instance:node_network_transmit_drop_excluding_lo:rate5m","expression":"sum + without (device) ( rate(node_network_transmit_drop_total{job=\"node\", device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '3096' + - '2745' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:57 GMT + - Wed, 23 Jul 2025 12:49:56 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/918ac619-393b-4929-b651-05f97966fa8e x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: C40C185B5C1A40288C3DB171C5D0C50F Ref B: BN1AA2051013031 Ref C: 2025-07-23T12:49:54Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '27' + x-rate-limit-reset: + - '2025-07-23T12:50:31.4744605Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002", "name": "KubernetesRecordingRulesRuleGroup-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate", "expression": "sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", @@ -4446,152 +4974,119 @@ interactions: Connection: - keep-alive Content-Length: - - '7331' + - '7485' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.KubernetesRecordingRulesRuleGroup-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002\",\r\n - \ \"name\": \"KubernetesRecordingRulesRuleGroup-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate\",\r\n - \ \"expression\": \"sum by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\\\"cadvisor\\\", - image!=\\\"\\\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk - by (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_working_set_bytes\",\r\n - \ \"expression\": \"container_memory_working_set_bytes{job=\\\"cadvisor\\\", - image!=\\\"\\\"}* on (namespace, pod) group_left(node) topk by(namespace, - pod) (1, max by(namespace, pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node_namespace_pod_container:container_memory_rss\",\r\n - \ \"expression\": \"container_memory_rss{job=\\\"cadvisor\\\", image!=\\\"\\\"}* - on (namespace, pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, - pod, node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_cache\",\r\n \"expression\": - \"container_memory_cache{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"node_namespace_pod_container:container_memory_swap\",\r\n \"expression\": - \"container_memory_swap{job=\\\"cadvisor\\\", image!=\\\"\\\"}* on (namespace, - pod) group_left(node) topk by(namespace, pod) (1, max by(namespace, pod, - node) (kube_pod_info{node!=\\\"\\\"}))\"\r\n },\r\n {\r\n \"record\": - \"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests\",\r\n - \ \"expression\": \"kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_requests:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1))\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_memory:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ * on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) - ( (kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} == 1) )\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_cpu:kube_pod_container_resource_limits:sum\",\r\n - \ \"expression\": \"sum by (namespace, cluster) ( sum by (namespace, - pod, cluster) ( max by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - \ ) * on(namespace, pod, cluster) group_left() max by (namespace, pod, - cluster) ( kube_pod_status_phase{phase=~\\\"Pending|Running\\\"} - == 1 ) ))\"\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ label_replace( kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"ReplicaSet\\\"}, - \ \\\"replicaset\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ) + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002","name":"KubernetesRecordingRulesRuleGroup-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate","expression":"sum + by (cluster, namespace, pod, container) ( irate(container_cpu_usage_seconds_total{job=\"cadvisor\", + image!=\"\"}[5m])) * on (cluster, namespace, pod) group_left(node) topk by + (cluster, namespace, pod) ( 1, max by(cluster, namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_working_set_bytes","expression":"container_memory_working_set_bytes{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_rss","expression":"container_memory_rss{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_cache","expression":"container_memory_cache{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"node_namespace_pod_container:container_memory_swap","expression":"container_memory_swap{job=\"cadvisor\", + image!=\"\"}* on (namespace, pod) group_left(node) topk by(namespace, pod) + (1, max by(namespace, pod, node) (kube_pod_info{node!=\"\"}))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests","expression":"kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_cpu:kube_pod_container_resource_requests:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_memory:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1))"},{"record":"namespace_memory:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} * + on (namespace, pod, cluster)group_left() max by (namespace, pod, cluster) + ( (kube_pod_status_phase{phase=~\"Pending|Running\"} == 1) )"},{"record":"namespace_cpu:kube_pod_container_resource_limits:sum","expression":"sum + by (namespace, cluster) ( sum by (namespace, pod, cluster) ( max + by (namespace, pod, container, cluster) ( kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} ) + * on(namespace, pod, cluster) group_left() max by (namespace, pod, cluster) + ( kube_pod_status_phase{phase=~\"Pending|Running\"} == 1 ) ))"},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"ReplicaSet\"}, \"replicaset\", \"$1\", \"owner_name\", \"(.*)\" ) * on(replicaset, namespace) group_left(owner_name) topk by(replicaset, namespace) - ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\\\"kube-state-metrics\\\"} - \ ) ), \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" - \ ))\",\r\n \"labels\": {\r\n \"workload_type\": \"deployment\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"DaemonSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"daemonset\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"StatefulSet\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"statefulset\"\r\n - \ }\r\n },\r\n {\r\n \"record\": \"namespace_workload_pod:kube_pod_owner:relabel\",\r\n - \ \"expression\": \"max by (cluster, namespace, workload, pod) ( label_replace( - \ kube_pod_owner{job=\\\"kube-state-metrics\\\", owner_kind=\\\"Job\\\"}, - \ \\\"workload\\\", \\\"$1\\\", \\\"owner_name\\\", \\\"(.*)\\\" ))\",\r\n - \ \"labels\": {\r\n \"workload_type\": \"job\"\r\n }\r\n - \ },\r\n {\r\n \"record\": \":node_memory_MemAvailable_bytes:sum\",\r\n - \ \"expression\": \"sum( node_memory_MemAvailable_bytes{job=\\\"node\\\"} - or ( node_memory_Buffers_bytes{job=\\\"node\\\"} + node_memory_Cached_bytes{job=\\\"node\\\"} - + node_memory_MemFree_bytes{job=\\\"node\\\"} + node_memory_Slab_bytes{job=\\\"node\\\"} - \ )) by (cluster)\"\r\n },\r\n {\r\n \"record\": \"cluster:node_cpu:ratio_rate5m\",\r\n - \ \"expression\": \"sum(rate(node_cpu_seconds_total{job=\\\"node\\\",mode!=\\\"idle\\\",mode!=\\\"iowait\\\",mode!=\\\"steal\\\"}[5m])) - by (cluster) /count(sum(node_cpu_seconds_total{job=\\\"node\\\"}) by (cluster, - instance, cpu)) by (cluster)\"\r\n }\r\n ],\r\n \"interval\": \"PT1M\"\r\n - \ }\r\n}" + ( 1, max by (replicaset, namespace, owner_name) ( kube_replicaset_owner{job=\"kube-state-metrics\"} ) ), \"workload\", + \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"deployment"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"DaemonSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"daemonset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"StatefulSet\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"statefulset"}},{"record":"namespace_workload_pod:kube_pod_owner:relabel","expression":"max + by (cluster, namespace, workload, pod) ( label_replace( kube_pod_owner{job=\"kube-state-metrics\", + owner_kind=\"Job\"}, \"workload\", \"$1\", \"owner_name\", \"(.*)\" ))","labels":{"workload_type":"job"}},{"record":":node_memory_MemAvailable_bytes:sum","expression":"sum( node_memory_MemAvailable_bytes{job=\"node\"} + or ( node_memory_Buffers_bytes{job=\"node\"} + node_memory_Cached_bytes{job=\"node\"} + + node_memory_MemFree_bytes{job=\"node\"} + node_memory_Slab_bytes{job=\"node\"} )) + by (cluster)"},{"record":"cluster:node_cpu:ratio_rate5m","expression":"sum(rate(node_cpu_seconds_total{job=\"node\",mode!=\"idle\",mode!=\"iowait\",mode!=\"steal\"}[5m])) + by (cluster) /count(sum(node_cpu_seconds_total{job=\"node\"}) by (cluster, + instance, cpu)) by (cluster)"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '8170' + - '7379' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:17:59 GMT + - Wed, 23 Jul 2025 12:49:57 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/267567b5-c976-4fd5-9c9a-f7e856777d5e x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: DBACA214D5EF4EC7BA165482E94438CB Ref B: BN1AA2051013023 Ref C: 2025-07-23T12:49:56Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '27' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002", "name": "NodeRecordingRulesRuleGroup-Win-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", - "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + "location": "westus2", "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node:windows_node:sum", "expression": "count (windows_system_system_up_time{job=\"windows-exporter\"})"}, {"record": "node:windows_node_num_cpu:sum", "expression": "count by (instance) @@ -4630,96 +5125,76 @@ interactions: Connection: - keep-alive Content-Length: - - '3501' + - '3655' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeRecordingRulesRuleGroup-Win-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"name\": \"NodeRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n \"type\": - \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": \"westus2\",\r\n - \ \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": \"cliakstest000002\",\r\n - \ \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node:sum\",\r\n - \ \"expression\": \"count (windows_system_system_up_time{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_num_cpu:sum\",\r\n - \ \"expression\": \"count by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg(rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_cpu_utilisation:avg5m\",\r\n - \ \"expression\": \"1 - avg by (instance) (rate(windows_cpu_time_total{job=\\\"windows-exporter\\\",mode=\\\"idle\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 -sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"})/sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemFreeCached_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_memory_available_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_cache_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_totalCached_bytes:sum\",\r\n - \ \"expression\": \"(windows_memory_cache_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_modified_page_list_bytes{job=\\\"windows-exporter\\\"} + - windows_memory_standby_cache_core_bytes{job=\\\"windows-exporter\\\"} + windows_memory_standby_cache_normal_priority_bytes{job=\\\"windows-exporter\\\"} - + windows_memory_standby_cache_reserve_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_memory_MemTotal_bytes:sum\",\r\n - \ \"expression\": \"sum(windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_available:sum\",\r\n - \ \"expression\": \"sum by (instance) ((windows_memory_available_bytes{job=\\\"windows-exporter\\\"}))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_bytes_total:sum\",\r\n - \ \"expression\": \"sum by (instance) (windows_os_visible_memory_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_memory_utilisation:ratio\",\r\n - \ \"expression\": \"(node:windows_node_memory_bytes_total:sum - node:windows_node_memory_bytes_available:sum) - / scalar(sum(node:windows_node_memory_bytes_total:sum))\"\r\n },\r\n - \ {\r\n \"record\": \"node:windows_node_memory_utilisation:\",\r\n - \ \"expression\": \"1 - (node:windows_node_memory_bytes_available:sum - / node:windows_node_memory_bytes_total:sum)\"\r\n },\r\n {\r\n \"record\": - \"node:windows_node_memory_swap_io_pages:irate\",\r\n \"expression\": - \"irate(windows_memory_swap_page_operations_total{job=\\\"windows-exporter\\\"}[5m])\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg(irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_disk_utilisation:avg_irate\",\r\n - \ \"expression\": \"avg by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_logical_disk_write_seconds_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002","name":"NodeRecordingRulesRuleGroup-Win-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node:windows_node:sum","expression":"count + (windows_system_system_up_time{job=\"windows-exporter\"})"},{"record":"node:windows_node_num_cpu:sum","expression":"count + by (instance) (sum by (instance, core) (windows_cpu_time_total{job=\"windows-exporter\"}))"},{"record":":windows_node_cpu_utilisation:avg5m","expression":"1 + - avg(rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":"node:windows_node_cpu_utilisation:avg5m","expression":"1 + - avg by (instance) (rate(windows_cpu_time_total{job=\"windows-exporter\",mode=\"idle\"}[5m]))"},{"record":":windows_node_memory_utilisation:","expression":"1 + -sum(windows_memory_available_bytes{job=\"windows-exporter\"})/sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemFreeCached_bytes:sum","expression":"sum(windows_memory_available_bytes{job=\"windows-exporter\"} + + windows_memory_cache_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_totalCached_bytes:sum","expression":"(windows_memory_cache_bytes{job=\"windows-exporter\"} + + windows_memory_modified_page_list_bytes{job=\"windows-exporter\"} + windows_memory_standby_cache_core_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_normal_priority_bytes{job=\"windows-exporter\"} + + windows_memory_standby_cache_reserve_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_memory_MemTotal_bytes:sum","expression":"sum(windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_bytes_available:sum","expression":"sum + by (instance) ((windows_memory_available_bytes{job=\"windows-exporter\"}))"},{"record":"node:windows_node_memory_bytes_total:sum","expression":"sum + by (instance) (windows_os_visible_memory_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_memory_utilisation:ratio","expression":"(node:windows_node_memory_bytes_total:sum + - node:windows_node_memory_bytes_available:sum) / scalar(sum(node:windows_node_memory_bytes_total:sum))"},{"record":"node:windows_node_memory_utilisation:","expression":"1 + - (node:windows_node_memory_bytes_available:sum / node:windows_node_memory_bytes_total:sum)"},{"record":"node:windows_node_memory_swap_io_pages:irate","expression":"irate(windows_memory_swap_page_operations_total{job=\"windows-exporter\"}[5m])"},{"record":":windows_node_disk_utilisation:avg_irate","expression":"avg(irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_disk_utilisation:avg_irate","expression":"avg + by (instance) ((irate(windows_logical_disk_read_seconds_total{job=\"windows-exporter\"}[5m]) + + irate(windows_logical_disk_write_seconds_total{job=\"windows-exporter\"}[5m])))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '4080' + - '3577' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:18:00 GMT + - Wed, 23 Jul 2025 12:49:58 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/63e8645e-80f2-4680-9c38-c7031322573c x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: E272FFDB0A654C67A11C1491C33C7B8A Ref B: BN1AA2051013009 Ref C: 2025-07-23T12:49:58Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '26' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK @@ -4727,7 +5202,8 @@ interactions: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002", "name": "NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002", "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", "properties": - {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2"], + {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": [{"record": "node:windows_node_filesystem_usage:", "expression": "max by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"}, @@ -4741,23 +5217,29 @@ interactions: {"record": "node:windows_node_net_saturation:sum_irate", "expression": "sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m]) + irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m])))"}, - {"record": "windows_pod_container_available", "expression": "windows_container_available{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + {"record": "windows_pod_container_available", "expression": "windows_container_available{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_total_runtime", - "expression": "windows_container_cpu_usage_seconds_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_cpu_usage_seconds_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_memory_usage", - "expression": "windows_container_memory_usage_commit_bytes{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_memory_usage_commit_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_private_working_set_usage", - "expression": "windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_network_received_bytes_total", - "expression": "windows_container_network_receive_bytes_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_network_receive_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "windows_container_network_transmitted_bytes_total", - "expression": "windows_container_network_transmit_bytes_total{job=\"windows-exporter\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\"kube-state-metrics\"}) + "expression": "windows_container_network_transmit_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) by(container, container_id, pod, namespace)"}, {"record": "kube_pod_windows_container_resource_memory_request", "expression": "max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"}) * on(container,pod,namespace) (windows_pod_container_available)"}, {"record": @@ -4780,140 +5262,501 @@ interactions: Connection: - keep-alive Content-Length: - - '4923' + - '5341' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestoo676r method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: body: - string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"name\": \"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002\",\r\n - \ \"type\": \"Microsoft.AlertsManagement/prometheusRuleGroups\",\r\n \"location\": - \"westus2\",\r\n \"properties\": {\r\n \"enabled\": true,\r\n \"clusterName\": - \"cliakstest000002\",\r\n \"scopes\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2\"\r\n - \ ],\r\n \"rules\": [\r\n {\r\n \"record\": \"node:windows_node_filesystem_usage:\",\r\n - \ \"expression\": \"max by (instance,volume)((windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"} - - windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"}) / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_filesystem_avail:\",\r\n - \ \"expression\": \"max by (instance, volume) (windows_logical_disk_free_bytes{job=\\\"windows-exporter\\\"} - / windows_logical_disk_size_bytes{job=\\\"windows-exporter\\\"})\"\r\n },\r\n - \ {\r\n \"record\": \":windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_utilisation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_bytes_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \":windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum(irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m])) - + sum(irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m]))\"\r\n - \ },\r\n {\r\n \"record\": \"node:windows_node_net_saturation:sum_irate\",\r\n - \ \"expression\": \"sum by (instance) ((irate(windows_net_packets_received_discarded_total{job=\\\"windows-exporter\\\"}[5m]) - + irate(windows_net_packets_outbound_discarded_total{job=\\\"windows-exporter\\\"}[5m])))\"\r\n - \ },\r\n {\r\n \"record\": \"windows_pod_container_available\",\r\n - \ \"expression\": \"windows_container_available{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_total_runtime\",\r\n \"expression\": \"windows_container_cpu_usage_seconds_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_memory_usage\",\r\n \"expression\": \"windows_container_memory_usage_commit_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_private_working_set_usage\",\r\n \"expression\": - \"windows_container_memory_usage_private_working_set_bytes{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_network_received_bytes_total\",\r\n \"expression\": - \"windows_container_network_receive_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"windows_container_network_transmitted_bytes_total\",\r\n \"expression\": - \"windows_container_network_transmit_bytes_total{job=\\\"windows-exporter\\\"} - * on(container_id) group_left(container, pod, namespace) max(kube_pod_container_info{job=\\\"kube-state-metrics\\\"}) - by(container, container_id, pod, namespace)\"\r\n },\r\n {\r\n \"record\": - \"kube_pod_windows_container_resource_memory_request\",\r\n \"expression\": - \"max by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_memory_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"memory\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_request\",\r\n - \ \"expression\": \"max by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"}) - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"kube_pod_windows_container_resource_cpu_cores_limit\",\r\n - \ \"expression\": \"kube_pod_container_resource_limits{resource=\\\"cpu\\\",job=\\\"kube-state-metrics\\\"} - * on(container,pod,namespace) (windows_pod_container_available)\"\r\n },\r\n - \ {\r\n \"record\": \"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate\",\r\n - \ \"expression\": \"sum by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))\"\r\n - \ }\r\n ],\r\n \"interval\": \"PT1M\"\r\n }\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002","name":"NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"node:windows_node_filesystem_usage:","expression":"max + by (instance,volume)((windows_logical_disk_size_bytes{job=\"windows-exporter\"} + - windows_logical_disk_free_bytes{job=\"windows-exporter\"}) / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":"node:windows_node_filesystem_avail:","expression":"max + by (instance, volume) (windows_logical_disk_free_bytes{job=\"windows-exporter\"} + / windows_logical_disk_size_bytes{job=\"windows-exporter\"})"},{"record":":windows_node_net_utilisation:sum_irate","expression":"sum(irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_utilisation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_bytes_total{job=\"windows-exporter\"}[5m])))"},{"record":":windows_node_net_saturation:sum_irate","expression":"sum(irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m])) + + sum(irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m]))"},{"record":"node:windows_node_net_saturation:sum_irate","expression":"sum + by (instance) ((irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\"}[5m]) + + irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\"}[5m])))"},{"record":"windows_pod_container_available","expression":"windows_container_available{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_total_runtime","expression":"windows_container_cpu_usage_seconds_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_memory_usage","expression":"windows_container_memory_usage_commit_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_private_working_set_usage","expression":"windows_container_memory_usage_private_working_set_bytes{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_received_bytes_total","expression":"windows_container_network_receive_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"windows_container_network_transmitted_bytes_total","expression":"windows_container_network_transmit_bytes_total{job=\"windows-exporter\", + container_id != \"\"} * on(container_id) group_left(container, pod, namespace) + max(kube_pod_container_info{job=\"kube-state-metrics\", container_id != \"\"}) + by(container, container_id, pod, namespace)"},{"record":"kube_pod_windows_container_resource_memory_request","expression":"max + by (namespace, pod, container) (kube_pod_container_resource_requests{resource=\"memory\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_memory_limit","expression":"kube_pod_container_resource_limits{resource=\"memory\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_request","expression":"max + by (namespace, pod, container) ( kube_pod_container_resource_requests{resource=\"cpu\",job=\"kube-state-metrics\"}) + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"kube_pod_windows_container_resource_cpu_cores_limit","expression":"kube_pod_container_resource_limits{resource=\"cpu\",job=\"kube-state-metrics\"} + * on(container,pod,namespace) (windows_pod_container_available)"},{"record":"namespace_pod_container:windows_container_cpu_usage_seconds_total:sum_rate","expression":"sum + by (namespace, pod, container) (rate(windows_container_total_runtime{}[5m]))"}],"interval":"PT1M"}}' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - - '5570' + - '5255' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:18:01 GMT + - Wed, 23 Jul 2025 12:49:59 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding - x-aspnet-version: - - 4.0.30319 + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/7ce4fbfb-f884-429b-85e8-8272365ababa + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: CC7DB2C798574006811E5C724B565774 Ref B: BN1AA2051015035 Ref C: 2025-07-23T12:49:59Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '28' + x-rate-limit-reset: + - '2025-07-23T12:50:37.6994939Z' + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000002", "name": "UXRecordingRulesRuleGroup - -cliakstest000002", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], + "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage:sum_irate", "expression": "(sum by (namespace, + pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_cpu_usage:sum_irate", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_cpu_usage:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_working_set_bytes{container != \"\", pod != \"\", job + = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(max by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (kube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}))"}, {"record": "ux:controller_workingset_memory:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory:sum\n)"}, {"record": "ux:pod_rss_memory:sum", + "expression": "(\n\t sum by (namespace, pod, cluster, microsoft_resourceid) + (\n\t\tcontainer_memory_rss{container != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(max by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"}, + {"record": "ux:controller_rss_memory:sum", "expression": "sum by (namespace, + node, cluster, created_by_name, created_by_kind, microsoft_resourceid) (\nux:pod_rss_memory:sum\n)"}, + {"record": "ux:pod_container_count:sum", "expression": "sum by (node, created_by_name, + created_by_kind, namespace, cluster, pod, microsoft_resourceid) (\n(\n(\nsum + by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\nor + sum by (container, pod, namespace, cluster, microsoft_resourceid) (kube_pod_init_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* + on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, namespace, + cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_count:sum", "expression": "sum by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"}, {"record": "ux:pod_container_restarts:max", + "expression": "max by (node, created_by_name, created_by_kind, namespace, cluster, + pod, microsoft_resourceid) (\n(\n(\nmax by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_container_status_restarts_total{container != + \"\", pod != \"\", job = \"kube-state-metrics\"})\nor sum by (container, pod, + namespace, cluster, microsoft_resourceid) (kube_pod_init_status_restarts_total{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"}, + {"record": "ux:controller_container_restarts:max", "expression": "max by (node, + created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"}, {"record": "ux:pod_resource_limit:sum", + "expression": "(sum by (cluster, pod, namespace, resource, microsoft_resourceid) + (\n(\n\tmax by (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t + (kube_pod_container_resource_limits{container != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless + (count by (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != \"\", + job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, microsoft_resourceid) + group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"}, {"record": "ux:controller_resource_limit:sum", + "expression": "sum by (cluster, namespace, created_by_name, created_by_kind, + node, resource, microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"}, {"record": + "ux:controller_pod_phase_count:sum", "expression": "sum by (cluster, phase, + node, created_by_kind, created_by_name, namespace, microsoft_resourceid) ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n + or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"}, + {"record": "ux:cluster_pod_phase_count:sum", "expression": "sum by (cluster, + phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"}, + {"record": "ux:node_cpu_usage:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", mode=\"idle\"}[5m]))\n)"}, + {"record": "ux:node_memory_usage:sum", "expression": "sum by (instance, cluster, + microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job = \"node\"}\n- node_memory_MemFree_bytes{job + = \"node\"} \n- node_memory_cached_bytes{job = \"node\"}\n- node_memory_buffers_bytes{job + = \"node\"}\n))"}, {"record": "ux:node_network_receive_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_transmit_drop_total:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '7723' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup - -cliakstestoo676r + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup%20-%20-cliakstest000002?api-version=2023-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup + - -cliakstest000002","name":"UXRecordingRulesRuleGroup - -cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"ux:pod_cpu_usage:sum_irate","expression":"(sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\tirate(container_cpu_usage_seconds_total{container + != \"\", pod != \"\", job = \"cadvisor\"}[5m])\n)) * on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_cpu_usage:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_working_set_bytes{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_workingset_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory:sum\n)"},{"record":"ux:pod_rss_memory:sum","expression":"(\n\t sum + by (namespace, pod, cluster, microsoft_resourceid) (\n\t\tcontainer_memory_rss{container + != \"\", pod != \"\", job = \"cadvisor\"}\n\t )\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(max + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_info{pod != \"\", job = \"kube-state-metrics\"}))"},{"record":"ux:controller_rss_memory:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_rss_memory:sum\n)"},{"record":"ux:pod_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nsum by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_info{container != \"\", pod != \"\", container_id != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_container_info{container != \"\", pod + != \"\", container_id != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, + namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n(\nmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\tkube_pod_info{pod != \"\", + job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_count:sum","expression":"sum + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_count:sum\n)"},{"record":"ux:pod_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, pod, microsoft_resourceid) + (\n(\n(\nmax by (container, pod, namespace, cluster, microsoft_resourceid) + (kube_pod_container_status_restarts_total{container != \"\", pod != \"\", + job = \"kube-state-metrics\"})\nor sum by (container, pod, namespace, cluster, + microsoft_resourceid) (kube_pod_init_status_restarts_total{container != \"\", + pod != \"\", job = \"kube-state-metrics\"})\n)\n* on (pod, namespace, cluster, + microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n(\nmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\tkube_pod_info{pod != \"\", job = \"kube-state-metrics\"}\n)\n)\n)\n\n)"},{"record":"ux:controller_container_restarts:max","expression":"max + by (node, created_by_name, created_by_kind, namespace, cluster, microsoft_resourceid) + (\nux:pod_container_restarts:max\n)"},{"record":"ux:pod_resource_limit:sum","expression":"(sum + by (cluster, pod, namespace, resource, microsoft_resourceid) (\n(\n\tmax by + (cluster, microsoft_resourceid, pod, container, namespace, resource)\n\t (kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n)\n)unless (count by + (pod, namespace, cluster, resource, microsoft_resourceid)\n\t(kube_pod_container_resource_limits{container + != \"\", pod != \"\", job = \"kube-state-metrics\"})\n!= on (pod, namespace, + cluster, microsoft_resourceid) group_left()\n sum by (pod, namespace, cluster, + microsoft_resourceid)\n (kube_pod_container_info{container != \"\", pod != + \"\", job = \"kube-state-metrics\"}) \n)\n\n)* on (namespace, pod, cluster, + microsoft_resourceid) group_left (node, created_by_kind, created_by_name)\n(\n\tkube_pod_info{pod + != \"\", job = \"kube-state-metrics\"}\n)"},{"record":"ux:controller_resource_limit:sum","expression":"sum + by (cluster, namespace, created_by_name, created_by_kind, node, resource, + microsoft_resourceid) (\nux:pod_resource_limit:sum\n)"},{"record":"ux:controller_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, created_by_kind, created_by_name, namespace, microsoft_resourceid) + ( (\n(kube_pod_status_phase{job=\"kube-state-metrics\",pod!=\"\"})\n or (label_replace((count(kube_pod_deletion_timestamp{job=\"kube-state-metrics\",pod!=\"\"}) + by (namespace, pod, cluster, microsoft_resourceid) * count(kube_pod_status_reason{reason=\"NodeLost\", + job=\"kube-state-metrics\"} == 0) by (namespace, pod, cluster, microsoft_resourceid)), + \"phase\", \"terminating\", \"\", \"\"))) * on (pod, namespace, cluster, microsoft_resourceid) + group_left (node, created_by_name, created_by_kind)\n(\nmax by (node, created_by_name, + created_by_kind, pod, namespace, cluster, microsoft_resourceid) (\nkube_pod_info{job=\"kube-state-metrics\",pod!=\"\"}\n)\n)\n)"},{"record":"ux:cluster_pod_phase_count:sum","expression":"sum + by (cluster, phase, node, namespace, microsoft_resourceid) (\nux:controller_pod_phase_count:sum\n)"},{"record":"ux:node_cpu_usage:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(node_cpu_seconds_total{job=\"node\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nnode_memory_MemTotal_bytes{job + = \"node\"}\n- node_memory_MemFree_bytes{job = \"node\"} \n- node_memory_cached_bytes{job + = \"node\"}\n- node_memory_buffers_bytes{job = \"node\"}\n))"},{"record":"ux:node_network_receive_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_receive_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_transmit_drop_total:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(node_network_transmit_drop_total{job=\"node\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' + headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview + cache-control: + - no-cache + content-length: + - '7633' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jul 2025 12:50:01 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/9aec84d3-5c6a-4ef0-9d7a-958318878dbd + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199' + x-msedge-ref: + - 'Ref A: B469B24A280A47E8AC6B9D9219CB2D60 Ref B: BN1AA2051014019 Ref C: 2025-07-23T12:50:00Z' + x-powered-by: + - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '26' + x-rate-limit-reset: + - '2025-07-23T12:50:31.4744605Z' + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000002", "name": "UXRecordingRulesRuleGroup-Win - -cliakstest000002", + "type": "Microsoft.AlertsManagement/prometheusRuleGroups", "location": "westus2", + "properties": {"scopes": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"], + "enabled": true, "clusterName": "cliakstest000002", "interval": "PT1M", "rules": + [{"record": "ux:pod_cpu_usage_windows:sum_irate", "expression": "sum by (cluster, + pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ + container_id != \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, + cluster, microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, + {"record": "ux:controller_cpu_usage_windows:sum_irate", "expression": "sum by + (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"}, {"record": "ux:pod_workingset_memory_windows:sum", + "expression": "sum by (cluster, pod, namespace, node, created_by_kind, created_by_name, + microsoft_resourceid) (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, pod, + namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod != \"\", + job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"}, {"record": "ux:controller_workingset_memory_windows:sum", + "expression": "sum by (namespace, node, cluster, created_by_name, created_by_kind, + microsoft_resourceid) (\nux:pod_workingset_memory_windows:sum\n)"}, {"record": + "ux:node_cpu_usage_windows:sum_irate", "expression": "sum by (instance, cluster, + microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"}, {"record": "ux:node_memory_usage_windows:sum", "expression": + "sum by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"}, + {"record": "ux:node_network_packets_received_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}, {"record": "ux:node_network_packets_outbound_drop_total_windows:sum_irate", + "expression": "sum by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '4071' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.put_rules.UXRecordingRulesRuleGroup-Win - -cliakstestoo676r + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win%20-%20-cliakstest000002?api-version=2023-03-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win + - -cliakstest000002","name":"UXRecordingRulesRuleGroup-Win - -cliakstest000002","type":"Microsoft.AlertsManagement/prometheusRuleGroups","location":"westus2","properties":{"enabled":true,"clusterName":"cliakstest000002","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002"],"rules":[{"record":"ux:pod_cpu_usage_windows:sum_irate","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\tirate(windows_container_cpu_usage_seconds_total{ container_id != + \"\", job = \"windows-exporter\"}[5m])\n\t\t) * on (container_id, cluster, + microsoft_resourceid) group_left (container, pod, namespace) (\n\t\t\tmax + by (container, container_id, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t\t\tkube_pod_container_info{container != \"\", pod != \"\", container_id + != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) * on (pod, namespace, + cluster, microsoft_resourceid) group_left (node, created_by_name, created_by_kind)\n\t(\n\t\tmax + by (node, created_by_name, created_by_kind, pod, namespace, cluster, microsoft_resourceid) + (\n\t\t kube_pod_info{ pod != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_cpu_usage_windows:sum_irate","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_cpu_usage_windows:sum_irate\n)\n"},{"record":"ux:pod_workingset_memory_windows:sum","expression":"sum + by (cluster, pod, namespace, node, created_by_kind, created_by_name, microsoft_resourceid) + (\n\t(\n\t\tmax by (instance, container_id, cluster, microsoft_resourceid) + (\n\t\t\twindows_container_memory_usage_private_working_set_bytes{ container_id + != \"\", job = \"windows-exporter\"}\n\t\t) * on (container_id, cluster, microsoft_resourceid) + group_left (container, pod, namespace) (\n\t\t\tmax by (container, container_id, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t\t\tkube_pod_container_info{container + != \"\", pod != \"\", container_id != \"\", job = \"kube-state-metrics\"}\n\t\t\t)\n\t\t)\n\t) + * on (pod, namespace, cluster, microsoft_resourceid) group_left (node, created_by_name, + created_by_kind)\n\t(\n\t\tmax by (node, created_by_name, created_by_kind, + pod, namespace, cluster, microsoft_resourceid) (\n\t\t kube_pod_info{ pod + != \"\", job = \"kube-state-metrics\"}\n\t\t)\n\t)\n)"},{"record":"ux:controller_workingset_memory_windows:sum","expression":"sum + by (namespace, node, cluster, created_by_name, created_by_kind, microsoft_resourceid) + (\nux:pod_workingset_memory_windows:sum\n)"},{"record":"ux:node_cpu_usage_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (\n(1 - irate(windows_cpu_time_total{job=\"windows-exporter\", + mode=\"idle\"}[5m]))\n)"},{"record":"ux:node_memory_usage_windows:sum","expression":"sum + by (instance, cluster, microsoft_resourceid) ((\nwindows_os_visible_memory_bytes{job + = \"windows-exporter\"}\n- windows_memory_available_bytes{job = \"windows-exporter\"}\n))"},{"record":"ux:node_network_packets_received_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_received_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"},{"record":"ux:node_network_packets_outbound_drop_total_windows:sum_irate","expression":"sum + by (instance, cluster, microsoft_resourceid) (irate(windows_net_packets_outbound_discarded_total{job=\"windows-exporter\", + device!=\"lo\"}[5m]))"}],"interval":"PT1M"}}' + headers: + api-supported-versions: + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview + cache-control: + - no-cache + content-length: + - '4021' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jul 2025 12:50:02 GMT + expires: + - '-1' + pragma: + - no-cache + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/b38b9459-5d32-4f77-8751-4965851a5905 x-ms-ratelimit-remaining-subscription-resource-requests: - - '299' + - '199' + x-msedge-ref: + - 'Ref A: C8CC06A1E70A4B8A813379A9F581CA12 Ref B: BN1AA2051012047 Ref C: 2025-07-23T12:50:01Z' x-powered-by: - ASP.NET + x-rate-limit-limit: + - 1m + x-rate-limit-remaining: + - '25' + x-rate-limit-reset: + - '2025-07-23T12:50:35.6535638Z' status: code: 200 message: OK - request: body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": - {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.25.6", "dnsPrefix": - "cliakstest-clitestptfp5fag2-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": - "standard_d2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", - "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.25.6", "upgradeSettings": {}, "powerState": + {"type": "SystemAssigned"}, "kind": "Base", "properties": {"kubernetesVersion": + "1.32", "dnsPrefix": "cliakstest-clitestr3r2azvbf-79a739", "agentPoolProfiles": + [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": 128, "osDiskType": + "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": + 250, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "scaleDownMode": + "Delete", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "1.32", "upgradeSettings": {"maxSurge": "10%", "maxUnavailable": "0"}, "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser", "enableVTPM": + false, "enableSecureBoot": false}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", - "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": - "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": - "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5"}], - "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": - ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": + "enableRBAC": true, "supportPlan": "KubernetesOfficial", "networkProfile": {"networkPlugin": + "azure", "networkPluginMode": "overlay", "networkPolicy": "none", "networkDataplane": + "azure", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "backendPoolType": + "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], + "ipFamilies": ["IPv4"], "podLinkLocalAccess": "IMDS"}, "autoUpgradeProfile": + {"nodeOSUpgradeChannel": "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, "workloadAutoScalerProfile": {}, "azureMonitorProfile": {"metrics": {"enabled": true, "kubeStateMetrics": {"metricLabelsAllowlist": "", "metricAnnotationsAllowList": - ""}}}}}' + ""}}}, "metricsProfile": {"costAnalysis": {"enabled": false}}, "nodeProvisioningProfile": + {"mode": "Manual", "defaultNodePools": "Auto"}, "bootstrapProfile": {"artifactSource": + "Direct"}}}' headers: Accept: - application/json @@ -4924,94 +5767,114 @@ interactions: Connection: - keep-alive Content-Length: - - '2802' + - '3053' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"nodeLabels\": {},\n \ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"\ + enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\"\ + ,\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\"\ + : \"0\"\n },\n \"enableFIPS\": false,\n \"networkProfile\": {},\n\ + \ \"securityProfile\": {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\"\ + : false,\n \"enableSecureBoot\": false\n },\n \"eTag\": \"14fa3dfd-cece-4e72-8843-84fba1c4ee99\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"7b3a5e02-a4f0-463b-adcb-303403b233e7\"\ + \n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jm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379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s cache-control: - no-cache content-length: - - '4352' + - '5324' content-type: - application/json date: - - Fri, 12 May 2023 10:18:07 GMT + - Wed, 23 Jul 2025 12:50:10 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/91674ec7-6f0b-46d8-ac5e-0175d3bfb019 + x-ms-ratelimit-remaining-subscription-global-writes: + - '12000' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '800' + x-msedge-ref: + - 'Ref A: FCD4E51B539C4EC7990FAF0F71796658 Ref B: BN1AA2051013029 Ref C: 2025-07-23T12:50:03Z' status: code: 200 message: OK @@ -5027,40 +5890,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7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RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s response: body: - string: "{\n \"name\": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:18:07 GMT + - Wed, 23 Jul 2025 12:50:11 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/4f352aae-dc02-42b6-bbb5-5595e5cbfb0a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 9F8C42D966D54687A647DF16455C5540 Ref B: BN1AA2051013045 Ref C: 2025-07-23T12:50:11Z' status: code: 200 message: OK @@ -5076,40 +5940,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7Dhb3kxibECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJK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bygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s response: body: - string: "{\n \"name\": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:18:37 GMT + - Wed, 23 Jul 2025 12:50:41 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/abdce538-043f-461c-85bb-9546a4e2e34a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 0F661553A98A4BED955FDBFE23854F30 Ref B: BN1AA2051012045 Ref C: 2025-07-23T12:50:41Z' status: code: 200 message: OK @@ -5125,40 +5990,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7Dhb3kxibECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEF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": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:19:07 GMT + - Wed, 23 Jul 2025 12:51:11 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/33debdad-d860-46b6-ac09-2de05906f12a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 534E2FEDE53E43EB9D8B312E300D7BC6 Ref B: BN1AA2051012049 Ref C: 2025-07-23T12:51:12Z' status: code: 200 message: OK @@ -5174,40 +6040,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVfSLFIXx0HVGV7eRor0sx2RGYZGR7Dhb3kxibECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08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wBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFKMj8anaTbAXm33UCO7vYNhNpy44oz5yO7ZjJb3j0N71NuEks5a1qeIsv0py0SkYVFbN5ij9j9ZdfP-8fbfSKxDqFsZ-TgzxaYdEm5_QOoFga6iyS42Gk4ER_xE5zr8LDaiFzG9DgD3y_Q3VqHY0mFqQLjgNmPaG2KySPeIoSkGpTkYGD0-x_-45E9IsSRk4J5cj1wY1ZoeyBr8ZIpAlxr6sK7EiKTUJljR0eQKFMr8iO-lb0WYRshpzQjU9EPNYzSQghm_xSNH6_DbHARnd1_5YCc6QG76LhyMwzYIyRW5P379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s response: body: - string: "{\n \"name\": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:19:37 GMT + - Wed, 23 Jul 2025 12:51:42 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/03516a93-fb11-44c7-9f42-2313da71cd0b + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 6A959992E8D741E4869E053210A289CE Ref B: BN1AA2051013021 Ref C: 2025-07-23T12:51:42Z' status: code: 200 message: OK @@ -5223,40 +6090,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0d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QBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFKMj8anaTbAXm33UCO7vYNhNpy44oz5yO7ZjJb3j0N71NuEks5a1qeIsv0py0SkYVFbN5ij9j9ZdfP-8fbfSKxDqFsZ-TgzxaYdEm5_QOoFga6iyS42Gk4ER_xE5zr8LDaiFzG9DgD3y_Q3VqHY0mFqQLjgNmPaG2KySPeIoSkGpTkYGD0-x_-45E9IsSRk4J5cj1wY1ZoeyBr8ZIpAlxr6sK7EiKTUJljR0eQKFMr8iO-lb0WYRshpzQjU9EPNYzSQghm_xSNH6_DbHARnd1_5YCc6QG76LhyMwzYIyRW5P379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s response: body: - string: "{\n \"name\": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:20:08 GMT + - Wed, 23 Jul 2025 12:52:13 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/2114429d-01d8-4cb6-8150-ab2e9bd104e9 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 09E9B132B1964C708068E75B20F690EE Ref B: BN1AA2051013033 Ref C: 2025-07-23T12:52:13Z' status: code: 200 message: OK @@ -5272,41 +6140,91 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1d535bb0-e1f0-477a-ac23-05115d14c9c9?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0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gEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFKMj8anaTbAXm33UCO7vYNhNpy44oz5yO7ZjJb3j0N71NuEks5a1qeIsv0py0SkYVFbN5ij9j9ZdfP-8fbfSKxDqFsZ-TgzxaYdEm5_QOoFga6iyS42Gk4ER_xE5zr8LDaiFzG9DgD3y_Q3VqHY0mFqQLjgNmPaG2KySPeIoSkGpTkYGD0-x_-45E9IsSRk4J5cj1wY1ZoeyBr8ZIpAlxr6sK7EiKTUJljR0eQKFMr8iO-lb0WYRshpzQjU9EPNYzSQghm_xSNH6_DbHARnd1_5YCc6QG76LhyMwzYIyRW5P379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s response: body: - string: "{\n \"name\": \"b05b531d-f0e1-7a47-ac23-05115d14c9c9\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-05-12T10:18:06.6840445Z\",\n \"endTime\": - \"2023-05-12T10:20:20.8468603Z\"\n }" + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" headers: cache-control: - no-cache content-length: - - '170' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:20:38 GMT + - Wed, 23 Jul 2025 12:52:43 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/692a26a8-e29e-4ed4-b1fc-17985ee9d978 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 8B205556ABC347F491495EDB1AB7F914 Ref B: BN1AA2051013011 Ref C: 2025-07-23T12:52:43Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvb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SRk4J5cj1wY1ZoeyBr8ZIpAlxr6sK7EiKTUJljR0eQKFMr8iO-lb0WYRshpzQjU9EPNYzSQghm_xSNH6_DbHARnd1_5YCc6QG76LhyMwzYIyRW5P379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s + response: + body: + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '122' + content-type: + - application/json + date: + - Wed, 23 Jul 2025 12:53:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/dbd371f2-c841-4186-be88-571b14eacc3a + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 632385DE62E049ABAD03B52CC6F00715 Ref B: BN1AA2051012039 Ref C: 2025-07-23T12:53:14Z' status: code: 200 message: OK @@ -5322,86 +6240,205 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --enable-azuremonitormetrics --enable-managed-identity + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity --enable-windows-recording-rules User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c=MIIHhzCCBm-gAwIBAgITfAh_EjM5CPJ1HOWmNAAACH8SMzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwNzE3MDk0NTA0WhcNMjYwMTEzMDk0NTA0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVFdvrsA5Ktxap8eNkW-y7upqcrDgJYyFE4duefCbarjG14TP5gqSv1NIH3heGW-yMTsDnNIU_jmw1wrzp8GVWsEgOnSqxoYhHUqwcvL05RcO-X-yHyxFjEaVc0StnO1GNb6OjUZQGc09gBwXVvzcyy9Ky0Re5siPZfQSCZSxRL3yQvLFWcH2c5c_zzzUXjRnUtRimKDO1uU8_FgAVGPIMQABDu4zlBNNz9aRmo7e8KH8UAOb2aHDjTIgqN5LkTfCYPkqfEVp-PwkT2uupBMf8FB-5z7HRacAbZV9rLx6gBkgrwsVf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D8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s + response: + body: + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '122' + content-type: + - application/json + date: + - Wed, 23 Jul 2025 12:53:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/21d24309-8ca9-452a-ab30-579d793367d5 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: BC379F9D6BA947FAA6F40D64D26097F6 Ref B: BN1AA2051013031 Ref C: 2025-07-23T12:53:44Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94?api-version=2025-03-01&t=638888718109174211&c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fBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAFKMj8anaTbAXm33UCO7vYNhNpy44oz5yO7ZjJb3j0N71NuEks5a1qeIsv0py0SkYVFbN5ij9j9ZdfP-8fbfSKxDqFsZ-TgzxaYdEm5_QOoFga6iyS42Gk4ER_xE5zr8LDaiFzG9DgD3y_Q3VqHY0mFqQLjgNmPaG2KySPeIoSkGpTkYGD0-x_-45E9IsSRk4J5cj1wY1ZoeyBr8ZIpAlxr6sK7EiKTUJljR0eQKFMr8iO-lb0WYRshpzQjU9EPNYzSQghm_xSNH6_DbHARnd1_5YCc6QG76LhyMwzYIyRW5P379sef7Zbu1bCqAt-G940BTh2B0K0VEqqdRx_NjSrk&s=RlnQYAAAgJGygc3QOllHJB1LpBoc84lBb44IaeVqp6uidmFdBGAdHAI6rcaARtA4Nz1tV8M8gJlNNIAdfcbUA-YUYYNu2DRrTJN68uBzes4HLoGzleAiTojBE3uoUMSKrLOlGoBIKmFnrBdlzrZImEoE9k7x8GovBdGpeiBHQcZeczuE8uccD7Zq3ZGB-qwRBD8TCVjzLlMNnIz7Lczj-V5RVef223RVClCgZbXMrw6dCB-t8UTevKPdi8zTCK2bjlJCeBIrAJPeeAYNyiCQGfV2xqkahc6KCUZTmUKXxSjw_4sO7Uf0clbygx8vbjtnpQVDT0xFSNsso4pxSoVtag&h=MwbR31CD6FQJTZ0yBaJiiUhB8NX33rXzGOo8j_iBl-s + response: + body: + string: "{\n \"name\": \"8a1ebdd5-e64d-47bc-aecd-0dfb31df6b94\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2025-07-23T12:50:10.6003107Z\",\n \"endTime\"\ + : \"2025-07-23T12:54:14.7889232Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Wed, 23 Jul 2025 12:54:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/cff09ff3-7fa1-49ed-b439-79565783d2bf + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C3C0D69A671F4F0BB251C27460CEBD5B Ref B: BN1AA2051013045 Ref C: 2025-07-23T12:54:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --enable-azure-monitor-metrics --enable-managed-identity + --enable-windows-recording-rules + User-Agent: + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"35cf109b-cac9-4a11-8bc1-eade6c622c89\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"7f4e1289-6ab2-40f6-9da3-001943b70416\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4354' + - '5304' content-type: - application/json date: - - Fri, 12 May 2023 10:20:39 GMT + - Wed, 23 Jul 2025 12:54:15 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: BAD1F350A7AD45F3822A180CDA302236 Ref B: BN1AA2051015017 Ref C: 2025-07-23T12:54:15Z' status: code: 200 message: OK @@ -5417,85 +6454,103 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - true,\n \"kubeStateMetrics\": {\n \"metricLabelsAllowlist\": \"\",\n - \ \"metricAnnotationsAllowList\": \"\"\n }\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"35cf109b-cac9-4a11-8bc1-eade6c622c89\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": true,\n \"kubeStateMetrics\": {\n \"\ + metricLabelsAllowlist\": \"\",\n \"metricAnnotationsAllowList\": \"\"\n\ + \ }\n }\n },\n \"metricsProfile\": {\n \"costAnalysis\": {\n \"\ + enabled\": false\n }\n },\n \"resourceUID\": \"6880d8b80d445b0001c2186b\"\ + ,\n \"controlPlanePluginProfiles\": {\n \"azure-monitor-metrics-ccp\":\ + \ {\n \"enableV2\": true\n },\n \"gpu-provisioner\": {\n \"enableV2\"\ + : true\n },\n \"karpenter\": {\n \"enableV2\": true\n },\n \"kubelet-serving-csr-approver\"\ + : {\n \"enableV2\": true\n },\n \"live-patching-controller\": {\n \ + \ \"enableV2\": true\n },\n \"static-egress-controller\": {\n \"\ + enableV2\": true\n }\n },\n \"nodeProvisioningProfile\": {\n \"mode\"\ + : \"Manual\",\n \"defaultNodePools\": \"Auto\"\n },\n \"bootstrapProfile\"\ + : {\n \"artifactSource\": \"Direct\"\n }\n },\n \"identity\": {\n \"type\"\ + : \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"eTag\": \"7f4e1289-6ab2-40f6-9da3-001943b70416\"\ + \n}" headers: cache-control: - no-cache content-length: - - '4354' + - '5304' content-type: - application/json date: - - Fri, 12 May 2023 10:20:40 GMT + - Wed, 23 Jul 2025 12:54:16 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 80CBA5BBC44B400DBA727E9B712069EF Ref B: BN1AA2051012021 Ref C: 2025-07-23T12:54:16Z' status: code: 200 message: OK @@ -5511,43 +6566,48 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_dcra method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations?api-version=2022-06-01 response: body: string: '{"value":[{"properties":{"description":"Promtheus data collection association - between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002","name":"ContainerInsightsMetricsExtension-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"4e08f56a-0000-0800-0000-645e12530000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:54.3369938Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:54.3369938Z"}}],"nextLink":null}' + between DCR, DCE and target AKS resource","dataCollectionRuleId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension","name":"ContainerInsightsMetricsExtension","type":"Microsoft.Insights/dataCollectionRuleAssociations","etag":"\"75055cbc-0000-0800-0000-6880da710000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:53.0314488Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:53.0314488Z"}}],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - - '1058' + - '1008' content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:20:41 GMT + - Wed, 23 Jul 2025 12:54:17 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/a287e191-08a6-4b8f-a511-4db192c1c644 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: E34EBF6B2E8A4EDD9AB80E35DF7D08FB Ref B: BN1AA2051013025 Ref C: 2025-07-23T12:54:17Z' status: code: 200 message: OK @@ -5563,18 +6623,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_dce_from_dcr + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_dce_from_dcr method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"description":"DCR description","immutableId":"dcr-47f9c942a60a4808984936e13fba633e","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"4e08816a-0000-0800-0000-645e12510000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:25.8820682Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:52.4817462Z"}}' + string: '{"properties":{"description":"DCR description","immutableId":"dcr-ab663efad29c46c6adaf1e44651113d1","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"75052fbc-0000-0800-0000-6880da700000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:26.5588503Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:52.0377494Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -5582,23 +6643,25 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:20:41 GMT + - Wed, 23 Jul 2025 12:54:17 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: BB37835590494FC387EAECDC7FA593AB Ref B: BN1AA2051013037 Ref C: 2025-07-23T12:54:17Z' status: code: 200 message: OK @@ -5614,18 +6677,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_dcr_if_prometheus_enabled + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_dcr_if_prometheus_enabled method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: body: - string: '{"properties":{"description":"DCR description","immutableId":"dcr-47f9c942a60a4808984936e13fba633e","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"ec050f19-1529-4ec2-9d0c-e6677ca07ac8","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"4e08816a-0000-0800-0000-645e12510000\"","systemData":{"createdBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","createdByType":"Application","createdAt":"2023-05-12T10:17:25.8820682Z","lastModifiedBy":"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d","lastModifiedByType":"Application","lastModifiedAt":"2023-05-12T10:17:52.4817462Z"}}' + string: '{"properties":{"description":"DCR description","immutableId":"dcr-ab663efad29c46c6adaf1e44651113d1","dataCollectionEndpointId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002","dataSources":{"prometheusForwarder":[{"streams":["Microsoft-PrometheusMetrics"],"labelIncludeFilter":{},"name":"PrometheusDataSource"}]},"destinations":{"monitoringAccounts":[{"accountResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DefaultResourceGroup-westus2/providers/microsoft.monitor/accounts/DefaultAzureMonitorWorkspace-westus2","accountId":"47fa17c3-ea86-44d8-a015-7347a49f6140","name":"MonitoringAccount1"}]},"dataFlows":[{"streams":["Microsoft-PrometheusMetrics"],"destinations":["MonitoringAccount1"]}],"provisioningState":"Succeeded"},"location":"westus2","kind":"Linux","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002","name":"MSProm-westus2-cliakstest000002","type":"Microsoft.Insights/dataCollectionRules","etag":"\"75052fbc-0000-0800-0000-6880da700000\"","systemData":{"createdBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","createdByType":"Application","createdAt":"2025-07-23T12:49:26.5588503Z","lastModifiedBy":"705ac000-bf67-4eed-9ba0-9ee723df283a","lastModifiedByType":"Application","lastModifiedAt":"2025-07-23T12:49:52.0377494Z"}}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -5633,23 +6697,25 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:20:43 GMT + - Wed, 23 Jul 2025 12:54:18 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 92A72777560740FCBF4EA3855BDFFC93 Ref B: BN1AA2051014011 Ref C: 2025-07-23T12:54:18Z' status: code: 200 message: OK @@ -5667,38 +6733,45 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_dcra method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension-westus2-cliakstest000002?api-version=2022-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations/ContainerInsightsMetricsExtension?api-version=2022-06-01 response: body: string: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:20:43 GMT + - Wed, 23 Jul 2025 12:54:19 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/54c9d1c2-ff99-49f3-ab71-074d853bb33a x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: B4F2BF73704F472C822C54A8DA56BC9B Ref B: BN1AA2051012031 Ref C: 2025-07-23T12:54:18Z' status: code: 200 message: OK @@ -5716,10 +6789,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_dcr + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_dcr method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionRules/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: @@ -5727,27 +6800,34 @@ interactions: string: '' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:20:46 GMT + - Wed, 23 Jul 2025 12:54:21 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/e15fc456-e06a-4dd1-aa06-47ac77b9bb21 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 38EA97C5F80B4DB2ABF7D5BD835CB39E Ref B: BN1AA2051012049 Ref C: 2025-07-23T12:54:20Z' status: code: 200 message: OK @@ -5765,10 +6845,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_dce + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_dce method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Insights/dataCollectionEndpoints/MSProm-westus2-cliakstest000002?api-version=2022-06-01 response: @@ -5776,27 +6856,33 @@ interactions: string: '' headers: api-supported-versions: - - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:20:53 GMT + - Wed, 23 Jul 2025 12:54:24 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/2dc99a37-1016-4030-be1b-655669bce153 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: E882DA0081784229B966766CFADDFDAC Ref B: BN1AA2051012017 Ref C: 2025-07-23T12:54:21Z' status: code: 200 message: OK @@ -5814,10 +6900,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: @@ -5825,29 +6911,34 @@ interactions: string: '' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:20:56 GMT + - Wed, 23 Jul 2025 12:54:25 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=335603d02015510cb9e8911b6fce9cff5f0289c92ae5064422a7475be44405a6;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/5a1c32c7-5a6b-469a-980e-1be84b983fde x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: F5D3716F20CB4905931C7DCC3E70CA77 Ref B: BN1AA2051015051 Ref C: 2025-07-23T12:54:25Z' x-powered-by: - ASP.NET status: @@ -5867,10 +6958,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.KubernetesRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.KubernetesRecordingRulesRuleGroup-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: @@ -5878,29 +6969,34 @@ interactions: string: '' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:20:58 GMT + - Wed, 23 Jul 2025 12:54:28 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=cb33d9b47d2b617c6ef8792d7b813efbab55c9641d5551b2a9942278a851b65c;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/193bf390-32cc-4195-adb6-850d33c30722 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: C81AE90A184544E6A37DC3BAE797E4AB Ref B: BN1AA2051015029 Ref C: 2025-07-23T12:54:26Z' x-powered-by: - ASP.NET status: @@ -5920,10 +7016,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-Win-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: @@ -5931,29 +7027,34 @@ interactions: string: '' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:21:00 GMT + - Wed, 23 Jul 2025 12:54:29 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus2/498b14ff-5dab-46e2-9545-b632cd1ccfc2 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 171806243C7445EEA6EEF867B2B24C13 Ref B: BN1AA2051013029 Ref C: 2025-07-23T12:54:28Z' x-powered-by: - ASP.NET status: @@ -5973,10 +7074,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: @@ -5984,29 +7085,34 @@ interactions: string: '' headers: api-supported-versions: - - 2021-07-22-preview, 2023-03-01 - arr-disable-session-affinity: - - 'true' + - 2021-07-22-preview, 2023-03-01, 2023-09-01-preview, 2024-11-01-preview, 2025-01-01-preview cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:21:10 GMT + - Wed, 23 Jul 2025 12:54:31 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 + set-cookie: + - ARRAffinity=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;Secure;Domain=prom.westus2.prod.alertsrp.azure.com + - ARRAffinitySameSite=1f27007c48175a2a6ac167d0842fa0bce4a1e350bfb3032935c73274a8fcc446;Path=/;HttpOnly;SameSite=None;Secure;Domain=prom.westus2.prod.alertsrp.azure.com strict-transport-security: - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/115ab2c2-0240-474c-bbd5-b1a5d70065a4 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 76EF9D403DCB4934B0451BAE08584AAE Ref B: BN1AA2051014051 Ref C: 2025-07-23T12:54:30Z' x-powered-by: - ASP.NET status: @@ -6023,11 +7129,105 @@ interactions: - aks update Connection: - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name --yes --output --disable-azure-monitor-metrics + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.UXRecordingRulesRuleGroup - cliakstestoo676r + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup%20-%20cliakstest000002?api-version=2023-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 23 Jul 2025 12:54:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: CDF576D109CA40C9BE86B3763C8BA45A Ref B: BN1AA2051013011 Ref C: 2025-07-23T12:54:31Z' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.get_dcra + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.UXRecordingRulesRuleGroup-Win - cliakstestoo676r + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win%20-%20cliakstest000002?api-version=2023-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 23 Jul 2025 12:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: D537964C8BF14B8A9A492EFB0DF56A16 Ref B: BN1AA2051015009 Ref C: 2025-07-23T12:54:32Z' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --disable-azure-monitor-metrics + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.get_dcra method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.Insights/dataCollectionRuleAssociations?api-version=2022-06-01 response: @@ -6035,7 +7235,8 @@ interactions: string: '{"value":[],"nextLink":null}' headers: api-supported-versions: - - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11 + - 2019-11-01-preview, 2021-04-01, 2021-09-01-preview, 2022-06-01, 2023-03-11, + 2024-03-11, 2025-05-11 cache-control: - no-cache content-length: @@ -6043,21 +7244,27 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 12 May 2023 10:21:11 GMT + - Wed, 23 Jul 2025 12:54:32 GMT expires: - '-1' pragma: - no-cache request-context: - appId=cid-v1:2bbfbac8-e1b0-44af-b9c6-3a40669d37e3 - server: - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains vary: - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/25672341-dcfc-49b0-b7ef-40f88e8ea555 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: BD311EF1D91A446EA4DDB5CE2B738407 Ref B: BN1AA2051014037 Ref C: 2025-07-23T12:54:32Z' status: code: 200 message: OK @@ -6075,10 +7282,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: @@ -6088,17 +7295,23 @@ interactions: cache-control: - no-cache date: - - Fri, 12 May 2023 10:21:12 GMT + - Wed, 23 Jul 2025 12:54:32 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 4A6A75EDD7C74862A14F3DB7C593B05B Ref B: BN1AA2051015031 Ref C: 2025-07-23T12:54:33Z' status: code: 204 message: No Content @@ -6116,10 +7329,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.KubernetesRecordingRulesRuleGroup-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.KubernetesRecordingRulesRuleGroup-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/KubernetesRecordingRulesRuleGroup-cliakstest000002?api-version=2023-03-01 response: @@ -6129,17 +7342,23 @@ interactions: cache-control: - no-cache date: - - Fri, 12 May 2023 10:21:12 GMT + - Wed, 23 Jul 2025 12:54:33 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: E2C084BD9C9A4E8D982DF1CC75BEC2F6 Ref B: BN1AA2051012047 Ref C: 2025-07-23T12:54:33Z' status: code: 204 message: No Content @@ -6157,10 +7376,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeRecordingRulesRuleGroup-Win-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: @@ -6170,17 +7389,23 @@ interactions: cache-control: - no-cache date: - - Fri, 12 May 2023 10:21:12 GMT + - Wed, 23 Jul 2025 12:54:34 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: E045D3E82A1545A6929A72FEEF3DDC57 Ref B: BN1AA2051014021 Ref C: 2025-07-23T12:54:34Z' status: code: 204 message: No Content @@ -6198,10 +7423,10 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - python/3.8.10 (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) AZURECLI/2.48.1 - azuremonitormetrics.delete_rule.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestowvpah + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstestoo676r method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/NodeAndKubernetesRecordingRulesRuleGroup-Win-cliakstest000002?api-version=2023-03-01 response: @@ -6211,46 +7436,151 @@ interactions: cache-control: - no-cache date: - - Fri, 12 May 2023 10:21:12 GMT + - Wed, 23 Jul 2025 12:54:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: FDA7BC5C734B4D91A8CF0A3AF7B4CBF2 Ref B: BN1AA2051012019 Ref C: 2025-07-23T12:54:34Z' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name --yes --output --disable-azure-monitor-metrics + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.UXRecordingRulesRuleGroup - cliakstestoo676r + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup%20-%20cliakstest000002?api-version=2023-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 23 Jul 2025 12:54:34 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 2753874CC8E84DBE833AC9789B65BD7D Ref B: BN1AA2051013025 Ref C: 2025-07-23T12:54:34Z' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name --yes --output --disable-azure-monitor-metrics + User-Agent: + - python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) AZURECLI/2.75.0 + (DOCKER) azuremonitormetrics.delete_rule.UXRecordingRulesRuleGroup-Win - cliakstestoo676r + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.AlertsManagement/prometheusRuleGroups/UXRecordingRulesRuleGroup-Win%20-%20cliakstest000002?api-version=2023-03-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Wed, 23 Jul 2025 12:54:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 841F62686C834781BC4DD7759A1F1E3E Ref B: BN1AA2051014021 Ref C: 2025-07-23T12:54:35Z' status: code: 204 message: No Content - request: body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": - {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.25.6", "dnsPrefix": - "cliakstest-clitestptfp5fag2-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": - "standard_d2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": - "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", - "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.25.6", "upgradeSettings": {}, "powerState": + {"type": "SystemAssigned"}, "kind": "Base", "properties": {"kubernetesVersion": + "1.32", "dnsPrefix": "cliakstest-clitestr3r2azvbf-79a739", "agentPoolProfiles": + [{"count": 3, "vmSize": "standard_d2s_v3", "osDiskSizeGB": 128, "osDiskType": + "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": + 250, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "scaleDownMode": + "Delete", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "1.32", "upgradeSettings": {"maxSurge": "10%", "maxUnavailable": "0"}, "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser", "enableVTPM": + false, "enableSecureBoot": false}, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", - "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": - "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": - "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", - "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5"}], - "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": - ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": + "enableRBAC": true, "supportPlan": "KubernetesOfficial", "networkProfile": {"networkPlugin": + "azure", "networkPluginMode": "overlay", "networkPolicy": "none", "networkDataplane": + "azure", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "backendPoolType": + "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], + "ipFamilies": ["IPv4"], "podLinkLocalAccess": "IMDS"}, "autoUpgradeProfile": + {"nodeOSUpgradeChannel": "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, "workloadAutoScalerProfile": {}, "azureMonitorProfile": {"metrics": {"enabled": - false}}}}' + false}}, "metricsProfile": {"costAnalysis": {"enabled": false}}, "nodeProvisioningProfile": + {"mode": "Manual", "defaultNodePools": "Auto"}, "bootstrapProfile": {"artifactSource": + "Direct"}}}' headers: Accept: - application/json @@ -6261,92 +7591,111 @@ interactions: Connection: - keep-alive Content-Length: - - '2718' + - '2969' Content-Type: - application/json ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - false\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Updating\",\n \ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"nodeLabels\": {},\n \ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"\ + enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\"\ + ,\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202507.06.0\"\ + ,\n \"upgradeSettings\": {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\"\ + : \"0\"\n },\n \"enableFIPS\": false,\n \"networkProfile\": {},\n\ + \ \"securityProfile\": {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\"\ + : false,\n \"enableSecureBoot\": false\n },\n \"eTag\": \"35cf109b-cac9-4a11-8bc1-eade6c622c89\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": false\n }\n },\n \"metricsProfile\": {\n\ + \ \"costAnalysis\": {\n \"enabled\": false\n }\n },\n \"resourceUID\"\ + : \"6880d8b80d445b0001c2186b\",\n \"controlPlanePluginProfiles\": {\n \"\ + azure-monitor-metrics-ccp\": {\n \"enableV2\": true\n },\n \"gpu-provisioner\"\ + : {\n \"enableV2\": true\n },\n \"karpenter\": {\n \"enableV2\"\ + : true\n },\n \"kubelet-serving-csr-approver\": {\n \"enableV2\": true\n\ + \ },\n \"live-patching-controller\": {\n \"enableV2\": true\n },\n\ + \ \"static-egress-controller\": {\n \"enableV2\": true\n }\n },\n\ + \ \"nodeProvisioningProfile\": {\n \"mode\": \"Manual\",\n \"defaultNodePools\"\ + : \"Auto\"\n },\n \"bootstrapProfile\": {\n \"artifactSource\": \"Direct\"\ + \n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"\ + eTag\": \"7f4e1289-6ab2-40f6-9da3-001943b70416\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJu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zby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=kkhJ8tLMmFSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI cache-control: - no-cache content-length: - - '4244' + - '5220' content-type: - application/json date: - - Fri, 12 May 2023 10:21:17 GMT + - Wed, 23 Jul 2025 12:54:40 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/dc30691f-33c4-43e7-a346-8126b387f0c2 + x-ms-ratelimit-remaining-subscription-global-writes: + - '12000' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '800' + x-msedge-ref: + - 'Ref A: 4A145F29AC374E66AD7DB44E3A648DB3 Ref B: BN1AA2051014047 Ref C: 2025-07-23T12:54:35Z' status: code: 200 message: OK @@ -6362,39 +7711,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2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5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=kkhJ8tLMmFSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI response: body: - string: "{\n \"name\": \"232501d8-f140-a743-8b73-e6f886b73977\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:21:17.1548335Z\"\n }" + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:21:17 GMT + - Wed, 23 Jul 2025 12:54:40 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/cc1ad8d8-3020-41a3-bc16-68e0d9e381f9 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 256EF8017BC94C1697E61C278F3FA8EB Ref B: BN1AA2051015047 Ref C: 2025-07-23T12:54:41Z' status: code: 200 message: OK @@ -6410,39 +7760,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbm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z-imnAr2sRjY2-oFCIwA_6iBWQGOs3zWvXURsHZfWHDKbljlc-1h79HmMScP_IY55kHTCF0RMy8VUfOCphEuslyv1g12GRc4TVz69V_UHj3IUNph7Ukn5jcfCQUFOF20DC2I9WHJw0vYuNvBWr26O8v4EFVkQ1erMdxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=kkhJ8tLMmFSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI response: body: - string: "{\n \"name\": \"232501d8-f140-a743-8b73-e6f886b73977\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:21:17.1548335Z\"\n }" + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:21:48 GMT + - Wed, 23 Jul 2025 12:55:12 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/54b5a9b5-8e3a-46ec-a874-2cb5b4b994ca + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 62B8581136DA44B7863C9A4204A234BB Ref B: BN1AA2051015021 Ref C: 2025-07-23T12:55:12Z' status: code: 200 message: OK @@ -6458,39 +7809,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MII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u2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI response: body: - string: "{\n \"name\": \"232501d8-f140-a743-8b73-e6f886b73977\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:21:17.1548335Z\"\n }" + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:22:18 GMT + - Wed, 23 Jul 2025 12:55:42 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/f23f8ba9-8050-49eb-9051-d01ef850f0bb + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: ABC3CACA8B924DC38C5F67FB6ABEB110 Ref B: BN1AA2051015053 Ref C: 2025-07-23T12:55:43Z' status: code: 200 message: OK @@ -6506,39 +7858,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy6aSR24Lg8LLBYIreXRrIhkPMuEWZEFpOJdHgscSXv8RSqJo39at890NqqCatOxlFVew36K4fsaxnh4zSzTT_HOFb00h5R7Qs_K5LECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmR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FSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI response: body: - string: "{\n \"name\": \"232501d8-f140-a743-8b73-e6f886b73977\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-05-12T10:21:17.1548335Z\"\n }" + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\"\n}" headers: cache-control: - no-cache content-length: - - '126' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:22:48 GMT + - Wed, 23 Jul 2025 12:56:13 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/eastus/3c1325c0-16ee-49e0-8be0-f4ba718210ed + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 768AD8CD58D04705BA1155859D7C00D2 Ref B: BN1AA2051015011 Ref C: 2025-07-23T12:56:13Z' status: code: 200 message: OK @@ -6554,40 +7907,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d8012523-40f1-43a7-8b73-e6f886b73977?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJKKJiaJuYgmC56Xy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qBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=kkhJ8tLMmFSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI response: body: - string: "{\n \"name\": \"232501d8-f140-a743-8b73-e6f886b73977\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-05-12T10:21:17.1548335Z\",\n \"endTime\": - \"2023-05-12T10:23:00.023292Z\"\n }" + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\"\n}" headers: cache-control: - no-cache content-length: - - '169' + - '122' content-type: - application/json date: - - Fri, 12 May 2023 10:23:18 GMT + - Wed, 23 Jul 2025 12:56:44 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/e0020315-6190-4bbf-9a3d-04b4c6c8f9a9 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 71DF460C6AE142DD99ACFD0622C5D6A7 Ref B: BN1AA2051014021 Ref C: 2025-07-23T12:56:44Z' status: code: 200 message: OK @@ -6603,84 +7956,151 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --yes --output --disable-azuremonitormetrics + - --resource-group --name --yes --output --disable-azure-monitor-metrics User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/26497133-a059-43c2-b688-cff6c97fbfb7?api-version=2025-03-01&t=638888720813337334&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFay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dxdlWuW98Dx5lxFJ0-R0iCD-dsCKD4ciSzYYSTj4p1L6k5wR8i8uEUwZK34HoXgeZSN8B5GWXCveFc5-uFKM_pVI5spVQIfXVgIuMD-34fVnNsnplKi-MZGDPAakYoerIUnN6PGQOWZETuo8QRIWB11KYjYqACIWtE0gMdacSO5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=kkhJ8tLMmFSC6MllKuQOR0LvgOqvOiRNixQ5S_XjTEfgfbXZ9QMBQRkXoU9PHG26muQecWsAtAxeheXeS76Z7BB-LuCt9rTKANCDBRXuO7-Q9-JgoeFhg_5G-jIubGX5tIrgJsTIzmCFfOKtmvaAjSqQLKIFdin4XWFEJM6ZaafbDFIjDmkb9oARBPGYgv_mSMx-4ukYTXiXsTMu2gMfkCaYEsZXx5JvT5-_v8XIFJ_Y1Uz7VQaIcC5KLu2TfxxhxAr2KiLVUWCtLlZGLoV8V-wnsdagTRtNJxrjfVsD-J9Cxl6FqZuw9PBoc80KFlgeZxlXLIFOFQ9d1nU4JmmRkw&h=LaYkHQVpgtfhrZTEyNZ-Vk4DOW5vmKbt6G8Yo-BO3JI + response: + body: + string: "{\n \"name\": \"26497133-a059-43c2-b688-cff6c97fbfb7\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2025-07-23T12:54:41.1234541Z\",\n \"endTime\"\ + : \"2025-07-23T12:57:01.6167299Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Wed, 23 Jul 2025 12:57:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/207f0848-cc01-4127-a0c0-2c0a7db5d55d + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 314523E307CD4C8CACAD3B11F450506D Ref B: BN1AA2051014027 Ref C: 2025-07-23T12:57:14Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes --output --disable-azure-monitor-metrics + User-Agent: + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestptfp5fag2-79a739\",\n \"fqdn\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestptfp5fag2-79a739-ov4h7wyy.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-2204gen2containerd-202304.20.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6KMZXmoqRKj+j4e28AhnTXr9JCOc0XesvyJXYxDvqLYirUlu0OidbAfdiMDitSn/k7Nzc2RTBNZm8aHud8JvihvJIASnGPxglsFqJqKI25pWzcT2C+hahA60pK/d47eDtEh/3Dwe2ZRZqG9f/65WZSb9p8DQbarqAA+Xs0kBgT61QE3iABnA22ewDwbCCiJSZPVBbq/Do21kZ/1aGpxwVC9RfhH1e1gEXz2NmhlIdhMwaXZFEuuFhd+ENEUtlkt68CtQxVEZP6Kx1sKldr3aUh/vmYLU26M1DTtm7EFJa9C4ciOIogbO8yi3LVTbXwELiMwiQvywQ14uJ80Fim8xt - azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"enableLTS\": \"KubernetesOfficial\",\n - \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": - \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": - {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/d25318c0-4369-4a6b-b1ef-f187049b71f5\"\n - \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n - \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": - {},\n \"azureMonitorProfile\": {\n \"metrics\": {\n \"enabled\": - false\n }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Base\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"kind\": \"Base\",\n\ + \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\"\ + : {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.32\",\n\ + \ \"currentKubernetesVersion\": \"1.32.5\",\n \"dnsPrefix\": \"cliakstest-clitestr3r2azvbf-79a739\"\ + ,\n \"fqdn\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr3r2azvbf-79a739-npi98hr5.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"\ + count\": 3,\n \"vmSize\": \"standard_d2s_v3\",\n \"osDiskSizeGB\": 128,\n\ + \ \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"\ + workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 250,\n \"type\"\ + : \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n \"\ + scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n\ + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.32\",\n \"currentOrchestratorVersion\": \"1.32.5\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n\ + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-2204gen2containerd-202507.06.0\",\n \"upgradeSettings\":\ + \ {\n \"maxSurge\": \"10%\",\n \"maxUnavailable\": \"0\"\n },\n\ + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\"\ + : {\n \"sshAccess\": \"LocalUser\",\n \"enableVTPM\": false,\n \ + \ \"enableSecureBoot\": false\n },\n \"eTag\": \"fbe20b60-b716-40da-bfef-c28a94852c50\"\ + \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n\ + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa\ + \ AAAAB3NzaC1yc2EAAAADAQABAAABAQCiThM3FKyw5qkakcJgXoZYnK5CaqMUBbR7IMSUlQ33tf0pyANFAa1wr2zpicjospBdhI7yANRIti1cDgOFemPDj67OqxebcTHRHYqm5orAdzS57pUfPWcgQNuuQ4/HQADM20jP1oGXghUbMJKNUlMBgtJ3Bb+0dDAAekeywTPlLgBKEufnySrQ0WOXGzgT07GRQffNMBGMiIHNg46mOHkuOYJ+8wOz/FGt1QYLiN4pD3KCKscgJbw3ajJ6HahWBRRT9kcyqD9DOHLJ6q+sUYUwRmnztit9N9x5WYcbxpzlxT05qXlvyJQap0Dyev4WouGytSTx9z1xUtu+GMZ0HeOZ\ + \ azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_westus2\",\n \"\ + enableRBAC\": true,\n \"supportPlan\": \"KubernetesOfficial\",\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"azure\",\n \"networkPluginMode\": \"overlay\"\ + ,\n \"networkPolicy\": \"none\",\n \"networkDataplane\": \"azure\",\n\ + \ \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \ + \ \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\"\ + : [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7a1f7afc-d84f-4928-ad5f-91c4a4fee9b8\"\ + \n }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n\ + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n\ + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\"\ + ,\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\":\ + \ [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ],\n\ + \ \"podLinkLocalAccess\": \"IMDS\"\n },\n \"maxAgentPools\": 100,\n \"\ + identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"autoUpgradeProfile\"\ + : {\n \"nodeOSUpgradeChannel\": \"NodeImage\"\n },\n \"disableLocalAccounts\"\ + : false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\"\ + : {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\"\ + : {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\"\ + : true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n\ + \ \"workloadAutoScalerProfile\": {},\n \"azureMonitorProfile\": {\n \"\ + metrics\": {\n \"enabled\": false\n }\n },\n \"metricsProfile\": {\n\ + \ \"costAnalysis\": {\n \"enabled\": false\n }\n },\n \"resourceUID\"\ + : \"6880d8b80d445b0001c2186b\",\n \"controlPlanePluginProfiles\": {\n \"\ + azure-monitor-metrics-ccp\": {\n \"enableV2\": true\n },\n \"gpu-provisioner\"\ + : {\n \"enableV2\": true\n },\n \"karpenter\": {\n \"enableV2\"\ + : true\n },\n \"kubelet-serving-csr-approver\": {\n \"enableV2\": true\n\ + \ },\n \"live-patching-controller\": {\n \"enableV2\": true\n },\n\ + \ \"static-egress-controller\": {\n \"enableV2\": true\n }\n },\n\ + \ \"nodeProvisioningProfile\": {\n \"mode\": \"Manual\",\n \"defaultNodePools\"\ + : \"Auto\"\n },\n \"bootstrapProfile\": {\n \"artifactSource\": \"Direct\"\ + \n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n },\n \"\ + eTag\": \"f1cdc640-0acf-448f-a122-4e8ac140dcbe\"\n}" headers: cache-control: - no-cache content-length: - - '4246' + - '5200' content-type: - application/json date: - - Fri, 12 May 2023 10:23:19 GMT + - Wed, 23 Jul 2025 12:57:15 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: DBAA89D2314C4150B20514F8C73E9BA3 Ref B: BN1AA2051013021 Ref C: 2025-07-23T12:57:15Z' status: code: 200 message: OK @@ -6700,8 +8120,7 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.48.1 azsdk-python-azure-mgmt-containerservice/22.0.0b Python/3.8.10 - (Linux-5.15.0-1037-azure-x86_64-with-glibc2.29) + - AZURECLI/2.75.0 (DOCKER) azsdk-python-core/1.35.0 Python/3.12.9 (Linux-6.8.0-1031-azure-x86_64-with-glibc2.38) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2025-06-02-preview response: @@ -6709,27 +8128,33 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c4286fb7-e90b-4f67-8a59-a563b4765e1f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ea4ed593-f2b2-4616-95b5-9a9773557afc?api-version=2025-03-01&t=638888722385377338&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDMwHhcNMjUwNzIwMTgxMjU5WhcNMjYwMTE2MTgxMjU5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALipUy-MCRvk21x0zPGPVnw-mYeAVZy3ITscIsIzi4wQqkqQqDh9mQJZL_vfOBBPUBeQFayU0YXpgvlUGCrkBCTaU5Qlw_w3XsGszqMRTAcqKJ1UIrgeb_p6_ZQL5qcXY8Dqs3KV6sbYO22tco5pQ5b9PrA2vMgzA9RaW4HkNYzyHxM1Ep3ZxHoqcMSkdWmz3sdrchqP_KVVLUdbCYxxO_WTYzWB1FXnSIJ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O5c4jnzzby1XmMELUqBM1qPNxH27duiEWTtlVTMfLcb6rpghXpc-HOk1V8JHPNseHN45df-NnX83WeQpPF_h79gGeXwX6gW66vwd4hSVqnmnvKIp1DsPVnPU8D4UauwzzU34gfb2BKCf_XXG1IZfSNZLUYm2WjbpG3EdX1t7OHZPeDJ3wjUbaHykzwCP5-BbpiB4sb-oqMNI_Ext-cWSNkA4Fbc8C8BuL-sxKF_Mq0CqhtPfOovJns&s=qLpyQ1xV7NqkYM5oeSmT-qrm85APKIfc2lyeQn-nyL-nxgHcaRdCxE5nXn1TWyT8eqPnWlKN12H6Wxr-ThjmC_Q4k6xPc1C20GdaTTCYg375Cywa_PztSbLSR6j9FmKckm5qKeuxsHydMuEcrhlHfHg7SxFuDKK82NO42-vDVCiUwRaFoGJ5uLkMWKBTp24__yXXyowTl89zuJ6xN7C3FVM007WjrmiRaWNZnjLSmaM5YJ6FtGCsgyb8U2X3mcV6n8uXrISC9-qpEWl-lwML2mFRUTMtCXwBz-ffgOmFe_9fwsESnMNaKpVzL5LCRIO7nPHr1aO3XoRiIDBGgOGeyw&h=Hd0dV-FJll1g5cOtm1qbwqjZGIyuBY5xm9953399sSE cache-control: - no-cache content-length: - '0' date: - - Fri, 12 May 2023 10:23:20 GMT + - Wed, 23 Jul 2025 12:57:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/c4286fb7-e90b-4f67-8a59-a563b4765e1f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/ea4ed593-f2b2-4616-95b5-9a9773557afc?api-version=2025-03-01&t=638888722385846097&c=MIIIpTCCBo2gAwIBAgITFgGu4p87zdtEnAmRzQABAa7inzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQD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Pw1L4 pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - appId=705ac000-bf67-4eed-9ba0-9ee723df283a,tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=5af09b5f-af8f-4912-b9fb-db5c227ad834/southcentralus/b964469e-fda2-4b49-843c-ebcab9469868 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '799' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '11999' + x-msedge-ref: + - 'Ref A: 4F8875AAA2A94193B1A8EC815C4877F8 Ref B: BN1AA2051015025 Ref C: 2025-07-23T12:57:16Z' status: code: 202 message: Accepted diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index d1d479601ce..3990bd656cb 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -11525,6 +11525,7 @@ def test_aks_update_with_defender(self, resource_group, resource_group_location) checks=[self.is_empty()], ) + @live_only() @AllowLargeResponse() @AKSCustomResourceGroupPreparer( random_name_length=17, name_prefix="clitest", location="westus2" @@ -11819,6 +11820,7 @@ def test_aks_create_with_azurecontainerstorage_with_nodepool_name( ], ) + @live_only() @AllowLargeResponse() @AKSCustomResourceGroupPreparer( random_name_length=17, name_prefix="clitest", location="westus2"