published on Monday, Jun 15, 2026 by OVHcloud
published on Monday, Jun 15, 2026 by OVHcloud
Creates a DBaaS Logs encryption key.
Create DbaasLogsEncryptionKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbaasLogsEncryptionKey(name: string, args: DbaasLogsEncryptionKeyArgs, opts?: CustomResourceOptions);@overload
def DbaasLogsEncryptionKey(resource_name: str,
args: DbaasLogsEncryptionKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbaasLogsEncryptionKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
fingerprint: Optional[str] = None,
service_name: Optional[str] = None,
title: Optional[str] = None)func NewDbaasLogsEncryptionKey(ctx *Context, name string, args DbaasLogsEncryptionKeyArgs, opts ...ResourceOption) (*DbaasLogsEncryptionKey, error)public DbaasLogsEncryptionKey(string name, DbaasLogsEncryptionKeyArgs args, CustomResourceOptions? opts = null)
public DbaasLogsEncryptionKey(String name, DbaasLogsEncryptionKeyArgs args)
public DbaasLogsEncryptionKey(String name, DbaasLogsEncryptionKeyArgs args, CustomResourceOptions options)
type: ovh:DbaasLogsEncryptionKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ovh_dbaaslogsencryptionkey" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DbaasLogsEncryptionKeyArgs
- 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 DbaasLogsEncryptionKeyArgs
- 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 DbaasLogsEncryptionKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbaasLogsEncryptionKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbaasLogsEncryptionKeyArgs
- 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 dbaasLogsEncryptionKeyResource = new Ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", new()
{
Content = "string",
Fingerprint = "string",
ServiceName = "string",
Title = "string",
});
example, err := ovh.NewDbaasLogsEncryptionKey(ctx, "dbaasLogsEncryptionKeyResource", &ovh.DbaasLogsEncryptionKeyArgs{
Content: pulumi.String("string"),
Fingerprint: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Title: pulumi.String("string"),
})
resource "ovh_dbaaslogsencryptionkey" "dbaasLogsEncryptionKeyResource" {
content = "string"
fingerprint = "string"
service_name = "string"
title = "string"
}
var dbaasLogsEncryptionKeyResource = new DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", DbaasLogsEncryptionKeyArgs.builder()
.content("string")
.fingerprint("string")
.serviceName("string")
.title("string")
.build());
dbaas_logs_encryption_key_resource = ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource",
content="string",
fingerprint="string",
service_name="string",
title="string")
const dbaasLogsEncryptionKeyResource = new ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", {
content: "string",
fingerprint: "string",
serviceName: "string",
title: "string",
});
type: ovh:DbaasLogsEncryptionKey
properties:
content: string
fingerprint: string
serviceName: string
title: string
DbaasLogsEncryptionKey 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 DbaasLogsEncryptionKey resource accepts the following input properties:
- Content string
- The PGP public key content
- Fingerprint string
- The PGP key fingerprint
- Service
Name string - The LDP service name
- Title string
- The encryption key title
- Content string
- The PGP public key content
- Fingerprint string
- The PGP key fingerprint
- Service
Name string - The LDP service name
- Title string
- The encryption key title
- content string
- The PGP public key content
- fingerprint string
- The PGP key fingerprint
- service_
name string - The LDP service name
- title string
- The encryption key title
- content String
- The PGP public key content
- fingerprint String
- The PGP key fingerprint
- service
Name String - The LDP service name
- title String
- The encryption key title
- content string
- The PGP public key content
- fingerprint string
- The PGP key fingerprint
- service
Name string - The LDP service name
- title string
- The encryption key title
- content str
- The PGP public key content
- fingerprint str
- The PGP key fingerprint
- service_
name str - The LDP service name
- title str
- The encryption key title
- content String
- The PGP public key content
- fingerprint String
- The PGP key fingerprint
- service
Name String - The LDP service name
- title String
- The encryption key title
Outputs
All input properties are implicitly available as output properties. Additionally, the DbaasLogsEncryptionKey resource produces the following output properties:
- Created
At string - The encryption key creation date
- Encryption
Key stringId - The encryption key ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Editable bool - Indicates if the key is editable
- Created
At string - The encryption key creation date
- Encryption
Key stringId - The encryption key ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Editable bool - Indicates if the key is editable
- created_
at string - The encryption key creation date
- encryption_
key_ stringid - The encryption key ID
- id string
- The provider-assigned unique ID for this managed resource.
- is_
editable bool - Indicates if the key is editable
- created
At String - The encryption key creation date
- encryption
Key StringId - The encryption key ID
- id String
- The provider-assigned unique ID for this managed resource.
- is
Editable Boolean - Indicates if the key is editable
- created
At string - The encryption key creation date
- encryption
Key stringId - The encryption key ID
- id string
- The provider-assigned unique ID for this managed resource.
- is
Editable boolean - Indicates if the key is editable
- created_
at str - The encryption key creation date
- encryption_
key_ strid - The encryption key ID
- id str
- The provider-assigned unique ID for this managed resource.
- is_
editable bool - Indicates if the key is editable
- created
At String - The encryption key creation date
- encryption
Key StringId - The encryption key ID
- id String
- The provider-assigned unique ID for this managed resource.
- is
Editable Boolean - Indicates if the key is editable
Look up Existing DbaasLogsEncryptionKey Resource
Get an existing DbaasLogsEncryptionKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DbaasLogsEncryptionKeyState, opts?: CustomResourceOptions): DbaasLogsEncryptionKey@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
created_at: Optional[str] = None,
encryption_key_id: Optional[str] = None,
fingerprint: Optional[str] = None,
is_editable: Optional[bool] = None,
service_name: Optional[str] = None,
title: Optional[str] = None) -> DbaasLogsEncryptionKeyfunc GetDbaasLogsEncryptionKey(ctx *Context, name string, id IDInput, state *DbaasLogsEncryptionKeyState, opts ...ResourceOption) (*DbaasLogsEncryptionKey, error)public static DbaasLogsEncryptionKey Get(string name, Input<string> id, DbaasLogsEncryptionKeyState? state, CustomResourceOptions? opts = null)public static DbaasLogsEncryptionKey get(String name, Output<String> id, DbaasLogsEncryptionKeyState state, CustomResourceOptions options)resources: _: type: ovh:DbaasLogsEncryptionKey get: id: ${id}import {
to = ovh_dbaaslogsencryptionkey.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Content string
- The PGP public key content
- Created
At string - The encryption key creation date
- Encryption
Key stringId - The encryption key ID
- Fingerprint string
- The PGP key fingerprint
- Is
Editable bool - Indicates if the key is editable
- Service
Name string - The LDP service name
- Title string
- The encryption key title
- Content string
- The PGP public key content
- Created
At string - The encryption key creation date
- Encryption
Key stringId - The encryption key ID
- Fingerprint string
- The PGP key fingerprint
- Is
Editable bool - Indicates if the key is editable
- Service
Name string - The LDP service name
- Title string
- The encryption key title
- content string
- The PGP public key content
- created_
at string - The encryption key creation date
- encryption_
key_ stringid - The encryption key ID
- fingerprint string
- The PGP key fingerprint
- is_
editable bool - Indicates if the key is editable
- service_
name string - The LDP service name
- title string
- The encryption key title
- content String
- The PGP public key content
- created
At String - The encryption key creation date
- encryption
Key StringId - The encryption key ID
- fingerprint String
- The PGP key fingerprint
- is
Editable Boolean - Indicates if the key is editable
- service
Name String - The LDP service name
- title String
- The encryption key title
- content string
- The PGP public key content
- created
At string - The encryption key creation date
- encryption
Key stringId - The encryption key ID
- fingerprint string
- The PGP key fingerprint
- is
Editable boolean - Indicates if the key is editable
- service
Name string - The LDP service name
- title string
- The encryption key title
- content str
- The PGP public key content
- created_
at str - The encryption key creation date
- encryption_
key_ strid - The encryption key ID
- fingerprint str
- The PGP key fingerprint
- is_
editable bool - Indicates if the key is editable
- service_
name str - The LDP service name
- title str
- The encryption key title
- content String
- The PGP public key content
- created
At String - The encryption key creation date
- encryption
Key StringId - The encryption key ID
- fingerprint String
- The PGP key fingerprint
- is
Editable Boolean - Indicates if the key is editable
- service
Name String - The LDP service name
- title String
- The encryption key title
Import
OVHcloud DBaaS Logs Encryption Key can be imported using the service_name and encryption_key_id of the key, separated by “/” E.g.,
bash
$ pulumi import ovh:index/dbaasLogsEncryptionKey:DbaasLogsEncryptionKey key ldp-ra-XX/dc145bc2-eb01-4efe-a802-XXXXXX
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Monday, Jun 15, 2026 by OVHcloud