az security jit-policy
Manage your Just in Time network access policies.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az security jit-policy list |
List your Just in Time network access policies. |
Core | GA |
| az security jit-policy show |
Shows a Just in Time network access policy. |
Core | GA |
az security jit-policy list
List your Just in Time network access policies.
az security jit-policy list [--location]
[--resource-group]
Examples
Get all the Just in Time network access policies.
az security jit-policy list
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Location of the resource.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az security jit-policy show
Shows a Just in Time network access policy.
az security jit-policy show --location
--name
--resource-group
Examples
Get a Just in Time network access policy.
az security jit-policy show -l northeurope -n default -g myService1
Required Parameters
Location of the resource.
Name of the resource to be fetched.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |