azure-native.devcenter.getPool
Explore with Pulumi AI
Gets a machine pool
Uses Azure REST API version 2024-02-01.
Other available API versions: 2023-04-01, 2023-08-01-preview, 2023-10-01-preview, 2024-05-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-02-01, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native devcenter [ApiVersion]
. See the version guide for details.
Using getPool
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 getPool(args: GetPoolArgs, opts?: InvokeOptions): Promise<GetPoolResult>
function getPoolOutput(args: GetPoolOutputArgs, opts?: InvokeOptions): Output<GetPoolResult>
def get_pool(pool_name: Optional[str] = None,
project_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPoolResult
def get_pool_output(pool_name: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPoolResult]
func LookupPool(ctx *Context, args *LookupPoolArgs, opts ...InvokeOption) (*LookupPoolResult, error)
func LookupPoolOutput(ctx *Context, args *LookupPoolOutputArgs, opts ...InvokeOption) LookupPoolResultOutput
> Note: This function is named LookupPool
in the Go SDK.
public static class GetPool
{
public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions? opts = null)
public static Output<GetPoolResult> Invoke(GetPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
public static Output<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:devcenter:getPool
arguments:
# arguments dictionary
The following arguments are supported:
- Pool
Name string - Name of the pool.
- Project
Name string - The name of the project.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Pool
Name string - Name of the pool.
- Project
Name string - The name of the project.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- pool
Name String - Name of the pool.
- project
Name String - The name of the project.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- pool
Name string - Name of the pool.
- project
Name string - The name of the project.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- pool_
name str - Name of the pool.
- project_
name str - The name of the project.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- pool
Name String - Name of the pool.
- project
Name String - The name of the project.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getPool Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Dev
Box intCount - Indicates the number of provisioned Dev Boxes in this pool.
- Dev
Box stringDefinition Name - Name of a Dev Box definition in parent Project of this Pool
- Health
Status string - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- Health
Status List<Pulumi.Details Azure Native. Dev Center. Outputs. Health Status Detail Response> - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- License
Type string - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- Local
Administrator string - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Network
Connection stringName - Name of a Network Connection in parent Project of this Pool
- Provisioning
State string - The provisioning state of the resource.
- System
Data Pulumi.Azure Native. Dev Center. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Display
Name string - The display name of the pool.
- Managed
Virtual List<string>Network Regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- Single
Sign stringOn Status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- Stop
On Pulumi.Disconnect Azure Native. Dev Center. Outputs. Stop On Disconnect Configuration Response - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- Dictionary<string, string>
- Resource tags.
- Virtual
Network stringType - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
- Azure
Api stringVersion - The Azure API version of the resource.
- Dev
Box intCount - Indicates the number of provisioned Dev Boxes in this pool.
- Dev
Box stringDefinition Name - Name of a Dev Box definition in parent Project of this Pool
- Health
Status string - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- Health
Status []HealthDetails Status Detail Response - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- License
Type string - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- Local
Administrator string - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Network
Connection stringName - Name of a Network Connection in parent Project of this Pool
- Provisioning
State string - The provisioning state of the resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Display
Name string - The display name of the pool.
- Managed
Virtual []stringNetwork Regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- Single
Sign stringOn Status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- Stop
On StopDisconnect On Disconnect Configuration Response - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- map[string]string
- Resource tags.
- Virtual
Network stringType - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
- azure
Api StringVersion - The Azure API version of the resource.
- dev
Box IntegerCount - Indicates the number of provisioned Dev Boxes in this pool.
- dev
Box StringDefinition Name - Name of a Dev Box definition in parent Project of this Pool
- health
Status String - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- health
Status List<HealthDetails Status Detail Response> - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- license
Type String - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- local
Administrator String - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- network
Connection StringName - Name of a Network Connection in parent Project of this Pool
- provisioning
State String - The provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- display
Name String - The display name of the pool.
- managed
Virtual List<String>Network Regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- single
Sign StringOn Status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- stop
On StopDisconnect On Disconnect Configuration Response - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- Map<String,String>
- Resource tags.
- virtual
Network StringType - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
- azure
Api stringVersion - The Azure API version of the resource.
- dev
Box numberCount - Indicates the number of provisioned Dev Boxes in this pool.
- dev
Box stringDefinition Name - Name of a Dev Box definition in parent Project of this Pool
- health
Status string - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- health
Status HealthDetails Status Detail Response[] - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- license
Type string - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- local
Administrator string - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- network
Connection stringName - Name of a Network Connection in parent Project of this Pool
- provisioning
State string - The provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- display
Name string - The display name of the pool.
- managed
Virtual string[]Network Regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- single
Sign stringOn Status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- stop
On StopDisconnect On Disconnect Configuration Response - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- {[key: string]: string}
- Resource tags.
- virtual
Network stringType - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
- azure_
api_ strversion - The Azure API version of the resource.
- dev_
box_ intcount - Indicates the number of provisioned Dev Boxes in this pool.
- dev_
box_ strdefinition_ name - Name of a Dev Box definition in parent Project of this Pool
- health_
status str - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- health_
status_ Sequence[Healthdetails Status Detail Response] - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- license_
type str - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- local_
administrator str - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- network_
connection_ strname - Name of a Network Connection in parent Project of this Pool
- provisioning_
state str - The provisioning state of the resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- display_
name str - The display name of the pool.
- managed_
virtual_ Sequence[str]network_ regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- single_
sign_ stron_ status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- stop_
on_ Stopdisconnect On Disconnect Configuration Response - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- Mapping[str, str]
- Resource tags.
- virtual_
network_ strtype - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
- azure
Api StringVersion - The Azure API version of the resource.
- dev
Box NumberCount - Indicates the number of provisioned Dev Boxes in this pool.
- dev
Box StringDefinition Name - Name of a Dev Box definition in parent Project of this Pool
- health
Status String - Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.
- health
Status List<Property Map>Details - Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- license
Type String - Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
- local
Administrator String - Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- network
Connection StringName - Name of a Network Connection in parent Project of this Pool
- provisioning
State String - The provisioning state of the resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- display
Name String - The display name of the pool.
- managed
Virtual List<String>Network Regions - The regions of the managed virtual network (required when managedNetworkType is Managed).
- single
Sign StringOn Status - Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant.
- stop
On Property MapDisconnect - Stop on disconnect configuration settings for Dev Boxes created in this pool.
- Map<String>
- Resource tags.
- virtual
Network StringType - Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network.
Supporting Types
HealthStatusDetailResponse
StopOnDisconnectConfigurationResponse
- Grace
Period intMinutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- Status string
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
- Grace
Period intMinutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- Status string
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
- grace
Period IntegerMinutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- status String
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
- grace
Period numberMinutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- status string
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
- grace_
period_ intminutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- status str
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
- grace
Period NumberMinutes - The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
- status String
- Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0