Пример #1
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (ExplicitProxySettings != null)
     {
         ExplicitProxySettings.Validate();
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the FirewallPolicy class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="ruleCollectionGroups">List of references to
 /// FirewallPolicyRuleCollectionGroups.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// firewall policy resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="basePolicy">The parent firewall policy from which
 /// rules are inherited.</param>
 /// <param name="firewalls">List of references to Azure Firewalls that
 /// this Firewall Policy is associated with.</param>
 /// <param name="childPolicies">List of references to Child Firewall
 /// Policies.</param>
 /// <param name="threatIntelMode">The operation mode for Threat
 /// Intelligence. Possible values include: 'Alert', 'Deny',
 /// 'Off'</param>
 /// <param name="threatIntelWhitelist">ThreatIntel Whitelist for
 /// Firewall Policy.</param>
 /// <param name="insights">Insights on Firewall Policy.</param>
 /// <param name="snat">The private IP addresses/IP ranges to which
 /// traffic will not be SNAT.</param>
 /// <param name="sql">SQL Settings definition.</param>
 /// <param name="dnsSettings">DNS Proxy Settings definition.</param>
 /// <param name="explicitProxySettings">Explicit Proxy Settings
 /// definition.</param>
 /// <param name="intrusionDetection">The configuration for Intrusion
 /// detection.</param>
 /// <param name="transportSecurity">TLS Configuration
 /// definition.</param>
 /// <param name="sku">The Firewall Policy SKU.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="identity">The identity of the firewall policy.</param>
 public FirewallPolicy(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <SubResource> ruleCollectionGroups = default(IList <SubResource>), string provisioningState = default(string), SubResource basePolicy = default(SubResource), IList <SubResource> firewalls = default(IList <SubResource>), IList <SubResource> childPolicies = default(IList <SubResource>), string threatIntelMode = default(string), FirewallPolicyThreatIntelWhitelist threatIntelWhitelist = default(FirewallPolicyThreatIntelWhitelist), FirewallPolicyInsights insights = default(FirewallPolicyInsights), FirewallPolicySNAT snat = default(FirewallPolicySNAT), FirewallPolicySQL sql = default(FirewallPolicySQL), DnsSettings dnsSettings = default(DnsSettings), ExplicitProxySettings explicitProxySettings = default(ExplicitProxySettings), FirewallPolicyIntrusionDetection intrusionDetection = default(FirewallPolicyIntrusionDetection), FirewallPolicyTransportSecurity transportSecurity = default(FirewallPolicyTransportSecurity), FirewallPolicySku sku = default(FirewallPolicySku), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
     : base(id, name, type, location, tags)
 {
     RuleCollectionGroups = ruleCollectionGroups;
     ProvisioningState    = provisioningState;
     BasePolicy           = basePolicy;
     Firewalls            = firewalls;
     ChildPolicies        = childPolicies;
     ThreatIntelMode      = threatIntelMode;
     ThreatIntelWhitelist = threatIntelWhitelist;
     Insights             = insights;
     Snat                  = snat;
     Sql                   = sql;
     DnsSettings           = dnsSettings;
     ExplicitProxySettings = explicitProxySettings;
     IntrusionDetection    = intrusionDetection;
     TransportSecurity     = transportSecurity;
     Sku                   = sku;
     Etag                  = etag;
     Identity              = identity;
     CustomInit();
 }