Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Standard_Microsoft Sku in CDN pricing tier #4730

Merged
merged 1 commit into from
Sep 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 34 additions & 4 deletions src/SDKs/Cdn/Cdn.Tests/ScenarioTests/ProfileTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void ProfileCreateTest()
// Create resource group
var resourceGroupName = CdnTestUtilities.CreateResourceGroup(resourcesClient);

// Create a standard cdn profile
// Create a standard verizon cdn profile
string profileName = TestUtilities.GenerateName("profile");
Profile createParameters = new Profile
{
Expand All @@ -47,16 +47,46 @@ public void ProfileCreateTest()
var profile = cdnMgmtClient.Profiles.Create(resourceGroupName, profileName, createParameters);
VerifyProfileCreated(profile, createParameters);

// Create a premium cdn profile
// Create a standard akamai cdn profile
profileName = TestUtilities.GenerateName("profile");
createParameters = new Profile
{
Location = "EastUs",
Sku = new Sku { Name = SkuName.StandardAkamai },
Tags = new Dictionary<string, string>
{
{"key3","value3"},
{"key4","value4"}
}
};
profile = cdnMgmtClient.Profiles.Create(resourceGroupName, profileName, createParameters);
VerifyProfileCreated(profile, createParameters);

// Create a standard microsoft cdn profile
profileName = TestUtilities.GenerateName("profile");
createParameters = new Profile
{
Location = "WestUs",
Sku = new Sku { Name = SkuName.StandardMicrosoft },
Tags = new Dictionary<string, string>
{
{"key5","value5"},
{"key6","value6"}
}
};
profile = cdnMgmtClient.Profiles.Create(resourceGroupName, profileName, createParameters);
VerifyProfileCreated(profile, createParameters);

// Create a premium verizon cdn profile
profileName = TestUtilities.GenerateName("profile");
createParameters = new Profile
{
Location = "EastUs",
Sku = new Sku { Name = SkuName.PremiumVerizon },
Tags = new Dictionary<string, string>
{
{"key1","value1"},
{"key2","value2"}
{"key7","value7"},
{"key8","value8"}
}
};

Expand Down
Loading