az monitor

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

Manage the Azure Monitor Service.

Commands

Name Description Type Status
az monitor account

Manage monitor account.

Core GA
az monitor account create

Create a workspace.

Core GA
az monitor account delete

Delete a workspace.

Core GA
az monitor account list

List all workspaces in the specified subscription.

Core GA
az monitor account show

Show the specific azure monitor workspace.

Core GA
az monitor account update

Update a workspace.

Core GA
az monitor account wait

Place the CLI in a waiting state until a condition is met.

Core GA
az monitor action-group

Manage action groups.

Core GA
az monitor action-group create

Create a new action group.

Core GA
az monitor action-group delete

Delete an action group.

Core GA
az monitor action-group enable-receiver

Enable a receiver in an action group.

Core GA
az monitor action-group list

List action groups under a resource group or the current subscription.

Core GA
az monitor action-group show

Show the details of an action group.

Core GA
az monitor action-group test-notifications

Manage action groups test-notifications.

Core GA
az monitor action-group test-notifications create

Create an action group test-notifications.

Core GA
az monitor action-group update

Update an action group.

Core GA
az monitor action-group wait

Place the CLI in a waiting state.

Core GA
az monitor activity-log

Manage activity logs.

Core GA
az monitor activity-log alert

Manage activity log alert rules.

Core GA
az monitor activity-log alert action-group Core GA
az monitor activity-log alert action-group add

Add action groups to this activity log alert rule. It can also be used to overwrite existing webhook properties of particular action groups.

Core GA
az monitor activity-log alert action-group remove

Remove action groups from this activity log alert rule.

Core GA
az monitor activity-log alert create

Create a default activity log alert rule.

Core GA
az monitor activity-log alert delete

Delete an activity log alert.

Core GA
az monitor activity-log alert list

List activity log alert rules under a resource group or the current subscription.

Core GA
az monitor activity-log alert scope Core GA
az monitor activity-log alert scope add

Add scopes to this activity log alert rule.

Core GA
az monitor activity-log alert scope remove

Removes scopes from this activity log alert rule.

Core GA
az monitor activity-log alert show

Get an activity log alert.

Core GA
az monitor activity-log alert update

Update a new activity log alert or update an existing one.

Core GA
az monitor activity-log list

List and query activity log events.

Core GA
az monitor activity-log list-categories

List the list of available event categories supported in the Activity Logs Service.

Core GA
az monitor alert-processing-rule

Manage alert processing rule with alertsmanagement.

Extension Preview
az monitor alert-processing-rule create

Create an alert processing rule.

Extension Preview
az monitor alert-processing-rule delete

Delete an alert processing rule.

Extension Preview
az monitor alert-processing-rule list

List all alert processing rules in a subscription or resource group.

Extension Preview
az monitor alert-processing-rule show

Get an alert processing rule.

Extension Preview
az monitor alert-processing-rule update

Enable, disable, or update tags for an alert processing rule.

Extension Preview
az monitor app-insights

Commands for querying data in Application Insights applications.

Extension GA
az monitor app-insights api-key

Operations on API keys associated with an Application Insights component.

Extension GA
az monitor app-insights api-key create

Create an API Key of an Application Insights component.

Extension GA
az monitor app-insights api-key delete

Delete an API key from an Application Insights resource.

Extension GA
az monitor app-insights api-key show

Get all keys or a specific API key associated with an Application Insights resource.

Extension GA
az monitor app-insights component

Manage an Application Insights component or its subcomponents.

Extension GA
az monitor app-insights component billing

Manage an Application Insights component billing features.

Extension GA
az monitor app-insights component billing show

Show the billing features of an Application Insights resource.

Extension GA
az monitor app-insights component billing update

Update the billing features of an Application Insights resource.

Extension GA
az monitor app-insights component connect-function

Connect AI to an Azure function.

Extension GA
az monitor app-insights component connect-webapp

Connect AI to a web app.

Extension GA
az monitor app-insights component continues-export

Manage Continuous Export configurations for an Application Insights component.

Extension GA
az monitor app-insights component continues-export create

Create a Continuous Export configuration for an Application Insights component.

Extension GA
az monitor app-insights component continues-export delete

Delete a specific Continuous Export configuration of an Application Insights component.

Extension GA
az monitor app-insights component continues-export list

List a list of Continuous Export configuration of an Application Insights component.

Extension GA
az monitor app-insights component continues-export show

Get the Continuous Export configuration for this export id.

Extension GA
az monitor app-insights component continues-export update

Update a Continuous Export configuration for an Application Insights component.

Extension GA
az monitor app-insights component create

Create a new Application Insights resource.

Extension GA
az monitor app-insights component delete

Delete a new Application Insights resource.

Extension GA
az monitor app-insights component favorite

Manage component favorite.

Extension GA
az monitor app-insights component favorite create

Create a new favorites to an Application Insights component.

Extension GA
az monitor app-insights component favorite delete

Delete a favorite that is associated to an Application Insights component.

Extension GA
az monitor app-insights component favorite list

List a list of favorites defined within an Application Insights component.

Extension GA
az monitor app-insights component favorite show

Get a single favorite by its FavoriteId, defined within an Application Insights component.

Extension GA
az monitor app-insights component favorite update

Update a new favorites to an Application Insights component.

Extension GA
az monitor app-insights component linked-storage

Manage linked storage account for an Application Insights component.

Extension GA
az monitor app-insights component linked-storage link

Link a storage account with an Application Insights component.

Extension GA
az monitor app-insights component linked-storage show

Get the current linked storage settings for an Application Insights component.

Extension GA
az monitor app-insights component linked-storage unlink

Unlink a storage account with an Application Insights component.

Extension GA
az monitor app-insights component linked-storage update

Update current linked storage account for an Application Insights component.

Extension GA
az monitor app-insights component quotastatus

Manage component quotastatus.

Extension GA
az monitor app-insights component quotastatus show

Show daily data volume cap (quota) status for an Application Insights component.

Extension GA
az monitor app-insights component show

Get an Application Insights resource.

Extension GA
az monitor app-insights component update

Update properties on an existing Application Insights resource. The primary value which can be updated is kind, which customizes the UI experience.

Extension GA
az monitor app-insights component update-tags

Update tags on an existing Application Insights resource.

Extension GA
az monitor app-insights events

Retrieve events from an application.

Extension GA
az monitor app-insights events show

List events by type or view a single event from an application, specified by type and ID.

Extension GA
az monitor app-insights metrics

Retrieve metrics from an application.

Extension GA
az monitor app-insights metrics get-metadata

Get the metadata for metrics on a particular application.

Extension GA
az monitor app-insights metrics show

View the value of a single metric.

Extension GA
az monitor app-insights migrate-to-new-pricing-model

Enterprise Agreement Customer opted to use new pricing model.

Extension GA
az monitor app-insights my-workbook

Manage my-workbook.

Extension GA
az monitor app-insights my-workbook list

List all private workbooks defined within a specified subscription and category.

Extension GA
az monitor app-insights query

Execute a query over data in your application.

Extension GA
az monitor app-insights web-test

Manage web test with application insights.

Extension GA
az monitor app-insights web-test create

Create an Application Insights web test definition.

Extension GA
az monitor app-insights web-test delete

Delete an Application Insights web test.

Extension GA
az monitor app-insights web-test list

Get all Application Insights web tests defined for the specified component. And Get all Application Insights web tests defined within a specified resource group. And Get all Application Insights web test alerts definitions within a subscription.

Extension GA
az monitor app-insights web-test show

Get a specific Application Insights web test definition.

Extension GA
az monitor app-insights web-test update

Update an Application Insights web test definition.

Extension GA
az monitor app-insights workbook

Manage app-insights workbook.

Extension GA
az monitor app-insights workbook create

Create a workbook.

Extension GA
az monitor app-insights workbook delete

Delete a workbook.

Extension GA
az monitor app-insights workbook identity

Manage workbook idneity.

Extension GA
az monitor app-insights workbook identity assign

Assign identities.

Extension GA
az monitor app-insights workbook identity remove

Remove identities.

Extension GA
az monitor app-insights workbook list

List all workbooks defined within a specified resource group and category.

Extension GA
az monitor app-insights workbook revision

Manage workbook revision.

Extension GA
az monitor app-insights workbook revision list

List the revisions for the workbook.

Extension GA
az monitor app-insights workbook revision show

Show workbook revision.

Extension GA
az monitor app-insights workbook show

Show a single workbook by its resource name.

Extension GA
az monitor app-insights workbook update

Update a workbook.

Extension GA
az monitor autoscale

Manage autoscale settings.

Core GA
az monitor autoscale create

Create new autoscale settings.

Core GA
az monitor autoscale delete

Delete an autoscale setting.

Core GA
az monitor autoscale list

Lists the autoscale settings for a resource group.

Core GA
az monitor autoscale profile

Manage autoscaling profiles.

Core GA
az monitor autoscale profile create

Create a fixed or recurring autoscale profile.

Core GA
az monitor autoscale profile delete

Delete an autoscale profile.

Core GA
az monitor autoscale profile list

List autoscale profiles.

Core GA
az monitor autoscale profile list-timezones

Look up time zone information.

Core GA
az monitor autoscale profile show

Show details of an autoscale profile.

Core GA
az monitor autoscale rule

Manage autoscale scaling rules.

Core GA
az monitor autoscale rule copy

Copy autoscale rules from one profile to another.

Core GA
az monitor autoscale rule create

Add a new autoscale rule.

Core GA
az monitor autoscale rule delete

Remove autoscale rules from a profile.

Core GA
az monitor autoscale rule list

List autoscale rules for a profile.

Core GA
az monitor autoscale show

Get an autoscale setting.

Core GA
az monitor autoscale show-predictive-metric

Show predictive autoscale metric future data.

Core GA
az monitor autoscale update

Update an autoscale setting.

Core GA
az monitor clone

Clone metrics alert rules from one resource to another resource.

Core Preview
az monitor data-collection

Manage data collection for monitor control service.

Extension GA
az monitor data-collection endpoint

Manage data collection endpoint for monitor control service.

Extension GA
az monitor data-collection endpoint association

Monitor data-collection endpoint association.

Extension GA
az monitor data-collection endpoint association list

List associations for the specified data collection endpoint.

Extension GA
az monitor data-collection endpoint create

Create a data collection endpoint.

Extension GA
az monitor data-collection endpoint delete

Delete a data collection endpoint.

Extension GA
az monitor data-collection endpoint list

List all data collection endpoints in the specified subscription.

Extension GA
az monitor data-collection endpoint show

Get the specified data collection endpoint.

Extension GA
az monitor data-collection endpoint update

Update a data collection endpoint.

Extension GA
az monitor data-collection rule

Manage data collection rule for monitor control service.

Extension GA
az monitor data-collection rule association

Manage data collection rule association for monitor control service.

Extension GA
az monitor data-collection rule association create

Create an association.

Extension GA
az monitor data-collection rule association delete

Delete an association.

Extension GA
az monitor data-collection rule association list

Lists associations for the specified data collection rule. And Lists associations for the specified data collection endpoint. And Lists associations for the specified resource.

Extension GA
az monitor data-collection rule association list-by-resource

List associations for the specified resource.

Extension GA
az monitor data-collection rule association show

Get the specified association.

Extension GA
az monitor data-collection rule association update

Update an association.

Extension GA
az monitor data-collection rule create

Create a data collection rule.

Extension GA
az monitor data-collection rule data-flow

Manage data flows.

Extension GA
az monitor data-collection rule data-flow add

Add a data flow.

Extension GA
az monitor data-collection rule data-flow list

List data flows.

Extension GA
az monitor data-collection rule delete

Delete a data collection rule.

Extension GA
az monitor data-collection rule list

List all data collection rules in the specified resource group. And Lists all data collection rules in the specified subscription.

Extension GA
az monitor data-collection rule log-analytics

Manage Log Analytics destinations.

Extension GA
az monitor data-collection rule log-analytics add

Add Log Analytics destinations of a data collection rule.

Extension GA
az monitor data-collection rule log-analytics delete

Delete a Log Analytics destinations of a data collection rule.

Extension GA
az monitor data-collection rule log-analytics list

List Log Analytics destinations of a data collection rule.

Extension GA
az monitor data-collection rule log-analytics show

Show a Log Analytics destination of a data collection rule.

Extension GA
az monitor data-collection rule log-analytics update

Update a Log Analytics destination of a data collection rule.

Extension GA
az monitor data-collection rule performance-counter

Manage Log performance counter data source.

Extension GA
az monitor data-collection rule performance-counter add

Add a Log performance counter data source.

Extension GA
az monitor data-collection rule performance-counter delete

Delete a Log performance counter data source.

Extension GA
az monitor data-collection rule performance-counter list

List Log performance counter data sources.

Extension GA
az monitor data-collection rule performance-counter show

Show a Log performance counter data source.

Extension GA
az monitor data-collection rule performance-counter update

Update a Log performance counter data source.

Extension GA
az monitor data-collection rule show

Return the specified data collection rule.

Extension GA
az monitor data-collection rule syslog

Manage Syslog data source.

Extension GA
az monitor data-collection rule syslog add

Add a Syslog data source.

Extension GA
az monitor data-collection rule syslog delete

Delete a Syslog data source.

Extension GA
az monitor data-collection rule syslog list

List Syslog data sources.

Extension GA
az monitor data-collection rule syslog show

Show a Syslog data source.

Extension GA
az monitor data-collection rule syslog update

Update a Syslog data source.

Extension GA
az monitor data-collection rule update

Update a data collection rule.

Extension GA
az monitor data-collection rule windows-event-log

Manage Windows Event Log data source.

Extension GA
az monitor data-collection rule windows-event-log add

Add a Windows Event Log data source.

Extension GA
az monitor data-collection rule windows-event-log delete

Delete a Windows Event Log data source.

Extension GA
az monitor data-collection rule windows-event-log list

List Windows Event Log data sources.

Extension GA
az monitor data-collection rule windows-event-log show

Show a Windows Event Log data source.

Extension GA
az monitor data-collection rule windows-event-log update

Update a Windows Event Log data source.

Extension GA
az monitor diagnostic-settings

Manage service diagnostic settings.

Core GA
az monitor diagnostic-settings categories

Retrieve service diagnostic settings categories.

Core GA
az monitor diagnostic-settings categories list

List the diagnostic settings categories for the specified resource.

Core GA
az monitor diagnostic-settings categories show

Gets the diagnostic settings category for the specified resource.

Core GA
az monitor diagnostic-settings create

Create diagnostic settings for the specified resource. For more information, visit: https://docs.microsoft.com/rest/api/monitor/diagnosticsettings/createorupdate#metricsettings.

Core GA
az monitor diagnostic-settings delete

Deletes existing diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings list

Gets the active diagnostic settings list for the specified resource.

Core GA
az monitor diagnostic-settings show

Gets the active diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings subscription

Manage diagnostic settings for subscription.

Core GA
az monitor diagnostic-settings subscription create

Create subscription diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings subscription delete

Deletes existing subscription diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings subscription list

Gets the active subscription diagnostic settings list for the specified subscriptionId. :keyword callable cls: A custom type or function that will be passed the direct response:return: SubscriptionDiagnosticSettingsResourceCollection or the result of cls(response):rtype: ~$(python-base-namespace).v2017_05_01_preview.models.SubscriptionDiagnosticSettingsResourceCollection:raises ~azure.core.exceptions.HttpResponseError:.

Core GA
az monitor diagnostic-settings subscription show

Gets the active subscription diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings subscription update

Update subscription diagnostic settings for the specified resource.

Core GA
az monitor diagnostic-settings update

Update diagnostic settings for the specified resource.

Core GA
az monitor log-analytics

Manage Azure log analytics.

Core and Extension GA
az monitor log-analytics cluster

Manage Azure log analytics cluster.

Core GA
az monitor log-analytics cluster create

Create a cluster instance.

Core GA
az monitor log-analytics cluster delete

Delete a cluster instance.

Core GA
az monitor log-analytics cluster list

List all cluster instances in a resource group or in current subscription.

Core GA
az monitor log-analytics cluster show

Show the properties of a cluster instance.

Core GA
az monitor log-analytics cluster update

Update a cluster instance.

Core GA
az monitor log-analytics cluster wait

Place the CLI in a waiting state until a condition is met.

Core GA
az monitor log-analytics query

Query a Log Analytics workspace.

Extension GA
az monitor log-analytics query-pack

Manage Azure log analytics query pack.

Core Preview
az monitor log-analytics query-pack create

Create a log analytics query pack.

Core Preview
az monitor log-analytics query-pack delete

Delete a log analytics query pack.

Core Preview
az monitor log-analytics query-pack list

List of all log analytics query packs.

Core Preview
az monitor log-analytics query-pack query

Manage the query of log analytics query pack.

Core Preview
az monitor log-analytics query-pack query create

Create a specific query within a log analytics query pack.

Core Preview
az monitor log-analytics query-pack query delete

Delete a specific query defined within a log analytics query pack.

Core Preview
az monitor log-analytics query-pack query list

List queries defined within a log analytics query pack.

Core Preview
az monitor log-analytics query-pack query search

Search a list of queries defined within a log analytics query pack according to given search properties.

Core Preview
az monitor log-analytics query-pack query show

Show a specific query defined within a log analytics query pack.

Core Preview
az monitor log-analytics query-pack query update

Update a specific query within a log analytics query pack.

Core Preview
az monitor log-analytics query-pack show

Show a log analytics query pack.

Core Preview
az monitor log-analytics query-pack update

Update a log analytics query pack.

Core Preview
az monitor log-analytics solution

Commands to manage monitor log-analytics solution.

Extension GA
az monitor log-analytics solution create

Create the Solution.

Extension GA
az monitor log-analytics solution delete

Delete the solution in the subscription.

Extension GA
az monitor log-analytics solution list

List the solution list. It will retrieve both first party and third party solutions.

Extension GA
az monitor log-analytics solution show

Get the user solution.

Extension GA
az monitor log-analytics solution update

Update a Solution. Only updating tags supported.

Extension GA
az monitor log-analytics solution wait

Place the CLI in a waiting state until a condition is met.

Extension GA
az monitor log-analytics workspace

Manage Azure log analytics workspace.

Core GA
az monitor log-analytics workspace create

Create a workspace instance.

Core GA
az monitor log-analytics workspace data-export

Manage data export ruls for log analytics workspace.

Core GA
az monitor log-analytics workspace data-export create

Create a data export rule for a given workspace.

Core GA
az monitor log-analytics workspace data-export delete

Delete a data export rule for a given workspace.

Core GA
az monitor log-analytics workspace data-export list

List all data export ruleses for a given workspace.

Core GA
az monitor log-analytics workspace data-export show

Show a data export rule for a given workspace.

Core GA
az monitor log-analytics workspace data-export update

Update a data export rule for a given workspace.

Core GA
az monitor log-analytics workspace delete

Deletes a workspace resource.

Core GA
az monitor log-analytics workspace get-schema

Get the schema for a given workspace.

Core GA
az monitor log-analytics workspace get-shared-keys

Get the shared keys for a workspace.

Core GA
az monitor log-analytics workspace linked-service

Manage linked service for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-service create

Create a linked service.

Core GA
az monitor log-analytics workspace linked-service delete

Delete a linked service.

Core GA
az monitor log-analytics workspace linked-service list

Get all the linked services in a workspace.

Core GA
az monitor log-analytics workspace linked-service show

Show the properties of a linked service.

Core GA
az monitor log-analytics workspace linked-service update

Update a linked service.

Core GA
az monitor log-analytics workspace linked-service wait

Place the CLI in a waiting state until a condition is met.

Core GA
az monitor log-analytics workspace linked-storage

Manage linked storage account for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage add

Add some linked storage accounts with specific data source type for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage create

Create some linked storage accounts for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage delete

Delete all linked storage accounts with specific data source type for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage list

List all linked storage accounts for a log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage remove

Remove some linked storage accounts with specific data source type for log analytics workspace.

Core GA
az monitor log-analytics workspace linked-storage show

Show all linked storage accounts with specific data source type for a log analytics workspace.

Core GA
az monitor log-analytics workspace list

Get a list of workspaces under a resource group or a subscription.

Core GA
az monitor log-analytics workspace list-available-service-tier

List the available service tiers for the workspace.

Core GA
az monitor log-analytics workspace list-deleted-workspaces

Get a list of deleted workspaces that can be recovered in a subscription or a resource group.

Core GA
az monitor log-analytics workspace list-link-target

List a list of workspaces which the current user has administrator privileges and are not associated with an Azure Subscription.

Core GA
az monitor log-analytics workspace list-management-groups

Get a list of management groups connected to a workspace.

Core GA
az monitor log-analytics workspace list-usages

Get a list of usage metrics for a workspace.

Core GA
az monitor log-analytics workspace pack

Manage intelligent packs for log analytics workspace.

Core GA
az monitor log-analytics workspace pack disable

Disable an intelligence pack for a given workspace.

Core GA
az monitor log-analytics workspace pack enable

Enable an intelligence pack for a given workspace.

Core GA
az monitor log-analytics workspace pack list

List all the intelligence packs possible and whether they are enabled or disabled for a given workspace.

Core GA
az monitor log-analytics workspace recover

Recover a workspace in a soft-delete state within 14 days.

Core GA
az monitor log-analytics workspace saved-search

Manage saved search for log analytics workspace.

Core GA
az monitor log-analytics workspace saved-search create

Create a saved search for a given workspace.

Core GA
az monitor log-analytics workspace saved-search delete

Delete a saved search for a given workspace.

Core GA
az monitor log-analytics workspace saved-search list

List all saved searches for a given workspace.

Core GA
az monitor log-analytics workspace saved-search show

Show a saved search for a given workspace.

Core GA
az monitor log-analytics workspace saved-search update

Update a saved search for a given workspace.

Core GA
az monitor log-analytics workspace show

Show a workspace instance.

Core GA
az monitor log-analytics workspace table

Manage tables for log analytics workspace.

Core GA
az monitor log-analytics workspace table create

Create a Log Analytics workspace microsoft/custom log table. The table name needs to end with '_CL'.

Core GA
az monitor log-analytics workspace table delete

Delete a Log Analytics workspace table.

Core GA
az monitor log-analytics workspace table list

List all the tables for the given Log Analytics workspace.

Core GA
az monitor log-analytics workspace table migrate

Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.

Core GA
az monitor log-analytics workspace table restore

Manage tables for log analytics workspace restore logs table.

Core GA
az monitor log-analytics workspace table restore create

Create a Log Analytics workspace restore logs table. The table name needs to end with '_RST'.

Core GA
az monitor log-analytics workspace table search-job

Manage tables for log analytics workspace search results table.

Core GA
az monitor log-analytics workspace table search-job cancel

Cancel a log analytics workspace search results table query run.

Core GA
az monitor log-analytics workspace table search-job create

Create a Log Analytics workspace search results table. The table name needs to end with '_SRCH'.

Core GA
az monitor log-analytics workspace table show

Get a Log Analytics workspace table.

Core GA
az monitor log-analytics workspace table update

Update the properties of a Log Analytics workspace table.

Core GA
az monitor log-analytics workspace table wait

Place the CLI in a waiting state until a condition is met.

Core GA
az monitor log-analytics workspace update

Update a workspace instance.

Core GA
az monitor log-analytics workspace wait

Place the CLI in a waiting state until a condition is met.

Core GA
az monitor log-profiles

Manage log profiles.

Core GA
az monitor log-profiles create

Create a log profile in Azure Monitoring REST API.

Core GA
az monitor log-profiles delete

Delete the log profile.

Core GA
az monitor log-profiles list

List the log profiles.

Core GA
az monitor log-profiles show

Get the log profile.

Core GA
az monitor log-profiles update

Update a log profile in Azure Monitoring REST API.

Core GA
az monitor metrics

View Azure resource metrics.

Core GA
az monitor metrics alert

Manage near-realtime metric alert rules.

Core GA
az monitor metrics alert condition

Manage near-realtime metric alert rule conditions.

Core GA
az monitor metrics alert condition create

Build a metric alert rule condition.

Core Preview
az monitor metrics alert create

Create a metric-based alert rule.

Core GA
az monitor metrics alert delete

Delete a metrics-based alert rule.

Core GA
az monitor metrics alert dimension

Manage near-realtime metric alert rule dimensions.

Core GA
az monitor metrics alert dimension create

Build a metric alert rule dimension.

Core Preview
az monitor metrics alert list

List metric-based alert rules.

Core GA
az monitor metrics alert show

Show a metrics-based alert rule.

Core GA
az monitor metrics alert update

Update a metric-based alert rule.

Core GA
az monitor metrics list

List the metric values for a resource.

Core GA
az monitor metrics list-definitions

List the metric definitions for the resource.

Core GA
az monitor metrics list-namespaces

List the metric namespaces for the resource.

Core Preview
az monitor metrics list-sub

Lists the metric data for a subscription. Parameters can be specified on the body.

Core GA
az monitor metrics list-sub-definitions

List the metric definitions for the subscription.

Core GA
az monitor private-link-scope

Manage monitor private link scope resource.

Core Preview
az monitor private-link-scope create

Create a private link scope resource.

Core Preview
az monitor private-link-scope delete

Delete a monitor private link scope resource.

Core Preview
az monitor private-link-scope list

List all monitor private link scope resources.

Core Preview
az monitor private-link-scope private-endpoint-connection

Manage private endpoint connection of a private link scope resource.

Core Preview
az monitor private-link-scope private-endpoint-connection approve

Approve a private endpoint connection of a private link scope resource.

Core Preview
az monitor private-link-scope private-endpoint-connection delete

Delete a private endpoint connection of a private link scope resource.

Core Preview
az monitor private-link-scope private-endpoint-connection list

List all private endpoint connections on a private link scope.

Core Preview
az monitor private-link-scope private-endpoint-connection reject

Reject a private endpoint connection of a private link scope resource.

Core Preview
az monitor private-link-scope private-endpoint-connection show

Show a private endpoint connection of a private link scope resource.

Core Preview
az monitor private-link-scope private-endpoint-connection wait

Place the CLI in a waiting state until a condition is met.

Core Preview
az monitor private-link-scope private-link-resource

Manage private link resource of a private link scope resource.

Core Preview
az monitor private-link-scope private-link-resource list

List all private link resources of a private link scope resource.

Core Preview
az monitor private-link-scope private-link-resource show

Show a private link resource of a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource

Manage scoped resource of a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource create

Create a scoped resource for a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource delete

Delete a scoped resource of a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource list

List all scoped resource of a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource show

Show a scoped resource of a private link scope resource.

Core Preview
az monitor private-link-scope scoped-resource wait

Place the CLI in a waiting state until a condition is met.

Core Preview
az monitor private-link-scope show

Show a monitor private link scope resource.

Core Preview
az monitor private-link-scope update

Update a monitor private link scope resource.

Core Preview
az monitor private-link-scope wait

Place the CLI in a waiting state until a condition is met.

Core Preview
az monitor scheduled-query

Commands to manage scheduled queries.

Extension GA
az monitor scheduled-query create

Create a scheduled query.

Extension GA
az monitor scheduled-query delete

Delete a scheduled query.

Extension GA
az monitor scheduled-query list

List all scheduled queries.

Extension GA
az monitor scheduled-query show

Show detail of a scheduled query.

Extension GA
az monitor scheduled-query update

Update a scheduled query.

Extension GA

az monitor clone

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Clone metrics alert rules from one resource to another resource.

az monitor clone --source-resource
                 --target-resource
                 [--always-clone]
                 [--types {metricsAlert}]

Examples

Clone the metric alert settings from one VM to another

az monitor clone --source-resource /subscriptions/{subscriptionID}/resourceGroups/Space1999/providers/Microsoft.Compute/virtualMachines/vm1 --target-resource /subscriptions/{subscriptionID}/resourceGroups/Space1999/providers/Microsoft.Compute/virtualMachines/vm2

Required Parameters

--source-resource

Resource ID of the source resource.

--target-resource

Resource ID of the target resource.

Optional Parameters

--always-clone

If this argument is applied, all monitor settings would be cloned instead of expanding its scope.

default value: False
--types -t

List of types of monitor settings which would be cloned.

accepted values: metricsAlert
default value: ['metricsAlert']
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.