Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://away.spellcaster.sh/spells/silk-azure?format=powershell'))
-
-
Save stephenlauck/c3310f90dab8b5742851ea85ea4ad76e to your computer and use it in GitHub Desktop.
az vm image show --location westus --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20
(az vm image terms show --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20 --query "accepted") -eq $True
az vm image terms accept --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20
az group show --name silk-resource-group
az group create --name silk-resource-group --location westus2
az vm show --resource-group silk-resource-group --name silk-flex-vm -d
az vm create --resource-group silk-resource-group --name silk-flex-vm --admin-username silkadmin --generate-ssh-keys --image silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20 --plan-name silk_cloud_data_image_byol --plan-product silk_cloud_data_platform_image_byol --plan-publisher silk
cleanup
az vm delete --resource-group silk-resource-group --name silk-flex-vm --yes; az group delete --name silk-resource-group --yes
# get offers
az vm image list-offers --location westus --publisher silk --output table`az vm image list --location westus --publisher silk --offer silk_cloud_data_platform_image_byol --all