你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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