1. Packages
  2. Azure Native v2
  3. API Docs
  4. connectedvmwarevsphere
  5. getResourcePool
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.connectedvmwarevsphere.getResourcePool

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Implements resourcePool GET method. Azure REST API version: 2022-07-15-preview.

Other available API versions: 2023-03-01-preview, 2023-10-01, 2023-12-01.

Using getResourcePool

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResourcePool(args: GetResourcePoolArgs, opts?: InvokeOptions): Promise<GetResourcePoolResult>
function getResourcePoolOutput(args: GetResourcePoolOutputArgs, opts?: InvokeOptions): Output<GetResourcePoolResult>
Copy
def get_resource_pool(resource_group_name: Optional[str] = None,
                      resource_pool_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetResourcePoolResult
def get_resource_pool_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                      resource_pool_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetResourcePoolResult]
Copy
func LookupResourcePool(ctx *Context, args *LookupResourcePoolArgs, opts ...InvokeOption) (*LookupResourcePoolResult, error)
func LookupResourcePoolOutput(ctx *Context, args *LookupResourcePoolOutputArgs, opts ...InvokeOption) LookupResourcePoolResultOutput
Copy

> Note: This function is named LookupResourcePool in the Go SDK.

public static class GetResourcePool 
{
    public static Task<GetResourcePoolResult> InvokeAsync(GetResourcePoolArgs args, InvokeOptions? opts = null)
    public static Output<GetResourcePoolResult> Invoke(GetResourcePoolInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetResourcePoolResult> getResourcePool(GetResourcePoolArgs args, InvokeOptions options)
public static Output<GetResourcePoolResult> getResourcePool(GetResourcePoolArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:connectedvmwarevsphere:getResourcePool
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name.
ResourcePoolName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resourcePool.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name.
ResourcePoolName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resourcePool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The Resource Group Name.
resourcePoolName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resourcePool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name.
resourcePoolName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resourcePool.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The Resource Group Name.
resource_pool_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resourcePool.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The Resource Group Name.
resourcePoolName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resourcePool.

getResourcePool Result

The following output properties are available:

CpuLimitMHz double
Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
CpuReservationMHz double
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
CpuSharesLevel string
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
CustomResourceName string
Gets the name of the corresponding resource in Kubernetes.
DatastoreIds List<string>
Gets or sets the datastore ARM ids.
Id string
Gets or sets the Id.
Location string
Gets or sets the location.
MemLimitMB double
Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
MemReservationMB double
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
MemSharesLevel string
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
MoName string
Gets or sets the vCenter Managed Object name for the resource pool.
Name string
Gets or sets the name.
NetworkIds List<string>
Gets or sets the network ARM ids.
ProvisioningState string
Gets or sets the provisioning state.
Statuses List<Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ResourceStatusResponse>
The resource status information.
SystemData Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.SystemDataResponse
The system data.
Type string
Gets or sets the type of the resource.
Uuid string
Gets or sets a unique identifier for this resource.
ExtendedLocation Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ExtendedLocationResponse
Gets or sets the extended location.
InventoryItemId string
Gets or sets the inventory Item ID for the resource pool.
Kind 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.
MoRefId string
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
Tags Dictionary<string, string>
Gets or sets the Resource tags.
VCenterId string
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
CpuLimitMHz float64
Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
CpuReservationMHz float64
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
CpuSharesLevel string
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
CustomResourceName string
Gets the name of the corresponding resource in Kubernetes.
DatastoreIds []string
Gets or sets the datastore ARM ids.
Id string
Gets or sets the Id.
Location string
Gets or sets the location.
MemLimitMB float64
Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
MemReservationMB float64
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
MemSharesLevel string
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
MoName string
Gets or sets the vCenter Managed Object name for the resource pool.
Name string
Gets or sets the name.
NetworkIds []string
Gets or sets the network ARM ids.
ProvisioningState string
Gets or sets the provisioning state.
Statuses []ResourceStatusResponse
The resource status information.
SystemData SystemDataResponse
The system data.
Type string
Gets or sets the type of the resource.
Uuid string
Gets or sets a unique identifier for this resource.
ExtendedLocation ExtendedLocationResponse
Gets or sets the extended location.
InventoryItemId string
Gets or sets the inventory Item ID for the resource pool.
Kind 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.
MoRefId string
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
Tags map[string]string
Gets or sets the Resource tags.
VCenterId string
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
cpuLimitMHz Double
Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
cpuReservationMHz Double
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
cpuSharesLevel String
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
customResourceName String
Gets the name of the corresponding resource in Kubernetes.
datastoreIds List<String>
Gets or sets the datastore ARM ids.
id String
Gets or sets the Id.
location String
Gets or sets the location.
memLimitMB Double
Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
memReservationMB Double
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
memSharesLevel String
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
moName String
Gets or sets the vCenter Managed Object name for the resource pool.
name String
Gets or sets the name.
networkIds List<String>
Gets or sets the network ARM ids.
provisioningState String
Gets or sets the provisioning state.
statuses List<ResourceStatusResponse>
The resource status information.
systemData SystemDataResponse
The system data.
type String
Gets or sets the type of the resource.
uuid String
Gets or sets a unique identifier for this resource.
extendedLocation ExtendedLocationResponse
Gets or sets the extended location.
inventoryItemId String
Gets or sets the inventory Item ID for the resource pool.
kind 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.
moRefId String
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
tags Map<String,String>
Gets or sets the Resource tags.
vCenterId String
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
cpuLimitMHz 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.
cpuReservationMHz number
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
cpuSharesLevel string
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
customResourceName string
Gets the name of the corresponding resource in Kubernetes.
datastoreIds string[]
Gets or sets the datastore ARM ids.
id string
Gets or sets the Id.
location string
Gets or sets the location.
memLimitMB 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.
memReservationMB number
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
memSharesLevel string
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
moName string
Gets or sets the vCenter Managed Object name for the resource pool.
name string
Gets or sets the name.
networkIds string[]
Gets or sets the network ARM ids.
provisioningState string
Gets or sets the provisioning state.
statuses ResourceStatusResponse[]
The resource status information.
systemData SystemDataResponse
The system data.
type string
Gets or sets the type of the resource.
uuid string
Gets or sets a unique identifier for this resource.
extendedLocation ExtendedLocationResponse
Gets or sets the extended location.
inventoryItemId string
Gets or sets the inventory Item ID for the resource pool.
kind 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.
moRefId string
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
tags {[key: string]: string}
Gets or sets the Resource tags.
vCenterId string
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
cpu_limit_m_hz float
Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
cpu_reservation_m_hz float
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
cpu_shares_level str
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
custom_resource_name str
Gets the name of the corresponding resource in Kubernetes.
datastore_ids Sequence[str]
Gets or sets the datastore ARM ids.
id str
Gets or sets the Id.
location str
Gets or sets the location.
mem_limit_mb float
Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
mem_reservation_mb float
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
mem_shares_level str
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
mo_name str
Gets or sets the vCenter Managed Object name for the resource pool.
name str
Gets or sets the name.
network_ids Sequence[str]
Gets or sets the network ARM ids.
provisioning_state str
Gets or sets the provisioning state.
statuses Sequence[ResourceStatusResponse]
The resource status information.
system_data SystemDataResponse
The system data.
type str
Gets or sets the type of the resource.
uuid str
Gets or sets a unique identifier for this resource.
extended_location ExtendedLocationResponse
Gets or sets the extended location.
inventory_item_id str
Gets or sets the inventory Item ID for the resource pool.
kind str
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.
mo_ref_id str
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
tags Mapping[str, str]
Gets or sets the Resource tags.
v_center_id str
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
cpuLimitMHz 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.
cpuReservationMHz Number
Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
cpuSharesLevel String
Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
customResourceName String
Gets the name of the corresponding resource in Kubernetes.
datastoreIds List<String>
Gets or sets the datastore ARM ids.
id String
Gets or sets the Id.
location String
Gets or sets the location.
memLimitMB 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.
memReservationMB Number
Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
memSharesLevel String
Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
moName String
Gets or sets the vCenter Managed Object name for the resource pool.
name String
Gets or sets the name.
networkIds List<String>
Gets or sets the network ARM ids.
provisioningState String
Gets or sets the provisioning state.
statuses List<Property Map>
The resource status information.
systemData Property Map
The system data.
type String
Gets or sets the type of the resource.
uuid String
Gets or sets a unique identifier for this resource.
extendedLocation Property Map
Gets or sets the extended location.
inventoryItemId String
Gets or sets the inventory Item ID for the resource pool.
kind 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.
moRefId String
Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
tags Map<String>
Gets or sets the Resource tags.
vCenterId String
Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.

Supporting Types

ExtendedLocationResponse

Name string
The extended location name.
Type string
The extended location type.
Name string
The extended location name.
Type string
The extended location type.
name String
The extended location name.
type String
The extended location type.
name string
The extended location name.
type string
The extended location type.
name str
The extended location name.
type str
The extended location type.
name String
The extended location name.
type String
The extended location type.

ResourceStatusResponse

LastUpdatedAt This property is required. string
The last update time for this condition.
Message This property is required. string
A human readable message indicating details about the status.
Reason This property is required. string
The reason for the condition's status.
Severity This property is required. string
Severity with which to treat failures of this type of condition.
Status This property is required. string
Status of the condition.
Type This property is required. string
The type of the condition.
LastUpdatedAt This property is required. string
The last update time for this condition.
Message This property is required. string
A human readable message indicating details about the status.
Reason This property is required. string
The reason for the condition's status.
Severity This property is required. string
Severity with which to treat failures of this type of condition.
Status This property is required. string
Status of the condition.
Type This property is required. string
The type of the condition.
lastUpdatedAt This property is required. String
The last update time for this condition.
message This property is required. String
A human readable message indicating details about the status.
reason This property is required. String
The reason for the condition's status.
severity This property is required. String
Severity with which to treat failures of this type of condition.
status This property is required. String
Status of the condition.
type This property is required. String
The type of the condition.
lastUpdatedAt This property is required. string
The last update time for this condition.
message This property is required. string
A human readable message indicating details about the status.
reason This property is required. string
The reason for the condition's status.
severity This property is required. string
Severity with which to treat failures of this type of condition.
status This property is required. string
Status of the condition.
type This property is required. string
The type of the condition.
last_updated_at This property is required. str
The last update time for this condition.
message This property is required. str
A human readable message indicating details about the status.
reason This property is required. str
The reason for the condition's status.
severity This property is required. str
Severity with which to treat failures of this type of condition.
status This property is required. str
Status of the condition.
type This property is required. str
The type of the condition.
lastUpdatedAt This property is required. String
The last update time for this condition.
message This property is required. String
A human readable message indicating details about the status.
reason This property is required. String
The reason for the condition's status.
severity This property is required. String
Severity with which to treat failures of this type of condition.
status This property is required. String
Status of the condition.
type This property is required. String
The type of the condition.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi