azure-native.synapse.getSqlPool
Explore with Pulumi AI
Get SQL pool properties API Version: 2021-03-01.
Using getSqlPool
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 getSqlPool(args: GetSqlPoolArgs, opts?: InvokeOptions): Promise<GetSqlPoolResult>
function getSqlPoolOutput(args: GetSqlPoolOutputArgs, opts?: InvokeOptions): Output<GetSqlPoolResult>
def get_sql_pool(resource_group_name: Optional[str] = None,
sql_pool_name: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlPoolResult
def get_sql_pool_output(resource_group_name: Optional[pulumi.Input[str]] = None,
sql_pool_name: Optional[pulumi.Input[str]] = None,
workspace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlPoolResult]
func LookupSqlPool(ctx *Context, args *LookupSqlPoolArgs, opts ...InvokeOption) (*LookupSqlPoolResult, error)
func LookupSqlPoolOutput(ctx *Context, args *LookupSqlPoolOutputArgs, opts ...InvokeOption) LookupSqlPoolResultOutput
> Note: This function is named LookupSqlPool
in the Go SDK.
public static class GetSqlPool
{
public static Task<GetSqlPoolResult> InvokeAsync(GetSqlPoolArgs args, InvokeOptions? opts = null)
public static Output<GetSqlPoolResult> Invoke(GetSqlPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlPoolResult> getSqlPool(GetSqlPoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:synapse:getSqlPool
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Pool stringName - SQL pool name
- Workspace
Name string - The name of the workspace
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Pool stringName - SQL pool name
- Workspace
Name string - The name of the workspace
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sql
Pool StringName - SQL pool name
- workspace
Name String - The name of the workspace
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sql
Pool stringName - SQL pool name
- workspace
Name string - The name of the workspace
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sql_
pool_ strname - SQL pool name
- workspace_
name str - The name of the workspace
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sql
Pool StringName - SQL pool name
- workspace
Name String - The name of the workspace
getSqlPool Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Collation string
- Collation mode
- Create
Mode string Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- Creation
Date string - Date the SQL pool was created
- Max
Size doubleBytes - Maximum size in bytes
- Provisioning
State string - Resource state
- Recoverable
Database stringId - Backup database to restore from
- Restore
Point stringIn Time - Snapshot time to restore
- Sku
Pulumi.
Azure Native. Synapse. Outputs. Sku Response - SQL pool SKU
- Source
Database stringId - Source database to create from
- Status string
- Resource status
- Storage
Account stringType - The storage account type used to store backups for this sql pool.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Collation string
- Collation mode
- Create
Mode string Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- Creation
Date string - Date the SQL pool was created
- Max
Size float64Bytes - Maximum size in bytes
- Provisioning
State string - Resource state
- Recoverable
Database stringId - Backup database to restore from
- Restore
Point stringIn Time - Snapshot time to restore
- Sku
Sku
Response - SQL pool SKU
- Source
Database stringId - Source database to create from
- Status string
- Resource status
- Storage
Account stringType - The storage account type used to store backups for this sql pool.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collation String
- Collation mode
- create
Mode String Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- creation
Date String - Date the SQL pool was created
- max
Size DoubleBytes - Maximum size in bytes
- provisioning
State String - Resource state
- recoverable
Database StringId - Backup database to restore from
- restore
Point StringIn Time - Snapshot time to restore
- sku
Sku
Response - SQL pool SKU
- source
Database StringId - Source database to create from
- status String
- Resource status
- storage
Account StringType - The storage account type used to store backups for this sql pool.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collation string
- Collation mode
- create
Mode string Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- creation
Date string - Date the SQL pool was created
- max
Size numberBytes - Maximum size in bytes
- provisioning
State string - Resource state
- recoverable
Database stringId - Backup database to restore from
- restore
Point stringIn Time - Snapshot time to restore
- sku
Sku
Response - SQL pool SKU
- source
Database stringId - Source database to create from
- status string
- Resource status
- storage
Account stringType - The storage account type used to store backups for this sql pool.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collation str
- Collation mode
- create_
mode str Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- creation_
date str - Date the SQL pool was created
- max_
size_ floatbytes - Maximum size in bytes
- provisioning_
state str - Resource state
- recoverable_
database_ strid - Backup database to restore from
- restore_
point_ strin_ time - Snapshot time to restore
- sku
Sku
Response - SQL pool SKU
- source_
database_ strid - Source database to create from
- status str
- Resource status
- storage_
account_ strtype - The storage account type used to store backups for this sql pool.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collation String
- Collation mode
- create
Mode String Specifies the mode of sql pool creation.
Default: regular sql pool creation.
PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
- creation
Date String - Date the SQL pool was created
- max
Size NumberBytes - Maximum size in bytes
- provisioning
State String - Resource state
- recoverable
Database StringId - Backup database to restore from
- restore
Point StringIn Time - Snapshot time to restore
- sku Property Map
- SQL pool SKU
- source
Database StringId - Source database to create from
- status String
- Resource status
- storage
Account StringType - The storage account type used to store backups for this sql pool.
- Map<String>
- Resource tags.
Supporting Types
SkuResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0