Class RoleInstancePropertiesInner

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RoleInstancePropertiesInner

public final class RoleInstancePropertiesInner extends Object
Role instance properties.
  • Constructor Details

    • RoleInstancePropertiesInner

      public RoleInstancePropertiesInner()
      Creates an instance of RoleInstancePropertiesInner class.
  • Method Details

    • networkProfile

      public RoleInstanceNetworkProfile networkProfile()
      Get the networkProfile property: Describes the network profile for the role instance.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public RoleInstancePropertiesInner withNetworkProfile(RoleInstanceNetworkProfile networkProfile)
      Set the networkProfile property: Describes the network profile for the role instance.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the RoleInstancePropertiesInner object itself.
    • instanceView

      public RoleInstanceViewInner instanceView()
      Get the instanceView property: The instance view of the role instance.
      Returns:
      the instanceView value.
    • withInstanceView

      public RoleInstancePropertiesInner withInstanceView(RoleInstanceViewInner instanceView)
      Set the instanceView property: The instance view of the role instance.
      Parameters:
      instanceView - the instanceView value to set.
      Returns:
      the RoleInstancePropertiesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.