Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Commands/agentfabric/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric create_

Create an Agent Fabric resource.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{} 2026-07-21-preview -->

#### examples

- AgentFabrics_CreateOrUpdate
```bash
agentfabric create --resource-group rgnetworksecurity --name testAIFabric --default-policy-groups "[/subscriptions/11809CA1-E126-4017-945E-AA795CD5C5A9/resourceGroups/rgnetworksecurity/providers/Microsoft.NetworkSecurity/policyGroups/testPolicyGroup]" --trust-domain contoso.agentfabric --tags "{}" --location eastus
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric delete_

Delete an Agent Fabric resource.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{} 2026-07-21-preview -->

#### examples

- AgentFabrics_Delete
```bash
agentfabric delete --resource-group rgnetworksecurity --name testAIFabric
```
22 changes: 22 additions & 0 deletions Commands/agentfabric/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# [Command] _agentfabric list_

List Agent Fabric resources.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNz/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.networksecurity/agentfabrics 2026-07-21-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics 2026-07-21-preview -->

#### examples

- AgentFabrics_ListBySubscription
```bash
agentfabric list
```

- AgentFabrics_ListByResourceGroup
```bash
agentfabric list --resource-group rgnetworksecurity
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric show_

Show an Agent Fabric resource.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{} 2026-07-21-preview -->

#### examples

- AgentFabrics_Get
```bash
agentfabric show --resource-group rgnetworksecurity --name testAIFabric
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric update_

Update an Agent Fabric resource.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{} 2026-07-21-preview -->

#### examples

- AgentFabrics_Update
```bash
agentfabric update --resource-group rgnetworksecurity --name testAIFabric --tags "{env:production}"
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/aks/_attach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric aks attach_

Attach an AKS cluster to an Agent Fabric. The parent Fabric name and AKS cluster name are required.

## Versions

### [2026-09-10-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L2NsdXN0ZXJhc3NvY2lhdGlvbnMve30=/2026-09-10-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/clusterassociations/{} 2026-09-10-preview -->

#### examples

- Attach an AKS cluster
```bash
agentfabric aks attach --resource-group rgnetworksecurity --fabric-name testAIFabric --cluster-name testCluster --cluster-resource-id /subscriptions/11809CA1-E126-4017-945E-AA795CD5C5A9/resourceGroups/rgaks/providers/Microsoft.ContainerService/managedClusters/testCluster --sku Standard
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/aks/_detach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric aks detach_

Detach an AKS cluster from an Agent Fabric. The parent Fabric name and AKS cluster name are required.

## Versions

### [2026-09-10-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L2NsdXN0ZXJhc3NvY2lhdGlvbnMve30=/2026-09-10-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/clusterassociations/{} 2026-09-10-preview -->

#### examples

- Detach an AKS cluster
```bash
agentfabric aks detach --resource-group rgnetworksecurity --fabric-name testAIFabric --cluster-name testCluster
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/aks/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric aks list_

List AKS cluster enrollments for an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-09-10-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L2NsdXN0ZXJhc3NvY2lhdGlvbnM=/2026-09-10-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/clusterassociations 2026-09-10-preview -->

#### examples

- List AKS cluster enrollments
```bash
agentfabric aks list --resource-group rgnetworksecurity --fabric-name testAIFabric
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/aks/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric aks show_

Show an AKS cluster enrollment for an Agent Fabric. The parent Fabric name and AKS cluster name are required.

## Versions

### [2026-09-10-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L2NsdXN0ZXJhc3NvY2lhdGlvbnMve30=/2026-09-10-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/clusterassociations/{} 2026-09-10-preview -->

#### examples

- Show an AKS cluster enrollment
```bash
agentfabric aks show --resource-group rgnetworksecurity --fabric-name testAIFabric --cluster-name testCluster
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/aks/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric aks update_

Update the SKU for an AKS cluster enrollment. The parent Fabric name and AKS cluster name are required.

## Versions

### [2026-09-10-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L2NsdXN0ZXJhc3NvY2lhdGlvbnMve30=/2026-09-10-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/clusterassociations/{} 2026-09-10-preview -->

#### examples

- Update an AKS cluster enrollment SKU
```bash
agentfabric aks update --resource-group rgnetworksecurity --fabric-name testAIFabric --cluster-name testCluster --sku Premium
```
20 changes: 20 additions & 0 deletions Commands/agentfabric/aks/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _agentfabric aks_

Manage AKS cluster enrollment with an Agent Fabric. Commands use the AKS cluster name as the association child name and require the parent Fabric name.

## Commands

- [attach](/Commands/agentfabric/aks/_attach.md)
: Attach an AKS cluster to an Agent Fabric. The parent Fabric name and AKS cluster name are required.

- [detach](/Commands/agentfabric/aks/_detach.md)
: Detach an AKS cluster from an Agent Fabric. The parent Fabric name and AKS cluster name are required.

- [list](/Commands/agentfabric/aks/_list.md)
: List AKS cluster enrollments for an Agent Fabric. The parent Fabric name is required.

- [show](/Commands/agentfabric/aks/_show.md)
: Show an AKS cluster enrollment for an Agent Fabric. The parent Fabric name and AKS cluster name are required.

- [update](/Commands/agentfabric/aks/_update.md)
: Update the SKU for an AKS cluster enrollment. The parent Fabric name and AKS cluster name are required.
21 changes: 21 additions & 0 deletions Commands/agentfabric/member/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [Command] _agentfabric member create_

Create a member resource as a child of an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L21lbWJlcnMve30=/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/members/{} 2026-07-21-preview -->

#### examples

- Members_CreateOrUpdate
```bash
agentfabric member create --resource-group rgnetworksecurity --fabric-name testAIFabric --member-name testMember --location eastus --workload "{aci:{resource-id:/subscriptions/11809CA1-E126-4017-945E-AA795CD5C5A9/resourceGroups/rgnetworksecurity/providers/Microsoft.ContainerInstance/containerGroups/testContainerGroup}}"
```

- Members_CreateOrUpdate_AgentFabricSandbox
```bash
agentfabric member create --resource-group rgnetworksecurity --fabric-name testAIFabric --member-name sandboxMember --location eastus --workload "{agent-fabric-sandbox:{image:{uri:'contoso.azurecr.io/agents/sandbox:1.0.0',digest:'sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae',pull-policy:IfNotPresent},resources:{cpu:2,memory:4Gi,disk:20Gi},agent-identity:{tenant-id:72f988bf-86f1-41af-91ab-2d7cd011db47,agent-id:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee},endpoints:[{name:http,port:8080}],domain:sandbox-member.testaifabric.contoso.com}}"
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/member/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric member delete_

Delete a member resource that is a child of an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L21lbWJlcnMve30=/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/members/{} 2026-07-21-preview -->

#### examples

- Members_Delete
```bash
agentfabric member delete --resource-group rgnetworksecurity --fabric-name testAIFabric --member-name testMember
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/member/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric member list_

List member resources that are children of an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L21lbWJlcnM=/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/members 2026-07-21-preview -->

#### examples

- Members_ListByParent
```bash
agentfabric member list --resource-group rgnetworksecurity --fabric-name testAIFabric
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/member/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric member show_

Show a member resource that is a child of an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L21lbWJlcnMve30=/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/members/{} 2026-07-21-preview -->

#### examples

- Members_Get
```bash
agentfabric member show --resource-group rgnetworksecurity --fabric-name testAIFabric --member-name testMember
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/member/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric member update_

Update a member resource that is a child of an Agent Fabric. The parent Fabric name is required.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvYWdlbnRmYWJyaWNzL3t9L21lbWJlcnMve30=/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/agentfabrics/{}/members/{} 2026-07-21-preview -->

#### examples

- Members_Update
```bash
agentfabric member update --resource-group rgnetworksecurity --fabric-name testAIFabric --member-name testMember --tags "{environment:production}"
```
20 changes: 20 additions & 0 deletions Commands/agentfabric/member/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _agentfabric member_

Manage members that are children of an Agent Fabric. The parent Fabric name is required.

## Commands

- [create](/Commands/agentfabric/member/_create.md)
: Create a member resource as a child of an Agent Fabric. The parent Fabric name is required.

- [delete](/Commands/agentfabric/member/_delete.md)
: Delete a member resource that is a child of an Agent Fabric. The parent Fabric name is required.

- [list](/Commands/agentfabric/member/_list.md)
: List member resources that are children of an Agent Fabric. The parent Fabric name is required.

- [show](/Commands/agentfabric/member/_show.md)
: Show a member resource that is a child of an Agent Fabric. The parent Fabric name is required.

- [update](/Commands/agentfabric/member/_update.md)
: Update a member resource that is a child of an Agent Fabric. The parent Fabric name is required.
36 changes: 36 additions & 0 deletions Commands/agentfabric/policy-group/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# [Command] _agentfabric policy-group create_

Create an independent resource-group-scoped Microsoft.NetworkSecurity Policy Group resource. Policy Groups are not children of an Agent Fabric.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvcG9saWN5Z3JvdXBzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/policygroups/{} 2026-07-21-preview -->

#### examples

- PolicyGroups_CreateOrUpdate
```bash
agentfabric policy-group create --resource-group rgnetworksecurity --name testPolicyGroup --location eastus --tags "{env:test}" --display-name "Test Policy Group" --description "A policy group for testing" --priority 100 --network-security-policies "[{fqdn-filtering:{name:allowOutbound,priority:10,direction:Outbound,ports:[443,80],source:{workload-id-patterns:{patterns:[workload1,workload2]}},destination:{fqdns:{fqdns:[example.com,contoso.com]}}}}]"
```

- PolicyGroups_CreateOrUpdate_ContentInspection
```bash
agentfabric policy-group create --resource-group rgnetworksecurity --name contentInspectionGroup --location eastus --tags "{env:test}" --display-name "Content Inspection Policy Group" --description "A policy group demonstrating content inspection policies" --priority 100 --network-security-policies "[{content-inspection:{source:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/default/sa/*']}},prompt-injection-protection:{sensitivity:High,prompt-locations:['$.messages[*].content','$.input'],response-locations:['$.choices[*].message.content'],on-detection:BlockAndAlert}}}]"
```

- PolicyGroups_CreateOrUpdate_Mcp
```bash
agentfabric policy-group create --resource-group rgnetworksecurity --name mcpPolicyGroup --location eastus --tags "{env:test}" --display-name "MCP Policy Group" --description "A policy group demonstrating MCP server policies" --priority 100 --network-security-policies "[{mcp:{default-action:Deny,source:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/default/sa/*']}},destination:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/mcp/sa/*']}},rules:[{action:Allow,tools:[search,fetch]},{action:Deny,tools:[deleteFile]}]}},{mcp:{default-action:Allow,source:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/default/sa/*']}},destination:{fqdns:{fqdns:[mcp.contoso.com]}},rules:[{action:Deny,tools:[executeShell,writeFile]}]}},{mcp:{default-action:Deny,source:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/default/sa/*']}},destination:{address-prefixes:{prefixes:[10.0.0.0/24]}},rules:[{action:Allow,tools:[listResources,readResource]}]}}]"
```

- PolicyGroups_CreateOrUpdate_TlsInspection
```bash
agentfabric policy-group create --resource-group rgnetworksecurity --name tlsInspectionPolicyGroup --location eastus --tags "{env:test}" --display-name "TLS Inspection Policy Group" --description "A policy group demonstrating TLS inspection policies" --priority 100 --network-security-policies "[{tls-inspection:{source:{workload-id-patterns:{patterns:['spiffe://contoso.com/ns/default/sa/*']}},certificate:{azure-managed-ca:{}}}}]"
```

- PolicyGroups_CreateOrUpdate_UrlFiltering
```bash
agentfabric policy-group create --resource-group rgnetworksecurity --name urlFilteringPolicyGroup --location eastus --tags "{env:test}" --display-name "URL Filtering Policy Group" --description "A policy group demonstrating URL filtering" --priority 100 --network-security-policies "[{url-filtering:{default-action:Deny,source:{address-prefixes:{prefixes:[10.0.0.0/24]}},destination:{fqdns:{fqdns:[api.contoso.com]}},rules:[{name:allowProductApi,priority:10,hostname:api.contoso.com,method:GET,paths:['/v1/products','/v1/products/*'],action:Allow},{name:denyAdmin,priority:20,paths:['/admin/*'],action:Deny}]}}]"
```
16 changes: 16 additions & 0 deletions Commands/agentfabric/policy-group/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _agentfabric policy-group delete_

Delete an independent resource-group-scoped Microsoft.NetworkSecurity Policy Group resource. Policy Groups are not children of an Agent Fabric.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvcG9saWN5Z3JvdXBzL3t9/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/policygroups/{} 2026-07-21-preview -->

#### examples

- PolicyGroups_Delete
```bash
agentfabric policy-group delete --resource-group rgnetworksecurity --name testPolicyGroup
```
22 changes: 22 additions & 0 deletions Commands/agentfabric/policy-group/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# [Command] _agentfabric policy-group list_

List independent resource-group-scoped Microsoft.NetworkSecurity Policy Group resources. Policy Groups are not children of an Agent Fabric.

## Versions

### [2026-07-21-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3Jrc2VjdXJpdHkvcG9saWN5Z3JvdXBz/2026-07-21-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.networksecurity/policygroups 2026-07-21-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.networksecurity/policygroups 2026-07-21-preview -->

#### examples

- PolicyGroups_ListBySubscription
```bash
agentfabric policy-group list
```

- PolicyGroups_ListByResourceGroup
```bash
agentfabric policy-group list --resource-group rgnetworksecurity
```
Loading
Loading