Skip to content

Commit c37f029

Browse files
authored
(AzureCXP) fixes MicrosoftDocs/azure-docs#42889
Allocation method cannot be dynamic for Standard SKU IP
1 parent 4b253b0 commit c37f029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/bastion/bastion-create-host-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This section helps you create a new Azure Bastion resource using Azure PowerShel
3737
2. Create a public IP address for Azure Bastion. The public IP is the public IP address the Bastion resource on which RDP/SSH will be accessed (over port 443). The public IP address must be in the same region as the Bastion resource you are creating.
3838

3939
```azurepowershell-interactive
40-
$publicip = New-AzPublicIpAddress -ResourceGroupName "myBastionRG" -name "myPublicIP" -location "westeurope" -AllocationMethod Dynamic -Sku Standard
40+
$publicip = New-AzPublicIpAddress -ResourceGroupName "myBastionRG" -name "myPublicIP" -location "westeurope" -AllocationMethod Static -Sku Standard
4141
```
4242

4343
3. Create a new Azure Bastion resource in the AzureBastionSubnet of your virtual network. It takes about 5 mins for the Bastion resource to be created and deployed.
@@ -48,4 +48,4 @@ This section helps you create a new Azure Bastion resource using Azure PowerShel
4848

4949
## Next steps
5050

51-
Read the [Bastion FAQ](bastion-faq.md).
51+
Read the [Bastion FAQ](bastion-faq.md).

0 commit comments

Comments
 (0)