az elastic monitor
Note
This reference is part of the elastic extension for the Azure CLI (version 2.61.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 get-billing-info |
Get marketplace and organization info mapped to the given monitor. |
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-connected-partner-resource |
List of all active deployments that are associated with the marketplace subscription linked to the given monitor. |
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 monitored-subscription |
Manage monitored subscription with elastic. |
Extension | GA |
az elastic monitor monitored-subscription create |
Create the subscriptions that should be monitored by the Elastic monitor resource. |
Extension | GA |
az elastic monitor monitored-subscription delete |
Delete the subscriptions that are being monitored by the Elastic monitor resource. |
Extension | GA |
az elastic monitor monitored-subscription list |
List all the subscriptions currently being monitored by the Elastic monitor resource. |
Extension | GA |
az elastic monitor monitored-subscription show |
Get all the subscriptions currently being monitored by the Elastic monitor resource. |
Extension | GA |
az elastic monitor monitored-subscription update |
Update the subscriptions that should be monitored by the Elastic monitor resource. |
Extension | GA |
az elastic monitor monitored-subscription wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az elastic monitor open-ai-integration |
Manage open-ai Integration with elastic. |
Extension | GA |
az elastic monitor open-ai-integration create |
Create a OpenAI integration rule for a given monitor resource. |
Extension | GA |
az elastic monitor open-ai-integration delete |
Delete OpenAI integration rule for a given monitor resource. |
Extension | GA |
az elastic monitor open-ai-integration get-statu |
Get OpenAI integration status for a given integration. |
Extension | GA |
az elastic monitor open-ai-integration list |
List OpenAI integration rule for a given monitor resource. |
Extension | GA |
az elastic monitor open-ai-integration show |
Get OpenAI integration rule for a given monitor resource. |
Extension | GA |
az elastic monitor open-ai-integration update |
Update a OpenAI integration rule for a given 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]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--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
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 resource name.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Ruleset Id of the filter.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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}]
[--plan-details]
[--saa-s-azure-subscription-status]
[--sku]
[--source-campaign-id]
[--source-campaign-name]
[--subscription-state]
[--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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Flag to determine if User API Key has to be generated and shared.
The location of the monitor resource.
Flag specifying if the resource monitoring is enabled or disabled.
Do not wait for the long-running operation to finish.
Plan details of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Status of Azure Subscription where Marketplace SaaS is located.
SKU of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
A unique identifier associated with the campaign.
Name of the marketing campaign.
State of the Azure Subscription containing the monitor resource.
The tags of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
User information. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Version of elastic of the monitor resource.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--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
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.
List of ips.
Monitor resource name.
Name of the traffic filter.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--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
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 resource name.
Name of the traffic filter.
Do not wait for the long-running operation to finish.
Guid of the private endpoint.
Name of the private endpoint.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 of the user to be created or updated.
Full name of the user to be created or updated.
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 resource name.
Password of the user to be created or updated.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Roles to be assigned for created or updated user Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Username of the user to be created or updated.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Ruleset Id of the filter.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 name -g rg --ruleset-id id
Optional Parameters
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Ruleset Id of the filter.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--ruleset-id]
[--subscription]
Examples
Detach traffic filter
az elastic monitor detach-traffic-filter --monitor-name name -g rg --ruleset-id
Optional Parameters
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 resource name.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Ruleset Id of the filter.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az elastic monitor get-billing-info
Get marketplace and organization info mapped to the given monitor.
az elastic monitor get-billing-info [--ids]
[--monitor-name]
[--resource-group]
[--subscription]
Examples
BillingInfo_Get
az elastic monitor get-billing-info --resource-group myResourceGroup --monitor-name myMonitor
Optional Parameters
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az elastic monitor list-connected-partner-resource
List of all active deployments that are associated with the marketplace subscription linked to the given monitor.
az elastic monitor list-connected-partner-resource --monitor-name
--resource-group
[--max-items]
[--next-token]
Examples
ConnectedPartnerResources_List
az elastic monitor list-connected-partner-resource --resource-group myResourceGroup --monitor-name myMonitor
Required Parameters
Monitor resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az elastic monitor update
Update a monitor resource.
az elastic monitor update [--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--generate-api-key {0, 1, f, false, n, no, t, true, y, yes}]
[--identity]
[--ids]
[--monitor-name]
[--monitoring-status {Disabled, Enabled}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--plan-details]
[--remove]
[--resource-group]
[--saa-s-azure-subscription-status]
[--set]
[--sku]
[--source-campaign-id]
[--source-campaign-name]
[--subscription]
[--subscription-state]
[--tags]
[--version]
Examples
Update monitor
az elastic monitor update -n monitor -g rg --tags "{tag:test,tag1:test1}"
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Flag to determine if User API Key has to be generated and shared.
Identity properties of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 resource name.
Flag specifying if the resource monitoring is enabled or disabled.
Do not wait for the long-running operation to finish.
Plan details of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Status of Azure Subscription where Marketplace SaaS is located.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
SKU of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
A unique identifier associated with the campaign.
Name of the marketing campaign.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
State of the Azure Subscription containing the monitor resource.
The tags of the monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Version of elastic of the monitor resource.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Operation to be performed for given VM.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
ARM id of the VM resource.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az elastic monitor upgrade
Upgrade elastic monitor.
az elastic monitor upgrade [--ids]
[--monitor-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--version]
Examples
Monitor upgrade
az elastic monitor upgrade -g rg --monitor-name monitor --version 8.0.0
Optional Parameters
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 resource name.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Version to which the elastic monitor should be upgraded to.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
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 resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
Monitor resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI