RoleInstancePropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RoleInstancePropertiesInner
- com.
public final class RoleInstancePropertiesInner
Role instance properties.
Constructor Summary
Constructor | Description |
---|---|
RoleInstancePropertiesInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
Role |
instanceView()
Get the instance |
Role |
networkProfile()
Get the network |
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
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for