Share via


az vm aem

Note

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

Manage Azure Enhanced Monitoring Extension for SAP.

Commands

Name Description Type Status
az vm aem delete

Remove Azure Enhanced Monitoring Extension.

Extension GA
az vm aem set

Configure Azure Enhanced Monitoring Extension.

Extension GA
az vm aem verify

Verify Azure Enhanced Monitoring Extensions configured correctly.

Extension GA

az vm aem delete

Remove Azure Enhanced Monitoring Extension.

az vm aem delete [--ids]
                 [--name]
                 [--resource-group]
                 [--subscription]

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.

--name -n

The name of the Virtual Machine. You can configure the default using az configure --defaults vm=<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 vm aem set

Configure Azure Enhanced Monitoring Extension.

It can take up to 15 minutes for the monitoring data to appear in the SAP system.

az vm aem set [--debug-extension]
              [--ids]
              [--install-new-extension]
              [--name]
              [--proxy-uri]
              [--resource-group]
              [--set-access-to-individual-resources]
              [--skip-storage-analytics]
              [--subscription]

Optional Parameters

--debug-extension

Enable debug mode on the VM Extension for SAP.

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.

--install-new-extension -i

Install the new VM Extension for SAP.

Default value: False
--name -n

The name of the Virtual Machine. You can configure the default using az configure --defaults vm=<name>.

--proxy-uri -p

Set the proxy URI that should be used to access external resources e.g. the Azure API. Example: http://proxyhost:8080.

--resource-group -g

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

--set-access-to-individual-resources -s

Set the access of the VM identity to the individual resources, e.g. data disks instead of the complete resource group.

Default value: False
--skip-storage-analytics

Skip enabling analytics on storage accounts.

Default value: False
--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 vm aem verify

Verify Azure Enhanced Monitoring Extensions configured correctly.

az vm aem verify [--ids]
                 [--name]
                 [--resource-group]
                 [--skip-storage-check]
                 [--subscription]
                 [--wait-time-in-minutes]

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.

--name -n

The name of the Virtual Machine. You can configure the default using az configure --defaults vm=<name>.

--resource-group -g

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

--skip-storage-check

Disables the test for table content.

Default value: False
--subscription

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

--wait-time-in-minutes

Maximum minutes to wait for the storage metrics to be available.

Default value: 15
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.