Class NetworkSiblingSetInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.NetworkSiblingSetInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkSiblingSetInner>
public final class NetworkSiblingSetInner
extends Object
implements com.azure.json.JsonSerializable<NetworkSiblingSetInner>
Network sibling set
Describes the contents of a network sibling set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkSiblingSetInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkSiblingSetInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkSiblingSetInner from the JsonReader.Get the networkFeatures property: Network features available to the volume, or current state of update.Get the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.Get the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.Get the nicInfoList property: List of NIC information.Get the provisioningState property: Gets the status of the NetworkSiblingSet at the time the operation was called.subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withNetworkFeatures
(NetworkFeatures networkFeatures) Set the networkFeatures property: Network features available to the volume, or current state of update.withNetworkSiblingSetId
(String networkSiblingSetId) Set the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.withNetworkSiblingSetStateId
(String networkSiblingSetStateId) Set the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.withNicInfoList
(List<NicInfo> nicInfoList) Set the nicInfoList property: List of NIC information.withSubnetId
(String subnetId) Set the subnetId property: The Azure Resource URI for a delegated subnet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkSiblingSetInner
public NetworkSiblingSetInner()Creates an instance of NetworkSiblingSetInner class.
-
-
Method Details
-
networkSiblingSetId
Get the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.- Returns:
- the networkSiblingSetId value.
-
withNetworkSiblingSetId
Set the networkSiblingSetId property: Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.- Parameters:
networkSiblingSetId
- the networkSiblingSetId value to set.- Returns:
- the NetworkSiblingSetInner object itself.
-
subnetId
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the NetworkSiblingSetInner object itself.
-
networkSiblingSetStateId
Get the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.- Returns:
- the networkSiblingSetStateId value.
-
withNetworkSiblingSetStateId
Set the networkSiblingSetStateId property: Network sibling set state Id identifying the current state of the sibling set.- Parameters:
networkSiblingSetStateId
- the networkSiblingSetStateId value to set.- Returns:
- the NetworkSiblingSetInner object itself.
-
networkFeatures
Get the networkFeatures property: Network features available to the volume, or current state of update.- Returns:
- the networkFeatures value.
-
withNetworkFeatures
Set the networkFeatures property: Network features available to the volume, or current state of update.- Parameters:
networkFeatures
- the networkFeatures value to set.- Returns:
- the NetworkSiblingSetInner object itself.
-
provisioningState
Get the provisioningState property: Gets the status of the NetworkSiblingSet at the time the operation was called.- Returns:
- the provisioningState value.
-
nicInfoList
Get the nicInfoList property: List of NIC information.- Returns:
- the nicInfoList value.
-
withNicInfoList
Set the nicInfoList property: List of NIC information.- Parameters:
nicInfoList
- the nicInfoList value to set.- Returns:
- the NetworkSiblingSetInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<NetworkSiblingSetInner>
- Throws:
IOException
-
fromJson
public static NetworkSiblingSetInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkSiblingSetInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of NetworkSiblingSetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the NetworkSiblingSetInner.
-