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

IUpdateDefinition<ParentT> 接口

定义

应用程序网关 HTTP 侦听器定义的全部内容,作为应用程序网关更新的一部分。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithFrontend<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithFrontendPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithHostName<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithProtocol<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithServerNameIndication<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithSslCertificate<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithSslPassword<ParentT>, Microsoft.Azure.Management.Network.Fluent.HasHostName.UpdateDefinition.IWithHostName<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasServerNameIndication.UpdateDefinition.IWithServerNameIndication<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasSslCertificate.UpdateDefinition.IWithSslCertificate<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasSslCertificate.UpdateDefinition.IWithSslPassword<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithFrontend<'ParentT>
    interface IWithFrontendPort<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
    interface IWithServerNameIndication<'ParentT>
    interface IWithServerNameIndication<IWithAttach<IUpdate>>
    interface IWithHostName<'ParentT>
    interface IWithHostName<IWithAttach<IUpdate>>
    interface IWithProtocol<'ParentT>
    interface IWithSslCertificate<'ParentT>
    interface IWithSslCertificate<IWithAttach<IUpdate>>
    interface IWithSslPassword<'ParentT>
    interface IWithSslPassword<IWithAttach<IUpdate>>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithFrontend(Of ParentT), IWithFrontendPort(Of ParentT), IWithHostName(Of IWithAttach(Of IUpdate)), IWithHostName(Of ParentT), IWithProtocol(Of ParentT), IWithServerNameIndication(Of IWithAttach(Of IUpdate)), IWithServerNameIndication(Of ParentT), IWithSslCertificate(Of IWithAttach(Of IUpdate)), IWithSslCertificate(Of ParentT), IWithSslPassword(Of IWithAttach(Of IUpdate)), IWithSslPassword(Of ParentT)

类型参数

ParentT

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

实现

方法

Attach()

应用程序网关 HTTP 侦听器定义的全部内容,作为应用程序网关更新的一部分。

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

使侦听器能够侦听指定的前端端口号。 如果此端口号的前端端口尚不存在,将使用自动生成的名称创建一个新的 。

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

使侦听器能够侦听指定的现有前端端口。

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

指定要引用的主机名。

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

指定侦听器用于 HTTP 协议。

(继承自 IWithProtocol<ParentT>)
WithHttps()

指定侦听器用于 HTTPS 协议。

(继承自 IWithProtocol<ParentT>)
WithoutServerNameIndication()

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

(继承自 IWithServerNameIndication<ReturnT>)
WithPrivateFrontend()

将侦听器与应用程序网关的专用 (内部) 前端相关联。 如果专用前端尚不存在,则会使用自动生成的名称创建它,并与应用程序网关的子网相关联。

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

将侦听器与应用程序网关的公共 (面向 Internet 的) 前端相关联。 如果公共前端尚不存在,则会使用自动生成的名称创建该前端,并与应用程序网关的公共 IP 地址相关联。

(继承自 IWithFrontend<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>)

适用于