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

Add new dns resolver 2023-07-01-preview swagger changes to aaz with n… #627

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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/dns-resolver/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a DNS resolver.
```bash
dns-resolver create --name "sampleDnsResolver" --location "westus2" --id "/subscriptions/ cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Mi crosoft.Network/virtualNetworks/sampleVirtualNetwork" --tags key1="value1" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Upsert DNS resolver
```bash
dns-resolver create --name "sampleDnsResolver" --location "westus2" --id "/subscriptions/ cbb1387e-4b03-44f2-ad41-58d4677b9873/resourceGroups/virtualNetworkResourceGroup/providers/Mi crosoft.Network/virtualNetworks/sampleVirtualNetwork" --tags key1="value1" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes a DNS resolver. WARNING: This operation cannot be undone.
```bash
dns-resolver delete --name "sampleDnsResolver" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Delete DNS resolver
```bash
dns-resolver delete --name "sampleDnsResolver" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/_list-by-virtual-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Lists DNS resolver resource IDs linked to a virtual network.
```bash
dns-resolver list --resource-group "sampleResourceGroup" --virtual-network-name "sampleVirtualNetwork"
```

### [2023-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9saXN0ZG5zcmVzb2x2ZXJz/2023-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/listdnsresolvers 2023-07-01-preview -->

#### examples

- List DNS resolvers by virtual network
```bash
dns-resolver list --resource-group "sampleResourceGroup" --virtual-network-name "sampleVirtualNetwork"
```
22 changes: 22 additions & 0 deletions Commands/dns-resolver/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,25 @@ Lists DNS resolvers in all resource groups of a subscription.
```bash
dns-resolver list --resource-group "sampleResourceGroup" --virtual-network-name "sampleVirtualNetwork"
```

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

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

#### examples

- List DNS resolvers by resource group
```bash
dns-resolver list --resource-group "sampleResourceGroup"
```

- List DNS resolvers by subscription
```bash
dns-resolver list
```

- List DNS resolvers by virtual network
```bash
dns-resolver list --resource-group "sampleResourceGroup" --virtual-network-name "sampleVirtualNetwork"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets properties of a DNS resolver.
```bash
dns-resolver show --name "sampleDnsResolver" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Retrieve DNS resolver
```bash
dns-resolver show --resource-group sampleResourceGroup --dns-resolver-name sampleDnsResolver
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Updates a DNS resolver.
```bash
dns-resolver update --name "sampleDnsResolver" --tags key1="value1" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Update DNS resolver
```bash
dns-resolver update --name "sampleDnsResolver" --tags key1="value1" --resource-group "sampleResourceGroup"
```
16 changes: 16 additions & 0 deletions Commands/dns-resolver/domain-list/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dns-resolver domain-list create_

Create a DNS resolver domain list.

## Versions

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

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

#### examples

- Upsert DNS resolver domain list
```bash
dns-resolver domain-list create --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList --location westus2 --tags "{key1:value1}" --domains "[contoso.com]"
```
16 changes: 16 additions & 0 deletions Commands/dns-resolver/domain-list/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dns-resolver domain-list delete_

Delete a DNS resolver domain list. WARNING: This operation cannot be undone.

## Versions

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

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

#### examples

- Delete DNS resolver domain list
```bash
dns-resolver domain-list delete --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList
```
17 changes: 17 additions & 0 deletions Commands/dns-resolver/domain-list/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# [Command] _dns-resolver domain-list list_

List DNS resolver domain lists in all resource groups of a subscription.

## Versions

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

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

#### examples

- List DNS resolver domain lists by subscription
```bash
dns-resolver domain-list list
```
16 changes: 16 additions & 0 deletions Commands/dns-resolver/domain-list/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dns-resolver domain-list show_

Get properties of a DNS resolver domain list.

## Versions

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

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

#### examples

- Retrieve DNS resolver domain list
```bash
dns-resolver domain-list show --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList
```
16 changes: 16 additions & 0 deletions Commands/dns-resolver/domain-list/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _dns-resolver domain-list update_

Update a DNS resolver domain list.

## Versions

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

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

#### examples

- Update DNS resolver domain list example
```bash
dns-resolver domain-list update --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList --location westus2 --tags "{key1:value1}" --domains "[contoso.com]"
```
20 changes: 20 additions & 0 deletions Commands/dns-resolver/domain-list/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _dns-resolver domain-list_

Manage DNS Resolver Domain List

## Commands

- [create](/Commands/dns-resolver/domain-list/_create.md)
: Create a DNS resolver domain list.

- [delete](/Commands/dns-resolver/domain-list/_delete.md)
: Delete a DNS resolver domain list. WARNING: This operation cannot be undone.

- [list](/Commands/dns-resolver/domain-list/_list.md)
: List DNS resolver domain lists in all resource groups of a subscription.

- [show](/Commands/dns-resolver/domain-list/_show.md)
: Get properties of a DNS resolver domain list.

- [update](/Commands/dns-resolver/domain-list/_update.md)
: Update a DNS resolver domain list.
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-rule/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a forwarding rule in a DNS forwarding ruleset.
```bash
dns-resolver forwarding-rule create --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --domain-name "contoso.com." --forwarding-rule-state "Enabled" --metadata additionalProp1="value1" --target-dns-servers [{ip-address:"10.0.0.1",port:53},{ip-address:"10.0.0.2",port:53}] --resource-group "sampleResourceGroup"
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnsforwardingrulesets/{}/forwardingrules/{} 2023-07-01-preview -->

#### examples

- Upsert forwarding rule in a DNS forwarding ruleset
```bash
dns-resolver forwarding-rule create --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --domain-name "contoso.com." --forwarding-rule-state "Enabled" --metadata additionalProp1="value1" --target-dns-servers [{ip-address:"10.0.0.1",port:53},{ip-address:"10.0.0.2",port:53}] --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-rule/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation c
```bash
dns-resolver forwarding-rule delete --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --resource-group "sampleResourceGroup"
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnsforwardingrulesets/{}/forwardingrules/{} 2023-07-01-preview -->

#### examples

- Delete forwarding rule in a DNS forwarding ruleset
```bash
dns-resolver forwarding-rule delete --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-rule/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Lists forwarding rules in a DNS forwarding ruleset.
```bash
dns-resolver forwarding-rule list --ruleset-name "sampleDnsForwardingRuleset" --resource- group "sampleResourceGroup"
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnsforwardingrulesets/{}/forwardingrules 2023-07-01-preview -->

#### examples

- List forwarding rules in a DNS forwarding ruleset
```bash
dns-resolver forwarding-rule list --ruleset-name "sampleDnsForwardingRuleset" --resource- group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-rule/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets properties of a forwarding rule in a DNS forwarding ruleset.
```bash
dns-resolver forwarding-rule show --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --resource-group "sampleResourceGroup"
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnsforwardingrulesets/{}/forwardingrules/{} 2023-07-01-preview -->

#### examples

- Retrieve forwarding rule in a DNS forwarding ruleset
```bash
dns-resolver forwarding-rule show --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-rule/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a forwarding rule in a DNS forwarding ruleset.
```bash
dns-resolver forwarding-rule update --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --forwarding-rule-state "Disabled" --metadata additionalProp2="value2" --resource-group "sampleResourceGroup"
```

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

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnsforwardingrulesets/{}/forwardingrules/{} 2023-07-01-preview -->

#### examples

- Update forwarding rule in a DNS forwarding ruleset
```bash
dns-resolver forwarding-rule update --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --forwarding-rule-state "Disabled" --metadata additionalProp2="value2" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-ruleset/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a DNS forwarding ruleset.
```bash
dns-resolver forwarding-ruleset create --name "samplednsForwardingRuleset" --location "westus2" --outbound-endpoints [{id:"/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resou rceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/out boundEndpoints/sampleOutboundEndpoint0"},{id:"/subscriptions/abdd4249-9f3 4-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsR esolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1"}] --tags key1="value1" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Upsert DNS forwarding ruleset
```bash
dns-resolver forwarding-ruleset create --name "samplednsForwardingRuleset" --location "westus2" --outbound-endpoints [{id:"/subscriptions/abdd4249-9f34-4cc6-8e42-c2e32110603e/resou rceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsResolvers/sampleDnsResolver/out boundEndpoints/sampleOutboundEndpoint0"},{id:"/subscriptions/abdd4249-9f3 4-4cc6-8e42-c2e32110603e/resourceGroups/sampleResourceGroup/providers/Microsoft.Network/dnsR esolvers/sampleDnsResolver/outboundEndpoints/sampleOutboundEndpoint1"}] --tags key1="value1" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-ruleset/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All
```bash
dns-resolver forwarding-ruleset delete --name "samplednsForwardingRulesetName" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Delete DNS forwarding ruleset
```bash
dns-resolver forwarding-ruleset delete --name "samplednsForwardingRulesetName" --resource-group "sampleResourceGroup"
```
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Lists DNS forwarding ruleset resource IDs attached to a virtual network.
```bash
dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup" --virtual- network-name "sampleVirtualNetwork"
```

### [2023-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9saXN0ZG5zZm9yd2FyZGluZ3J1bGVzZXRz/2023-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/listdnsforwardingrulesets 2023-07-01-preview -->

#### examples

- List DNS forwarding rulesets by virtual network
```bash
dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup" --virtual- network-name "sampleVirtualNetwork"
```
22 changes: 22 additions & 0 deletions Commands/dns-resolver/forwarding-ruleset/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,25 @@ Lists DNS forwarding rulesets in all resource groups of a subscription.
```bash
dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup" --virtual- network-name "sampleVirtualNetwork"
```

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

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

#### examples

- List DNS forwarding rulesets by subscription
```bash
dns-resolver forwarding-ruleset list
```

- List DNS forwarding rulesets by resource group
```bash
dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup"
```

- List DNS forwarding rulesets by virtual network
```bash
dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup" --virtual- network-name "sampleVirtualNetwork"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-ruleset/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Gets a DNS forwarding ruleset properties.
```bash
dns-resolver forwarding-ruleset show --name "sampleDnsForwardingRuleset" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Retrieve DNS forwarding ruleset
```bash
dns-resolver forwarding-ruleset show --name "sampleDnsForwardingRuleset" --resource-group "sampleResourceGroup"
```
11 changes: 11 additions & 0 deletions Commands/dns-resolver/forwarding-ruleset/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a DNS forwarding ruleset.
```bash
dns-resolver forwarding-ruleset update --name "sampleDnsForwardingRuleset" --tags key1="value1" --resource-group "sampleResourceGroup"
```

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

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

#### examples

- Update DNS forwarding ruleset
```bash
dns-resolver forwarding-ruleset update --name "sampleDnsForwardingRuleset" --tags key1="value1" --resource-group "sampleResourceGroup"
```
Loading
Loading