Get-AzConnectedVMwareResourcePool

Implements resourcePool GET method.

Syntax

Get-AzConnectedVMwareResourcePool
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzConnectedVMwareResourcePool
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzConnectedVMwareResourcePool
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzConnectedVMwareResourcePool
   -InputObject <IConnectedVMwareIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Implements resourcePool GET method.

Examples

Example 1: List Resource Pools in current subscription

Get-AzConnectedVMwareResourcePool -SubscriptionId "204898ee-cd13-4332-b9d4-55ca5c25496d"

Kind   Location      Name                                          ResourceGroupName
----   --------      ----                                          -----------------
       eastus        test-rp1                                      test-rg1
       eastus        test-rp2                                      test-rg2
       eastus        test-rp3                                      test-rg3
       eastus        test-rp4                                      test-rg4
       eastus        test-rp5                                      test-rg5
       eastus        test-rp6                                      test-rg6
       eastus        test-rp7                                      test-rg7
       eastus        test-rp8                                      test-rg8

This command lists Resource Pools in current subscription.

Example 2: List Resource Pools in a resource group

Get-AzConnectedVMwareResourcePool -ResourceGroupName "test-rg" -SubscriptionId "204898ee-cd13-4332-b9d4-55ca5c25496d"

Kind   Location Name         ResourceGroupName
----   -------- ----         -----------------
       eastus   test-rp1     test-rg
       eastus   test-rp2     test-rg

This command lists Resource Pools in a resource group named test-rg.

Example 3: Get a specific Resource Pool

Get-AzConnectedVMwareResourcePool -Name "test-rp" -ResourceGroupName "test-rg" -SubscriptionId "204898ee-cd13-4332-b9d4-55ca5c25496d"

CpuCapacityMHz               : 197132
CpuLimitMHz                  : -1
CpuOverallUsageMHz           : 105
CpuReservationMHz            :
CpuSharesLevel               : normal
CustomResourceName           : c0d495b2-ff38-4131-ab85-061bc3b1700a
DatastoreId                  : {/subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/Datastores/test-ds1,
                               /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/Datastores/test-ds2,
                               /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/Datastores/test-ds3
ExtendedLocationName         : /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourcegroups/test-rg/providers/microsoft.extendedlocation/customlocations/test-cl
ExtendedLocationType         : CustomLocation
Id                           : /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/ResourcePools/subbart
InventoryItemId              : /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vc/InventoryItems/resgroup-1045861
Kind                         :
Location                     : westus3
MemCapacityGb                : 342
MemLimitMb                   : -1
MemOverallUsageGb            : 5
MemReservationMb             :
MemSharesLevel               : normal
MoName                       : subbart
MoRefId                      : resgroup-1045861
Name                         : subbart
NetworkId                    : {}
ProvisioningState            : Succeeded
ResourceGroupName            : test-rg
Statuses                     : {{
                                 "type": "Ready",
                                 "status": "True",
                                 "lastUpdatedAt": "2023-07-27T05:57:35.4692495Z"
                               }, {
                                 "type": "Idle",
                                 "status": "True",
                                 "lastUpdatedAt": "2023-07-27T05:57:35.4692495Z"
                               }}
SystemDataCreatedAt          : 7/27/2023 5:56:46 AM
SystemDataCreatedBy          : xyz
SystemDataCreatedByType      : User
SystemDataLastModifiedAt     : 8/18/2023 4:35:27 AM
SystemDataLastModifiedBy     : ac9dc5fe-b644-4832-9d03-d9f1ab70c5f7
SystemDataLastModifiedByType : Application
Tag                          : {
                               }
Type                         : microsoft.connectedvmwarevsphere/resourcepools
Uuid                         : c0d495b2-ff38-4131-ab85-061bc3b1700a
VCenterId                    : /subscriptions/204898ee-cd13-4332-b9d4-55ca5c25496d/resourceGroups/test-rg/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vc

This command gets a Resource Pool named test-rp in a resource group named test-rg.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter

Type:IConnectedVMwareIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of the resourcePool.

Type:String
Aliases:ResourcePoolName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The Resource Group Name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The Subscription ID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IConnectedVMwareIdentity

Outputs

IResourcePool