@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.57 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Define the resourcePool.
*
* Uses Azure REST API version 2023-12-01. In version 2.x of the Azure Native provider, it used API version 2022-07-15-preview.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class ResourcePool extends pulumi.CustomResource {
/**
* Get an existing ResourcePool resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ResourcePool;
/**
* Returns true if the given object is an instance of ResourcePool. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ResourcePool;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Gets the max CPU usage across all cores on the pool in MHz.
*/
readonly cpuCapacityMHz: pulumi.Output<number>;
/**
* Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz.
* Utilization will not exceed this limit even if there are available resources.
*/
readonly cpuLimitMHz: pulumi.Output<number>;
/**
* Gets the used CPU usage across all cores on the pool in MHz.
*/
readonly cpuOverallUsageMHz: pulumi.Output<number>;
/**
* Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed
* to be available.
*/
readonly cpuReservationMHz: pulumi.Output<number>;
/**
* Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool.
* This property is used in relative allocation between resource consumers.
*/
readonly cpuSharesLevel: pulumi.Output<string>;
/**
* Gets the name of the corresponding resource in Kubernetes.
*/
readonly customResourceName: pulumi.Output<string>;
/**
* Gets the datastore ARM ids.
*/
readonly datastoreIds: pulumi.Output<string[]>;
/**
* Gets or sets the extended location.
*/
readonly extendedLocation: pulumi.Output<outputs.connectedvmwarevsphere.ExtendedLocationResponse | undefined>;
/**
* Gets or sets the inventory Item ID for the resource pool.
*/
readonly inventoryItemId: pulumi.Output<string | undefined>;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Gets or sets the location.
*/
readonly location: pulumi.Output<string>;
/**
* Gets the total amount of physical memory on the pool in GB.
*/
readonly memCapacityGB: pulumi.Output<number>;
/**
* Gets or sets MemLimitMB specifies a memory usage limit in megabytes.
* Utilization will not exceed the specified limit even if there are available resources.
*/
readonly memLimitMB: pulumi.Output<number>;
/**
* Gets the used physical memory on the pool in GB.
*/
readonly memOverallUsageGB: pulumi.Output<number>;
/**
* Gets or sets MemReservationMB which specifies the guaranteed available memory in
* megabytes.
*/
readonly memReservationMB: pulumi.Output<number>;
/**
* Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool.
* This property is used in relative allocation between resource consumers.
*/
readonly memSharesLevel: pulumi.Output<string>;
/**
* Gets or sets the vCenter Managed Object name for the resource pool.
*/
readonly moName: pulumi.Output<string>;
/**
* Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
*/
readonly moRefId: pulumi.Output<string | undefined>;
/**
* Gets or sets the name.
*/
readonly name: pulumi.Output<string>;
/**
* Gets the network ARM ids.
*/
readonly networkIds: pulumi.Output<string[]>;
/**
* Gets the provisioning state.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* The resource status information.
*/
readonly statuses: pulumi.Output<outputs.connectedvmwarevsphere.ResourceStatusResponse[]>;
/**
* The system data.
*/
readonly systemData: pulumi.Output<outputs.connectedvmwarevsphere.SystemDataResponse>;
/**
* Gets or sets the Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Gets or sets the type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Gets or sets a unique identifier for this resource.
*/
readonly uuid: pulumi.Output<string>;
/**
* Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
*/
readonly vCenterId: pulumi.Output<string | undefined>;
/**
* Create a ResourcePool resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ResourcePoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ResourcePool resource.
*/
export interface ResourcePoolArgs {
/**
* Gets or sets the extended location.
*/
extendedLocation?: pulumi.Input<inputs.connectedvmwarevsphere.ExtendedLocationArgs>;
/**
* Gets or sets the inventory Item ID for the resource pool.
*/
inventoryItemId?: pulumi.Input<string>;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
kind?: pulumi.Input<string>;
/**
* Gets or sets the location.
*/
location?: pulumi.Input<string>;
/**
* Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
*/
moRefId?: pulumi.Input<string>;
/**
* The Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the resourcePool.
*/
resourcePoolName?: pulumi.Input<string>;
/**
* Gets or sets the Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
*/
vCenterId?: pulumi.Input<string>;
}