|
719 | 719 | text: az cognitiveservices agent update --account-name myAccount --project-name myProject --name myAgent --agent-version 1 --min-replicas 1 --max-replicas 2 |
720 | 720 | """ |
721 | 721 |
|
| 722 | +helps['cognitiveservices account managed-network'] = """ |
| 723 | + type: group |
| 724 | + short-summary: Manage the managed network settings for an Azure Cognitive Services account. |
| 725 | + long-summary: > |
| 726 | + Managed network settings control the network isolation mode and firewall configuration |
| 727 | + for AI Foundry accounts. |
| 728 | +""" |
| 729 | + |
| 730 | +helps['cognitiveservices account managed-network create'] = """ |
| 731 | + type: command |
| 732 | + short-summary: Create a managed network for an Azure Cognitive Services account. |
| 733 | + examples: |
| 734 | + - name: Create a managed network with internet outbound access. |
| 735 | + text: > |
| 736 | + az cognitiveservices account managed-network create |
| 737 | + --name my-account |
| 738 | + --resource-group my-resource-group |
| 739 | + --managed-network allow_internet_outbound |
| 740 | + - name: Create a managed network with approved outbound only and a standard firewall. |
| 741 | + text: > |
| 742 | + az cognitiveservices account managed-network create |
| 743 | + --name my-account |
| 744 | + --resource-group my-resource-group |
| 745 | + --managed-network allow_only_approved_outbound |
| 746 | + --firewall-sku Standard |
| 747 | +""" |
| 748 | + |
| 749 | +helps['cognitiveservices account managed-network update'] = """ |
| 750 | + type: command |
| 751 | + short-summary: Update managed network settings for an Azure Cognitive Services account. |
| 752 | + examples: |
| 753 | + - name: Update the firewall SKU. |
| 754 | + text: > |
| 755 | + az cognitiveservices account managed-network update |
| 756 | + --name my-account |
| 757 | + --resource-group my-resource-group |
| 758 | + --firewall-sku Standard |
| 759 | + - name: Change the isolation mode. |
| 760 | + text: > |
| 761 | + az cognitiveservices account managed-network update |
| 762 | + --name my-account |
| 763 | + --resource-group my-resource-group |
| 764 | + --managed-network allow_only_approved_outbound |
| 765 | +""" |
| 766 | + |
| 767 | +helps['cognitiveservices account managed-network show'] = """ |
| 768 | + type: command |
| 769 | + short-summary: Show the managed network settings for an Azure Cognitive Services account. |
| 770 | + examples: |
| 771 | + - name: Show managed network settings. |
| 772 | + text: > |
| 773 | + az cognitiveservices account managed-network show |
| 774 | + --name my-account |
| 775 | + --resource-group my-resource-group |
| 776 | +""" |
| 777 | + |
| 778 | +helps['cognitiveservices account managed-network provision-network'] = """ |
| 779 | + type: command |
| 780 | + short-summary: Provision the managed network for an Azure Cognitive Services account. |
| 781 | + long-summary: > |
| 782 | + Triggers provisioning of the managed network. This is a long-running operation. |
| 783 | + examples: |
| 784 | + - name: Provision the managed network. |
| 785 | + text: > |
| 786 | + az cognitiveservices account managed-network provision-network |
| 787 | + --name my-account |
| 788 | + --resource-group my-resource-group |
| 789 | +""" |
| 790 | + |
| 791 | +helps['cognitiveservices account managed-network outbound-rule'] = """ |
| 792 | + type: group |
| 793 | + short-summary: Manage outbound rules for the managed network of an Azure Cognitive Services account. |
| 794 | + long-summary: > |
| 795 | + Outbound rules control egress traffic from the managed network. Rules can be |
| 796 | + of type FQDN, PrivateEndpoint, or ServiceTag. |
| 797 | +""" |
| 798 | + |
| 799 | +helps['cognitiveservices account managed-network outbound-rule list'] = """ |
| 800 | + type: command |
| 801 | + short-summary: List all outbound rules for the managed network. |
| 802 | + examples: |
| 803 | + - name: List all outbound rules. |
| 804 | + text: > |
| 805 | + az cognitiveservices account managed-network outbound-rule list |
| 806 | + --name my-account |
| 807 | + --resource-group my-resource-group |
| 808 | +""" |
| 809 | + |
| 810 | +helps['cognitiveservices account managed-network outbound-rule show'] = """ |
| 811 | + type: command |
| 812 | + short-summary: Show details of an outbound rule. |
| 813 | + examples: |
| 814 | + - name: Show an outbound rule. |
| 815 | + text: > |
| 816 | + az cognitiveservices account managed-network outbound-rule show |
| 817 | + --name my-account |
| 818 | + --resource-group my-resource-group |
| 819 | + --rule my-rule |
| 820 | +""" |
| 821 | + |
| 822 | +helps['cognitiveservices account managed-network outbound-rule remove'] = """ |
| 823 | + type: command |
| 824 | + short-summary: Remove an outbound rule from the managed network. |
| 825 | + examples: |
| 826 | + - name: Remove an outbound rule. |
| 827 | + text: > |
| 828 | + az cognitiveservices account managed-network outbound-rule remove |
| 829 | + --name my-account |
| 830 | + --resource-group my-resource-group |
| 831 | + --rule my-rule |
| 832 | +""" |
| 833 | + |
| 834 | +helps['cognitiveservices account managed-network outbound-rule set'] = """ |
| 835 | + type: command |
| 836 | + short-summary: Create or update a single outbound rule for the managed network. |
| 837 | + long-summary: > |
| 838 | + Creates or updates an outbound rule of the specified type (FQDN, PrivateEndpoint, or ServiceTag). |
| 839 | + examples: |
| 840 | + - name: Create an FQDN outbound rule. |
| 841 | + text: > |
| 842 | + az cognitiveservices account managed-network outbound-rule set |
| 843 | + --name my-account |
| 844 | + --resource-group my-resource-group |
| 845 | + --rule my-fqdn-rule |
| 846 | + --type fqdn |
| 847 | + --destination "*.example.com" |
| 848 | + - name: Create a ServiceTag outbound rule. |
| 849 | + text: > |
| 850 | + az cognitiveservices account managed-network outbound-rule set |
| 851 | + --name my-account |
| 852 | + --resource-group my-resource-group |
| 853 | + --rule my-servicetag-rule |
| 854 | + --type servicetag |
| 855 | + --category UserDefined |
| 856 | + --destination '{"serviceTag": "Storage", "protocol": "TCP", "portRanges": "443"}' |
| 857 | + - name: Create a PrivateEndpoint outbound rule. |
| 858 | + text: > |
| 859 | + az cognitiveservices account managed-network outbound-rule set |
| 860 | + --name my-account |
| 861 | + --resource-group my-resource-group |
| 862 | + --rule my-pe-rule |
| 863 | + --type privateendpoint |
| 864 | + --destination /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/mystorageaccount |
| 865 | + --subresource-target blob |
| 866 | +""" |
| 867 | + |
| 868 | +helps['cognitiveservices account managed-network outbound-rule bulk-set'] = """ |
| 869 | + type: command |
| 870 | + short-summary: Bulk create or update outbound rules from a YAML or JSON file. |
| 871 | + long-summary: > |
| 872 | + Reads outbound rules from a YAML or JSON file and creates or updates them in bulk. |
| 873 | + examples: |
| 874 | + - name: Bulk set outbound rules from a YAML file. |
| 875 | + text: > |
| 876 | + az cognitiveservices account managed-network outbound-rule bulk-set |
| 877 | + --name my-account |
| 878 | + --resource-group my-resource-group |
| 879 | + --file rules.yaml |
| 880 | +""" |
| 881 | + |
722 | 882 | helps['cognitiveservices account connection'] = """ |
723 | 883 | type: group |
724 | 884 | short-summary: Manage Azure Cognitive Services connection and its more specific derivatives. |
|
0 commit comments