diff --git a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/ManagedRuleDefinition.cs b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/ManagedRuleDefinition.cs
index 81dc7e9d18ab2..39e46fd6b7291 100644
--- a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/ManagedRuleDefinition.cs
+++ b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/ManagedRuleDefinition.cs
@@ -30,11 +30,19 @@ public ManagedRuleDefinition()
/// Initializes a new instance of the ManagedRuleDefinition class.
///
/// Identifier for the managed rule.
+ /// Describes the default state for the
+ /// managed rule. Possible values include: 'Disabled',
+ /// 'Enabled'
+ /// Describes the default action to be
+ /// applied when the managed rule matches. Possible values include:
+ /// 'Allow', 'Block', 'Log', 'Redirect'
/// Describes the functionality of the
/// managed rule.
- public ManagedRuleDefinition(string ruleId = default(string), string description = default(string))
+ public ManagedRuleDefinition(string ruleId = default(string), string defaultState = default(string), string defaultAction = default(string), string description = default(string))
{
RuleId = ruleId;
+ DefaultState = defaultState;
+ DefaultAction = defaultAction;
Description = description;
CustomInit();
}
@@ -50,6 +58,21 @@ public ManagedRuleDefinition()
[JsonProperty(PropertyName = "ruleId")]
public string RuleId { get; private set; }
+ ///
+ /// Gets or sets describes the default state for the managed rule.
+ /// Possible values include: 'Disabled', 'Enabled'
+ ///
+ [JsonProperty(PropertyName = "defaultState")]
+ public string DefaultState { get; set; }
+
+ ///
+ /// Gets or sets describes the default action to be applied when the
+ /// managed rule matches. Possible values include: 'Allow', 'Block',
+ /// 'Log', 'Redirect'
+ ///
+ [JsonProperty(PropertyName = "defaultAction")]
+ public string DefaultAction { get; set; }
+
///
/// Gets describes the functionality of the managed rule.
///
diff --git a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchCondition.cs b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchCondition.cs
index 8936696e6c0ba..453f38b18424a 100644
--- a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchCondition.cs
+++ b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchCondition.cs
@@ -35,7 +35,7 @@ public MatchCondition()
/// Request variable to compare with.
/// Possible values include: 'RemoteAddr', 'RequestMethod',
/// 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeader',
- /// 'RequestBody', 'Cookies'
+ /// 'RequestBody', 'Cookies', 'SocketAddr'
/// Comparison type to use for matching
/// with the variable value. Possible values include: 'Any', 'IPMatch',
/// 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan',
@@ -67,7 +67,8 @@ public MatchCondition()
///
/// Gets or sets request variable to compare with. Possible values
/// include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs',
- /// 'RequestUri', 'RequestHeader', 'RequestBody', 'Cookies'
+ /// 'RequestUri', 'RequestHeader', 'RequestBody', 'Cookies',
+ /// 'SocketAddr'
///
[JsonProperty(PropertyName = "matchVariable")]
public string MatchVariable { get; set; }
diff --git a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchVariable.cs b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchVariable.cs
index c2b72181268f6..3be7ab12788fd 100644
--- a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchVariable.cs
+++ b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/Models/MatchVariable.cs
@@ -24,5 +24,6 @@ public static class MatchVariable
public const string RequestHeader = "RequestHeader";
public const string RequestBody = "RequestBody";
public const string Cookies = "Cookies";
+ public const string SocketAddr = "SocketAddr";
}
}
diff --git a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/SdkInfo_FrontDoorManagementClient.cs b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/SdkInfo_FrontDoorManagementClient.cs
index db24a5925aa0e..bed136bbe7814 100644
--- a/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/SdkInfo_FrontDoorManagementClient.cs
+++ b/sdk/frontdoor/Microsoft.Azure.Management.FrontDoor/src/Generated/SdkInfo_FrontDoorManagementClient.cs
@@ -33,16 +33,5 @@ public static IEnumerable> ApiInfo_FrontDoorManage
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/frontdoor/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\AFD\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "59c5761efb6dae1a0cfb624bc1a054e902a855cf";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-