Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IUpdateDefinition<ParentT> 接口

定义

应用程序网关请求路由规则定义的全部内容,作为应用程序网关更新的一部分。

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

类型参数

ParentT

附加此定义后要返回到的应用程序网关定义的阶段。

实现

方法

Attach()

应用程序网关请求路由规则定义的全部内容,作为应用程序网关更新的一部分。

(继承自 IInUpdate<ParentT>)
FromFrontendHttpPort(Int32)

将指定端口号的新侦听器和 HTTP 协议与此规则相关联。

(继承自 IWithFrontendPort<ParentT>)
FromFrontendHttpsPort(Int32)

将指定端口号的新侦听器和 HTTPS 协议与此规则相关联。

(继承自 IWithFrontendPort<ParentT>)
FromListener(String)

将请求路由规则与前端侦听器相关联。 如果具有指定名称的侦听器尚不存在,则必须在应用程序网关定义的可选部分中单独定义该侦听器。 这只会按名称添加对侦听器的引用。 另请注意,给定侦听器一次只能由一个请求路由规则使用。

(继承自 IWithListener<ParentT>)
FromPrivateFrontend()

允许将规则应用于应用程序网关的专用 (内部) 前端。 如果专用前端 IP 配置尚不存在,则会使用自动生成的名称创建它。 如果应用程序网关没有为其专用前端指定子网,则会自动创建一个子网,除非在应用程序网关定义的可选设置中指定了特定的子网。

(继承自 IWithFrontend<ParentT>)
FromPublicFrontend()

使规则应用于应用程序网关的公共 (面向 Internet) 前端。 如果公共前端 IP 配置尚不存在,则会使用自动生成的名称创建它。 如果应用程序网关没有为其公共前端指定公共 IP 地址,则将自动创建一个公共 IP 地址,除非在应用程序网关定义的可选设置中指定了特定的公共 IP 地址。

(继承自 IWithFrontend<ParentT>)
ToBackend(String)

将请求路由规则与此应用程序网关上的后端相关联。 如果后端尚不存在,则会自动创建它。

(继承自 IWithBackend<ParentT>)
ToBackendFqdn(String)

将 FQDN (完全限定的域名) 添加到与此规则关联的后端。 如果尚未与此规则关联任何后端,则会使用自动生成的名称创建一个新后端。 此调用可以按顺序用于添加多个 FQDN。

(继承自 IWithBackendAddress<ParentT>)
ToBackendHttpConfiguration(String)

将指定的后端 HTTP 设置配置与此请求路由规则相关联。 如果后端配置尚不存在,则必须在应用程序网关定义的可选部分中定义后端配置。 请求路由规则仅按名称引用它。

(继承自 IWithBackendHttpConfiguration<ParentT>)
ToBackendHttpPort(Int32)

为指定的后端端口和 HTTP 协议创建后端 HTTP 设置配置,并将其与此请求路由规则相关联。 自动生成的名称将用于此新创建的配置。

(继承自 IWithBackendHttpConfiguration<ParentT>)
ToBackendIPAddress(String)

将 IP 地址添加到与此规则关联的后端。 如果尚未与此规则关联任何后端,则会使用自动生成的名称创建一个新后端。 此调用可以按顺序用于添加多个 IP 地址。

(继承自 IWithBackendAddress<ParentT>)
ToBackendIPAddresses(String[])

将指定的 IP 地址添加到与此规则关联的后端。

(继承自 IWithBackendAddressBeta<ParentT>)
WithCookieBasedAffinity()

启用基于 Cookie 的相关性。

(继承自 IWithCookieBasedAffinity<ReturnT>)
WithHostName(String)

指定要引用的主机名。

(继承自 IWithHostName<ReturnT>)
WithoutCookieBasedAffinity()

禁用基于 Cookie 的相关性。

(继承自 IWithCookieBasedAffinity<ReturnT>)
WithoutServerNameIndication()

确保不需要 SNI) (服务器名称指示。

(继承自 IWithServerNameIndication<ReturnT>)
WithRedirectConfiguration(String)

将指定的重定向配置与此请求路由规则相关联。

(继承自 IWithRedirectConfigBeta<ParentT>)
WithServerNameIndication()

需要 SNI) (服务器名称指示。

(继承自 IWithServerNameIndication<ReturnT>)
WithSslCertificate(String)

指定要与此资源关联的 SSL 证书。 如果证书尚不存在,则必须在父资源定义的可选部分中定义它。

(继承自 IWithSslCertificate<ReturnT>)
WithSslCertificateFromKeyVaultSecretId(String)

使用密钥保管库来分隔私钥的内容。

(继承自 IWithSslCertificate<ReturnT>)
WithSslCertificateFromPfxFile(FileInfo)

指定要将 SSL 证书从 导入到 与此资源关联的 的 PFX 文件。 将使用自动生成的名称来命名证书。

(继承自 IWithSslCertificate<ReturnT>)
WithSslCertificatePassword(String)

指定包含导入 SSL 证书私钥的指定 PFX 文件的密码。

(继承自 IWithSslPassword<ReturnT>)

适用于