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

AutoPr-FrontDoor-johsun-msft-REST Spec PrNumber 5474 #5584

Merged
merged 1 commit into from
Mar 27, 2019
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
2 changes: 1 addition & 1 deletion src/SDKs/FrontDoor/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>Network_2018-08-01;Network_2019-03-01;</AzureApiTag>
<AzureApiTag>Network_2019-04-01;Network_2019-03-01;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal BackendPoolsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -366,7 +366,7 @@ internal BackendPoolsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "backendPoolName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -671,7 +671,7 @@ internal BackendPoolsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "backendPoolParameters");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -954,7 +954,7 @@ internal BackendPoolsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "backendPoolName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ internal EndpointsOperations(FrontDoorManagementClient client)
{
contentFilePaths.Validate();
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<RouteConfiguration>("@odata.type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<RouteConfiguration>("@odata.type"));
CustomInitialize();
DeserializationSettings.Converters.Add(new TransformationJsonConverter());
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
Expand Down Expand Up @@ -439,7 +441,7 @@ private void Initialize()
{
checkFrontDoorNameAvailabilityInput.Validate();
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -627,7 +629,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.SubscriptionId");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -273,7 +273,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[a-zA-Z0-9_\\-\\(\\)\\.]*[^\\.]$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -491,7 +491,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -770,7 +770,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
{
customDomainProperties.Validate();
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1004,7 +1004,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "frontDoorParameters");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1263,7 +1263,7 @@ internal FrontDoorsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -366,7 +366,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontendEndpointName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -724,7 +724,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "frontendEndpointParameters");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1007,7 +1007,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontendEndpointName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1236,7 +1236,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "customHttpsConfiguration");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1465,7 +1465,7 @@ internal FrontendEndpointsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontendEndpointName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal HealthProbeSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -366,7 +366,7 @@ internal HealthProbeSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "healthProbeSettingsName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -671,7 +671,7 @@ internal HealthProbeSettingsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "healthProbeSettingsParameters");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -954,7 +954,7 @@ internal HealthProbeSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "healthProbeSettingsName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal LoadBalancingSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "frontDoorName", "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -366,7 +366,7 @@ internal LoadBalancingSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "loadBalancingSettingsName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -671,7 +671,7 @@ internal LoadBalancingSettingsOperations(FrontDoorManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "loadBalancingSettingsParameters");
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -954,7 +954,7 @@ internal LoadBalancingSettingsOperations(FrontDoorManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "loadBalancingSettingsName", "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$");
}
}
string apiVersion = "2018-08-01";
string apiVersion = "2019-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.FrontDoor.Models
{

/// <summary>
/// Defines values for BackendEnabledState.
/// </summary>
public static class BackendEnabledState
{
public const string Enabled = "Enabled";
public const string Disabled = "Disabled";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.FrontDoor.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Settings that apply to all backend pools.
/// </summary>
public partial class BackendPoolsSettings
{
/// <summary>
/// Initializes a new instance of the BackendPoolsSettings class.
/// </summary>
public BackendPoolsSettings()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the BackendPoolsSettings class.
/// </summary>
/// <param name="enforceCertificateNameCheck">Whether to enforce
/// certificate name check on HTTPS requests to all backend pools. No
/// effect on non-HTTPS requests. Possible values include: 'Enabled',
/// 'Disabled'</param>
public BackendPoolsSettings(string enforceCertificateNameCheck = default(string))
{
EnforceCertificateNameCheck = enforceCertificateNameCheck;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets whether to enforce certificate name check on HTTPS
/// requests to all backend pools. No effect on non-HTTPS requests.
/// Possible values include: 'Enabled', 'Disabled'
/// </summary>
[JsonProperty(PropertyName = "enforceCertificateNameCheck")]
public string EnforceCertificateNameCheck { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.FrontDoor.Models
{

/// <summary>
/// Defines values for EnforceCertificateNameCheckEnabledState.
/// </summary>
public static class EnforceCertificateNameCheckEnabledState
{
public const string Enabled = "Enabled";
public const string Disabled = "Disabled";
}
}
Loading