Class RoleInstanceInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RoleInstanceInner
Describes the cloud service role instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Resource Id.location()Get the location property: Resource Location.name()Get the name property: Resource Name.Get the properties property: Role instance properties.sku()Get the sku property: The role instance SKU.tags()Get the tags property: Resource tags.type()Get the type property: Resource Type.voidvalidate()Validates the instance.withProperties(RoleInstancePropertiesInner properties) Set the properties property: Role instance properties.withSku(InstanceSku sku) Set the sku property: The role instance SKU.
-
Constructor Details
-
RoleInstanceInner
public RoleInstanceInner()Creates an instance of RoleInstanceInner class.
-
-
Method Details
-
id
Get the id property: Resource Id.- Returns:
- the id value.
-
name
Get the name property: Resource Name.- Returns:
- the name value.
-
type
Get the type property: Resource Type.- Returns:
- the type value.
-
location
Get the location property: Resource Location.- Returns:
- the location value.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
sku
Get the sku property: The role instance SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: The role instance SKU.- Parameters:
sku- the sku value to set.- Returns:
- the RoleInstanceInner object itself.
-
properties
Get the properties property: Role instance properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Role instance properties.- Parameters:
properties- the properties value to set.- Returns:
- the RoleInstanceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-