MhsmVirtualNetworkRule Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. MhsmVirtualNetworkRule
- com.
Implements
public final class MhsmVirtualNetworkRule
implements JsonSerializable<MhsmVirtualNetworkRule>
A rule governing the accessibility of a managed hsm pool from a specific virtual network.
Constructor Summary
Constructor | Description |
---|---|
MhsmVirtualNetworkRule() |
Creates an instance of Mhsm |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Mhsm |
fromJson(JsonReader jsonReader)
Reads an instance of Mhsm |
String |
id()
Get the id property: Full resource id of a vnet subnet, such as '/subscriptions/subid/resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Mhsm |
withId(String id)
Set the id property: Full resource id of a vnet subnet, such as '/subscriptions/subid/resource |
Methods inherited from java.lang.Object
Constructor Details
MhsmVirtualNetworkRule
public MhsmVirtualNetworkRule()
Creates an instance of MhsmVirtualNetworkRule class.
Method Details
fromJson
public static MhsmVirtualNetworkRule fromJson(JsonReader jsonReader)
Reads an instance of MhsmVirtualNetworkRule from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public MhsmVirtualNetworkRule withId(String id)
Set the id property: Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
Parameters:
Returns:
Applies to
Azure SDK for Java