az security jit-policy

Manage your Just in Time network access policies.

Commands

az security jit-policy list

List your Just in Time network access policies.

az security jit-policy show

Shows a Just in Time network access policy.

az security jit-policy list

List your Just in Time network access policies.

az security jit-policy list [--location]
                            [--query-examples]
                            [--resource-group]
                            [--subscription]

Examples

Get all the Just in Time network access policies.

az security jit-policy list

Optional Parameters

--location -l

Location of the resource.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

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

az security jit-policy show

Shows a Just in Time network access policy.

az security jit-policy show --location
                            --name
                            --resource-group
                            [--query-examples]
                            [--subscription]

Examples

Get a Just in Time network access policy.

az security jit-policy show -l northeurope -n default -g myService1

Required Parameters

--location -l

Location of the resource.

--name -n

Name of the resource to be fetched.

--resource-group -g

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

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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