Created
May 21, 2020 10:22
-
-
Save ayende/171cdc2d27eea747ed439f3f66f8ea0f 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
var client = new CloudApiClient("RVDB-redacted_redacted_redacted_redacted_redact"); | |
ProductCreatedResponse result = await client.Products.CreateAsync(new ProductCreateRequest | |
{ | |
AllowedIps = {"88.22.12.0/32"}, | |
CloudProvider = CloudProvider.Gcp, | |
DiskSize = 128, | |
DisplayName = "Hotels & Resorts", | |
InstanceTypeName = "P20", | |
Region = "europe-west3", | |
ReleaseChannel = "Beta5.0", | |
StorageTypeName = StorageType.SsdPremium, | |
SubdomainName = "Zimmer", | |
Tier = ProductTier.Production | |
}); | |
Console.WriteLine(result.ProductId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment