ComputeSkus Interface

Implements

public interface ComputeSkus
extends SupportsListing<ComputeSku>, SupportsListingByRegion<ComputeSku>, HasManager<ComputeManager>

Entry point to compute service SKUs.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ComputeSku> listByRegionAndResourceType(Region region, ComputeResourceType resourceType)

Lists all the skus with the specified resource type in the given region.

abstract PagedFlux<ComputeSku> listByRegionAndResourceTypeAsync(Region region, ComputeResourceType resourceType)

Lists all the skus with the specified resource type in the given region.

abstract PagedIterable<ComputeSku> listByResourceType(ComputeResourceType resourceType)

Lists all the skus with the specified resource type.

abstract PagedFlux<ComputeSku> listByResourceTypeAsync(ComputeResourceType resourceType)

Lists all the skus with the specified resource type.

Method Details

listByRegionAndResourceType

public abstract PagedIterable listByRegionAndResourceType(Region region, ComputeResourceType resourceType)

Lists all the skus with the specified resource type in the given region.

Parameters:

region - the region
resourceType - the resource type

Returns:

the skus list

listByRegionAndResourceTypeAsync

public abstract PagedFlux listByRegionAndResourceTypeAsync(Region region, ComputeResourceType resourceType)

Lists all the skus with the specified resource type in the given region.

Parameters:

region - the region
resourceType - the resource type

Returns:

an observable that emits skus

listByResourceType

public abstract PagedIterable listByResourceType(ComputeResourceType resourceType)

Lists all the skus with the specified resource type.

Parameters:

resourceType - the compute resource type

Returns:

the skus list

listByResourceTypeAsync

public abstract PagedFlux listByResourceTypeAsync(ComputeResourceType resourceType)

Lists all the skus with the specified resource type.

Parameters:

resourceType - the compute resource type

Returns:

an observable that emits skus

Applies to