az elastic monitor

Note

This reference is part of the elastic extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az elastic monitor command. Learn more about extensions.

Manage monitor with elastic.

Commands

Name Description Type Status
az elastic monitor associate-traffic-filter

Associate traffic filter.

Extension GA
az elastic monitor create

Create a monitor resource.

Extension GA
az elastic monitor create-and-associate-ip-filter

Create and associate ip filter.

Extension GA
az elastic monitor create-and-associate-pl-filter

Create and associate pl filter.

Extension GA
az elastic monitor create-or-update-external-user

Create or update external user.

Extension GA
az elastic monitor delete

Delete a monitor resource.

Extension GA
az elastic monitor delete-traffic-filter

Delete traffic filter.

Extension GA
az elastic monitor detach-and-delete-traffic-filter

Detach and delete traffic filter.

Extension GA
az elastic monitor detach-traffic-filter

Detach traffic filter.

Extension GA
az elastic monitor list

List all monitors under the specified resource group. And List all monitors under the specified subscription.

Extension GA
az elastic monitor list-all-traffic-filter

List all traffic filter.

Extension GA
az elastic monitor list-associated-traffic-filter

List associated traffic filter.

Extension GA
az elastic monitor list-deployment-info

Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.

Extension GA
az elastic monitor list-resource

List the resources currently being monitored by the Elastic monitor resource.

Extension GA
az elastic monitor list-upgradable-version

List upgradable version.

Extension GA
az elastic monitor list-vm-host

List the vm resources currently being monitored by the Elastic monitor resource.

Extension GA
az elastic monitor show

Get the properties of a specific monitor resource.

Extension GA
az elastic monitor tag-rule

Manage tag rule with elastic.

Extension GA
az elastic monitor tag-rule create

Create a tag rule set for a given monitor resource.

Extension GA
az elastic monitor tag-rule delete

Delete a tag rule set for a given monitor resource.

Extension GA
az elastic monitor tag-rule list

List the tag rules for a given monitor resource.

Extension GA
az elastic monitor tag-rule show

Get a tag rule set for a given monitor resource.

Extension GA
az elastic monitor tag-rule update

Update a tag rule set for a given monitor resource.

Extension GA
az elastic monitor tag-rule wait

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

Extension GA
az elastic monitor update

Update a monitor resource.

Extension GA
az elastic monitor update-vm-collection

Update the vm details that will be monitored by the Elastic monitor resource.

Extension GA
az elastic monitor upgrade

Upgrade elastic monitor.

Extension GA
az elastic monitor vm-ingestion-detail

List the vm ingestion details that will be monitored by the Elastic monitor resource.

Extension GA
az elastic monitor wait

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

Extension GA

az elastic monitor associate-traffic-filter

Associate traffic filter.

az elastic monitor associate-traffic-filter [--ids]
                                            [--monitor-name]
                                            [--resource-group]
                                            [--ruleset-id]
                                            [--subscription]

Examples

Monitor associate traffic filter

az elastic monitor associate-traffic-filter --monitor-name name -g rg --ruleset-id

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--ruleset-id

Ruleset Id of the filter.

--subscription

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

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.

az elastic monitor create

Create a monitor resource.

az elastic monitor create --monitor-name
                          --resource-group
                          [--generate-api-key {0, 1, f, false, n, no, t, true, y, yes}]
                          [--location]
                          [--monitoring-status {Disabled, Enabled}]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--sku]
                          [--tags]
                          [--user-info]
                          [--version]

Examples

Create monitor

az elastic monitor create -n monitor-name -g rg --user-info "{firstName:Alice,lastName:bob,companyName:Micosoft,emailAddress:alice@microsoft.com}" --sku "{name:ess-consumption-2024_Monthly}"

Required Parameters

--monitor-name --name -n

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--generate-api-key

Flag to determine if User API Key has to be generated and shared.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--location -l

The location of the monitor resource.

--monitoring-status

Flag specifying if the resource monitoring is enabled or disabled.

accepted values: Disabled, Enabled
--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--sku
Experimental

SKU of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--tags

The tags of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--user-info

User information. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--version

Version of elastic of the monitor resource.

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.

az elastic monitor create-and-associate-ip-filter

Create and associate ip filter.

az elastic monitor create-and-associate-ip-filter [--ids]
                                                  [--ips]
                                                  [--monitor-name]
                                                  [--name]
                                                  [--resource-group]
                                                  [--subscription]

Examples

Create and associate ip filter

az elastic monitor create-and-associate-ip-filter --monitor-name name -g rg --name name --ips  192.168.131.0, 192.168.132.6/22

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--ips

List of ips.

--monitor-name

Monitor resource name.

--name

Name of the traffic filter.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor create-and-associate-pl-filter

Create and associate pl filter.

az elastic monitor create-and-associate-pl-filter [--ids]
                                                  [--monitor-name]
                                                  [--name]
                                                  [--private-endpoint-guid]
                                                  [--private-endpoint-name]
                                                  [--resource-group]
                                                  [--subscription]

Examples

Create and associate pl filter

az elastic monitor create-and-associate-pl-filter --monitor-name monitor -g rg --name name

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--name

Name of the traffic filter.

--private-endpoint-guid

Guid of the private endpoint.

--private-endpoint-name

Name of the private endpoint.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor create-or-update-external-user

Create or update external user.

az elastic monitor create-or-update-external-user [--email-id]
                                                  [--full-name]
                                                  [--ids]
                                                  [--monitor-name]
                                                  [--password]
                                                  [--resource-group]
                                                  [--roles]
                                                  [--subscription]
                                                  [--user-name]

Examples

Create or update external user

az monitor create-or-update-external-user --monitor-name {monitor} -g {rg} --user-name newuser --full-name fullname --password password --email-id email@outlook.com --roles [admin,other_role]

Optional Parameters

--email-id

Email id of the user to be created or updated.

--full-name

Full name of the user to be created or updated.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--password

Password of the user to be created or updated.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--roles

Roles to be assigned for created or updated user Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--subscription

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

--user-name

Username of the user to be created or updated.

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.

az elastic monitor delete

Delete a monitor resource.

az elastic monitor delete [--ids]
                          [--monitor-name]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--resource-group]
                          [--subscription]
                          [--yes]

Examples

Delete monitor

az elastic monitor delete -n monitor -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Monitor resource name.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--yes -y

Do not prompt for confirmation.

default value: False
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.

az elastic monitor delete-traffic-filter

Delete traffic filter.

az elastic monitor delete-traffic-filter [--ids]
                                         [--monitor-name]
                                         [--resource-group]
                                         [--ruleset-id]
                                         [--subscription]

Examples

Delete traffic filter

az elastic monitor delete-traffic-filter --monitor-name name -g rg --ruleset-id id

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--ruleset-id

Ruleset Id of the filter.

--subscription

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

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.

az elastic monitor detach-and-delete-traffic-filter

Detach and delete traffic filter.

az elastic monitor detach-and-delete-traffic-filter [--ids]
                                                    [--monitor-name]
                                                    [--resource-group]
                                                    [--ruleset-id]
                                                    [--subscription]

Examples

Detach and delete traffic filter

az elastic monitor detach-and-delete-traffic-filter --monitor-name -g rg --ruleset-id id

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--ruleset-id

Ruleset Id of the filter.

--subscription

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

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.

az elastic monitor detach-traffic-filter

Detach traffic filter.

az elastic monitor detach-traffic-filter [--ids]
                                         [--monitor-name]
                                         [--resource-group]
                                         [--ruleset-id]
                                         [--subscription]

Examples

Detach traffic filter

az elastic monitor detach-traffic-filter --monitor-name name -g rg --ruleset-id

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--ruleset-id

Ruleset Id of the filter.

--subscription

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

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.

az elastic monitor list

List all monitors under the specified resource group. And List all monitors under the specified subscription.

az elastic monitor list [--max-items]
                        [--next-token]
                        [--resource-group]

Examples

List all monitors by resource group

az elastic monitor list -g rg

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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.

az elastic monitor list-all-traffic-filter

List all traffic filter.

az elastic monitor list-all-traffic-filter [--ids]
                                           [--monitor-name]
                                           [--resource-group]
                                           [--subscription]

Examples

List all traffic filter

az elastic monitor list-all-traffic-filter --monitor-name name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor list-associated-traffic-filter

List associated traffic filter.

az elastic monitor list-associated-traffic-filter [--ids]
                                                  [--monitor-name]
                                                  [--resource-group]
                                                  [--subscription]

Examples

List associated traffic filter

az elastic monitor list-associated-traffic-filter --monitor-name name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor list-deployment-info

Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.

az elastic monitor list-deployment-info [--ids]
                                        [--monitor-name]
                                        [--resource-group]
                                        [--subscription]

Examples

List deployment info

az elastic monitor list-deployment-info --monitor-name name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor list-resource

List the resources currently being monitored by the Elastic monitor resource.

az elastic monitor list-resource --monitor-name
                                 --resource-group
                                 [--max-items]
                                 [--next-token]

Examples

List resource

az elastic monitor list-resource --monitor-name -g rg

Required Parameters

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

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.

az elastic monitor list-upgradable-version

List upgradable version.

az elastic monitor list-upgradable-version [--ids]
                                           [--monitor-name]
                                           [--resource-group]
                                           [--subscription]

Examples

List upgradable version

az elastic monitor list-upgradable-version --monitor-name name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor list-vm-host

List the vm resources currently being monitored by the Elastic monitor resource.

az elastic monitor list-vm-host --monitor-name
                                --resource-group
                                [--max-items]
                                [--next-token]

Examples

List vm host

az elastic monitor list-vm-host --monitor-name name -g rg

Required Parameters

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

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.

az elastic monitor show

Get the properties of a specific monitor resource.

az elastic monitor show [--ids]
                        [--monitor-name]
                        [--resource-group]
                        [--subscription]

Examples

Show monitor

az elastic monitor show -n name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor update

Update a monitor resource.

az elastic monitor update [--ids]
                          [--monitor-name]
                          [--resource-group]
                          [--subscription]
                          [--tags]

Examples

Update monitor

az elastic monitor update -n monitor -g rg --tags "{tag:test,tag1:test1}"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name --name -n

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--tags

Elastic monitor resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

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.

az elastic monitor update-vm-collection

Update the vm details that will be monitored by the Elastic monitor resource.

az elastic monitor update-vm-collection [--ids]
                                        [--monitor-name]
                                        [--operation-name {Add, Delete}]
                                        [--resource-group]
                                        [--subscription]
                                        [--vm-resource-id]

Examples

Update vm collection

az elastic monitor update-vm-collection --monitor-name monitor1 -g rg --operation-name Add --vi-resource-id id

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--operation-name

Operation to be performed for given VM.

accepted values: Add, Delete
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--vm-resource-id

ARM id of the VM resource.

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.

az elastic monitor upgrade

Upgrade elastic monitor.

az elastic monitor upgrade [--ids]
                           [--monitor-name]
                           [--resource-group]
                           [--subscription]
                           [--version]

Examples

Monitor upgrade

az elastic monitor upgrade -g rg --monitor-name monitor --version 8.0.0

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--version

Version to which the elastic monitor should be upgraded to.

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.

az elastic monitor vm-ingestion-detail

List the vm ingestion details that will be monitored by the Elastic monitor resource.

az elastic monitor vm-ingestion-detail [--ids]
                                       [--monitor-name]
                                       [--resource-group]
                                       [--subscription]

Examples

Vm ingestion detail

az elastic monitor vm-ingestion-detail --monitor-name name -g rg

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--monitor-name

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

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.

az elastic monitor wait

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

az elastic monitor wait [--created]
                        [--custom]
                        [--deleted]
                        [--exists]
                        [--ids]
                        [--interval]
                        [--monitor-name]
                        [--resource-group]
                        [--subscription]
                        [--timeout]
                        [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

default value: False
--exists

Wait until the resource exists.

default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

default value: 30
--monitor-name --name -n

Monitor resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

default value: False
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.