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

SqlPoolTransparentDataEncryption

Represents a Sql pool transparent data encryption configuration.

Example Usage

Create or update a Sql pool's transparent data encryption configuration

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var sqlPoolTransparentDataEncryption = new AzureNextGen.Synapse.V20190601Preview.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption", new AzureNextGen.Synapse.V20190601Preview.SqlPoolTransparentDataEncryptionArgs
        {
            ResourceGroupName = "sqlcrudtest-6852",
            SqlPoolName = "sqlcrudtest-9187",
            Status = "Enabled",
            TransparentDataEncryptionName = "current",
            WorkspaceName = "sqlcrudtest-2080",
        });
    }

}
package main

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

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := synapse.NewSqlPoolTransparentDataEncryption(ctx, "sqlPoolTransparentDataEncryption", &synapse.SqlPoolTransparentDataEncryptionArgs{
            ResourceGroupName:             pulumi.String("sqlcrudtest-6852"),
            SqlPoolName:                   pulumi.String("sqlcrudtest-9187"),
            Status:                        pulumi.String("Enabled"),
            TransparentDataEncryptionName: pulumi.String("current"),
            WorkspaceName:                 pulumi.String("sqlcrudtest-2080"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

sql_pool_transparent_data_encryption = azure_nextgen.synapse.v20190601preview.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption",
    resource_group_name="sqlcrudtest-6852",
    sql_pool_name="sqlcrudtest-9187",
    status="Enabled",
    transparent_data_encryption_name="current",
    workspace_name="sqlcrudtest-2080")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const sqlPoolTransparentDataEncryption = new azure_nextgen.synapse.v20190601preview.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption", {
    resourceGroupName: "sqlcrudtest-6852",
    sqlPoolName: "sqlcrudtest-9187",
    status: "Enabled",
    transparentDataEncryptionName: "current",
    workspaceName: "sqlcrudtest-2080",
});

Create a SqlPoolTransparentDataEncryption Resource

new SqlPoolTransparentDataEncryption(name: string, args: SqlPoolTransparentDataEncryptionArgs, opts?: CustomResourceOptions);
def SqlPoolTransparentDataEncryption(resource_name: str, opts: Optional[ResourceOptions] = None, resource_group_name: Optional[str] = None, sql_pool_name: Optional[str] = None, status: Optional[Union[str, TransparentDataEncryptionStatus]] = None, transparent_data_encryption_name: Optional[str] = None, workspace_name: Optional[str] = None)
func NewSqlPoolTransparentDataEncryption(ctx *Context, name string, args SqlPoolTransparentDataEncryptionArgs, opts ...ResourceOption) (*SqlPoolTransparentDataEncryption, error)
public SqlPoolTransparentDataEncryption(string name, SqlPoolTransparentDataEncryptionArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SqlPoolTransparentDataEncryptionArgs
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 SqlPoolTransparentDataEncryptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SqlPoolTransparentDataEncryptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SqlPoolTransparentDataEncryption Resource Properties

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

Inputs

The SqlPoolTransparentDataEncryption resource accepts the following input properties:

ResourceGroupName string
The name of the resource group. The name is case insensitive.
SqlPoolName string
SQL pool name
TransparentDataEncryptionName string
The name of the transparent data encryption configuration.
WorkspaceName string
The name of the workspace
Status string | Pulumi.AzureNextGen.Synapse.TransparentDataEncryptionStatus
The status of the database transparent data encryption.
ResourceGroupName string
The name of the resource group. The name is case insensitive.
SqlPoolName string
SQL pool name
TransparentDataEncryptionName string
The name of the transparent data encryption configuration.
WorkspaceName string
The name of the workspace
Status string | TransparentDataEncryptionStatus
The status of the database transparent data encryption.
resourceGroupName string
The name of the resource group. The name is case insensitive.
sqlPoolName string
SQL pool name
transparentDataEncryptionName string
The name of the transparent data encryption configuration.
workspaceName string
The name of the workspace
status string | TransparentDataEncryptionStatus
The status of the database transparent data encryption.
resource_group_name str
The name of the resource group. The name is case insensitive.
sql_pool_name str
SQL pool name
transparent_data_encryption_name str
The name of the transparent data encryption configuration.
workspace_name str
The name of the workspace
status str | TransparentDataEncryptionStatus
The status of the database transparent data encryption.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Location string
Resource location.
Name string
The name of the resource
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
Id string
The provider-assigned unique ID for this managed resource.
Location string
Resource location.
Name string
The name of the resource
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id string
The provider-assigned unique ID for this managed resource.
location string
Resource location.
name string
The name of the resource
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id str
The provider-assigned unique ID for this managed resource.
location str
Resource location.
name str
The name of the resource
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”

Supporting Types

TransparentDataEncryptionStatus

Enabled
Enabled
Disabled
Disabled
TransparentDataEncryptionStatusEnabled
Enabled
TransparentDataEncryptionStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled

Import

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

$ pulumi import azure-nextgen:synapse/v20190601preview:SqlPoolTransparentDataEncryption current /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current 

Package Details

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