Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the WebApplicationFirewallPolicyInner
 /// class.
 /// </summary>
 /// <param name="policySettings">Describes policySettings for
 /// policy.</param>
 /// <param name="customRules">Describes custom rules inside the
 /// policy.</param>
 /// <param name="applicationGateways">A collection of references to
 /// application gateways.</param>
 /// <param name="provisioningState">Provisioning state of the
 /// WebApplicationFirewallPolicy.</param>
 /// <param name="resourceState">Resource status of the policy.</param>
 /// <param name="etag">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public WebApplicationFirewallPolicyInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), PolicySettings policySettings = default(PolicySettings), IList <WebApplicationFirewallCustomRule> customRules = default(IList <WebApplicationFirewallCustomRule>), IList <ApplicationGatewayInner> applicationGateways = default(IList <ApplicationGatewayInner>), string provisioningState = default(string), WebApplicationFirewallPolicyResourceState resourceState = default(WebApplicationFirewallPolicyResourceState), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     PolicySettings      = policySettings;
     CustomRules         = customRules;
     ApplicationGateways = applicationGateways;
     ProvisioningState   = provisioningState;
     ResourceState       = resourceState;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the WebApplicationFirewallPolicyInner
 /// class.
 /// </summary>
 /// <param name="managedRules">Describes the managedRules
 /// structure.</param>
 /// <param name="policySettings">Describes policySettings for
 /// policy.</param>
 /// <param name="customRules">Describes custom rules inside the
 /// policy.</param>
 /// <param name="applicationGateways">A collection of references to
 /// application gateways.</param>
 /// <param name="provisioningState">The provisioning state of the web
 /// application firewall policy resource. Possible values include:
 /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="resourceState">Resource status of the policy.</param>
 /// <param name="httpListeners">A collection of references to
 /// application gateway http listeners.</param>
 /// <param name="pathBasedRules">A collection of references to
 /// application gateway path rules.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public WebApplicationFirewallPolicyInner(ManagedRulesDefinition managedRules, string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), PolicySettings policySettings = default(PolicySettings), IList <WebApplicationFirewallCustomRule> customRules = default(IList <WebApplicationFirewallCustomRule>), IList <ApplicationGatewayInner> applicationGateways = default(IList <ApplicationGatewayInner>), ProvisioningState provisioningState = default(ProvisioningState), WebApplicationFirewallPolicyResourceState resourceState = default(WebApplicationFirewallPolicyResourceState), IList <Management.ResourceManager.Fluent.SubResource> httpListeners = default(IList <Management.ResourceManager.Fluent.SubResource>), IList <Management.ResourceManager.Fluent.SubResource> pathBasedRules = default(IList <Management.ResourceManager.Fluent.SubResource>), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     PolicySettings      = policySettings;
     CustomRules         = customRules;
     ApplicationGateways = applicationGateways;
     ProvisioningState   = provisioningState;
     ResourceState       = resourceState;
     ManagedRules        = managedRules;
     HttpListeners       = httpListeners;
     PathBasedRules      = pathBasedRules;
     Etag = etag;
     CustomInit();
 }