Share via


az guestconfig guest-configuration-assignment-report

Note

This reference is part of the guestconfig extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az guestconfig guest-configuration-assignment-report command. Learn more about extensions.

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

Guestconfig guest-configuration-assignment-report.

Commands

Name Description Type Status
az guestconfig guest-configuration-assignment-report list

List all reports for the guest configuration assignment, latest report first.

Extension Experimental
az guestconfig guest-configuration-assignment-report show

Get a report for the guest configuration assignment, by reportId.

Extension Experimental

az guestconfig guest-configuration-assignment-report list

Experimental

Command group 'guestconfig guest-configuration-assignment-report' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List all reports for the guest configuration assignment, latest report first.

az guestconfig guest-configuration-assignment-report list --guest-configuration-assignment-name
                                                          --resource-group
                                                          --vm-name

Examples

List all guest configuration assignments for a virtual machine

az guestconfig guest-configuration-assignment-report list --guest-configuration-assignment-name "AuditSecureProtocol" --resource-group "myResourceGroupName" --vm-name "myVMName"

Required Parameters

--guest-configuration-assignment-name

The guest configuration assignment name.

--resource-group -g

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

--vm-name

The name of the virtual machine.

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 guestconfig guest-configuration-assignment-report show

Experimental

Command group 'guestconfig guest-configuration-assignment-report' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get a report for the guest configuration assignment, by reportId.

az guestconfig guest-configuration-assignment-report show [--guest-configuration-assignment-name]
                                                          [--ids]
                                                          [--report-id]
                                                          [--resource-group]
                                                          [--subscription]
                                                          [--vm-name]

Examples

Get a guest configuration assignment report by Id for a virtual machine

az guestconfig guest-configuration-assignment-report show --guest-configuration-assignment-name "AuditSecureProtocol" --report-id "7367cbb8-ae99-47d0-a33b-a283564d2cb1" --resource-group "myResourceGroupName" --vm-name "myvm"

Optional Parameters

--guest-configuration-assignment-name

The guest configuration assignment name.

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

--report-id

The GUID for the guest configuration assignment report.

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

The name of the virtual machine.

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.