azure-native-v2.sql.TransparentDataEncryption
Explore with Pulumi AI
A logical database transparent data encryption state. Azure REST API version: 2021-11-01. Prior API version in Azure Native 1.x: 2014-04-01.
Other available API versions: 2014-04-01, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.
Create TransparentDataEncryption Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransparentDataEncryption(name: string, args: TransparentDataEncryptionArgs, opts?: CustomResourceOptions);
@overload
def TransparentDataEncryption(resource_name: str,
args: TransparentDataEncryptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransparentDataEncryption(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
state: Optional[TransparentDataEncryptionState] = None,
tde_name: Optional[str] = None)
func NewTransparentDataEncryption(ctx *Context, name string, args TransparentDataEncryptionArgs, opts ...ResourceOption) (*TransparentDataEncryption, error)
public TransparentDataEncryption(string name, TransparentDataEncryptionArgs args, CustomResourceOptions? opts = null)
public TransparentDataEncryption(String name, TransparentDataEncryptionArgs args)
public TransparentDataEncryption(String name, TransparentDataEncryptionArgs args, CustomResourceOptions options)
type: azure-native:sql:TransparentDataEncryption
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransparentDataEncryptionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. TransparentDataEncryptionArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransparentDataEncryptionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TransparentDataEncryptionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. TransparentDataEncryptionArgs - 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 transparentDataEncryptionResource = new AzureNative.Sql.TransparentDataEncryption("transparentDataEncryptionResource", new()
{
DatabaseName = "string",
ResourceGroupName = "string",
ServerName = "string",
State = "Enabled",
TdeName = "string",
});
example, err := sql.NewTransparentDataEncryption(ctx, "transparentDataEncryptionResource", &sql.TransparentDataEncryptionArgs{
DatabaseName: "string",
ResourceGroupName: "string",
ServerName: "string",
State: "Enabled",
TdeName: "string",
})
var transparentDataEncryptionResource = new TransparentDataEncryption("transparentDataEncryptionResource", TransparentDataEncryptionArgs.builder()
.databaseName("string")
.resourceGroupName("string")
.serverName("string")
.state("Enabled")
.tdeName("string")
.build());
transparent_data_encryption_resource = azure_native.sql.TransparentDataEncryption("transparentDataEncryptionResource",
database_name=string,
resource_group_name=string,
server_name=string,
state=Enabled,
tde_name=string)
const transparentDataEncryptionResource = new azure_native.sql.TransparentDataEncryption("transparentDataEncryptionResource", {
databaseName: "string",
resourceGroupName: "string",
serverName: "string",
state: "Enabled",
tdeName: "string",
});
type: azure-native:sql:TransparentDataEncryption
properties:
databaseName: string
resourceGroupName: string
serverName: string
state: Enabled
tdeName: string
TransparentDataEncryption 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 TransparentDataEncryption resource accepts the following input properties:
- Database
Name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- State
This property is required. Pulumi.Azure Native. Sql. Transparent Data Encryption State - Specifies the state of the transparent data encryption.
- Tde
Name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
- Database
Name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- State
This property is required. TransparentData Encryption State Enum - Specifies the state of the transparent data encryption.
- Tde
Name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
- database
Name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- state
This property is required. TransparentData Encryption State - Specifies the state of the transparent data encryption.
- tde
Name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
- database
Name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- state
This property is required. TransparentData Encryption State - Specifies the state of the transparent data encryption.
- tde
Name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
- database_
name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_
name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- state
This property is required. TransparentData Encryption State - Specifies the state of the transparent data encryption.
- tde_
name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
- database
Name This property is required. Changes to this property will trigger replacement.
- The name of the logical database for which the security alert policy is defined.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- state
This property is required. "Enabled" | "Disabled" - Specifies the state of the transparent data encryption.
- tde
Name Changes to this property will trigger replacement.
- The name of the transparent data encryption configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransparentDataEncryption resource produces the following output properties:
Supporting Types
TransparentDataEncryptionState, TransparentDataEncryptionStateArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Transparent
Data Encryption State Enabled - Enabled
- Transparent
Data Encryption State Disabled - 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:sql:TransparentDataEncryption current /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{tdeName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0