Skip to content

Commit

Permalink
.NET SDK Resource Provider:'Cdn'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5533'
REST Spec PR Author 'huaiyizhu'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Apr 2, 2019
1 parent 6889bf9 commit 4365bf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 32 deletions.
31 changes: 1 addition & 30 deletions src/SDKs/Cdn/Management.Cdn/Generated/CustomDomainsOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -772,28 +772,6 @@ internal CustomDomainsOperations(CdnManagementClient client)
return _result;
}

public async Task<AzureOperationResponse<CustomDomain>> EnableCustomHttpsWithHttpMessagesAsync(
string resourceGroupName,
string profileName,
string endpointName,
string customDomainName,
CustomDomainHttpsParameters customDomainHttpsParameters = default(CustomDomainHttpsParameters),
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = default(CancellationToken))
{
// Send request
AzureOperationResponse<CustomDomain> _response = await BeginEnableCustomHttpsWithHttpMessagesAsync(
resourceGroupName,
profileName,
endpointName,
customDomainName,
customDomainHttpsParameters,
customHeaders,
cancellationToken)
.ConfigureAwait(false);
return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}

/// <summary>
/// Enable https delivery of the custom domain.
/// </summary>
Expand Down Expand Up @@ -835,14 +813,7 @@ public async Task<AzureOperationResponse<CustomDomain>> EnableCustomHttpsWithHtt
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<AzureOperationResponse<CustomDomain>> BeginEnableCustomHttpsWithHttpMessagesAsync(
string resourceGroupName,
string profileName,
string endpointName,
string customDomainName,
CustomDomainHttpsParameters customDomainHttpsParameters = default(CustomDomainHttpsParameters),
Dictionary<string, List<string>> customHeaders = null,
CancellationToken cancellationToken = default(CancellationToken))
public async Task<AzureOperationResponse<CustomDomain>> EnableCustomHttpsWithHttpMessagesAsync(string resourceGroupName, string profileName, string endpointName, string customDomainName, CustomDomainHttpsParameters customDomainHttpsParameters = default(CustomDomainHttpsParameters), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (resourceGroupName == null)
{
Expand Down
5 changes: 3 additions & 2 deletions src/SDKs/Cdn/Management.Cdn/Generated/Models/Sku.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Sku()
/// </summary>
/// <param name="name">Name of the pricing tier. Possible values
/// include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
/// 'Standard_Akamai', 'Standard_ChinaCdn',
/// 'Standard_Akamai', 'Standard_ChinaCdn', 'Premium_ChinaCdn',
/// 'Standard_Microsoft'</param>
public Sku(string name = default(string))
{
Expand All @@ -48,7 +48,8 @@ public Sku()
/// <summary>
/// Gets or sets name of the pricing tier. Possible values include:
/// 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
/// 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
/// 'Standard_Akamai', 'Standard_ChinaCdn', 'Premium_ChinaCdn',
/// 'Standard_Microsoft'
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/SDKs/Cdn/Management.Cdn/Generated/Models/SkuName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static class SkuName
public const string CustomVerizon = "Custom_Verizon";
public const string StandardAkamai = "Standard_Akamai";
public const string StandardChinaCdn = "Standard_ChinaCdn";
public const string PremiumChinaCdn = "Premium_ChinaCdn";
public const string StandardMicrosoft = "Standard_Microsoft";
}
}

0 comments on commit 4365bf9

Please sign in to comment.