public static ProfileData CreateAfdProfileData(CdnSkuName skuName) => new ProfileData("Global", new CdnSku { Name = skuName }) { OriginResponseTimeoutSeconds = 60 };
protected async Task <ProfileResource> CreateAfdProfile(ResourceGroupResource rg, string profileName, CdnSkuName skuName) { ProfileData input = ResourceDataHelper.CreateAfdProfileData(skuName); var lro = await rg.GetProfiles().CreateOrUpdateAsync(WaitUntil.Completed, profileName, input); return(lro.Value); }
public static ProfileData CreateAfdProfileData(CdnSkuName skuName) => new ProfileData("Global", new CdnSku { Name = skuName });
public static ProfileData CreateProfileData(CdnSkuName skuName) => new ProfileData(AzureLocation.WestUS, new CdnSku { Name = skuName });