az monitor account issue

Manage Issue.

Commands

Name Description Type Status
az monitor account issue add-investigation-result

Adds investigation result.

Core GA
az monitor account issue add-or-update-alert

Add or update alerts in the issue.

Core GA
az monitor account issue add-or-update-resource

Add or update resources in the issue.

Core GA
az monitor account issue create

Create a new issue or updates an existing one.

Core GA
az monitor account issue delete

Delete an issue.

Core GA
az monitor account issue fetch-background-visualization

Fetch the background visualization of the issue.

Core GA
az monitor account issue fetch-investigation-result

Fetch investigation result.

Core GA
az monitor account issue list

List all issues under the parent.

Core GA
az monitor account issue list-alert

List all alerts in the issue - this method uses pagination to return all alerts.

Core GA
az monitor account issue list-resource

List all resources in the issue - this method uses pagination to return all resources.

Core GA
az monitor account issue set-background-visualization

Set the background visualization for the issue.

Core GA
az monitor account issue show

Get issue properties.

Core GA
az monitor account issue update

Update a new issue or updates an existing one.

Core GA

az monitor account issue add-investigation-result

Adds investigation result.

az monitor account issue add-investigation-result --id
                                                  --result
                                                  [--acquire-policy-token]
                                                  [--azure-monitor-workspace-name]
                                                  [--change-reference]
                                                  [--created-at]
                                                  [--ids]
                                                  [--issue-name]
                                                  [--last-modified-at]
                                                  [--origin]
                                                  [--resource-group]
                                                  [--subscription]

Examples

Add an investigation result to an issue

az monitor account issue add-investigation-result --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue --text "Investigation findings" --id 00000000-0000-0000-0000-000000000000

Required Parameters

--id

The identifier of the investigation.

Property Value
Parameter group: Body Arguments
--result

The result of this investigation.

Property Value
Parameter group: Body Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--created-at

The creation time of the investigation (in UTC).

Property Value
Parameter group: Body Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--last-modified-at

The last update time of the investigation (in UTC).

Property Value
Parameter group: Body Arguments
--origin

The origin of the investigation Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Body Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue add-or-update-alert

Add or update alerts in the issue.

az monitor account issue add-or-update-alert --value
                                             [--acquire-policy-token]
                                             [--azure-monitor-workspace-name]
                                             [--change-reference]
                                             [--ids]
                                             [--issue-name]
                                             [--resource-group]
                                             [--subscription]

Examples

Add an alert to an issue

az monitor account issue add-or-update-alert --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue --value "[{"id": "/subscriptions/sub/resourceGroups/rg/providers/Microsoft.AlertsManagement/alerts/alert1"}]"

Required Parameters

--value

A list of related alerts Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Body Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue add-or-update-resource

Add or update resources in the issue.

az monitor account issue add-or-update-resource --value
                                                [--acquire-policy-token]
                                                [--azure-monitor-workspace-name]
                                                [--change-reference]
                                                [--ids]
                                                [--issue-name]
                                                [--resource-group]
                                                [--subscription]

Examples

Add a resource to an issue

az monitor account issue add-or-update-resource --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue --value "[{"id": "/subscriptions/sub/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm1"}]"

Required Parameters

--value

A list of related resources Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Body Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue create

Create a new issue or updates an existing one.

az monitor account issue create --azure-monitor-workspace-name
                                --issue-name --name
                                --resource-group
                                [--acquire-policy-token]
                                [--background]
                                [--change-reference]
                                [--impact-time]
                                [--notifications]
                                [--related]
                                [--severity]
                                [--status {Canceled, Closed, InProgress, Mitigated, New}]
                                [--title]

Examples

Create a new issue in an Azure Monitor workspace

az monitor account issue create --azure-monitor-workspace-name myWorkspace -g myRG -n myIssue --title "My Issue" --severity High --status New

Required Parameters

--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

--issue-name --name -n

The name of the IssueResource.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--background

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

Property Value
Parameter group: Properties Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--impact-time

The issue impact time (in UTC).

Property Value
Parameter group: Properties Arguments
--notifications

The issue notification settings Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--related

Related resource or alert that is to be added to the issue (default: empty - the issue will be created without any related resources or alerts).

--severity

The issue severity.

Property Value
Parameter group: Properties Arguments
--status

The issue status.

Property Value
Parameter group: Properties Arguments
Accepted values: Canceled, Closed, InProgress, Mitigated, New
--title

The issue title.

Property Value
Parameter group: Properties Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az monitor account issue delete

Delete an issue.

az monitor account issue delete [--acquire-policy-token]
                                [--azure-monitor-workspace-name]
                                [--change-reference]
                                [--ids]
                                [--issue-name --name]
                                [--resource-group]
                                [--subscription]
                                [--yes]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name --name -n

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue fetch-background-visualization

Fetch the background visualization of the issue.

az monitor account issue fetch-background-visualization [--acquire-policy-token]
                                                        [--azure-monitor-workspace-name]
                                                        [--change-reference]
                                                        [--ids]
                                                        [--issue-name]
                                                        [--resource-group]
                                                        [--subscription]

Examples

Fetch the background visualization for an issue

az monitor account issue fetch-background-visualization --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue fetch-investigation-result

Fetch investigation result.

az monitor account issue fetch-investigation-result --investigation-id
                                                    [--acquire-policy-token]
                                                    [--azure-monitor-workspace-name]
                                                    [--change-reference]
                                                    [--ids]
                                                    [--issue-name]
                                                    [--resource-group]
                                                    [--subscription]

Examples

Fetch the investigation result for an issue

az monitor account issue fetch-investigation-result --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue --investigation-id 00000000-0000-0000-0000-000000000000

Required Parameters

--investigation-id

The unique identifier of the investigation.

Property Value
Parameter group: Body Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue list

List all issues under the parent.

az monitor account issue list --azure-monitor-workspace-name
                              --resource-group
                              [--max-items]
                              [--next-token]

Required Parameters

--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--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.

Property Value
Parameter group: Pagination Arguments
--next-token

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

Property Value
Parameter group: Pagination Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az monitor account issue list-alert

List all alerts in the issue - this method uses pagination to return all alerts.

az monitor account issue list-alert [--acquire-policy-token]
                                    [--azure-monitor-workspace-name]
                                    [--change-reference]
                                    [--filter]
                                    [--ids]
                                    [--issue-name]
                                    [--resource-group]
                                    [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--filter

The filter to apply on the operation. For example, to filter by relevance, use "$filter=relevance eq 'Relevant'". Note: this property is currently a placeholder and is not in use.

Property Value
Parameter group: Body Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue list-resource

List all resources in the issue - this method uses pagination to return all resources.

az monitor account issue list-resource [--acquire-policy-token]
                                       [--azure-monitor-workspace-name]
                                       [--change-reference]
                                       [--filter]
                                       [--ids]
                                       [--issue-name]
                                       [--resource-group]
                                       [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--filter

The filter to apply on the operation. For example, to filter by relevance, use "$filter=relevance eq 'Relevant'". Note: this property is currently a placeholder and is not in use.

Property Value
Parameter group: Body Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue set-background-visualization

Set the background visualization for the issue.

az monitor account issue set-background-visualization --visualization
                                                      [--acquire-policy-token]
                                                      [--azure-monitor-workspace-name]
                                                      [--change-reference]
                                                      [--ids]
                                                      [--issue-name]
                                                      [--resource-group]
                                                      [--subscription]

Examples

Set the background visualization for an issue

az monitor account issue set-background-visualization --azure-monitor-workspace-name myWorkspace -g myRG --issue-name myIssue --visualization "{"type":"AdaptiveCard"}"

Required Parameters

--visualization

The background visualization content, in Adaptive Card format.

Property Value
Parameter group: Body Arguments

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue show

Get issue properties.

az monitor account issue show [--azure-monitor-workspace-name]
                              [--ids]
                              [--issue-name --name]
                              [--resource-group]
                              [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--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.

Property Value
Parameter group: Resource Id Arguments
--issue-name --name -n

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False

az monitor account issue update

Update a new issue or updates an existing one.

az monitor account issue update [--acquire-policy-token]
                                [--add]
                                [--azure-monitor-workspace-name]
                                [--background]
                                [--change-reference]
                                [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                [--ids]
                                [--impact-time]
                                [--issue-name --name]
                                [--notifications]
                                [--related]
                                [--remove]
                                [--resource-group]
                                [--set]
                                [--severity]
                                [--status {Canceled, Closed, InProgress, Mitigated, New}]
                                [--subscription]
                                [--title]

Examples

Update the status and severity of an issue

az monitor account issue update --azure-monitor-workspace-name myWorkspace -g myRG -n myIssue --status InProgress --severity High

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--add

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>.

Property Value
Parameter group: Generic Update Arguments
--azure-monitor-workspace-name -w

The name of the Azure Monitor Workspace. The name is case insensitive.

Property Value
Parameter group: Resource Id Arguments
--background

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

Property Value
Parameter group: Properties Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Property Value
Parameter group: Generic Update Arguments
Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--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.

Property Value
Parameter group: Resource Id Arguments
--impact-time

The issue impact time (in UTC).

Property Value
Parameter group: Properties Arguments
--issue-name --name -n

The name of the IssueResource.

Property Value
Parameter group: Resource Id Arguments
--notifications

The issue notification settings Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Property Value
Parameter group: Properties Arguments
--related

Related resource or alert that is to be added to the issue (default: empty - the issue will be created without any related resources or alerts).

--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

Property Value
Parameter group: Generic Update Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

Property Value
Parameter group: Generic Update Arguments
--severity

The issue severity.

Property Value
Parameter group: Properties Arguments
--status

The issue status.

Property Value
Parameter group: Properties Arguments
Accepted values: Canceled, Closed, InProgress, Mitigated, New
--subscription

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

Property Value
Parameter group: Resource Id Arguments
--title

The issue title.

Property Value
Parameter group: Properties Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--verbose

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

Property Value
Default value: False