Created
August 25, 2021 14:26
-
-
Save kaqq/9789ffad2b4773b3b36b052ef861dfdc to your computer and use it in GitHub Desktop.
azure
This file contains 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
Connect-AzAccount | |
Get-AzSubscription | |
$context = Get-AzSubscription -SubscriptionId a | |
Set-AzContext $context | |
Get-AzContext |
This file contains 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
az vm image list-skus --publisher Canonical --offer 0001-com-ubuntu-server-focal-daily --location 'East US' -o table | |
az sig image-definition create --resource-group rg-sfu-common --gallery-name sigsfu --gallery-image-definition def --publisher pub --offer UbuntuServer --sku sku --os-type linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment