Udostępnij za pośrednictwem


ApplicationGateway Constructors

Definition

Overloads

ApplicationGateway()

Initializes a new instance of the ApplicationGateway class.

ApplicationGateway(String, String, String, String, IDictionary<String, String>, ApplicationGatewaySku, ApplicationGatewaySslPolicy, String, IList<ApplicationGatewayIPConfiguration>, IList<ApplicationGatewayAuthenticationCertificate>, IList<ApplicationGatewayTrustedRootCertificate>, IList<ApplicationGatewayTrustedClientCertificate>, IList<ApplicationGatewaySslCertificate>, IList<ApplicationGatewayFrontendIPConfiguration>, IList<ApplicationGatewayFrontendPort>, IList<ApplicationGatewayProbe>, IList<ApplicationGatewayBackendAddressPool>, IList<ApplicationGatewayBackendHttpSettings>, IList<ApplicationGatewayBackendSettings>, IList<ApplicationGatewayHttpListener>, IList<ApplicationGatewayListener>, IList<ApplicationGatewaySslProfile>, IList<ApplicationGatewayUrlPathMap>, IList<ApplicationGatewayRequestRoutingRule>, IList<ApplicationGatewayRoutingRule>, IList<ApplicationGatewayRewriteRuleSet>, IList<ApplicationGatewayRedirectConfiguration>, ApplicationGatewayWebApplicationFirewallConfiguration, SubResource, Nullable<Boolean>, Nullable<Boolean>, ApplicationGatewayAutoscaleConfiguration, IList<ApplicationGatewayPrivateLinkConfiguration>, IList<ApplicationGatewayPrivateEndpointConnection>, String, String, IList<ApplicationGatewayCustomError>, Nullable<Boolean>, IList<ApplicationGatewayLoadDistributionPolicy>, ApplicationGatewayGlobalConfiguration, String, IList<String>, ManagedServiceIdentity)

Initializes a new instance of the ApplicationGateway class.

ApplicationGateway()

Initializes a new instance of the ApplicationGateway class.

public ApplicationGateway ();
Public Sub New ()

Applies to

ApplicationGateway(String, String, String, String, IDictionary<String, String>, ApplicationGatewaySku, ApplicationGatewaySslPolicy, String, IList<ApplicationGatewayIPConfiguration>, IList<ApplicationGatewayAuthenticationCertificate>, IList<ApplicationGatewayTrustedRootCertificate>, IList<ApplicationGatewayTrustedClientCertificate>, IList<ApplicationGatewaySslCertificate>, IList<ApplicationGatewayFrontendIPConfiguration>, IList<ApplicationGatewayFrontendPort>, IList<ApplicationGatewayProbe>, IList<ApplicationGatewayBackendAddressPool>, IList<ApplicationGatewayBackendHttpSettings>, IList<ApplicationGatewayBackendSettings>, IList<ApplicationGatewayHttpListener>, IList<ApplicationGatewayListener>, IList<ApplicationGatewaySslProfile>, IList<ApplicationGatewayUrlPathMap>, IList<ApplicationGatewayRequestRoutingRule>, IList<ApplicationGatewayRoutingRule>, IList<ApplicationGatewayRewriteRuleSet>, IList<ApplicationGatewayRedirectConfiguration>, ApplicationGatewayWebApplicationFirewallConfiguration, SubResource, Nullable<Boolean>, Nullable<Boolean>, ApplicationGatewayAutoscaleConfiguration, IList<ApplicationGatewayPrivateLinkConfiguration>, IList<ApplicationGatewayPrivateEndpointConnection>, String, String, IList<ApplicationGatewayCustomError>, Nullable<Boolean>, IList<ApplicationGatewayLoadDistributionPolicy>, ApplicationGatewayGlobalConfiguration, String, IList<String>, ManagedServiceIdentity)

Initializes a new instance of the ApplicationGateway class.

public ApplicationGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ApplicationGatewaySku sku = default, Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslPolicy sslPolicy = default, string operationalState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayIPConfiguration> gatewayIPConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayAuthenticationCertificate> authenticationCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayTrustedRootCertificate> trustedRootCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayTrustedClientCertificate> trustedClientCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslCertificate> sslCertificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayFrontendPort> frontendPorts = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayProbe> probes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendAddressPool> backendAddressPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendSettings> backendSettingsCollection = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayHttpListener> httpListeners = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayListener> listeners = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslProfile> sslProfiles = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayUrlPathMap> urlPathMaps = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRequestRoutingRule> requestRoutingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRoutingRule> routingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRewriteRuleSet> rewriteRuleSets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRedirectConfiguration> redirectConfigurations = default, Microsoft.Azure.Management.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default, Microsoft.Azure.Management.Network.Models.SubResource firewallPolicy = default, bool? enableHttp2 = default, bool? enableFips = default, Microsoft.Azure.Management.Network.Models.ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayPrivateEndpointConnection> privateEndpointConnections = default, string resourceGuid = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayCustomError> customErrorConfigurations = default, bool? forceFirewallPolicyAssociation = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies = default, Microsoft.Azure.Management.Network.Models.ApplicationGatewayGlobalConfiguration globalConfiguration = default, string etag = default, System.Collections.Generic.IList<string> zones = default, Microsoft.Azure.Management.Network.Models.ManagedServiceIdentity identity = default);
new Microsoft.Azure.Management.Network.Models.ApplicationGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ApplicationGatewaySku * Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslPolicy * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayIPConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayAuthenticationCertificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayTrustedRootCertificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayTrustedClientCertificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslCertificate> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayFrontendIPConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayFrontendPort> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayProbe> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendAddressPool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendHttpSettings> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayBackendSettings> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayHttpListener> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayListener> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewaySslProfile> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayUrlPathMap> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRequestRoutingRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRoutingRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRewriteRuleSet> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayRedirectConfiguration> * Microsoft.Azure.Management.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Network.Models.ApplicationGatewayAutoscaleConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayPrivateLinkConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayPrivateEndpointConnection> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayCustomError> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGatewayLoadDistributionPolicy> * Microsoft.Azure.Management.Network.Models.ApplicationGatewayGlobalConfiguration * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Network.Models.ManagedServiceIdentity -> Microsoft.Azure.Management.Network.Models.ApplicationGateway
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As ApplicationGatewaySku = Nothing, Optional sslPolicy As ApplicationGatewaySslPolicy = Nothing, Optional operationalState As String = Nothing, Optional gatewayIPConfigurations As IList(Of ApplicationGatewayIPConfiguration) = Nothing, Optional authenticationCertificates As IList(Of ApplicationGatewayAuthenticationCertificate) = Nothing, Optional trustedRootCertificates As IList(Of ApplicationGatewayTrustedRootCertificate) = Nothing, Optional trustedClientCertificates As IList(Of ApplicationGatewayTrustedClientCertificate) = Nothing, Optional sslCertificates As IList(Of ApplicationGatewaySslCertificate) = Nothing, Optional frontendIPConfigurations As IList(Of ApplicationGatewayFrontendIPConfiguration) = Nothing, Optional frontendPorts As IList(Of ApplicationGatewayFrontendPort) = Nothing, Optional probes As IList(Of ApplicationGatewayProbe) = Nothing, Optional backendAddressPools As IList(Of ApplicationGatewayBackendAddressPool) = Nothing, Optional backendHttpSettingsCollection As IList(Of ApplicationGatewayBackendHttpSettings) = Nothing, Optional backendSettingsCollection As IList(Of ApplicationGatewayBackendSettings) = Nothing, Optional httpListeners As IList(Of ApplicationGatewayHttpListener) = Nothing, Optional listeners As IList(Of ApplicationGatewayListener) = Nothing, Optional sslProfiles As IList(Of ApplicationGatewaySslProfile) = Nothing, Optional urlPathMaps As IList(Of ApplicationGatewayUrlPathMap) = Nothing, Optional requestRoutingRules As IList(Of ApplicationGatewayRequestRoutingRule) = Nothing, Optional routingRules As IList(Of ApplicationGatewayRoutingRule) = Nothing, Optional rewriteRuleSets As IList(Of ApplicationGatewayRewriteRuleSet) = Nothing, Optional redirectConfigurations As IList(Of ApplicationGatewayRedirectConfiguration) = Nothing, Optional webApplicationFirewallConfiguration As ApplicationGatewayWebApplicationFirewallConfiguration = Nothing, Optional firewallPolicy As SubResource = Nothing, Optional enableHttp2 As Nullable(Of Boolean) = Nothing, Optional enableFips As Nullable(Of Boolean) = Nothing, Optional autoscaleConfiguration As ApplicationGatewayAutoscaleConfiguration = Nothing, Optional privateLinkConfigurations As IList(Of ApplicationGatewayPrivateLinkConfiguration) = Nothing, Optional privateEndpointConnections As IList(Of ApplicationGatewayPrivateEndpointConnection) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional customErrorConfigurations As IList(Of ApplicationGatewayCustomError) = Nothing, Optional forceFirewallPolicyAssociation As Nullable(Of Boolean) = Nothing, Optional loadDistributionPolicies As IList(Of ApplicationGatewayLoadDistributionPolicy) = Nothing, Optional globalConfiguration As ApplicationGatewayGlobalConfiguration = Nothing, Optional etag As String = Nothing, Optional zones As IList(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

sku
ApplicationGatewaySku

SKU of the application gateway resource.

sslPolicy
ApplicationGatewaySslPolicy

SSL policy of the application gateway resource.

operationalState
String

Operational state of the application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'

gatewayIPConfigurations
IList<ApplicationGatewayIPConfiguration>

Subnets of the application gateway resource. For default limits, see Application Gateway limits.

authenticationCertificates
IList<ApplicationGatewayAuthenticationCertificate>

Authentication certificates of the application gateway resource. For default limits, see Application Gateway limits.

trustedRootCertificates
IList<ApplicationGatewayTrustedRootCertificate>

Trusted Root certificates of the application gateway resource. For default limits, see Application Gateway limits.

trustedClientCertificates
IList<ApplicationGatewayTrustedClientCertificate>

Trusted client certificates of the application gateway resource. For default limits, see Application Gateway limits.

sslCertificates
IList<ApplicationGatewaySslCertificate>

SSL certificates of the application gateway resource. For default limits, see Application Gateway limits.

frontendIPConfigurations
IList<ApplicationGatewayFrontendIPConfiguration>

Frontend IP addresses of the application gateway resource. For default limits, see Application Gateway limits.

frontendPorts
IList<ApplicationGatewayFrontendPort>

Frontend ports of the application gateway resource. For default limits, see Application Gateway limits.

probes
IList<ApplicationGatewayProbe>

Probes of the application gateway resource.

backendAddressPools
IList<ApplicationGatewayBackendAddressPool>

Backend address pool of the application gateway resource. For default limits, see Application Gateway limits.

backendHttpSettingsCollection
IList<ApplicationGatewayBackendHttpSettings>

Backend http settings of the application gateway resource. For default limits, see Application Gateway limits.

backendSettingsCollection
IList<ApplicationGatewayBackendSettings>

Backend settings of the application gateway resource. For default limits, see Application Gateway limits.

httpListeners
IList<ApplicationGatewayHttpListener>

Http listeners of the application gateway resource. For default limits, see Application Gateway limits.

listeners
IList<ApplicationGatewayListener>

Listeners of the application gateway resource. For default limits, see Application Gateway limits.

sslProfiles
IList<ApplicationGatewaySslProfile>

SSL profiles of the application gateway resource. For default limits, see Application Gateway limits.

urlPathMaps
IList<ApplicationGatewayUrlPathMap>

URL path map of the application gateway resource. For default limits, see Application Gateway limits.

requestRoutingRules
IList<ApplicationGatewayRequestRoutingRule>

Request routing rules of the application gateway resource.

routingRules
IList<ApplicationGatewayRoutingRule>

Routing rules of the application gateway resource.

rewriteRuleSets
IList<ApplicationGatewayRewriteRuleSet>

Rewrite rules for the application gateway resource.

redirectConfigurations
IList<ApplicationGatewayRedirectConfiguration>

Redirect configurations of the application gateway resource. For default limits, see Application Gateway limits.

webApplicationFirewallConfiguration
ApplicationGatewayWebApplicationFirewallConfiguration

Web application firewall configuration.

firewallPolicy
SubResource

Reference to the FirewallPolicy resource.

enableHttp2
Nullable<Boolean>

Whether HTTP2 is enabled on the application gateway resource.

enableFips
Nullable<Boolean>

Whether FIPS is enabled on the application gateway resource.

autoscaleConfiguration
ApplicationGatewayAutoscaleConfiguration

Autoscale Configuration.

privateLinkConfigurations
IList<ApplicationGatewayPrivateLinkConfiguration>

PrivateLink configurations on application gateway.

privateEndpointConnections
IList<ApplicationGatewayPrivateEndpointConnection>

Private Endpoint connections on application gateway.

resourceGuid
String

The resource GUID property of the application gateway resource.

provisioningState
String

The provisioning state of the application gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

customErrorConfigurations
IList<ApplicationGatewayCustomError>

Custom error configurations of the application gateway resource.

forceFirewallPolicyAssociation
Nullable<Boolean>

If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.

loadDistributionPolicies
IList<ApplicationGatewayLoadDistributionPolicy>

Load distribution policies of the application gateway resource.

globalConfiguration
ApplicationGatewayGlobalConfiguration

Global Configuration.

etag
String

A unique read-only string that changes whenever the resource is updated.

zones
IList<String>

A list of availability zones denoting where the resource needs to come from.

identity
ManagedServiceIdentity

The identity of the application gateway, if configured.

Applies to