RoleInstancePropertiesInner Class

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

public final class RoleInstancePropertiesInner

Role instance properties.

Constructor Summary

Constructor Description
RoleInstancePropertiesInner()

Creates an instance of RoleInstancePropertiesInner class.

Method Summary

Modifier and Type Method and Description
RoleInstanceViewInner instanceView()

Get the instanceView property: The instance view of the role instance.

RoleInstanceNetworkProfile networkProfile()

Get the networkProfile property: Describes the network profile for the role instance.

void validate()

Validates the instance.

RoleInstancePropertiesInner withInstanceView(RoleInstanceViewInner instanceView)

Set the instanceView property: The instance view of the role instance.

RoleInstancePropertiesInner withNetworkProfile(RoleInstanceNetworkProfile networkProfile)

Set the networkProfile property: Describes the network profile for the role instance.

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:

the instanceView value.

networkProfile

public RoleInstanceNetworkProfile networkProfile()

Get the networkProfile property: Describes the network profile for the role instance.

Returns:

the networkProfile value.

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:

instanceView - the instanceView value to set.

Returns:

the RoleInstancePropertiesInner object itself.

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.

Applies to