Udostępnij za pośrednictwem


ArmNetworkModelFactory.ApplicationGatewayData Method

Definition

Initializes a new instance of ApplicationGatewayData.

public static Azure.ResourceManager.Network.ApplicationGatewayData ApplicationGatewayData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> availabilityZones = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Network.Models.ApplicationGatewaySku sku = default, Azure.ResourceManager.Network.Models.ApplicationGatewaySslPolicy sslPolicy = default, Azure.ResourceManager.Network.Models.ApplicationGatewayOperationalState? operationalState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayIPConfiguration> gatewayIPConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayAuthenticationCertificate> authenticationCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayTrustedRootCertificate> trustedRootCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayTrustedClientCertificate> trustedClientCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewaySslCertificate> sslCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayFrontendPort> frontendPorts = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayProbe> probes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendAddressPool> backendAddressPools = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendSettings> backendSettingsCollection = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayHttpListener> httpListeners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayListener> listeners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewaySslProfile> sslProfiles = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayUrlPathMap> urlPathMaps = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayRequestRoutingRule> requestRoutingRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayRoutingRule> routingRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayRewriteRuleSet> rewriteRuleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayRedirectConfiguration> redirectConfigurations = default, Azure.ResourceManager.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default, Azure.Core.ResourceIdentifier firewallPolicyId = default, bool? enableHttp2 = default, bool? enableFips = default, Azure.ResourceManager.Network.Models.ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ApplicationGatewayPrivateEndpointConnectionData> privateEndpointConnections = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError> customErrorConfigurations = default, bool? forceFirewallPolicyAssociation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies = default, Azure.ResourceManager.Network.Models.ApplicationGatewayGlobalConfiguration globalConfiguration = default, Azure.ResourceManager.Network.Models.ApplicationGatewaySslPolicyName? defaultPredefinedSslPolicy = default);
static member ApplicationGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * seq<string> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Network.Models.ApplicationGatewaySku * Azure.ResourceManager.Network.Models.ApplicationGatewaySslPolicy * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayOperationalState> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayIPConfiguration> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayAuthenticationCertificate> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayTrustedRootCertificate> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayTrustedClientCertificate> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewaySslCertificate> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayFrontendIPConfiguration> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayFrontendPort> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayProbe> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendAddressPool> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendHttpSettings> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayBackendSettings> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayHttpListener> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayListener> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewaySslProfile> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayUrlPathMap> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayRequestRoutingRule> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayRoutingRule> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayRewriteRuleSet> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayRedirectConfiguration> * Azure.ResourceManager.Network.Models.ApplicationGatewayWebApplicationFirewallConfiguration * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Network.Models.ApplicationGatewayAutoscaleConfiguration * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayPrivateLinkConfiguration> * seq<Azure.ResourceManager.Network.ApplicationGatewayPrivateEndpointConnectionData> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayCustomError> * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionPolicy> * Azure.ResourceManager.Network.Models.ApplicationGatewayGlobalConfiguration * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewaySslPolicyName> -> Azure.ResourceManager.Network.ApplicationGatewayData
Public Shared Function ApplicationGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional availabilityZones As IEnumerable(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As ApplicationGatewaySku = Nothing, Optional sslPolicy As ApplicationGatewaySslPolicy = Nothing, Optional operationalState As Nullable(Of ApplicationGatewayOperationalState) = Nothing, Optional gatewayIPConfigurations As IEnumerable(Of ApplicationGatewayIPConfiguration) = Nothing, Optional authenticationCertificates As IEnumerable(Of ApplicationGatewayAuthenticationCertificate) = Nothing, Optional trustedRootCertificates As IEnumerable(Of ApplicationGatewayTrustedRootCertificate) = Nothing, Optional trustedClientCertificates As IEnumerable(Of ApplicationGatewayTrustedClientCertificate) = Nothing, Optional sslCertificates As IEnumerable(Of ApplicationGatewaySslCertificate) = Nothing, Optional frontendIPConfigurations As IEnumerable(Of ApplicationGatewayFrontendIPConfiguration) = Nothing, Optional frontendPorts As IEnumerable(Of ApplicationGatewayFrontendPort) = Nothing, Optional probes As IEnumerable(Of ApplicationGatewayProbe) = Nothing, Optional backendAddressPools As IEnumerable(Of ApplicationGatewayBackendAddressPool) = Nothing, Optional backendHttpSettingsCollection As IEnumerable(Of ApplicationGatewayBackendHttpSettings) = Nothing, Optional backendSettingsCollection As IEnumerable(Of ApplicationGatewayBackendSettings) = Nothing, Optional httpListeners As IEnumerable(Of ApplicationGatewayHttpListener) = Nothing, Optional listeners As IEnumerable(Of ApplicationGatewayListener) = Nothing, Optional sslProfiles As IEnumerable(Of ApplicationGatewaySslProfile) = Nothing, Optional urlPathMaps As IEnumerable(Of ApplicationGatewayUrlPathMap) = Nothing, Optional requestRoutingRules As IEnumerable(Of ApplicationGatewayRequestRoutingRule) = Nothing, Optional routingRules As IEnumerable(Of ApplicationGatewayRoutingRule) = Nothing, Optional rewriteRuleSets As IEnumerable(Of ApplicationGatewayRewriteRuleSet) = Nothing, Optional redirectConfigurations As IEnumerable(Of ApplicationGatewayRedirectConfiguration) = Nothing, Optional webApplicationFirewallConfiguration As ApplicationGatewayWebApplicationFirewallConfiguration = Nothing, Optional firewallPolicyId As ResourceIdentifier = Nothing, Optional enableHttp2 As Nullable(Of Boolean) = Nothing, Optional enableFips As Nullable(Of Boolean) = Nothing, Optional autoscaleConfiguration As ApplicationGatewayAutoscaleConfiguration = Nothing, Optional privateLinkConfigurations As IEnumerable(Of ApplicationGatewayPrivateLinkConfiguration) = Nothing, Optional privateEndpointConnections As IEnumerable(Of ApplicationGatewayPrivateEndpointConnectionData) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional customErrorConfigurations As IEnumerable(Of ApplicationGatewayCustomError) = Nothing, Optional forceFirewallPolicyAssociation As Nullable(Of Boolean) = Nothing, Optional loadDistributionPolicies As IEnumerable(Of ApplicationGatewayLoadDistributionPolicy) = Nothing, Optional globalConfiguration As ApplicationGatewayGlobalConfiguration = Nothing, Optional defaultPredefinedSslPolicy As Nullable(Of ApplicationGatewaySslPolicyName) = Nothing) As ApplicationGatewayData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

availabilityZones
IEnumerable<String>

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

identity
ManagedServiceIdentity

The identity of the application gateway, if configured.

sku
ApplicationGatewaySku

SKU of the application gateway resource.

sslPolicy
ApplicationGatewaySslPolicy

SSL policy of the application gateway resource.

operationalState
Nullable<ApplicationGatewayOperationalState>

Operational state of the application gateway resource.

gatewayIPConfigurations
IEnumerable<ApplicationGatewayIPConfiguration>

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

authenticationCertificates
IEnumerable<ApplicationGatewayAuthenticationCertificate>

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

trustedRootCertificates
IEnumerable<ApplicationGatewayTrustedRootCertificate>

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

trustedClientCertificates
IEnumerable<ApplicationGatewayTrustedClientCertificate>

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

sslCertificates
IEnumerable<ApplicationGatewaySslCertificate>

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

frontendIPConfigurations
IEnumerable<ApplicationGatewayFrontendIPConfiguration>

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

frontendPorts
IEnumerable<ApplicationGatewayFrontendPort>

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

probes
IEnumerable<ApplicationGatewayProbe>

Probes of the application gateway resource.

backendAddressPools
IEnumerable<ApplicationGatewayBackendAddressPool>

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

backendHttpSettingsCollection
IEnumerable<ApplicationGatewayBackendHttpSettings>

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

backendSettingsCollection
IEnumerable<ApplicationGatewayBackendSettings>

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

httpListeners
IEnumerable<ApplicationGatewayHttpListener>

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

listeners
IEnumerable<ApplicationGatewayListener>

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

sslProfiles
IEnumerable<ApplicationGatewaySslProfile>

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

urlPathMaps
IEnumerable<ApplicationGatewayUrlPathMap>

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

requestRoutingRules
IEnumerable<ApplicationGatewayRequestRoutingRule>

Request routing rules of the application gateway resource.

routingRules
IEnumerable<ApplicationGatewayRoutingRule>

Routing rules of the application gateway resource.

rewriteRuleSets
IEnumerable<ApplicationGatewayRewriteRuleSet>

Rewrite rules for the application gateway resource.

redirectConfigurations
IEnumerable<ApplicationGatewayRedirectConfiguration>

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

webApplicationFirewallConfiguration
ApplicationGatewayWebApplicationFirewallConfiguration

Web application firewall configuration.

firewallPolicyId
ResourceIdentifier

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
IEnumerable<ApplicationGatewayPrivateLinkConfiguration>

PrivateLink configurations on application gateway.

privateEndpointConnections
IEnumerable<ApplicationGatewayPrivateEndpointConnectionData>

Private Endpoint connections on application gateway.

resourceGuid
Nullable<Guid>

The resource GUID property of the application gateway resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the application gateway resource.

customErrorConfigurations
IEnumerable<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
IEnumerable<ApplicationGatewayLoadDistributionPolicy>

Load distribution policies of the application gateway resource.

globalConfiguration
ApplicationGatewayGlobalConfiguration

Global Configuration.

defaultPredefinedSslPolicy
Nullable<ApplicationGatewaySslPolicyName>

The default predefined SSL Policy applied on the application gateway resource.

Returns

A new ApplicationGatewayData instance for mocking.

Applies to