com.azure.resourcemanager.compute.models.ComputeSkus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.http.rest.PagedFlux;
import com.azure.core.http.rest.PagedIterable;
import com.azure.resourcemanager.compute.ComputeManager;
import com.azure.core.management.Region;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager;
import com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing;
import com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingByRegion;
/** Entry point to compute service SKUs. */
@Fluent
public interface ComputeSkus
extends SupportsListing, SupportsListingByRegion, HasManager {
/**
* Lists all the skus with the specified resource type.
*
* @param resourceType the compute resource type
* @return the skus list
*/
PagedIterable listByResourceType(ComputeResourceType resourceType);
/**
* Lists all the skus with the specified resource type.
*
* @param resourceType the compute resource type
* @return an observable that emits skus
*/
PagedFlux listByResourceTypeAsync(ComputeResourceType resourceType);
/**
* Lists all the skus with the specified resource type in the given region.
*
* @param region the region
* @param resourceType the resource type
* @return the skus list
*/
PagedIterable listByRegionAndResourceType(Region region, ComputeResourceType resourceType);
/**
* Lists all the skus with the specified resource type in the given region.
*
* @param region the region
* @param resourceType the resource type
* @return an observable that emits skus
*/
PagedFlux listByRegionAndResourceTypeAsync(Region region, ComputeResourceType resourceType);
}