diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/CookiesMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/CookiesMatchConditionParameters.cs
index 0df2f1f4222c8..501b665b13499 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/CookiesMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/CookiesMatchConditionParameters.cs
@@ -34,17 +34,17 @@ public CookiesMatchConditionParameters()
/// Initializes a new instance of the CookiesMatchConditionParameters
/// class.
///
- /// Name of Cookies to be matched
/// Describes operator to be matched.
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
+ /// Name of Cookies to be matched
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public CookiesMatchConditionParameters(string selector, string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public CookiesMatchConditionParameters(string operatorProperty, string selector = default(string), bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
Selector = selector;
OperatorProperty = operatorProperty;
@@ -111,18 +111,10 @@ static CookiesMatchConditionParameters()
///
public virtual void Validate()
{
- if (Selector == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Selector");
- }
if (OperatorProperty == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleHttpVersionCondition.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleHttpVersionCondition.cs
index 2c3a237bfbd91..bf5cada1e2e9f 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleHttpVersionCondition.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleHttpVersionCondition.cs
@@ -65,10 +65,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Parameters");
}
- if (Parameters != null)
- {
- Parameters.Validate();
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleIsDeviceCondition.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleIsDeviceCondition.cs
index e59e61d7049a1..91232df33184b 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleIsDeviceCondition.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleIsDeviceCondition.cs
@@ -65,10 +65,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Parameters");
}
- if (Parameters != null)
- {
- Parameters.Validate();
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestMethodCondition.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestMethodCondition.cs
index edc90e365c37f..4e14ca10aaa73 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestMethodCondition.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestMethodCondition.cs
@@ -65,10 +65,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Parameters");
}
- if (Parameters != null)
- {
- Parameters.Validate();
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestSchemeCondition.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestSchemeCondition.cs
index 7d17f8742c241..781eab76d9653 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestSchemeCondition.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/DeliveryRuleRequestSchemeCondition.cs
@@ -65,10 +65,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "Parameters");
}
- if (Parameters != null)
- {
- Parameters.Validate();
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/HttpVersionMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/HttpVersionMatchConditionParameters.cs
index 211ca9144a5ba..64ad0a484b5e0 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/HttpVersionMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/HttpVersionMatchConditionParameters.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.Cdn.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,11 +33,11 @@ public HttpVersionMatchConditionParameters()
/// Initializes a new instance of the
/// HttpVersionMatchConditionParameters class.
///
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
- public HttpVersionMatchConditionParameters(IList matchValues, bool? negateCondition = default(bool?))
+ /// The match value for the condition of the
+ /// delivery rule
+ public HttpVersionMatchConditionParameters(bool? negateCondition = default(bool?), IList matchValues = default(IList))
{
NegateCondition = negateCondition;
MatchValues = matchValues;
@@ -81,18 +80,5 @@ static HttpVersionMatchConditionParameters()
[JsonProperty(PropertyName = "operator")]
public static string OperatorProperty { get; private set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
- }
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/IsDeviceMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/IsDeviceMatchConditionParameters.cs
index 92309e54ae4b5..7a38dc323700a 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/IsDeviceMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/IsDeviceMatchConditionParameters.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.Cdn.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,12 +33,12 @@ public IsDeviceMatchConditionParameters()
/// Initializes a new instance of the IsDeviceMatchConditionParameters
/// class.
///
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public IsDeviceMatchConditionParameters(IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public IsDeviceMatchConditionParameters(bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
NegateCondition = negateCondition;
MatchValues = matchValues;
@@ -89,18 +88,5 @@ static IsDeviceMatchConditionParameters()
[JsonProperty(PropertyName = "operator")]
public static string OperatorProperty { get; private set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
- }
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/KeyVaultCertificateSourceParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/KeyVaultCertificateSourceParameters.cs
index 1a09efcef3f13..130af5fb8e284 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/KeyVaultCertificateSourceParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/KeyVaultCertificateSourceParameters.cs
@@ -43,7 +43,7 @@ public KeyVaultCertificateSourceParameters()
/// the full certificate PFX) in Key Vault.
/// The version(GUID) of Key Vault Secret
/// in Key Vault.
- public KeyVaultCertificateSourceParameters(string subscriptionId, string resourceGroupName, string vaultName, string secretName, string secretVersion)
+ public KeyVaultCertificateSourceParameters(string subscriptionId, string resourceGroupName, string vaultName, string secretName, string secretVersion = default(string))
{
SubscriptionId = subscriptionId;
ResourceGroupName = resourceGroupName;
@@ -144,10 +144,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "SecretName");
}
- if (SecretVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "SecretVersion");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/PostArgsMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/PostArgsMatchConditionParameters.cs
index 46d513316942f..37ba0926a333f 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/PostArgsMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/PostArgsMatchConditionParameters.cs
@@ -34,17 +34,17 @@ public PostArgsMatchConditionParameters()
/// Initializes a new instance of the PostArgsMatchConditionParameters
/// class.
///
- /// Name of PostArg to be matched
/// Describes operator to be matched.
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
+ /// Name of PostArg to be matched
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public PostArgsMatchConditionParameters(string selector, string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public PostArgsMatchConditionParameters(string operatorProperty, string selector = default(string), bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
Selector = selector;
OperatorProperty = operatorProperty;
@@ -111,18 +111,10 @@ static PostArgsMatchConditionParameters()
///
public virtual void Validate()
{
- if (Selector == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Selector");
- }
if (OperatorProperty == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/QueryStringMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/QueryStringMatchConditionParameters.cs
index 60650c87f3bb3..db9747bb904a1 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/QueryStringMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/QueryStringMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public QueryStringMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public QueryStringMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public QueryStringMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -107,10 +107,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RemoteAddressMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RemoteAddressMatchConditionParameters.cs
index 53be556825a9c..844f102fa3c5c 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RemoteAddressMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RemoteAddressMatchConditionParameters.cs
@@ -36,14 +36,14 @@ public RemoteAddressMatchConditionParameters()
///
/// Describes operator to be matched.
/// Possible values include: 'Any', 'IPMatch', 'GeoMatch'
+ /// Describes if this is negate condition
+ /// or not
/// Match values to match against. The
/// operator will apply to each value in here with OR semantics. If any
/// of them match the variable with the given operator this match
/// condition is considered a match.
- /// Describes if this is negate condition
- /// or not
/// List of transforms
- public RemoteAddressMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public RemoteAddressMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -109,10 +109,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestBodyMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestBodyMatchConditionParameters.cs
index aaf5eaa0b3735..636b6d9b7f4c7 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestBodyMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestBodyMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public RequestBodyMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public RequestBodyMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public RequestBodyMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -107,10 +107,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestHeaderMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestHeaderMatchConditionParameters.cs
index ce07cbc18f6fb..0cdc0f6e900c9 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestHeaderMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestHeaderMatchConditionParameters.cs
@@ -34,17 +34,17 @@ public RequestHeaderMatchConditionParameters()
/// Initializes a new instance of the
/// RequestHeaderMatchConditionParameters class.
///
- /// Name of Header to be matched
/// Describes operator to be matched.
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
+ /// Name of Header to be matched
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public RequestHeaderMatchConditionParameters(string selector, string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public RequestHeaderMatchConditionParameters(string operatorProperty, string selector = default(string), bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
Selector = selector;
OperatorProperty = operatorProperty;
@@ -111,18 +111,10 @@ static RequestHeaderMatchConditionParameters()
///
public virtual void Validate()
{
- if (Selector == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Selector");
- }
if (OperatorProperty == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestMethodMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestMethodMatchConditionParameters.cs
index 16e60f7e2d57d..addbf91c880e4 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestMethodMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestMethodMatchConditionParameters.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.Cdn.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,11 +33,11 @@ public RequestMethodMatchConditionParameters()
/// Initializes a new instance of the
/// RequestMethodMatchConditionParameters class.
///
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
- public RequestMethodMatchConditionParameters(IList matchValues, bool? negateCondition = default(bool?))
+ /// The match value for the condition of the
+ /// delivery rule
+ public RequestMethodMatchConditionParameters(bool? negateCondition = default(bool?), IList matchValues = default(IList))
{
NegateCondition = negateCondition;
MatchValues = matchValues;
@@ -81,18 +80,5 @@ static RequestMethodMatchConditionParameters()
[JsonProperty(PropertyName = "operator")]
public static string OperatorProperty { get; private set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
- }
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestSchemeMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestSchemeMatchConditionParameters.cs
index be8d92fb7160c..9cbfd8645d789 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestSchemeMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestSchemeMatchConditionParameters.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.Cdn.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,11 +33,11 @@ public RequestSchemeMatchConditionParameters()
/// Initializes a new instance of the
/// RequestSchemeMatchConditionParameters class.
///
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
- public RequestSchemeMatchConditionParameters(IList matchValues, bool? negateCondition = default(bool?))
+ /// The match value for the condition of the
+ /// delivery rule
+ public RequestSchemeMatchConditionParameters(bool? negateCondition = default(bool?), IList matchValues = default(IList))
{
NegateCondition = negateCondition;
MatchValues = matchValues;
@@ -81,18 +80,5 @@ static RequestSchemeMatchConditionParameters()
[JsonProperty(PropertyName = "operator")]
public static string OperatorProperty { get; private set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
- }
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestUriMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestUriMatchConditionParameters.cs
index d23be012b114d..5cb84b7e5a9ff 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestUriMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/RequestUriMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public RequestUriMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public RequestUriMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public RequestUriMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -107,10 +107,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileExtensionMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileExtensionMatchConditionParameters.cs
index cce16a9dc84cb..14b0ae6f2c363 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileExtensionMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileExtensionMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public UrlFileExtensionMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public UrlFileExtensionMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public UrlFileExtensionMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -108,10 +108,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileNameMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileNameMatchConditionParameters.cs
index c6479fb380bf2..d8d7e30014674 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileNameMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlFileNameMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public UrlFileNameMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public UrlFileNameMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public UrlFileNameMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -107,10 +107,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlPathMatchConditionParameters.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlPathMatchConditionParameters.cs
index c351e23920a94..83cf656b498f3 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlPathMatchConditionParameters.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/Models/UrlPathMatchConditionParameters.cs
@@ -38,12 +38,12 @@ public UrlPathMatchConditionParameters()
/// Possible values include: 'Any', 'Equal', 'Contains', 'BeginsWith',
/// 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan',
/// 'GreaterThanOrEqual', 'Wildcard'
- /// The match value for the condition of the
- /// delivery rule
/// Describes if this is negate condition
/// or not
+ /// The match value for the condition of the
+ /// delivery rule
/// List of transforms
- public UrlPathMatchConditionParameters(string operatorProperty, IList matchValues, bool? negateCondition = default(bool?), IList transforms = default(IList))
+ public UrlPathMatchConditionParameters(string operatorProperty, bool? negateCondition = default(bool?), IList matchValues = default(IList), IList transforms = default(IList))
{
OperatorProperty = operatorProperty;
NegateCondition = negateCondition;
@@ -108,10 +108,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "OperatorProperty");
}
- if (MatchValues == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "MatchValues");
- }
}
}
}
diff --git a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/SdkInfo_CdnManagementClient.cs b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/SdkInfo_CdnManagementClient.cs
index f55574fd48a0e..220bec0875438 100644
--- a/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/SdkInfo_CdnManagementClient.cs
+++ b/sdk/cdn/Microsoft.Azure.Management.Cdn/src/Generated/SdkInfo_CdnManagementClient.cs
@@ -35,16 +35,5 @@ public static IEnumerable> ApiInfo_CdnManagementCl
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cdn/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2020-04 --csharp-sdks-folder=C:\\git\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "81ee445f0291ea1b284509dd42b3d37aea3799d7";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-