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

IpPrefixPatch 类

public final class IpPrefixPatch
extends TagsUpdate

IP 前缀修补程序资源定义。

构造函数摘要

构造函数 说明
IpPrefixPatch()

创建 IpPrefixPatch 类的实例。

方法摘要

修饰符和类型 方法和描述
String annotation()

获取批注属性:开关配置说明。

List<IpPrefixRule> ipPrefixRules()

获取 IP前缀规则属性:IP 前缀规则的列表。

void validate()

验证实例。

IpPrefixPatch withAnnotation(String annotation)

设置批注属性:开关配置说明。

IpPrefixPatch withIpPrefixRules(List<IpPrefixRule> ipPrefixRules)

设置 IP前缀规则属性:IP 前缀规则的列表。

IpPrefixPatch withTags(Map<String,String> tags)

设置 tags 属性:资源标记。

方法继承自 TagsUpdate

方法继承自 java.lang.Object

构造函数详细信息

IpPrefixPatch

public IpPrefixPatch()

创建 IpPrefixPatch 类的实例。

方法详细信息

annotation

public String annotation()

获取批注属性:开关配置说明。

Returns:

批注值。

ipPrefixRules

public List ipPrefixRules()

获取 ipPrefixRules 属性:IP 前缀规则的列表。

Returns:

ipPrefixRules 值。

validate

public void validate()

验证实例。

Overrides:

IpPrefixPatch.validate()

withAnnotation

public IpPrefixPatch withAnnotation(String annotation)

设置批注属性:开关配置说明。

Parameters:

annotation - 要设置的批注值。

Returns:

IpPrefixPatch 对象本身。

withIpPrefixRules

public IpPrefixPatch withIpPrefixRules(List ipPrefixRules)

设置 ipPrefixRules 属性:IP 前缀规则的列表。

Parameters:

ipPrefixRules - 要设置的 ipPrefixRules 值。

Returns:

IpPrefixPatch 对象本身。

withTags

public IpPrefixPatch withTags(Map tags)

设置 tags 属性:资源标记。

Overrides:

IpPrefixPatch.withTags(Map<String,String> tags)

Parameters:

tags

适用于