Class RoleInstanceProperties
java.lang.Object
com.azure.resourcemanager.hybridnetwork.fluent.models.RoleInstanceProperties
The role instance properties of the network function.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RoleInstanceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the operationalState property: The operational state of the role instance.Get the provisioningState property: The provisioning state of the RoleInstance resource.void
validate()
Validates the instance.withOperationalState
(OperationalState operationalState) Set the operationalState property: The operational state of the role instance.
-
Constructor Details
-
RoleInstanceProperties
public RoleInstanceProperties()Creates an instance of RoleInstanceProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the RoleInstance resource.- Returns:
- the provisioningState value.
-
operationalState
Get the operationalState property: The operational state of the role instance.- Returns:
- the operationalState value.
-
withOperationalState
Set the operationalState property: The operational state of the role instance.- Parameters:
operationalState
- the operationalState value to set.- Returns:
- the RoleInstanceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-