RoleInstanceInner Class

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

public final class RoleInstanceInner

Describes the cloud service role instance.

Constructor Summary

Constructor Description
RoleInstanceInner()

Creates an instance of RoleInstanceInner class.

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.

RoleInstancePropertiesInner properties()

Get the properties property: Role instance properties.

InstanceSku 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.

RoleInstanceInner withProperties(RoleInstancePropertiesInner properties)

Set the properties property: Role instance properties.

RoleInstanceInner 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:

the id value.

location

public String location()

Get the location property: Resource Location.

Returns:

the location value.

name

public String name()

Get the name property: Resource Name.

Returns:

the name value.

properties

public RoleInstancePropertiesInner properties()

Get the properties property: Role instance properties.

Returns:

the properties value.

sku

public InstanceSku sku()

Get the sku property: The role instance SKU.

Returns:

the sku value.

tags

public Map tags()

Get the tags property: Resource tags.

Returns:

the tags value.

type

public String type()

Get the type property: Resource Type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public RoleInstanceInner withProperties(RoleInstancePropertiesInner properties)

Set the properties property: Role instance properties.

Parameters:

properties - the properties value to set.

Returns:

the RoleInstanceInner object itself.

withSku

public RoleInstanceInner withSku(InstanceSku sku)

Set the sku property: The role instance SKU.

Parameters:

sku - the sku value to set.

Returns:

the RoleInstanceInner object itself.

Applies to