你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApplicationGateway 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ApplicationGateway()
初始化 ApplicationGateway 类的新实例。
public ApplicationGateway();
Public Sub New ()
适用于
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)
初始化 ApplicationGateway 类的新实例。
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)
参数
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- location
- String
资源位置。
- tags
- IDictionary<String,String>
资源标记。
应用程序网关资源的 SKU。
- sslPolicy
- ApplicationGatewaySslPolicy
应用程序网关资源的 SSL 策略。
- operationalState
- String
应用程序网关资源的操作状态。 可能的值包括:“Stopped”、“Starting”、“Running”、“Stopping”
- gatewayIPConfigurations
- IList<ApplicationGatewayIPConfiguration>
应用程序网关资源的子网。 有关默认限制,请参阅应用程序网关限制。
- authenticationCertificates
- IList<ApplicationGatewayAuthenticationCertificate>
应用程序网关资源的身份验证证书。 有关默认限制,请参阅应用程序网关限制。
- trustedRootCertificates
- IList<ApplicationGatewayTrustedRootCertificate>
应用程序网关资源的受信任根证书。 有关默认限制,请参阅应用程序网关限制。
- trustedClientCertificates
- IList<ApplicationGatewayTrustedClientCertificate>
应用程序网关资源的受信任客户端证书。 有关默认限制,请参阅应用程序网关限制。
- sslCertificates
- IList<ApplicationGatewaySslCertificate>
应用程序网关资源的 SSL 证书。 有关默认限制,请参阅应用程序网关限制。
- frontendIPConfigurations
- IList<ApplicationGatewayFrontendIPConfiguration>
应用程序网关资源的前端 IP 地址。 有关默认限制,请参阅应用程序网关限制。
- frontendPorts
- IList<ApplicationGatewayFrontendPort>
应用程序网关资源的前端端口。 有关默认限制,请参阅应用程序网关限制。
- probes
- IList<ApplicationGatewayProbe>
应用程序网关资源的探测。
- backendAddressPools
- IList<ApplicationGatewayBackendAddressPool>
应用程序网关资源的后端地址池。 有关默认限制,请参阅应用程序网关限制。
- backendHttpSettingsCollection
- IList<ApplicationGatewayBackendHttpSettings>
应用程序网关资源的后端 http 设置。 有关默认限制,请参阅应用程序网关限制。
- backendSettingsCollection
- IList<ApplicationGatewayBackendSettings>
应用程序网关资源的后端设置。 有关默认限制,请参阅应用程序网关限制。
- httpListeners
- IList<ApplicationGatewayHttpListener>
应用程序网关资源的 Http 侦听器。 有关默认限制,请参阅应用程序网关限制。
- listeners
- IList<ApplicationGatewayListener>
应用程序网关资源的侦听器。 有关默认限制,请参阅应用程序网关限制。
- sslProfiles
- IList<ApplicationGatewaySslProfile>
应用程序网关资源的 SSL 配置文件。 有关默认限制,请参阅应用程序网关限制。
- urlPathMaps
- IList<ApplicationGatewayUrlPathMap>
应用程序网关资源的 URL 路径映射。 有关默认限制,请参阅应用程序网关限制。
- requestRoutingRules
- IList<ApplicationGatewayRequestRoutingRule>
应用程序网关资源的请求路由规则。
- routingRules
- IList<ApplicationGatewayRoutingRule>
应用程序网关资源的路由规则。
- rewriteRuleSets
- IList<ApplicationGatewayRewriteRuleSet>
重写应用程序网关资源的规则。
- redirectConfigurations
- IList<ApplicationGatewayRedirectConfiguration>
重定向应用程序网关资源的配置。 有关默认限制,请参阅应用程序网关限制。
- webApplicationFirewallConfiguration
- ApplicationGatewayWebApplicationFirewallConfiguration
Web 应用程序防火墙配置。
- firewallPolicy
- SubResource
对 FirewallPolicy 资源的引用。
- autoscaleConfiguration
- ApplicationGatewayAutoscaleConfiguration
自动缩放配置。
- privateLinkConfigurations
- IList<ApplicationGatewayPrivateLinkConfiguration>
应用程序网关上的 PrivateLink 配置。
- privateEndpointConnections
- IList<ApplicationGatewayPrivateEndpointConnection>
应用程序网关上的专用终结点连接。
- resourceGuid
- String
应用程序网关资源的资源 GUID 属性。
- provisioningState
- String
应用程序网关资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”
- customErrorConfigurations
- IList<ApplicationGatewayCustomError>
应用程序网关资源的自定义错误配置。
- loadDistributionPolicies
- IList<ApplicationGatewayLoadDistributionPolicy>
应用程序网关资源的负载分发策略。
- globalConfiguration
- ApplicationGatewayGlobalConfiguration
全局配置。
- etag
- String
一个唯一的只读字符串,每当资源更新时都会更改。
- identity
- ManagedServiceIdentity
应用程序网关的标识(如果已配置)。