Class GetElasticPool
Inheritance
System.Object
GetElasticPool
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public static class GetElasticPool
Methods
View SourceInvokeAsync(GetElasticPoolArgs, InvokeOptions)
Use this data source to access information about an existing SQL elastic pool.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.MSSql.GetElasticPool.InvokeAsync(new Azure.MSSql.GetElasticPoolArgs
{
Name = "mssqlelasticpoolname",
ResourceGroupName = "example-resources",
ServerName = "example-sql-server",
}));
this.ElasticpoolId = example.Apply(example => example.Id);
}
[Output("elasticpoolId")]
public Output<string> ElasticpoolId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetElasticPoolResult> InvokeAsync(GetElasticPoolArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetElasticPoolArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetElasticPoolResult> |