RoleInstancePropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RoleInstancePropertiesInner
- com.
Implements
public final class RoleInstancePropertiesInner
implements JsonSerializable<RoleInstancePropertiesInner>
Role instance properties.
Constructor | Description |
---|---|
Role |
Creates an instance of Role |
Modifier and Type | Method and Description |
---|---|
static
Role |
from Reads an instance of Role |
Role |
instance Get the instance |
Role |
network Get the network |
Json |
to |
void |
validate()
Validates the instance. |
Role |
with Set the instance |
Role |
with Set the network |
Methods inherited from java.lang.Object
RoleInstancePropertiesInner
public RoleInstancePropertiesInner()
Creates an instance of RoleInstancePropertiesInner class.
fromJson
public static RoleInstancePropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of RoleInstancePropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
instanceView
public RoleInstanceViewInner instanceView()
Get the instanceView property: The instance view of the role instance.
Returns:
networkProfile
public RoleInstanceNetworkProfile networkProfile()
Get the networkProfile property: Describes the network profile for the role instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInstanceView
public RoleInstancePropertiesInner withInstanceView(RoleInstanceViewInner instanceView)
Set the instanceView property: The instance view of the role instance.
Parameters:
Returns:
withNetworkProfile
public RoleInstancePropertiesInner withNetworkProfile(RoleInstanceNetworkProfile networkProfile)
Set the networkProfile property: Describes the network profile for the role instance.
Parameters:
Returns:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: