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 Summary
Constructor | Description |
---|---|
RoleInstancePropertiesInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
Role |
instanceView()
Get the instance |
Role |
networkProfile()
Get the network |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withInstanceView(RoleInstanceViewInner instanceView)
Set the instance |
Role |
withNetworkProfile(RoleInstanceNetworkProfile networkProfile)
Set the network |
Methods inherited from java.lang.Object
Constructor Details
RoleInstancePropertiesInner
public RoleInstancePropertiesInner()
Creates an instance of RoleInstancePropertiesInner class.
Method Details
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:
Applies to
Azure SDK for Java