Share via


ResourcePoolInner Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.fluent.models.ResourcePoolInner

Implements

public final class ResourcePoolInner
implements JsonSerializable<ResourcePoolInner>

Resource pool model.

Constructor Summary

Constructor Description
ResourcePoolInner()

Creates an instance of ResourcePoolInner class.

Method Summary

Modifier and Type Method and Description
static ResourcePoolInner fromJson(JsonReader jsonReader)

Reads an instance of ResourcePoolInner from the JsonReader.

String fullName()

Get the fullName property: Hierarchical resource pool name.

String id()

Get the id property: resource pool id (privateCloudId:vsphereId).

String location()

Get the location property: Azure region.

String name()

Get the name property: {ResourcePoolName}.

String privateCloudId()

Get the privateCloudId property: The Private Cloud Id.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: {resourceProviderNamespace}/{resourceType}.

void validate()

Validates the instance.

ResourcePoolInner withId(String id)

Set the id property: resource pool id (privateCloudId:vsphereId).

Methods inherited from java.lang.Object

Constructor Details

ResourcePoolInner

public ResourcePoolInner()

Creates an instance of ResourcePoolInner class.

Method Details

fromJson

public static ResourcePoolInner fromJson(JsonReader jsonReader)

Reads an instance of ResourcePoolInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourcePoolInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

fullName

public String fullName()

Get the fullName property: Hierarchical resource pool name.

Returns:

the fullName value.

id

public String id()

Get the id property: resource pool id (privateCloudId:vsphereId).

Returns:

the id value.

location

public String location()

Get the location property: Azure region.

Returns:

the location value.

name

public String name()

Get the name property: {ResourcePoolName}.

Returns:

the name value.

privateCloudId

public String privateCloudId()

Get the privateCloudId property: The Private Cloud Id.

Returns:

the privateCloudId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: {resourceProviderNamespace}/{resourceType}.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public ResourcePoolInner withId(String id)

Set the id property: resource pool id (privateCloudId:vsphereId).

Parameters:

id - the id value to set.

Returns:

the ResourcePoolInner object itself.

Applies to