Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ServiceTag Rule support #507

Merged
Merged
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
11 changes: 11 additions & 0 deletions Commands/network/perimeter/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Creates a Network Security Perimeter.
```bash
network perimeter create -n MyPerimeter -g MyResourceGroup -l northcentralus
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{} 2023-08-01-preview -->

#### examples

- Create a Network Security Perimeter
```bash
network perimeter create -n MyPerimeter -g MyResourceGroup -l northcentralus
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes a network security perimeter.
```bash
network perimeter delete -g MyResourceGroup -n MyPerimeter
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{} 2023-08-01-preview -->

#### examples

- Delete a Network Security Perimeter
```bash
network perimeter delete -g MyResourceGroup -n MyPerimeter
```
12 changes: 12 additions & 0 deletions Commands/network/perimeter/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ List all network security perimeters in a subscription.
```bash
network perimeter list -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnM=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/networksecurityperimeters 2023-08-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters 2023-08-01-preview -->

#### examples

- List Network Security Perimeters
```bash
network perimeter list -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets the specified network security perimeter by the name.
```bash
network perimeter show -g MyResourceGroup -n MyPerimeter
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{} 2023-08-01-preview -->

#### examples

- Get the Network Security Perimeter
```bash
network perimeter show -g MyResourceGroup -n MyPerimeter
```
4 changes: 4 additions & 0 deletions Commands/network/perimeter/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Creates or updates a Network Security Perimeter.
### [2021-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30=/2021-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{} 2021-02-01-preview -->

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{} 2023-08-01-preview -->
11 changes: 11 additions & 0 deletions Commands/network/perimeter/association/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Creates or updates a NSP resource association.
```bash
network perimeter association create -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup --access-mode Learning --private-link-resource "{id:<PaaSArmID>}" --profile "{id:<ProfileArmID>}"
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcmVzb3VyY2Vhc3NvY2lhdGlvbnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{} 2023-08-01-preview -->

#### examples

- Create NSP Association
```bash
network perimeter association create -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup --access-mode Learning --private-link-resource "{id:<PaaSArmID>}" --profile "{id:<ProfileArmID>}"
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/association/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes an NSP association resource.
```bash
network perimeter association delete -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcmVzb3VyY2Vhc3NvY2lhdGlvbnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{} 2023-08-01-preview -->

#### examples

- Delete NSP Association
```bash
network perimeter association delete -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/association/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Lists the NSP resource associations.
```bash
network perimeter association list --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcmVzb3VyY2Vhc3NvY2lhdGlvbnM=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations 2023-08-01-preview -->

#### examples

- List NSP Associations inside a Perimeter
```bash
network perimeter association list --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/association/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets the specified NSP association by name.
```bash
network perimeter association show -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcmVzb3VyY2Vhc3NvY2lhdGlvbnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{} 2023-08-01-preview -->

#### examples

- Get NSP Association
```bash
network perimeter association show -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/association/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Creates or updates a NSP resource association.
```bash
network perimeter association update --name MyAssociation --perimeter-name MyPerimeter --resource-group MyResourceGroup --access-mode Enforced --private-link-resource id="<PaaSArmID> --profile id="ProfileArmID"
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcmVzb3VyY2Vhc3NvY2lhdGlvbnMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{} 2023-08-01-preview -->

#### examples

- Update NSP Association
```bash
network perimeter association update --name MyAssociation --perimeter-name MyPerimeter --resource-group MyResourceGroup --access-mode Enforced --private-link-resource id="<PaaSArmID> --profile id="ProfileArmID"
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link-reference/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete an NSP LinkReference resource.
```bash
network perimeter link-reference delete --perimeter-name nsp2 --resource-group rg1 --name linkref2
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3JlZmVyZW5jZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{} 2023-08-01-preview -->

#### examples

- Delete a link reference
```bash
network perimeter link-reference delete --perimeter-name nsp2 --resource-group rg1 --name linkref2
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link-reference/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List the NSP LinkReference resources in the specified network security perimeter
```bash
network perimeter link-reference list --perimeter-name nsp2 --resource-group rg1
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3JlZmVyZW5jZXM=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences 2023-08-01-preview -->

#### examples

- List NSP link reference
```bash
network perimeter link-reference list --perimeter-name nsp2 --resource-group rg1
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link-reference/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get the specified NSP linkReference resource.
```bash
network perimeter link-reference show --perimeter-name nsp2 --resource-group rg1 --name linkref2
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3JlZmVyZW5jZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{} 2023-08-01-preview -->

#### examples

- Get a link reference
```bash
network perimeter link-reference show --perimeter-name nsp2 --resource-group rg1 --name linkref2
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create NSP link resource.
```bash
network perimeter link create --name link1 --perimeter-name nsp1 --resource-group rg1 --auto-remote-nsp-id <NspId> --local-inbound-profile "[\'*\']" --remote-inbound-profile "[\'*\']" '
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3Mve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{} 2023-08-01-preview -->

#### examples

- Create NSP Link
```bash
network perimeter link create --name link1 --perimeter-name nsp1 --resource-group rg1 --auto-remote-nsp-id <NspId> --local-inbound-profile "[\'*\']" --remote-inbound-profile "[\'*\']" '
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete an NSP Link resource.
```bash
network perimeter link delete --name link1 --perimeter-name nsp1 --resource-group rg1
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3Mve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{} 2023-08-01-preview -->

#### examples

- Delete NSP link
```bash
network perimeter link delete --name link1 --perimeter-name nsp1 --resource-group rg1
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List the NSP Link resources in the specified network security perimeter.
```bash
network perimeter link list --perimeter-name nsp1 --resource-group rg1
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3M=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links 2023-08-01-preview -->

#### examples

- Lists NSP links in a parameter
```bash
network perimeter link list --perimeter-name nsp1 --resource-group rg1
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get the specified NSP link resource.
```bash
network perimeter link list --perimeter-name nsp1 --resource-group rg1
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3Mve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{} 2023-08-01-preview -->

#### examples

- Get NSP link
```bash
network perimeter link list --perimeter-name nsp1 --resource-group rg1
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/link/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update NSP link resource.
```bash
network perimeter link update --name link1 --perimeter-name nsp1 --resource-group rg1 --local-inbound-profile "[\'*\']"
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vbGlua3Mve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{} 2023-08-01-preview -->

#### examples

- Update NSP Link
```bash
network perimeter link update --name link1 --perimeter-name nsp1 --resource-group rg1 --local-inbound-profile "[\'*\']"
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/onboarded-resources/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets the list of resources that are onboarded with NSP. These resources can be a
```bash
network perimeter onboarded-resources list -l northcentralus
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvY2F0aW9ucy97fS9wZXJpbWV0ZXJhc3NvY2lhYmxlcmVzb3VyY2V0eXBlcw==/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/locations/{}/perimeterassociableresourcetypes 2023-08-01-preview -->

#### examples

- List NSP onboarded resources
```bash
network perimeter onboarded-resources list -l northcentralus
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/profile/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Creates or updates a network profile.
```bash
network perimeter profile create -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{} 2023-08-01-preview -->

#### examples

- Create NSP Profile
```bash
network perimeter profile create -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/profile/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes an NSP profile.
```bash
network perimeter profile delete -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{} 2023-08-01-preview -->

#### examples

- Delete NSP Profile
```bash
network perimeter profile delete -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/profile/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Lists the NSP profiles in the specified network security perimeter.
```bash
network perimeter profile list --perimeter-name MyPerimeter -g MyResourceGroup
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXM=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles 2023-08-01-preview -->

#### examples

- List NSP Profiles inside a Perimeter
```bash
network perimeter profile list --perimeter-name MyPerimeter -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/perimeter/profile/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets the specified NSP profile.
```bash
network perimeter profile show --perimeter-name MyPerimeter -g MyResourceGroup -n MyProfile
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{} 2023-08-01-preview -->

#### examples

- Get NSP Profile
```bash
network perimeter profile show --perimeter-name MyPerimeter -g MyResourceGroup -n MyProfile
```
4 changes: 4 additions & 0 deletions Commands/network/perimeter/profile/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Creates or updates a network profile.
### [2021-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30=/2021-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{} 2021-02-01-preview -->

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{} 2023-08-01-preview -->
31 changes: 31 additions & 0 deletions Commands/network/perimeter/profile/access-rule/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,34 @@ Creates or updates a network access rule.
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --subscriptions [0].id="<SubscriptionID1>" [1].id="<SubscriptionID2>"
```

### [2023-08-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25ldHdvcmtzZWN1cml0eXBlcmltZXRlcnMve30vcHJvZmlsZXMve30vYWNjZXNzcnVsZXMve30=/2023-08-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{} 2023-08-01-preview -->

#### examples

- Create IP based access rule
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]"
```

- Create NSP based access rule
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --nsp "[{id:<NSP_ARM_ID>}]"
```

- Create FQDN based access rule
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --fqdn "['www.abc.com', 'www.google.com']" --direction "Outbound"
```

- Create Subscription based access rule
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --subscriptions [0].id="<SubscriptionID1>" [1].id="<SubscriptionID2>"
```

- Create ServiceTags based access rule
```bash
network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --service-tags [st1,st2]
```
Loading
Loading