你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach<ParentT> 接口
类型参数
- ParentT
附加此定义后要返回到的父 CDN 配置文件更新的阶段
实现
public static interface CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
extends AttachablePremium<ParentT>
CDN 配置文件 Premium Verizon 终结点定义的最后阶段。
在此阶段,可以指定任何剩余的可选设置,也可以将 CDN 配置文件终结点定义附加到父级 CDN 配置文件定义
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
abstract
With |
withCustomDomain(String hostName)
在终结点中添加新的 CDN 自定义域。 |
abstract
With |
withHostHeader(String hostHeader)
指定主机标头。 |
abstract
With |
withHttpAllowed(boolean httpAllowed)
指定是否允许 HTTP 流量。 |
abstract
With |
withHttpPort(int httpPort)
指定 HTTP 流量的端口。 |
abstract
With |
withHttpsAllowed(boolean httpsAllowed)
指定是否允许 HTTPS 流量。 |
abstract
With |
withHttpsPort(int httpsPort)
指定 HTTPS 流量的端口。 |
abstract
With |
withOriginPath(String originPath)
指定源路径。 |
方法详细信息
withCustomDomain
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
在终结点中添加新的 CDN 自定义域。
Parameters:
Returns:
withHostHeader
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定主机标头。
Parameters:
Returns:
withHttpAllowed
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定是否允许 HTTP 流量。
Parameters:
Returns:
withHttpPort
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定 HTTP 流量的端口。
Parameters:
Returns:
withHttpsAllowed
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定是否允许 HTTPS 流量。
Parameters:
Returns:
withHttpsPort
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定 HTTPS 流量的端口。
Parameters:
Returns:
withOriginPath
public abstract CdnEndpoint.UpdateDefinitionStages.WithPremiumAttach
指定源路径。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈