From ffec31e21c2d6c093634eac69b4a5ca7258b0aec Mon Sep 17 00:00:00 2001 From: sanfilip Date: Mon, 16 Nov 2020 23:50:26 -0500 Subject: [PATCH] add azure and gcp platforms and regions --- cluster.go | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/cluster.go b/cluster.go index 4c34198..0c4f14c 100644 --- a/cluster.go +++ b/cluster.go @@ -8,6 +8,8 @@ type ClusterPlatformType string const ( ClusterPlatformAWS ClusterPlatformType = "aws" + ClusterPlatformAzure ClusterPlatformType = "azure" + ClusterPlatformGCP ClusterPlatformType = "gcp" ClusterPlatformDGX ClusterPlatformType = "nvidia-dgx" ClusterPlatformMetal ClusterPlatformType = "metal" ClusterPlatformPaperspace ClusterPlatformType = "paperspace-cloud" @@ -27,9 +29,61 @@ var ClusterAWSRegions = []string{ "ap-southeast-2", } +var ClusterAzureRegions = []string{ + "australiacentral", + "australiaeast", + "australiasoutheast", + "brazilsouth", + "brazilsoutheast", + "canadacentral", + "canadaeast", + "centralindia", + "centralus", + "eastasia", + "eastus", + "eastus2", + "francecentral", + "francesouth", + "germanynorth", + "germanywestcentral", + "japaneast", + "japanwest", + "koreacentral", + "koreasouth", + "northcentralus", + "northeurope", + "norwayeast", + "norwaywest", + "southafricanorth", + "southcentralus", + "southindia", + "southeastasia", + "switzerlandnorth", + "switzerlandwest", + "uaecentral", + "uaenorth", + "uksouth", + "ukwest", + "westcentralus", + "westeurope", + "westus", + "westus2", +} + +var ClusterGCPRegions = []string{ + "asia-east1", + "europe-west1", + "europe-west4", + "us-central1", + "us-east1", + "us-west1", +} + var ClusterPlatforms = []ClusterPlatformType{ ClusterPlatformAWS, + ClusterPlatformAzure, ClusterPlatformDGX, + ClusterPlatformGCP, ClusterPlatformMetal, ClusterPlatformPaperspace, }