Skip to content

Commit 7bf37f2

Browse files
authored
Corrected Az.Network examples h3 header format (#25481)
Co-authored-by: Mike F. Robbins <[email protected]>
1 parent 89860ee commit 7bf37f2

22 files changed

+46
-46
lines changed

src/Network/Network/help/Get-AzApplicationGatewaySslPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The **Get-AzApplicationGatewaySslPolicy** cmdlet gets the SSL policy of an appli
2323

2424
## EXAMPLES
2525

26-
### 1:
26+
### Example 1:
2727
```powershell
2828
$AppGW = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
$sslpolicy = Get-AzApplicationGatewaySslPolicy -ApplicationGateway $AppGW

src/Network/Network/help/Get-AzDelegation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The **Get-AzDelegation** cmdlet gets the named delegation from a subnet. If no d
2222

2323
## EXAMPLES
2424

25-
### 1: Retrieving a specific delegation
25+
### Example 1: Retrieving a specific delegation
2626
```powershell
2727
$subnet = Get-AzVirtualNetwork -Name "myVNet" -ResourceGroupName "myResourceGroup" | Get-AzVirtualNetworkSubnetConfig -Name "mySubnet"
2828
Get-AzDelegation -Name "myDelegation" -Subnet $subnet
@@ -39,7 +39,7 @@ Id : /subscriptions/subId/resourceGroups/rg/providers/Microsoft.N
3939

4040
The first line retrieves the subnet of interest. The second line shows the delegation information for the delegation called "myDelegation."
4141

42-
### 2: Retrieving all subnet delegations
42+
### Example 2: Retrieving all subnet delegations
4343
```powershell
4444
$subnet = Get-AzVirtualNetwork -Name "myVNet" -ResourceGroupName "myResourceGroup" | Get-AzVirtualNetworkSubnetConfig -Name "mySubnet"
4545
$delegations = Get-AzDelegation -Subnet $subnet

src/Network/Network/help/Get-AzFirewallFqdnTag.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ The **Get-AzFirewallFqdnTag** cmdlet gets the list of FQDN Tags which can be use
2222

2323
## EXAMPLES
2424

25-
### 1: Retrieve all available FQDN Tags
25+
### Example 1: Retrieve all available FQDN Tags
2626
```powershell
2727
Get-AzFirewallFqdnTag
2828
```
2929

3030
This example retrieves all available FQDN Tags.
3131

32-
### 2: Use first available FQDN Tag in an Application Rule
32+
### Example 2: Use first available FQDN Tag in an Application Rule
3333
```powershell
3434
$fqdnTags = Get-AzFirewallFqdnTag
3535
New-AzFirewallApplicationRule -Name AR -SourceAddress * -FqdnTag $fqdnTags[0].FqdnTagName

src/Network/Network/help/Get-AzLoadBalancerInboundNatPoolConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The **Get-AzLoadBalancerInboundNatPoolConfig** cmdlet gets one or more inbound N
2323

2424
## EXAMPLES
2525

26-
### 1: Get
26+
### Example 1: Get
2727
```powershell
2828
$slb = Get-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"
2929
$slb | Get-AzLoadBalancerInboundNatPoolConfig -Name myInboundNatPool

src/Network/Network/help/Get-AzNetworkInterfaceIpConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The **Get-AzNetworkInterfaceIPConfig** cmdlet gets a network interface IP config
2323

2424
## EXAMPLES
2525

26-
### 1: Get an IP configuration of a network interface
26+
### Example 1: Get an IP configuration of a network interface
2727
```powershell
2828
$nic1 = Get-AzNetworkInterface -Name mynic -ResourceGroupName $myrg
2929
Get-AzNetworkInterfaceIpConfig -Name ipconfig1 -NetworkInterface $nic1

src/Network/Network/help/Get-AzNetworkSecurityRuleConfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ The **Get-AzNetworkSecurityRuleConfig** cmdlet gets a network security rule conf
2323

2424
## EXAMPLES
2525

26-
### 1: Retrieving a network security rule config
26+
### Example 1: Retrieving a network security rule config
2727
```powershell
2828
Get-AzNetworkSecurityGroup -Name nsg1 -ResourceGroupName rg1 `
2929
| Get-AzNetworkSecurityRuleConfig -Name AllowInternetOutBound -DefaultRules
3030
```
3131

3232
This command retrieves the default rule named "AllowInternetOutBound" from Azure network security group named "nsg1" in resource group "rg1"
3333

34-
### 2: Retrieving a network security rule config using only the name
34+
### Example 2: Retrieving a network security rule config using only the name
3535
```powershell
3636
Get-AzNetworkSecurityGroup -Name nsg1 -ResourceGroupName rg1 `
3737
| Get-AzNetworkSecurityRuleConfig -Name "rdp-rule"

src/Network/Network/help/Get-AzVirtualNetworkGatewayConnection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ If the **Get-AzVirtualNetworkGatewayConnection** cmdlet is issued without specif
2525

2626
## EXAMPLES
2727

28-
### 1: Get a Virtual Network Gateway Connection
28+
### Example 1: Get a Virtual Network Gateway Connection
2929
```powershell
3030
Get-AzVirtualNetworkGatewayConnection -Name myTunnel -ResourceGroupName myRG
3131
```
3232

3333
Returns the object of the Virtual Network Gateway Connection with the name "myTunnel" within the resource group "myRG"
3434

35-
### 2: Get all Virtual Network Gateway Connections using filtering
35+
### Example 2: Get all Virtual Network Gateway Connections using filtering
3636
```powershell
3737
Get-AzVirtualNetworkGatewayConnection -Name myTunnel* -ResourceGroupName myRG
3838
```

src/Network/Network/help/Get-AzVirtualNetworkSubnetConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **Get-AzVirtualNetworkSubnetConfig** cmdlet gets one or more subnet configur
3030

3131
## EXAMPLES
3232

33-
### 1: Get a subnet in a virtual network
33+
### Example 1: Get a subnet in a virtual network
3434
```powershell
3535
New-AzResourceGroup -Name TestResourceGroup -Location centralus
3636
$frontendSubnet = New-AzVirtualNetworkSubnetConfig -Name frontendSubnet -AddressPrefix "10.0.1.0/24"

src/Network/Network/help/New-AzVirtualNetworkGatewayIpConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The **New-AzVirtualNetworkGatewayIpConfig** cmdlet creates a configuration assig
3030

3131
## EXAMPLES
3232

33-
### 1: Create an IP Configuration for a Virtual Network Gateway
33+
### Example 1: Create an IP Configuration for a Virtual Network Gateway
3434
```powershell
3535
$gwIpConfig = New-AzVirtualNetworkGatewayIpConfig -Name myGWIpConfig -SubnetId $myGWsubnet.Id -PublicIpAddressId $myGWpip.Id
3636
```

src/Network/Network/help/Remove-AzLoadBalancerInboundNatPoolConfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The **Remove-AzLoadBalancerInboundNatPoolConfig** cmdlet removes an inbound NAT
2323

2424
## EXAMPLES
2525

26-
### 1: Remove
26+
### Example 1: Remove
2727
```powershell
2828
$slb = Get-AzLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"
2929
Remove-AzLoadBalancerInboundNatPoolConfig -Name myinboundnatpool -LoadBalancer $slb

0 commit comments

Comments
 (0)