Udostępnij za pośrednictwem


IDefinition<ParentT> Interface

Definition

The entirety of an application gateway request routing rule definition.

public interface IDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackend<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendAddress<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendAddressBeta<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendAddressOrAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigOrRedirect<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigOrSniOrRedirect<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfiguration<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigurationOrSni<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendOrAddress<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithCookieBasedAffinity<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithFrontend<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithFrontendPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithHostName<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithListener<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithListenerOrFrontend<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithRedirectConfig<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithRedirectConfigBeta<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithSslCertificate<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithSslPassword<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigOrSniOrRedirect<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasCookieBasedAffinity.Definition.IWithCookieBasedAffinity<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasHostName.Definition.IWithHostName<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasServerNameIndication.Definition.IWithServerNameIndication<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfiguration<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasSslCertificate.Definition.IWithSslCertificate<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigOrSniOrRedirect<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasSslCertificate.Definition.IWithSslPassword<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendHttpConfigOrSniOrRedirect<ParentT>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithListenerOrFrontend<'ParentT>
    interface IWithListener<'ParentT>
    interface IWithFrontend<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithHostName<'ParentT>
    interface IWithHostName<IWithAttach<'ParentT>>
    interface IWithCookieBasedAffinity<'ParentT>
    interface IWithCookieBasedAffinity<IWithAttach<'ParentT>>
    interface IWithFrontendPort<'ParentT>
    interface IWithBackend<'ParentT>
    interface IWithBackendAddress<'ParentT>
    interface IWithBackendAddressBeta<'ParentT>
    interface IBeta
    interface IWithBackendOrAddress<'ParentT>
    interface IWithBackendAddressOrAttach<'ParentT>
    interface IWithBackendHttpConfigOrRedirect<'ParentT>
    interface IWithBackendHttpConfiguration<'ParentT>
    interface IWithRedirectConfig<'ParentT>
    interface IWithRedirectConfigBeta<'ParentT>
    interface IWithBackendHttpConfigurationOrSni<'ParentT>
    interface IWithServerNameIndication<IWithBackendHttpConfiguration<'ParentT>>
    interface IWithSslCertificate<'ParentT>
    interface IWithSslCertificate<IWithBackendHttpConfigOrSniOrRedirect<'ParentT>>
    interface IWithBackendHttpConfigOrSniOrRedirect<'ParentT>
    interface IWithSslPassword<IWithBackendHttpConfigOrSniOrRedirect<'ParentT>>
    interface IWithSslPassword<IWithBackendHttpConfigOrSniOrRedirect<'ParentT>>
Public Interface IDefinition(Of ParentT)
Implements IBeta, IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithBackend(Of ParentT), IWithBackendAddress(Of ParentT), IWithBackendAddressBeta(Of ParentT), IWithBackendAddressOrAttach(Of ParentT), IWithBackendHttpConfigOrRedirect(Of ParentT), IWithBackendHttpConfigOrSniOrRedirect(Of ParentT), IWithBackendHttpConfiguration(Of ParentT), IWithBackendHttpConfigurationOrSni(Of ParentT), IWithBackendOrAddress(Of ParentT), IWithCookieBasedAffinity(Of IWithAttach(Of ParentT)), IWithCookieBasedAffinity(Of ParentT), IWithFrontend(Of ParentT), IWithFrontendPort(Of ParentT), IWithHostName(Of IWithAttach(Of ParentT)), IWithHostName(Of ParentT), IWithListener(Of ParentT), IWithListenerOrFrontend(Of ParentT), IWithRedirectConfig(Of ParentT), IWithRedirectConfigBeta(Of ParentT), IWithServerNameIndication(Of IWithBackendHttpConfiguration(Of ParentT)), IWithSslCertificate(Of IWithBackendHttpConfigOrSniOrRedirect(Of ParentT)), IWithSslCertificate(Of ParentT), IWithSslPassword(Of IWithBackendHttpConfigOrSniOrRedirect(Of ParentT)), IWithSslPassword(Of IWithBackendHttpConfigOrSniOrRedirect(Of ParentT))

Type Parameters

ParentT

The stage of the application gateway definition to return to after attaching this definition.

Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
FromFrontendHttpPort(Int32)

Associates a new listener for the specified port number and the HTTP protocol with this rule.

(Inherited from IWithFrontendPort<ParentT>)
FromFrontendHttpsPort(Int32)

Associates a new listener for the specified port number and the HTTPS protocol with this rule.

(Inherited from IWithFrontendPort<ParentT>)
FromListener(String)

Associates the request routing rule with a frontend listener. If the listener with the specified name does not yet exist, it must be defined separately in the optional stages of the application gateway definition. This only adds a reference to the listener by its name. Also, note that a given listener can be used by no more than one request routing rule at a time.

(Inherited from IWithListener<ParentT>)
FromPrivateFrontend()

Enables the rule to apply to the application gateway's private (internal) frontend. If the private frontend IP configuration does not yet exist, it will be created under an auto-generated name. If the application gateway does not have a subnet specified for its private frontend, one will be created automatically, unless a specific subnet is specified in the application gateway definition's optional settings.

(Inherited from IWithFrontend<ParentT>)
FromPublicFrontend()

Enables the rule to apply to the application gateway's public (Internet-facing) frontend. If the public frontend IP configuration does not yet exist, it will be created under an auto-generated name. If the application gateway does not have a public IP address specified for its public frontend, one will be created automatically, unless a specific public IP address is specified in the application gateway definition's optional settings.

(Inherited from IWithFrontend<ParentT>)
ToBackend(String)

Associates the request routing rule with a backend on this application gateway. If the backend does not yet exist, it will be automatically created.

(Inherited from IWithBackend<ParentT>)
ToBackendFqdn(String)

Adds an FQDN (fully qualified domain name) to the backend associated with this rule. If no backend has been associated with this rule yet, a new one will be created with an auto-generated name. This call can be used in a sequence to add multiple FQDNs.

(Inherited from IWithBackendAddress<ParentT>)
ToBackendHttpConfiguration(String)

Associates the specified backend HTTP settings configuration with this request routing rule. If the backend configuration does not exist yet, it must be defined in the optional part of the application gateway definition. The request routing rule references it only by name.

(Inherited from IWithBackendHttpConfiguration<ParentT>)
ToBackendHttpPort(Int32)

Creates a backend HTTP settings configuration for the specified backend port and the HTTP protocol, and associates it with this request routing rule. An auto-generated name will be used for this newly created configuration.

(Inherited from IWithBackendHttpConfiguration<ParentT>)
ToBackendIPAddress(String)

Adds an IP address to the backend associated with this rule. If no backend has been associated with this rule yet, a new one will be created with an auto-generated name. This call can be used in a sequence to add multiple IP addresses.

(Inherited from IWithBackendAddress<ParentT>)
ToBackendIPAddresses(String[])

Adds the specified IP addresses to the backend associated with this rule.

(Inherited from IWithBackendAddressBeta<ParentT>)
WithCookieBasedAffinity()

Enables cookie based affinity.

(Inherited from IWithCookieBasedAffinity<ReturnT>)
WithHostName(String)

Specifies the hostname to reference.

(Inherited from IWithHostName<ReturnT>)
WithoutCookieBasedAffinity()

Disables cookie based affinity.

(Inherited from IWithCookieBasedAffinity<ReturnT>)
WithoutServerNameIndication()

Ensures server name indication (SNI) is not required.

(Inherited from IWithServerNameIndication<ReturnT>)
WithRedirectConfiguration(String)

Associates the specified redirect configuration with this request routing rule.

(Inherited from IWithRedirectConfigBeta<ParentT>)
WithServerNameIndication()

Requires server name indication (SNI).

(Inherited from IWithServerNameIndication<ReturnT>)
WithSslCertificate(String)

Specifies an SSL certificate to associate with this resource. If the certificate does not exist yet, it must be defined in the optional part of the parent resource definition.

(Inherited from IWithSslCertificate<ReturnT>)
WithSslCertificateFromKeyVaultSecretId(String)

Sepecifies the content of the private key using key vault.

(Inherited from IWithSslCertificate<ReturnT>)
WithSslCertificateFromPfxFile(FileInfo)

Specifies the PFX file to import the SSL certificate from to associated with this resource. The certificate will be named using an auto-generated name.

(Inherited from IWithSslCertificate<ReturnT>)
WithSslCertificatePassword(String)

Specifies the password for the specified PFX file containing the private key of the imported SSL certificate.

(Inherited from IWithSslPassword<ReturnT>)

Applies to