你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MhsmipRule Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. MhsmipRule
- com.
Implements
public final class MhsmipRule
implements JsonSerializable<MhsmipRule>
A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range.
Constructor Summary
Constructor | Description |
---|---|
MhsmipRule() |
Creates an instance of Mhsmip |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Mhsmip |
fromJson(JsonReader jsonReader)
Reads an instance of Mhsmip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). |
Mhsmip |
withValue(String value)
Set the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78). |
Methods inherited from java.lang.Object
Constructor Details
MhsmipRule
public MhsmipRule()
Creates an instance of MhsmipRule class.
Method Details
fromJson
public static MhsmipRule fromJson(JsonReader jsonReader)
Reads an instance of MhsmipRule from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
Returns:
withValue
public MhsmipRule withValue(String value)
Set the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).
Parameters:
Returns: