azure-native.sql.getInstancePool
Explore with Pulumi AI
Gets an instance pool.
Uses Azure REST API version 2023-08-01.
Other available API versions: 2018-06-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview, 2021-05-01-preview, 2021-08-01-preview, 2021-11-01, 2021-11-01-preview, 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]
. See the version guide for details.
Using getInstancePool
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 getInstancePool(args: GetInstancePoolArgs, opts?: InvokeOptions): Promise<GetInstancePoolResult>
function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: InvokeOptions): Output<GetInstancePoolResult>
def get_instance_pool(instance_pool_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstancePoolResult
def get_instance_pool_output(instance_pool_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstancePoolResult]
func LookupInstancePool(ctx *Context, args *LookupInstancePoolArgs, opts ...InvokeOption) (*LookupInstancePoolResult, error)
func LookupInstancePoolOutput(ctx *Context, args *LookupInstancePoolOutputArgs, opts ...InvokeOption) LookupInstancePoolResultOutput
> Note: This function is named LookupInstancePool
in the Go SDK.
public static class GetInstancePool
{
public static Task<GetInstancePoolResult> InvokeAsync(GetInstancePoolArgs args, InvokeOptions? opts = null)
public static Output<GetInstancePoolResult> Invoke(GetInstancePoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstancePoolResult> getInstancePool(GetInstancePoolArgs args, InvokeOptions options)
public static Output<GetInstancePoolResult> getInstancePool(GetInstancePoolArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:sql:getInstancePool
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Pool stringName - The name of the instance pool to be retrieved.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Instance
Pool stringName - The name of the instance pool to be retrieved.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- instance
Pool StringName - The name of the instance pool to be retrieved.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- instance
Pool stringName - The name of the instance pool to be retrieved.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- instance_
pool_ strname - The name of the instance pool to be retrieved.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- instance
Pool StringName - The name of the instance pool to be retrieved.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
getInstancePool Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Dns
Zone string - The Dns Zone that the managed instance pool is in.
- Id string
- Resource ID.
- License
Type string - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- Location string
- Resource location.
- Name string
- Resource name.
- Subnet
Id string - Resource ID of the subnet to place this instance pool in.
- Type string
- Resource type.
- VCores int
- Count of vCores belonging to this instance pool.
- Maintenance
Configuration stringId - Specifies maintenance configuration id to apply to this managed instance.
- Sku
Pulumi.
Azure Native. Sql. Outputs. Sku Response - The name and tier of the SKU.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Dns
Zone string - The Dns Zone that the managed instance pool is in.
- Id string
- Resource ID.
- License
Type string - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- Location string
- Resource location.
- Name string
- Resource name.
- Subnet
Id string - Resource ID of the subnet to place this instance pool in.
- Type string
- Resource type.
- VCores int
- Count of vCores belonging to this instance pool.
- Maintenance
Configuration stringId - Specifies maintenance configuration id to apply to this managed instance.
- Sku
Sku
Response - The name and tier of the SKU.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- dns
Zone String - The Dns Zone that the managed instance pool is in.
- id String
- Resource ID.
- license
Type String - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- location String
- Resource location.
- name String
- Resource name.
- subnet
Id String - Resource ID of the subnet to place this instance pool in.
- type String
- Resource type.
- v
Cores Integer - Count of vCores belonging to this instance pool.
- maintenance
Configuration StringId - Specifies maintenance configuration id to apply to this managed instance.
- sku
Sku
Response - The name and tier of the SKU.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- dns
Zone string - The Dns Zone that the managed instance pool is in.
- id string
- Resource ID.
- license
Type string - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- location string
- Resource location.
- name string
- Resource name.
- subnet
Id string - Resource ID of the subnet to place this instance pool in.
- type string
- Resource type.
- v
Cores number - Count of vCores belonging to this instance pool.
- maintenance
Configuration stringId - Specifies maintenance configuration id to apply to this managed instance.
- sku
Sku
Response - The name and tier of the SKU.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- dns_
zone str - The Dns Zone that the managed instance pool is in.
- id str
- Resource ID.
- license_
type str - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- location str
- Resource location.
- name str
- Resource name.
- subnet_
id str - Resource ID of the subnet to place this instance pool in.
- type str
- Resource type.
- v_
cores int - Count of vCores belonging to this instance pool.
- maintenance_
configuration_ strid - Specifies maintenance configuration id to apply to this managed instance.
- sku
Sku
Response - The name and tier of the SKU.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- dns
Zone String - The Dns Zone that the managed instance pool is in.
- id String
- Resource ID.
- license
Type String - The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
- location String
- Resource location.
- name String
- Resource name.
- subnet
Id String - Resource ID of the subnet to place this instance pool in.
- type String
- Resource type.
- v
Cores Number - Count of vCores belonging to this instance pool.
- maintenance
Configuration StringId - Specifies maintenance configuration id to apply to this managed instance.
- sku Property Map
- The name and tier of the SKU.
- Map<String>
- Resource tags.
Supporting Types
SkuResponse
- Name string
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- Capacity int
- Capacity of the particular SKU.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- Size of the particular SKU
- Tier string
- The tier or edition of the particular SKU, e.g. Basic, Premium.
- Name string
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- Capacity int
- Capacity of the particular SKU.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- Size of the particular SKU
- Tier string
- The tier or edition of the particular SKU, e.g. Basic, Premium.
- name String
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- capacity Integer
- Capacity of the particular SKU.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- Size of the particular SKU
- tier String
- The tier or edition of the particular SKU, e.g. Basic, Premium.
- name string
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- capacity number
- Capacity of the particular SKU.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- Size of the particular SKU
- tier string
- The tier or edition of the particular SKU, e.g. Basic, Premium.
- name str
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- capacity int
- Capacity of the particular SKU.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- Size of the particular SKU
- tier str
- The tier or edition of the particular SKU, e.g. Basic, Premium.
- name String
- The name of the SKU, typically, a letter + Number code, e.g. P3.
- capacity Number
- Capacity of the particular SKU.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- Size of the particular SKU
- tier String
- The tier or edition of the particular SKU, e.g. Basic, Premium.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0