az network profile

Manage network profiles.

To create a network profile, see the create command for the relevant resource. Currently, only Azure Container Instances are supported.

Commands

az network profile delete Delete a network profile.
az network profile list List network profiles.
az network profile show Get the details of a network profile.

az network profile delete

Delete a network profile.

az network profile delete [--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

The network profile name.

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

--yes -y

Do not prompt for confirmation.

az network profile list

List network profiles.

az network profile list [--resource-group]
[--subscription]

Examples

List network profiles (autogenerated)

az network profile list --resource-group MyResourceGroup

Optional Parameters

--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 network profile show

Get the details of a network profile.

az network profile show [--expand]
[--ids]
[--name]
[--resource-group]
[--subscription]

Examples

Get the details of a network profile. (autogenerated)

az network profile show --name MyNetworkProfile --resource-group MyResourceGroup

Optional Parameters

--expand

Expands referenced resources.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

The network profile name.

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