Dela via


ResourceSkuInner Class

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

Implements

public final class ResourceSkuInner
implements JsonSerializable<ResourceSkuInner>

Describes an available Compute SKU.

Constructor Summary

Constructor Description
ResourceSkuInner()

Creates an instance of ResourceSkuInner class.

Method Summary

Modifier and Type Method and Description
List<String> apiVersions()

Get the apiVersions property: The api versions that support this SKU.

List<ResourceSkuCapabilities> capabilities()

Get the capabilities property: A name value pair to describe the capability.

ResourceSkuCapacity capacity()

Get the capacity property: Specifies the number of virtual machines in the scale set.

List<ResourceSkuCosts> costs()

Get the costs property: Metadata for retrieving price info.

String family()

Get the family property: The Family of this particular SKU.

static ResourceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuInner from the JsonReader.

String kind()

Get the kind property: The Kind of resources that are supported in this SKU.

List<ResourceSkuLocationInfo> locationInfo()

Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.

List<String> locations()

Get the locations property: The set of locations that the SKU is available.

String name()

Get the name property: The name of SKU.

String resourceType()

Get the resourceType property: The type of resource the SKU applies to.

List<ResourceSkuRestrictions> restrictions()

Get the restrictions property: The restrictions because of which SKU cannot be used.

String size()

Get the size property: The Size of the SKU.

String tier()

Get the tier property: Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkuInner

public ResourceSkuInner()

Creates an instance of ResourceSkuInner class.

Method Details

apiVersions

public List apiVersions()

Get the apiVersions property: The api versions that support this SKU.

Returns:

the apiVersions value.

capabilities

public List capabilities()

Get the capabilities property: A name value pair to describe the capability.

Returns:

the capabilities value.

capacity

public ResourceSkuCapacity capacity()

Get the capacity property: Specifies the number of virtual machines in the scale set.

Returns:

the capacity value.

costs

public List costs()

Get the costs property: Metadata for retrieving price info.

Returns:

the costs value.

family

public String family()

Get the family property: The Family of this particular SKU.

Returns:

the family value.

fromJson

public static ResourceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ResourceSkuInner.

kind

public String kind()

Get the kind property: The Kind of resources that are supported in this SKU.

Returns:

the kind value.

locationInfo

public List locationInfo()

Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.

Returns:

the locationInfo value.

locations

public List locations()

Get the locations property: The set of locations that the SKU is available.

Returns:

the locations value.

name

public String name()

Get the name property: The name of SKU.

Returns:

the name value.

resourceType

public String resourceType()

Get the resourceType property: The type of resource the SKU applies to.

Returns:

the resourceType value.

restrictions

public List restrictions()

Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Returns:

the restrictions value.

size

public String size()

Get the size property: The Size of the SKU.

Returns:

the size value.

tier

public String tier()

Get the tier property: Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**.

Returns:

the tier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to