@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Implements resourcePool GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* 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 function getResourcePool(args: GetResourcePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetResourcePoolResult>;
export interface GetResourcePoolArgs {
/**
* The Resource Group Name.
*/
resourceGroupName: string;
/**
* Name of the resourcePool.
*/
resourcePoolName: string;
}
/**
* Define the resourcePool.
*/
export interface GetResourcePoolResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets the max CPU usage across all cores on the pool in MHz.
*/
readonly cpuCapacityMHz: 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: number;
/**
* Gets the used CPU usage across all cores on the pool in MHz.
*/
readonly cpuOverallUsageMHz: number;
/**
* Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed
* to be available.
*/
readonly cpuReservationMHz: 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: string;
/**
* Gets the name of the corresponding resource in Kubernetes.
*/
readonly customResourceName: string;
/**
* Gets the datastore ARM ids.
*/
readonly datastoreIds: string[];
/**
* Gets or sets the extended location.
*/
readonly extendedLocation?: outputs.connectedvmwarevsphere.ExtendedLocationResponse;
/**
* Gets or sets the Id.
*/
readonly id: string;
/**
* Gets or sets the inventory Item ID for the resource pool.
*/
readonly inventoryItemId?: 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.
*/
readonly kind?: string;
/**
* Gets or sets the location.
*/
readonly location: string;
/**
* Gets the total amount of physical memory on the pool in GB.
*/
readonly memCapacityGB: 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: number;
/**
* Gets the used physical memory on the pool in GB.
*/
readonly memOverallUsageGB: number;
/**
* Gets or sets MemReservationMB which specifies the guaranteed available memory in
* megabytes.
*/
readonly memReservationMB: 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: string;
/**
* Gets or sets the vCenter Managed Object name for the resource pool.
*/
readonly moName: string;
/**
* Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
*/
readonly moRefId?: string;
/**
* Gets or sets the name.
*/
readonly name: string;
/**
* Gets the network ARM ids.
*/
readonly networkIds: string[];
/**
* Gets the provisioning state.
*/
readonly provisioningState: string;
/**
* The resource status information.
*/
readonly statuses: outputs.connectedvmwarevsphere.ResourceStatusResponse[];
/**
* The system data.
*/
readonly systemData: outputs.connectedvmwarevsphere.SystemDataResponse;
/**
* Gets or sets the Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Gets or sets the type of the resource.
*/
readonly type: string;
/**
* Gets or sets a unique identifier for this resource.
*/
readonly uuid: string;
/**
* Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
*/
readonly vCenterId?: string;
}
/**
* Implements resourcePool GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* 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 function getResourcePoolOutput(args: GetResourcePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourcePoolResult>;
export interface GetResourcePoolOutputArgs {
/**
* The Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the resourcePool.
*/
resourcePoolName: pulumi.Input<string>;
}