Example #1
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGateway 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="sku">SKU of the application gateway resource.</param>
 /// <param name="sslPolicy">SSL policy of the application gateway
 /// resource.</param>
 /// <param name="operationalState">Operational state of the application
 /// gateway resource. Possible values include: 'Stopped', 'Starting',
 /// 'Running', 'Stopping'</param>
 /// <param name="gatewayIPConfigurations">Subnets of application the
 /// gateway resource.</param>
 /// <param name="authenticationCertificates">Authentication
 /// certificates of the application gateway resource.</param>
 /// <param name="trustedRootCertificates">Trusted Root certificates of
 /// the application gateway resource.</param>
 /// <param name="sslCertificates">SSL certificates of the application
 /// gateway resource.</param>
 /// <param name="frontendIPConfigurations">Frontend IP addresses of the
 /// application gateway resource.</param>
 /// <param name="frontendPorts">Frontend ports of the application
 /// gateway resource.</param>
 /// <param name="probes">Probes of the application gateway
 /// resource.</param>
 /// <param name="backendAddressPools">Backend address pool of the
 /// application gateway resource.</param>
 /// <param name="backendHttpSettingsCollection">Backend http settings
 /// of the application gateway resource.</param>
 /// <param name="httpListeners">Http listeners of the application
 /// gateway resource.</param>
 /// <param name="urlPathMaps">URL path map of the application gateway
 /// resource.</param>
 /// <param name="requestRoutingRules">Request routing rules of the
 /// application gateway resource.</param>
 /// <param name="rewriteRuleSets">Rewrite rules for the application
 /// gateway resource.</param>
 /// <param name="redirectConfigurations">Redirect configurations of the
 /// application gateway resource.</param>
 /// <param name="webApplicationFirewallConfiguration">Web application
 /// firewall configuration.</param>
 /// <param name="enableHttp2">Whether HTTP2 is enabled on the
 /// application gateway resource.</param>
 /// <param name="enableFips">Whether FIPS is enabled on the application
 /// gateway resource.</param>
 /// <param name="autoscaleConfiguration">Autoscale
 /// Configuration.</param>
 /// <param name="resourceGuid">Resource GUID property of the
 /// application gateway resource.</param>
 /// <param name="provisioningState">Provisioning state of the
 /// application gateway resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="customErrorConfigurations">Custom error configurations
 /// of the application gateway resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="zones">A list of availability zones denoting where the
 /// resource needs to come from.</param>
 /// <param name="identity">The identity of the application gateway, if
 /// configured.</param>
 public ApplicationGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), string operationalState = default(string), IList <ApplicationGatewayIPConfiguration> gatewayIPConfigurations = default(IList <ApplicationGatewayIPConfiguration>), IList <ApplicationGatewayAuthenticationCertificate> authenticationCertificates = default(IList <ApplicationGatewayAuthenticationCertificate>), IList <ApplicationGatewayTrustedRootCertificate> trustedRootCertificates = default(IList <ApplicationGatewayTrustedRootCertificate>), IList <ApplicationGatewaySslCertificate> sslCertificates = default(IList <ApplicationGatewaySslCertificate>), IList <ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations = default(IList <ApplicationGatewayFrontendIPConfiguration>), IList <ApplicationGatewayFrontendPort> frontendPorts = default(IList <ApplicationGatewayFrontendPort>), IList <ApplicationGatewayProbe> probes = default(IList <ApplicationGatewayProbe>), IList <ApplicationGatewayBackendAddressPool> backendAddressPools = default(IList <ApplicationGatewayBackendAddressPool>), IList <ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection = default(IList <ApplicationGatewayBackendHttpSettings>), IList <ApplicationGatewayHttpListener> httpListeners = default(IList <ApplicationGatewayHttpListener>), IList <ApplicationGatewayUrlPathMap> urlPathMaps = default(IList <ApplicationGatewayUrlPathMap>), IList <ApplicationGatewayRequestRoutingRule> requestRoutingRules = default(IList <ApplicationGatewayRequestRoutingRule>), IList <ApplicationGatewayRewriteRuleSet> rewriteRuleSets = default(IList <ApplicationGatewayRewriteRuleSet>), IList <ApplicationGatewayRedirectConfiguration> redirectConfigurations = default(IList <ApplicationGatewayRedirectConfiguration>), ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default(ApplicationGatewayWebApplicationFirewallConfiguration), bool?enableHttp2 = default(bool?), bool?enableFips = default(bool?), ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default(ApplicationGatewayAutoscaleConfiguration), string resourceGuid = default(string), string provisioningState = default(string), IList <ApplicationGatewayCustomError> customErrorConfigurations = default(IList <ApplicationGatewayCustomError>), string etag = default(string), IList <string> zones = default(IList <string>), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
     : base(id, name, type, location, tags)
 {
     Sku                                 = sku;
     SslPolicy                           = sslPolicy;
     OperationalState                    = operationalState;
     GatewayIPConfigurations             = gatewayIPConfigurations;
     AuthenticationCertificates          = authenticationCertificates;
     TrustedRootCertificates             = trustedRootCertificates;
     SslCertificates                     = sslCertificates;
     FrontendIPConfigurations            = frontendIPConfigurations;
     FrontendPorts                       = frontendPorts;
     Probes                              = probes;
     BackendAddressPools                 = backendAddressPools;
     BackendHttpSettingsCollection       = backendHttpSettingsCollection;
     HttpListeners                       = httpListeners;
     UrlPathMaps                         = urlPathMaps;
     RequestRoutingRules                 = requestRoutingRules;
     RewriteRuleSets                     = rewriteRuleSets;
     RedirectConfigurations              = redirectConfigurations;
     WebApplicationFirewallConfiguration = webApplicationFirewallConfiguration;
     EnableHttp2                         = enableHttp2;
     EnableFips                          = enableFips;
     AutoscaleConfiguration              = autoscaleConfiguration;
     ResourceGuid                        = resourceGuid;
     ProvisioningState                   = provisioningState;
     CustomErrorConfigurations           = customErrorConfigurations;
     Etag                                = etag;
     Zones                               = zones;
     Identity                            = identity;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGateway class.
 /// </summary>
 public ApplicationGateway(string etag = default(string), ApplicationGatewaySku sku = default(ApplicationGatewaySku), string operationalState = default(string), IList <ApplicationGatewayIPConfiguration> gatewayIPConfigurations = default(IList <ApplicationGatewayIPConfiguration>), IList <ApplicationGatewaySslCertificate> sslCertificates = default(IList <ApplicationGatewaySslCertificate>), IList <ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations = default(IList <ApplicationGatewayFrontendIPConfiguration>), IList <ApplicationGatewayFrontendPort> frontendPorts = default(IList <ApplicationGatewayFrontendPort>), IList <ApplicationGatewayProbe> probes = default(IList <ApplicationGatewayProbe>), IList <ApplicationGatewayBackendAddressPool> backendAddressPools = default(IList <ApplicationGatewayBackendAddressPool>), IList <ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection = default(IList <ApplicationGatewayBackendHttpSettings>), IList <ApplicationGatewayHttpListener> httpListeners = default(IList <ApplicationGatewayHttpListener>), IList <ApplicationGatewayUrlPathMap> urlPathMaps = default(IList <ApplicationGatewayUrlPathMap>), IList <ApplicationGatewayRequestRoutingRule> requestRoutingRules = default(IList <ApplicationGatewayRequestRoutingRule>), string resourceGuid = default(string), string provisioningState = default(string))
 {
     Etag                          = etag;
     Sku                           = sku;
     OperationalState              = operationalState;
     GatewayIPConfigurations       = gatewayIPConfigurations;
     SslCertificates               = sslCertificates;
     FrontendIPConfigurations      = frontendIPConfigurations;
     FrontendPorts                 = frontendPorts;
     Probes                        = probes;
     BackendAddressPools           = backendAddressPools;
     BackendHttpSettingsCollection = backendHttpSettingsCollection;
     HttpListeners                 = httpListeners;
     UrlPathMaps                   = urlPathMaps;
     RequestRoutingRules           = requestRoutingRules;
     ResourceGuid                  = resourceGuid;
     ProvisioningState             = provisioningState;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGateway class.
 /// </summary>
 public ApplicationGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), string operationalState = default(string), IList <ApplicationGatewayIPConfiguration> gatewayIPConfigurations = default(IList <ApplicationGatewayIPConfiguration>), IList <ApplicationGatewayAuthenticationCertificate> authenticationCertificates = default(IList <ApplicationGatewayAuthenticationCertificate>), IList <ApplicationGatewaySslCertificate> sslCertificates = default(IList <ApplicationGatewaySslCertificate>), IList <ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations = default(IList <ApplicationGatewayFrontendIPConfiguration>), IList <ApplicationGatewayFrontendPort> frontendPorts = default(IList <ApplicationGatewayFrontendPort>), IList <ApplicationGatewayProbe> probes = default(IList <ApplicationGatewayProbe>), IList <ApplicationGatewayBackendAddressPool> backendAddressPools = default(IList <ApplicationGatewayBackendAddressPool>), IList <ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection = default(IList <ApplicationGatewayBackendHttpSettings>), IList <ApplicationGatewayHttpListener> httpListeners = default(IList <ApplicationGatewayHttpListener>), IList <ApplicationGatewayUrlPathMap> urlPathMaps = default(IList <ApplicationGatewayUrlPathMap>), IList <ApplicationGatewayRequestRoutingRule> requestRoutingRules = default(IList <ApplicationGatewayRequestRoutingRule>), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     Sku                           = sku;
     SslPolicy                     = sslPolicy;
     OperationalState              = operationalState;
     GatewayIPConfigurations       = gatewayIPConfigurations;
     AuthenticationCertificates    = authenticationCertificates;
     SslCertificates               = sslCertificates;
     FrontendIPConfigurations      = frontendIPConfigurations;
     FrontendPorts                 = frontendPorts;
     Probes                        = probes;
     BackendAddressPools           = backendAddressPools;
     BackendHttpSettingsCollection = backendHttpSettingsCollection;
     HttpListeners                 = httpListeners;
     UrlPathMaps                   = urlPathMaps;
     RequestRoutingRules           = requestRoutingRules;
     ResourceGuid                  = resourceGuid;
     ProvisioningState             = provisioningState;
     Etag                          = etag;
 }