Use Pulumi's new import command to generate code from existing cloud resources. Learn More

SqlPoolsV3

A sql pool resource.

Example Usage

Creates a sqlpool.

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var sqlPoolsV3 = new AzureNextGen.Synapse.V20200401Preview.SqlPoolsV3("sqlPoolsV3", new AzureNextGen.Synapse.V20200401Preview.SqlPoolsV3Args
        {
            Location = "westus",
            ResourceGroupName = "rg_fb5ce457-3576-425e-b22d-7300689fbea0",
            Sku = new AzureNextGen.Synapse.V20200401Preview.Inputs.SkuArgs
            {
                Name = "DW1000f",
                Tier = "Synapse",
            },
            SqlPoolName = "22c317e3-97a3-4ae3-9e91-a3456a5fff31",
            Tags = 
            {
                { "tag1", "val1" },
            },
            WorkspaceName = "srv_1e04aaa9-b30e-46ad-af06-7a21202bcc6c",
        });
    }

}
package main

import (
    synapse "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20200401preview"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := synapse.NewSqlPoolsV3(ctx, "sqlPoolsV3", &synapse.SqlPoolsV3Args{
            Location:          pulumi.String("westus"),
            ResourceGroupName: pulumi.String("rg_fb5ce457-3576-425e-b22d-7300689fbea0"),
            Sku: &synapse.SkuArgs{
                Name: pulumi.String("DW1000f"),
                Tier: pulumi.String("Synapse"),
            },
            SqlPoolName: pulumi.String("22c317e3-97a3-4ae3-9e91-a3456a5fff31"),
            Tags: pulumi.StringMap{
                "tag1": pulumi.String("val1"),
            },
            WorkspaceName: pulumi.String("srv_1e04aaa9-b30e-46ad-af06-7a21202bcc6c"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

sql_pools_v3 = azure_nextgen.synapse.v20200401preview.SqlPoolsV3("sqlPoolsV3",
    location="westus",
    resource_group_name="rg_fb5ce457-3576-425e-b22d-7300689fbea0",
    sku=azure_nextgen.synapse.v20200401preview.SkuArgs(
        name="DW1000f",
        tier="Synapse",
    ),
    sql_pool_name="22c317e3-97a3-4ae3-9e91-a3456a5fff31",
    tags={
        "tag1": "val1",
    },
    workspace_name="srv_1e04aaa9-b30e-46ad-af06-7a21202bcc6c")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const sqlPoolsV3 = new azure_nextgen.synapse.v20200401preview.SqlPoolsV3("sqlPoolsV3", {
    location: "westus",
    resourceGroupName: "rg_fb5ce457-3576-425e-b22d-7300689fbea0",
    sku: {
        name: "DW1000f",
        tier: "Synapse",
    },
    sqlPoolName: "22c317e3-97a3-4ae3-9e91-a3456a5fff31",
    tags: {
        tag1: "val1",
    },
    workspaceName: "srv_1e04aaa9-b30e-46ad-af06-7a21202bcc6c",
});

Create a SqlPoolsV3 Resource

new SqlPoolsV3(name: string, args: SqlPoolsV3Args, opts?: CustomResourceOptions);
def SqlPoolsV3(resource_name: str, opts: Optional[ResourceOptions] = None, location: Optional[str] = None, resource_group_name: Optional[str] = None, sku: Optional[SkuArgs] = None, sql_pool_name: Optional[str] = None, tags: Optional[Mapping[str, str]] = None, workspace_name: Optional[str] = None)
func NewSqlPoolsV3(ctx *Context, name string, args SqlPoolsV3Args, opts ...ResourceOption) (*SqlPoolsV3, error)
public SqlPoolsV3(string name, SqlPoolsV3Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SqlPoolsV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SqlPoolsV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SqlPoolsV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SqlPoolsV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SqlPoolsV3 resource accepts the following input properties:

Location string
The geo-location where the resource lives
ResourceGroupName string
The name of the resource group. The name is case insensitive.
SqlPoolName string
The name of the sql pool.
WorkspaceName string
The name of the workspace.
Sku Pulumi.AzureNextGen.Synapse.Inputs.SkuArgs
The sql pool SKU. The list of SKUs may vary by region and support offer.
Tags Dictionary<string, string>
Resource tags.
Location string
The geo-location where the resource lives
ResourceGroupName string
The name of the resource group. The name is case insensitive.
SqlPoolName string
The name of the sql pool.
WorkspaceName string
The name of the workspace.
Sku Sku
The sql pool SKU. The list of SKUs may vary by region and support offer.
Tags map[string]string
Resource tags.
location string
The geo-location where the resource lives
resourceGroupName string
The name of the resource group. The name is case insensitive.
sqlPoolName string
The name of the sql pool.
workspaceName string
The name of the workspace.
sku Sku
The sql pool SKU. The list of SKUs may vary by region and support offer.
tags {[key: string]: string}
Resource tags.
location str
The geo-location where the resource lives
resource_group_name str
The name of the resource group. The name is case insensitive.
sql_pool_name str
The name of the sql pool.
workspace_name str
The name of the workspace.
sku SkuArgs
The sql pool SKU. The list of SKUs may vary by region and support offer.
tags Mapping[str, str]
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the SqlPoolsV3 resource produces the following output properties:

CurrentServiceObjectiveName string
The current service level objective name of the sql pool.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Kind of SqlPool.
Name string
The name of the resource
RequestedServiceObjectiveName string
The requested service level objective name of the sql pool.
SqlPoolGuid string
The Guid of the sql pool.
Status string
The status of the sql pool.
SystemData Pulumi.AzureNextGen.Synapse.Outputs.SystemDataResponse
SystemData of SqlPool.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
CurrentServiceObjectiveName string
The current service level objective name of the sql pool.
Id string
The provider-assigned unique ID for this managed resource.
Kind string
Kind of SqlPool.
Name string
The name of the resource
RequestedServiceObjectiveName string
The requested service level objective name of the sql pool.
SqlPoolGuid string
The Guid of the sql pool.
Status string
The status of the sql pool.
SystemData SystemDataResponse
SystemData of SqlPool.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
currentServiceObjectiveName string
The current service level objective name of the sql pool.
id string
The provider-assigned unique ID for this managed resource.
kind string
Kind of SqlPool.
name string
The name of the resource
requestedServiceObjectiveName string
The requested service level objective name of the sql pool.
sqlPoolGuid string
The Guid of the sql pool.
status string
The status of the sql pool.
systemData SystemDataResponse
SystemData of SqlPool.
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
current_service_objective_name str
The current service level objective name of the sql pool.
id str
The provider-assigned unique ID for this managed resource.
kind str
Kind of SqlPool.
name str
The name of the resource
requested_service_objective_name str
The requested service level objective name of the sql pool.
sql_pool_guid str
The Guid of the sql pool.
status str
The status of the sql pool.
system_data SystemDataResponse
SystemData of SqlPool.
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”

Supporting Types

Sku

Name string
The name of the SKU, typically, a letter + Number code, e.g. P3.
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.
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.
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.
tier str
The tier or edition of the particular SKU, e.g. Basic, Premium.

SkuResponse

Name string
The name of the SKU, typically, a letter + Number code, e.g. P3.
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.
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.
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.
tier str
The tier or edition of the particular SKU, e.g. Basic, Premium.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
A string identifier for the identity that created the resource.
CreatedByType string
The type of identity that created the resource:
LastModifiedAt string
The timestamp of last modification (UTC).
LastModifiedBy string
A string identifier for the identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource:
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
A string identifier for the identity that created the resource.
CreatedByType string
The type of identity that created the resource:
LastModifiedAt string
The timestamp of last modification (UTC).
LastModifiedBy string
A string identifier for the identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource:
createdAt string
The timestamp of resource creation (UTC).
createdBy string
A string identifier for the identity that created the resource.
createdByType string
The type of identity that created the resource:
lastModifiedAt string
The timestamp of last modification (UTC).
lastModifiedBy string
A string identifier for the identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource:
created_at str
The timestamp of resource creation (UTC).
created_by str
A string identifier for the identity that created the resource.
created_by_type str
The type of identity that created the resource:
last_modified_at str
The timestamp of last modification (UTC).
last_modified_by str
A string identifier for the identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource:

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-nextgen:synapse/v20200401preview:SqlPoolsV3 8b5cfcb4-b074-4130-8060-803771147fc7 /subscriptions/f028e7fd-444a-41a2-a52d-fe8098b4770a/resourceGroups/rg_c76505cf-a02e-4fdf-8368-be830115f1dc/providers/Microsoft.Synapse/workspaces/srv_3a830420-3bdd-4ccc-a95a-9a2ac3cd0a19/sqlPools/8b5cfcb4-b074-4130-8060-803771147fc7 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0