1. Packages
  2. Azure Native
  3. API Docs
  4. synapse
  5. SqlPoolTransparentDataEncryption
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.synapse.SqlPoolTransparentDataEncryption

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Represents a Sql pool transparent data encryption configuration. Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2021-03-01.

    Other available API versions: 2021-06-01-preview.

    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 = AzureNative.Synapse.TransparentDataEncryptionStatus.Enabled,
            TransparentDataEncryptionName = "current",
            WorkspaceName = "sqlcrudtest-2080",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/synapse/v2"
    	"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(synapse.TransparentDataEncryptionStatusEnabled),
    			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=azure_native.synapse.TransparentDataEncryptionStatus.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: azure_native.synapse.TransparentDataEncryptionStatus.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

    new SqlPoolTransparentDataEncryption(name: string, args: SqlPoolTransparentDataEncryptionArgs, opts?: CustomResourceOptions);
    @overload
    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)
    @overload
    def SqlPoolTransparentDataEncryption(resource_name: str,
                                         args: SqlPoolTransparentDataEncryptionArgs,
                                         opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption/{transparentDataEncryptionName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi