Share via


az security adaptive_network_hardenings

View all Adaptive Network Hardening resources.

Commands

Name Description Type Status
az security adaptive_network_hardenings list

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

Core GA
az security adaptive_network_hardenings show

Gets a single Adaptive Network Hardening resource.

Core GA

az security adaptive_network_hardenings list

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

az security adaptive_network_hardenings list --resource-group
                                             --resource-name
                                             --resource-namespace
                                             --resource-type

Examples

Adaptive Network Hardenings - List By Extended Resource

az security adaptive_network_hardenings list --resource-group 'RG1' --resource-type 'virtualMachines' --resource-namespace 'Microsoft.Compute' --resource-name 'VM1'

Required Parameters

--resource-group -g

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

--resource-name

Name of the resource.

--resource-namespace

The Namespace of the resource.

--resource-type

The type of the 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 security adaptive_network_hardenings show

Gets a single Adaptive Network Hardening resource.

az security adaptive_network_hardenings show --adaptive-network-hardenings-resource-name
                                             --resource-group
                                             --resource-name
                                             --resource-namespace
                                             --resource-type

Examples

Adaptive Network Hardenings - Get.

az security adaptive_network_hardenings show --resource-group 'RG1' --resource-type 'virtualMachines' --resource-namespace 'Microsoft.Compute' --resource-name 'VM1' --adaptive-network-hardenings-resource-name 'default'

Required Parameters

--adaptive-network-hardenings-resource-name

Adaptive Network Hardening resource name.

--resource-group -g

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

--resource-name

Name of the resource.

--resource-namespace

The Namespace of the resource.

--resource-type

The type of the 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.