RoleInstanceInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RoleInstanceInner
- com.
public final class RoleInstanceInner
Describes the cloud service role instance.
Constructor Summary
Constructor | Description |
---|---|
RoleInstanceInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: Resource Id. |
String |
location()
Get the location property: Resource Location. |
String |
name()
Get the name property: Resource Name. |
Role |
properties()
Get the properties property: Role instance properties. |
Instance |
sku()
Get the sku property: The role instance SKU. |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
String |
type()
Get the type property: Resource Type. |
void |
validate()
Validates the instance. |
Role |
withProperties(RoleInstancePropertiesInner properties)
Set the properties property: Role instance properties. |
Role |
withSku(InstanceSku sku)
Set the sku property: The role instance SKU. |
Methods inherited from java.lang.Object
Constructor Details
RoleInstanceInner
public RoleInstanceInner()
Creates an instance of RoleInstanceInner class.
Method Details
id
public String id()
Get the id property: Resource Id.
Returns:
location
public String location()
Get the location property: Resource Location.
Returns:
name
public String name()
Get the name property: Resource Name.
Returns:
properties
public RoleInstancePropertiesInner properties()
Get the properties property: Role instance properties.
Returns:
sku
public InstanceSku sku()
Get the sku property: The role instance SKU.
Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
type
public String type()
Get the type property: Resource Type.
Returns:
validate
public void validate()
Validates the instance.
withProperties
public RoleInstanceInner withProperties(RoleInstancePropertiesInner properties)
Set the properties property: Role instance properties.
Parameters:
Returns:
withSku
public RoleInstanceInner withSku(InstanceSku sku)
Set the sku property: The role instance SKU.
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