Created
August 23, 2020 01:43
-
-
Save wznpp1/b1190bd8b9e9c99d30ee77556cc9ac18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
az network nic ip-config delete -g wznpp1_group -n ipconfig2 --nic-name myVMNic | |
az network public-ip delete -g wznpp1_group -n myPublicIP2 | |
az network public-ip create --resource-group wznpp1_group --location eastasia --name myPublicIP2 --dns-name wznpp10 --allocation-method Static | |
az network nic ip-config create --resource-group wznpp1_group --nic-name myVMNic --name ipconfig2 --private-ip-address 10.0.0.5 --public-ip myPublicIP2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment