Skip to content

Commit b226736

Browse files
Merge pull request #212122 from thisisanniefang/patch-41
PS public LB: add zone parameter, remove Basic SKU references
2 parents 5d2d932 + ad89389 commit b226736

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

articles/load-balancer/move-across-regions-external-load-balancer-powershell.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ The following steps show how to prepare the external load balancer for the move
8787
"name": "[parameters('publicIPAddresses_myPubIP_name')]",
8888
"location": "<target-region>",
8989
"sku": {
90-
"name": "Basic",
90+
"name": "Standard",
9191
"tier": "Regional"
9292
},
9393
"properties": {
9494
"provisioningState": "Succeeded",
9595
"resourceGuid": "7549a8f1-80c2-481a-a073-018f5b0b69be",
9696
"ipAddress": "52.177.6.204",
9797
"publicIPAddressVersion": "IPv4",
98-
"publicIPAllocationMethod": "Dynamic",
98+
"publicIPAllocationMethod": "Static",
9999
"idleTimeoutInMinutes": 4,
100100
"ipTags": []
101101
}
@@ -112,7 +112,7 @@ The following steps show how to prepare the external load balancer for the move
112112
```
113113
8. You can also change other parameters in the template if you choose, and are optional depending on your requirements:
114114

115-
* **Sku** - You can change the sku of the public IP in the configuration from standard to basic or basic to standard by altering the **sku** > **name** property in the **\<resource-group-name>.json** file:
115+
* **Sku** - You can change the sku of the public IP in the configuration from Standard to Basic or Basic to Standard by altering the **sku** > **name** property in the **\<resource-group-name>.json** file:
116116

117117
```json
118118
"resources": [
@@ -122,14 +122,33 @@ The following steps show how to prepare the external load balancer for the move
122122
"name": "[parameters('publicIPAddresses_myPubIP_name')]",
123123
"location": "<target-region>",
124124
"sku": {
125-
"name": "Basic",
125+
"name": "Standard",
126126
"tier": "Regional"
127127
},
128128
```
129129

130130
For more information on the differences between basic and standard sku public ips, see [Create, change, or delete a public IP address](../virtual-network/ip-services/virtual-network-public-ip-address.md).
131131

132-
* **Public IP allocation method** and **Idle timeout** - You can change both of these options in the template by altering the **publicIPAllocationMethod** property from **Dynamic** to **Static** or **Static** to **Dynamic**. The idle timeout can be changed by altering the **idleTimeoutInMinutes** property to your desired amount. The default is **4**:
132+
* **Availability zone**. You can change the zone(s) of the public IP by changing the **zone** property. If the zone property isn't specified, the public IP will be created as no-zone. You can specify a single zone to create a zonal public IP or all 3 zones for a zone-redundant public IP.
133+
```json
134+
"resources": [
135+
{
136+
"type": "Microsoft.Network/publicIPAddresses",
137+
"apiVersion": "2019-06-01",
138+
"name": "[parameters('publicIPAddresses_myPubIP_name')]",
139+
"location": "<target-region>",
140+
"sku": {
141+
"name": "Standard",
142+
"tier": "Regional"
143+
},
144+
"zones": [
145+
"1",
146+
"2",
147+
"3"
148+
],
149+
```
150+
151+
* **Public IP allocation method** and **Idle timeout** - You can change both of these options in the template by altering the **publicIPAllocationMethod** property from **Static** to **Dynamic** or **Dynamic** to **Static**. The idle timeout can be changed by altering the **idleTimeoutInMinutes** property to your desired amount. The default is **4**:
133152

134153
```json
135154
"resources": [
@@ -139,15 +158,15 @@ The following steps show how to prepare the external load balancer for the move
139158
"name": "[parameters('publicIPAddresses_myPubIP_name')]",
140159
"location": "<target-region>",
141160
"sku": {
142-
"name": "Basic",
161+
"name": "Standard",
143162
"tier": "Regional"
144163
},
145164
"properties": {
146165
"provisioningState": "Succeeded",
147166
"resourceGuid": "7549a8f1-80c2-481a-a073-018f5b0b69be",
148167
"ipAddress": "52.177.6.204",
149168
"publicIPAddressVersion": "IPv4",
150-
"publicIPAllocationMethod": "Dynamic",
169+
"publicIPAllocationMethod": "Static",
151170
"idleTimeoutInMinutes": 4,
152171
"ipTags": []
153172
}
@@ -510,4 +529,4 @@ In this tutorial, you moved an Azure network security group from one region to a
510529

511530

512531
- [Move resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md)
513-
- [Move Azure VMs to another region](../site-recovery/azure-to-azure-tutorial-migrate.md)
532+
- [Move Azure VMs to another region](../site-recovery/azure-to-azure-tutorial-migrate.md)

0 commit comments

Comments
 (0)