-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme file changes for Routing and NSG
- Loading branch information
1 parent
7a86a5c
commit 0ae18ff
Showing
11 changed files
with
428 additions
and
1 deletion.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...ork.Management.Sdk/Generated/Models/ApplicationGatewayForContainersReferenceDefinition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Defines an application gateway for containers reference. | ||
/// </summary> | ||
public partial class ApplicationGatewayForContainersReferenceDefinition | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ApplicationGatewayForContainersReferenceDefinition class. | ||
/// </summary> | ||
public ApplicationGatewayForContainersReferenceDefinition() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ApplicationGatewayForContainersReferenceDefinition class. | ||
/// </summary> | ||
|
||
/// <param name="id">Resource Id of the application gateway for containers. | ||
/// </param> | ||
public ApplicationGatewayForContainersReferenceDefinition(string id) | ||
|
||
{ | ||
this.Id = id; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets resource Id of the application gateway for containers. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "id")] | ||
public string Id {get; set; } | ||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public virtual void Validate() | ||
{ | ||
if (this.Id == null) | ||
{ | ||
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "Id"); | ||
} | ||
|
||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...work/Network.Management.Sdk/Generated/Models/ApplicationGatewayWafRuleSensitivityTypes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for ApplicationGatewayWafRuleSensitivityTypes. | ||
/// </summary> | ||
|
||
|
||
public static class ApplicationGatewayWafRuleSensitivityTypes | ||
{ | ||
public const string None = "None"; | ||
public const string Low = "Low"; | ||
public const string Medium = "Medium"; | ||
public const string High = "High"; | ||
} | ||
} |
85 changes: 85 additions & 0 deletions
85
src/Network/Network.Management.Sdk/Generated/Models/AzureFirewallAutoscaleConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Azure Firewall Autoscale Configuration parameters. | ||
/// </summary> | ||
public partial class AzureFirewallAutoscaleConfiguration | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the AzureFirewallAutoscaleConfiguration class. | ||
/// </summary> | ||
public AzureFirewallAutoscaleConfiguration() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the AzureFirewallAutoscaleConfiguration class. | ||
/// </summary> | ||
|
||
/// <param name="minCapacity">The minimum number of capacity units for this azure firewall. Use null to | ||
/// reset the value to the service default. | ||
/// </param> | ||
|
||
/// <param name="maxCapacity">The maximum number of capacity units for this azure firewall. Use null to | ||
/// reset the value to the service default. | ||
/// </param> | ||
public AzureFirewallAutoscaleConfiguration(int? minCapacity = default(int?), int? maxCapacity = default(int?)) | ||
|
||
{ | ||
this.MinCapacity = minCapacity; | ||
this.MaxCapacity = maxCapacity; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets the minimum number of capacity units for this azure firewall. | ||
/// Use null to reset the value to the service default. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "minCapacity")] | ||
public int? MinCapacity {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the maximum number of capacity units for this azure firewall. | ||
/// Use null to reset the value to the service default. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "maxCapacity")] | ||
public int? MaxCapacity {get; set; } | ||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public virtual void Validate() | ||
{ | ||
if (this.MinCapacity != null) | ||
{ | ||
if (this.MinCapacity < 2) | ||
{ | ||
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "MinCapacity", 2); | ||
} | ||
} | ||
if (this.MaxCapacity != null) | ||
{ | ||
if (this.MaxCapacity < 2) | ||
{ | ||
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.InclusiveMinimum, "MaxCapacity", 2); | ||
} | ||
} | ||
} | ||
} | ||
} |
135 changes: 135 additions & 0 deletions
135
src/Network/Network.Management.Sdk/Generated/Models/ExceptionEntry.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Adds exception to allow a request when the condition is satisfied. | ||
/// </summary> | ||
public partial class ExceptionEntry | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ExceptionEntry class. | ||
/// </summary> | ||
public ExceptionEntry() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ExceptionEntry class. | ||
/// </summary> | ||
|
||
/// <param name="matchVariable">The variable on which we evaluate the exception condition | ||
/// Possible values include: 'RequestURI', 'RemoteAddr', 'RequestHeader'</param> | ||
|
||
/// <param name="values">Allowed values for the matchVariable | ||
/// </param> | ||
|
||
/// <param name="valueMatchOperator">Operates on the allowed values for the matchVariable | ||
/// Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith', | ||
/// 'IPMatch'</param> | ||
|
||
/// <param name="selectorMatchOperator">When the matchVariable points to a key-value pair (e.g, RequestHeader), | ||
/// this operates on the selector | ||
/// Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith'</param> | ||
|
||
/// <param name="selector">When the matchVariable points to a key-value pair (e.g, RequestHeader), | ||
/// this identifies the key. | ||
/// </param> | ||
|
||
/// <param name="exceptionManagedRuleSets">The managed rule sets that are associated with the exception. | ||
/// </param> | ||
public ExceptionEntry(string matchVariable, string valueMatchOperator, System.Collections.Generic.IList<string> values = default(System.Collections.Generic.IList<string>), string selectorMatchOperator = default(string), string selector = default(string), System.Collections.Generic.IList<ExclusionManagedRuleSet> exceptionManagedRuleSets = default(System.Collections.Generic.IList<ExclusionManagedRuleSet>)) | ||
|
||
{ | ||
this.MatchVariable = matchVariable; | ||
this.Values = values; | ||
this.ValueMatchOperator = valueMatchOperator; | ||
this.SelectorMatchOperator = selectorMatchOperator; | ||
this.Selector = selector; | ||
this.ExceptionManagedRuleSets = exceptionManagedRuleSets; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets the variable on which we evaluate the exception condition Possible values include: 'RequestURI', 'RemoteAddr', 'RequestHeader' | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "matchVariable")] | ||
public string MatchVariable {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets allowed values for the matchVariable | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "values")] | ||
public System.Collections.Generic.IList<string> Values {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets operates on the allowed values for the matchVariable Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith', 'IPMatch' | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "valueMatchOperator")] | ||
public string ValueMatchOperator {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets when the matchVariable points to a key-value pair (e.g, | ||
/// RequestHeader), this operates on the selector Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith' | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "selectorMatchOperator")] | ||
public string SelectorMatchOperator {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets when the matchVariable points to a key-value pair (e.g, | ||
/// RequestHeader), this identifies the key. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "selector")] | ||
public string Selector {get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the managed rule sets that are associated with the exception. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "exceptionManagedRuleSets")] | ||
public System.Collections.Generic.IList<ExclusionManagedRuleSet> ExceptionManagedRuleSets {get; set; } | ||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public virtual void Validate() | ||
{ | ||
if (this.MatchVariable == null) | ||
{ | ||
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "MatchVariable"); | ||
} | ||
if (this.ValueMatchOperator == null) | ||
{ | ||
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "ValueMatchOperator"); | ||
} | ||
|
||
|
||
|
||
|
||
|
||
if (this.ExceptionManagedRuleSets != null) | ||
{ | ||
foreach (var element in this.ExceptionManagedRuleSets) | ||
{ | ||
if (element != null) | ||
{ | ||
element.Validate(); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Network/Network.Management.Sdk/Generated/Models/ExceptionEntryMatchVariable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for ExceptionEntryMatchVariable. | ||
/// </summary> | ||
|
||
|
||
public static class ExceptionEntryMatchVariable | ||
{ | ||
public const string RequestURI = "RequestURI"; | ||
public const string RemoteAddr = "RemoteAddr"; | ||
public const string RequestHeader = "RequestHeader"; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/Network/Network.Management.Sdk/Generated/Models/ExceptionEntrySelectorMatchOperator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for ExceptionEntrySelectorMatchOperator. | ||
/// </summary> | ||
|
||
|
||
public static class ExceptionEntrySelectorMatchOperator | ||
{ | ||
public const string Equals = "Equals"; | ||
public const string Contains = "Contains"; | ||
public const string StartsWith = "StartsWith"; | ||
public const string EndsWith = "EndsWith"; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/Network/Network.Management.Sdk/Generated/Models/ExceptionEntryValueMatchOperator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// 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. | ||
|
||
namespace Microsoft.Azure.Management.Network.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for ExceptionEntryValueMatchOperator. | ||
/// </summary> | ||
|
||
|
||
public static class ExceptionEntryValueMatchOperator | ||
{ | ||
public const string Equals = "Equals"; | ||
public const string Contains = "Contains"; | ||
public const string StartsWith = "StartsWith"; | ||
public const string EndsWith = "EndsWith"; | ||
public const string IPMatch = "IPMatch"; | ||
} | ||
} |
Oops, something went wrong.