1. Packages
  2. Azure Native v1
  3. API Docs
  4. synapse
  5. SqlPoolTransparentDataEncryption
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.synapse.SqlPoolTransparentDataEncryption

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Represents a Sql pool transparent data encryption configuration. API Version: 2021-03-01.

    Example Usage

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

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlPoolTransparentDataEncryption = new AzureNative.Synapse.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption", new()
        {
            ResourceGroupName = "sqlcrudtest-6852",
            SqlPoolName = "sqlcrudtest-9187",
            Status = "Enabled",
            TransparentDataEncryptionName = "current",
            WorkspaceName = "sqlcrudtest-2080",
        });
    
    });
    
    package main
    
    import (
    	synapse "github.com/pulumi/pulumi-azure-native-sdk/synapse"
    	"github.com/pulumi/pulumi/sdk/v3/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
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.synapse.SqlPoolTransparentDataEncryption;
    import com.pulumi.azurenative.synapse.SqlPoolTransparentDataEncryptionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlPoolTransparentDataEncryption = new SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption", SqlPoolTransparentDataEncryptionArgs.builder()        
                .resourceGroupName("sqlcrudtest-6852")
                .sqlPoolName("sqlcrudtest-9187")
                .status("Enabled")
                .transparentDataEncryptionName("current")
                .workspaceName("sqlcrudtest-2080")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sql_pool_transparent_data_encryption = azure_native.synapse.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_native from "@pulumi/azure-native";
    
    const sqlPoolTransparentDataEncryption = new azure_native.synapse.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryption", {
        resourceGroupName: "sqlcrudtest-6852",
        sqlPoolName: "sqlcrudtest-9187",
        status: "Enabled",
        transparentDataEncryptionName: "current",
        workspaceName: "sqlcrudtest-2080",
    });
    
    resources:
      sqlPoolTransparentDataEncryption:
        type: azure-native:synapse:SqlPoolTransparentDataEncryption
        properties:
          resourceGroupName: sqlcrudtest-6852
          sqlPoolName: sqlcrudtest-9187
          status: Enabled
          transparentDataEncryptionName: current
          workspaceName: sqlcrudtest-2080
    

    Create SqlPoolTransparentDataEncryption Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SqlPoolTransparentDataEncryption(name: string, args: SqlPoolTransparentDataEncryptionArgs, opts?: CustomResourceOptions);
    @overload
    def SqlPoolTransparentDataEncryption(resource_name: str,
                                         args: SqlPoolTransparentDataEncryptionArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SqlPoolTransparentDataEncryption(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         resource_group_name: Optional[str] = None,
                                         sql_pool_name: Optional[str] = None,
                                         workspace_name: Optional[str] = None,
                                         status: Optional[Union[str, TransparentDataEncryptionStatus]] = None,
                                         transparent_data_encryption_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)
    public SqlPoolTransparentDataEncryption(String name, SqlPoolTransparentDataEncryptionArgs args)
    public SqlPoolTransparentDataEncryption(String name, SqlPoolTransparentDataEncryptionArgs args, CustomResourceOptions options)
    
    type: azure-native:synapse:SqlPoolTransparentDataEncryption
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.
    args SqlPoolTransparentDataEncryptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control 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.
    name String
    The unique name of the resource.
    args SqlPoolTransparentDataEncryptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var sqlPoolTransparentDataEncryptionResource = new AzureNative.Synapse.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryptionResource", new()
    {
        ResourceGroupName = "string",
        SqlPoolName = "string",
        WorkspaceName = "string",
        Status = "string",
        TransparentDataEncryptionName = "string",
    });
    
    example, err := synapse.NewSqlPoolTransparentDataEncryption(ctx, "sqlPoolTransparentDataEncryptionResource", &synapse.SqlPoolTransparentDataEncryptionArgs{
    	ResourceGroupName:             "string",
    	SqlPoolName:                   "string",
    	WorkspaceName:                 "string",
    	Status:                        "string",
    	TransparentDataEncryptionName: "string",
    })
    
    var sqlPoolTransparentDataEncryptionResource = new SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryptionResource", SqlPoolTransparentDataEncryptionArgs.builder()
        .resourceGroupName("string")
        .sqlPoolName("string")
        .workspaceName("string")
        .status("string")
        .transparentDataEncryptionName("string")
        .build());
    
    sql_pool_transparent_data_encryption_resource = azure_native.synapse.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryptionResource",
        resource_group_name=string,
        sql_pool_name=string,
        workspace_name=string,
        status=string,
        transparent_data_encryption_name=string)
    
    const sqlPoolTransparentDataEncryptionResource = new azure_native.synapse.SqlPoolTransparentDataEncryption("sqlPoolTransparentDataEncryptionResource", {
        resourceGroupName: "string",
        sqlPoolName: "string",
        workspaceName: "string",
        status: "string",
        transparentDataEncryptionName: "string",
    });
    
    type: azure-native:synapse:SqlPoolTransparentDataEncryption
    properties:
        resourceGroupName: string
        sqlPoolName: string
        status: string
        transparentDataEncryptionName: string
        workspaceName: string
    

    SqlPoolTransparentDataEncryption Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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
    WorkspaceName string
    The name of the workspace
    Status string | Pulumi.AzureNative.Synapse.TransparentDataEncryptionStatus
    The status of the database transparent data encryption.
    TransparentDataEncryptionName string
    The name of the transparent data encryption configuration.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SqlPoolName string
    SQL pool name
    WorkspaceName string
    The name of the workspace
    Status string | TransparentDataEncryptionStatus
    The status of the database transparent data encryption.
    TransparentDataEncryptionName string
    The name of the transparent data encryption configuration.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sqlPoolName String
    SQL pool name
    workspaceName String
    The name of the workspace
    status String | TransparentDataEncryptionStatus
    The status of the database transparent data encryption.
    transparentDataEncryptionName String
    The name of the transparent data encryption configuration.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sqlPoolName string
    SQL pool name
    workspaceName string
    The name of the workspace
    status string | TransparentDataEncryptionStatus
    The status of the database transparent data encryption.
    transparentDataEncryptionName string
    The name of the transparent data encryption configuration.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    sql_pool_name str
    SQL pool name
    workspace_name str
    The name of the workspace
    status str | TransparentDataEncryptionStatus
    The status of the database transparent data encryption.
    transparent_data_encryption_name str
    The name of the transparent data encryption configuration.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sqlPoolName String
    SQL pool name
    workspaceName String
    The name of the workspace
    status String | "Enabled" | "Disabled"
    The status of the database transparent data encryption.
    transparentDataEncryptionName String
    The name of the transparent data encryption configuration.

    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 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"
    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"

    Supporting Types

    TransparentDataEncryptionStatus, TransparentDataEncryptionStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    TransparentDataEncryptionStatusEnabled
    Enabled
    TransparentDataEncryptionStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    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-native:synapse:SqlPoolTransparentDataEncryption current /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi