NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
The network profile definition.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkProfile() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
List<Network |
networkInterfaces()
Get the network |
|
Api |
subnet()
Get the subnet property: Specifies the identifier of the subnet. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Set the network |
|
Network |
withSubnet(ApiEntityReference subnet)
Set the subnet property: Specifies the identifier of the subnet. |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
networkInterfaces
public List<NetworkInterface> networkInterfaces()
Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.
Returns:
subnet
public ApiEntityReference subnet()
Get the subnet property: Specifies the identifier of the subnet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNetworkInterfaces
public NetworkProfile withNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Set the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM.
Parameters:
Returns:
withSubnet
public NetworkProfile withSubnet(ApiEntityReference subnet)
Set the subnet property: Specifies the identifier of the subnet.
Parameters:
Returns: