az cognitiveservices account managed-network
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage the managed network settings for an Azure Cognitive Services account.
Managed network settings control the network isolation mode and firewall configuration for AI Foundry accounts.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cognitiveservices account managed-network create |
Create a managed network for an Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule |
Manage outbound rules for the managed network of an Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule bulk-set |
Bulk create or update outbound rules from a YAML or JSON file. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule list |
List all outbound rules for the managed network. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule remove |
Remove an outbound rule from the managed network. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule set |
Create or update a single outbound rule for the managed network. |
Core | Preview |
| az cognitiveservices account managed-network outbound-rule show |
Show details of an outbound rule. |
Core | Preview |
| az cognitiveservices account managed-network provision-network |
Provision the managed network for an Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account managed-network show |
Show the managed network settings for an Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account managed-network update |
Update managed network settings for an Azure Cognitive Services account. |
Core | Preview |
az cognitiveservices account managed-network create
Command group 'cognitiveservices account managed-network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a managed network for an Azure Cognitive Services account.
az cognitiveservices account managed-network create --managed-network {allow_internet_outbound, allow_only_approved_outbound}
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--firewall-sku {Basic, Standard}]
[--managed-network-name]
Examples
Create a managed network with internet outbound access.
az cognitiveservices account managed-network create --name my-account --resource-group my-resource-group --managed-network allow_internet_outbound
Create a managed network with approved outbound only and a standard firewall.
az cognitiveservices account managed-network create --name my-account --resource-group my-resource-group --managed-network allow_only_approved_outbound --firewall-sku Standard
Required Parameters
Isolation mode for the managed network.
| Property | Value |
|---|---|
| Accepted values: | allow_internet_outbound, allow_only_approved_outbound |
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Firewall SKU for the managed network.
| Property | Value |
|---|---|
| Accepted values: | Basic, Standard |
Name of the managed network. Only "default" is supported.
| Property | Value |
|---|---|
| Default value: | default |
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 cognitiveservices account managed-network provision-network
Command group 'cognitiveservices account managed-network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Provision the managed network for an Azure Cognitive Services account.
Triggers provisioning of the managed network. This is a long-running operation.
az cognitiveservices account managed-network provision-network --name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--managed-network-name]
Examples
Provision the managed network.
az cognitiveservices account managed-network provision-network --name my-account --resource-group my-resource-group
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Name of the managed network. Only "default" is supported.
| Property | Value |
|---|---|
| Default value: | default |
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 cognitiveservices account managed-network show
Command group 'cognitiveservices account managed-network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show the managed network settings for an Azure Cognitive Services account.
az cognitiveservices account managed-network show --name
--resource-group
[--managed-network-name]
Examples
Show managed network settings.
az cognitiveservices account managed-network show --name my-account --resource-group my-resource-group
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the managed network. Only "default" is supported.
| Property | Value |
|---|---|
| Default value: | default |
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 cognitiveservices account managed-network update
Command group 'cognitiveservices account managed-network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update managed network settings for an Azure Cognitive Services account.
az cognitiveservices account managed-network update --name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--firewall-sku {Basic, Standard}]
[--managed-network {allow_internet_outbound, allow_only_approved_outbound}]
[--managed-network-name]
Examples
Update the firewall SKU.
az cognitiveservices account managed-network update --name my-account --resource-group my-resource-group --firewall-sku Standard
Change the isolation mode.
az cognitiveservices account managed-network update --name my-account --resource-group my-resource-group --managed-network allow_only_approved_outbound
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Firewall SKU for the managed network.
| Property | Value |
|---|---|
| Accepted values: | Basic, Standard |
Isolation mode for the managed network.
| Property | Value |
|---|---|
| Accepted values: | allow_internet_outbound, allow_only_approved_outbound |
Name of the managed network. Only "default" is supported.
| Property | Value |
|---|---|
| Default value: | default |
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 |