1. Packages
  2. Packages
  3. Outscale Provider
  4. API Docs
  5. ServerCertificate
Viewing docs for outscale 1.6.0-rc.4
published on Wednesday, Apr 29, 2026 by outscale
Viewing docs for outscale 1.6.0-rc.4
published on Wednesday, Apr 29, 2026 by outscale

    Manages a server certificate.

    For more information on this resource, see the User Guide.
    For more information on this resource actions, see the API documentation.

    Create ServerCertificate Resource

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

    Constructor syntax

    new ServerCertificate(name: string, args: ServerCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def ServerCertificate(resource_name: str,
                          args: ServerCertificateArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerCertificate(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          body: Optional[str] = None,
                          private_key: Optional[str] = None,
                          chain: Optional[str] = None,
                          name: Optional[str] = None,
                          path: Optional[str] = None,
                          timeouts: Optional[ServerCertificateTimeoutsArgs] = None)
    func NewServerCertificate(ctx *Context, name string, args ServerCertificateArgs, opts ...ResourceOption) (*ServerCertificate, error)
    public ServerCertificate(string name, ServerCertificateArgs args, CustomResourceOptions? opts = null)
    public ServerCertificate(String name, ServerCertificateArgs args)
    public ServerCertificate(String name, ServerCertificateArgs args, CustomResourceOptions options)
    
    type: outscale:ServerCertificate
    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 ServerCertificateArgs
    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 ServerCertificateArgs
    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 ServerCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerCertificateArgs
    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 serverCertificateResource = new Outscale.ServerCertificate("serverCertificateResource", new()
    {
        Body = "string",
        PrivateKey = "string",
        Chain = "string",
        Name = "string",
        Path = "string",
        Timeouts = new Outscale.Inputs.ServerCertificateTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := outscale.NewServerCertificate(ctx, "serverCertificateResource", &outscale.ServerCertificateArgs{
    	Body:       pulumi.String("string"),
    	PrivateKey: pulumi.String("string"),
    	Chain:      pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Path:       pulumi.String("string"),
    	Timeouts: &outscale.ServerCertificateTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var serverCertificateResource = new ServerCertificate("serverCertificateResource", ServerCertificateArgs.builder()
        .body("string")
        .privateKey("string")
        .chain("string")
        .name("string")
        .path("string")
        .timeouts(ServerCertificateTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    server_certificate_resource = outscale.ServerCertificate("serverCertificateResource",
        body="string",
        private_key="string",
        chain="string",
        name="string",
        path="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const serverCertificateResource = new outscale.ServerCertificate("serverCertificateResource", {
        body: "string",
        privateKey: "string",
        chain: "string",
        name: "string",
        path: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: outscale:ServerCertificate
    properties:
        body: string
        chain: string
        name: string
        path: string
        privateKey: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

    ServerCertificate 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 ServerCertificate resource accepts the following input properties:

    Body string
    The PEM-encoded X509 certificate.
    PrivateKey string
    The PEM-encoded private key matching the certificate.
    Chain string
    The PEM-encoded intermediate certification authorities.
    Name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    Path string
    The path to the server certificate, set to a slash (/) if not specified.
    Timeouts ServerCertificateTimeouts
    Body string
    The PEM-encoded X509 certificate.
    PrivateKey string
    The PEM-encoded private key matching the certificate.
    Chain string
    The PEM-encoded intermediate certification authorities.
    Name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    Path string
    The path to the server certificate, set to a slash (/) if not specified.
    Timeouts ServerCertificateTimeoutsArgs
    body String
    The PEM-encoded X509 certificate.
    privateKey String
    The PEM-encoded private key matching the certificate.
    chain String
    The PEM-encoded intermediate certification authorities.
    name String
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    path String
    The path to the server certificate, set to a slash (/) if not specified.
    timeouts ServerCertificateTimeouts
    body string
    The PEM-encoded X509 certificate.
    privateKey string
    The PEM-encoded private key matching the certificate.
    chain string
    The PEM-encoded intermediate certification authorities.
    name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    path string
    The path to the server certificate, set to a slash (/) if not specified.
    timeouts ServerCertificateTimeouts
    body str
    The PEM-encoded X509 certificate.
    private_key str
    The PEM-encoded private key matching the certificate.
    chain str
    The PEM-encoded intermediate certification authorities.
    name str
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    path str
    The path to the server certificate, set to a slash (/) if not specified.
    timeouts ServerCertificateTimeoutsArgs
    body String
    The PEM-encoded X509 certificate.
    privateKey String
    The PEM-encoded private key matching the certificate.
    chain String
    The PEM-encoded intermediate certification authorities.
    name String
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    path String
    The path to the server certificate, set to a slash (/) if not specified.
    timeouts Property Map

    Outputs

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

    ExpirationDate string
    The date and time (UTC) on which the server certificate expires.
    Id string
    The provider-assigned unique ID for this managed resource.
    Orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    RequestId string
    UploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    ExpirationDate string
    The date and time (UTC) on which the server certificate expires.
    Id string
    The provider-assigned unique ID for this managed resource.
    Orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    RequestId string
    UploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    expirationDate String
    The date and time (UTC) on which the server certificate expires.
    id String
    The provider-assigned unique ID for this managed resource.
    orn String
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    requestId String
    uploadDate String
    The date and time (UTC) on which the server certificate has been uploaded.
    expirationDate string
    The date and time (UTC) on which the server certificate expires.
    id string
    The provider-assigned unique ID for this managed resource.
    orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    requestId string
    uploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    expiration_date str
    The date and time (UTC) on which the server certificate expires.
    id str
    The provider-assigned unique ID for this managed resource.
    orn str
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    request_id str
    upload_date str
    The date and time (UTC) on which the server certificate has been uploaded.
    expirationDate String
    The date and time (UTC) on which the server certificate expires.
    id String
    The provider-assigned unique ID for this managed resource.
    orn String
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    requestId String
    uploadDate String
    The date and time (UTC) on which the server certificate has been uploaded.

    Look up Existing ServerCertificate Resource

    Get an existing ServerCertificate 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?: ServerCertificateState, opts?: CustomResourceOptions): ServerCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            body: Optional[str] = None,
            chain: Optional[str] = None,
            expiration_date: Optional[str] = None,
            name: Optional[str] = None,
            orn: Optional[str] = None,
            path: Optional[str] = None,
            private_key: Optional[str] = None,
            request_id: Optional[str] = None,
            timeouts: Optional[ServerCertificateTimeoutsArgs] = None,
            upload_date: Optional[str] = None) -> ServerCertificate
    func GetServerCertificate(ctx *Context, name string, id IDInput, state *ServerCertificateState, opts ...ResourceOption) (*ServerCertificate, error)
    public static ServerCertificate Get(string name, Input<string> id, ServerCertificateState? state, CustomResourceOptions? opts = null)
    public static ServerCertificate get(String name, Output<String> id, ServerCertificateState state, CustomResourceOptions options)
    resources:  _:    type: outscale:ServerCertificate    get:      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.
    The following state arguments are supported:
    Body string
    The PEM-encoded X509 certificate.
    Chain string
    The PEM-encoded intermediate certification authorities.
    ExpirationDate string
    The date and time (UTC) on which the server certificate expires.
    Name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    Orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    Path string
    The path to the server certificate, set to a slash (/) if not specified.
    PrivateKey string
    The PEM-encoded private key matching the certificate.
    RequestId string
    Timeouts ServerCertificateTimeouts
    UploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    Body string
    The PEM-encoded X509 certificate.
    Chain string
    The PEM-encoded intermediate certification authorities.
    ExpirationDate string
    The date and time (UTC) on which the server certificate expires.
    Name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    Orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    Path string
    The path to the server certificate, set to a slash (/) if not specified.
    PrivateKey string
    The PEM-encoded private key matching the certificate.
    RequestId string
    Timeouts ServerCertificateTimeoutsArgs
    UploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    body String
    The PEM-encoded X509 certificate.
    chain String
    The PEM-encoded intermediate certification authorities.
    expirationDate String
    The date and time (UTC) on which the server certificate expires.
    name String
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    orn String
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    path String
    The path to the server certificate, set to a slash (/) if not specified.
    privateKey String
    The PEM-encoded private key matching the certificate.
    requestId String
    timeouts ServerCertificateTimeouts
    uploadDate String
    The date and time (UTC) on which the server certificate has been uploaded.
    body string
    The PEM-encoded X509 certificate.
    chain string
    The PEM-encoded intermediate certification authorities.
    expirationDate string
    The date and time (UTC) on which the server certificate expires.
    name string
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    orn string
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    path string
    The path to the server certificate, set to a slash (/) if not specified.
    privateKey string
    The PEM-encoded private key matching the certificate.
    requestId string
    timeouts ServerCertificateTimeouts
    uploadDate string
    The date and time (UTC) on which the server certificate has been uploaded.
    body str
    The PEM-encoded X509 certificate.
    chain str
    The PEM-encoded intermediate certification authorities.
    expiration_date str
    The date and time (UTC) on which the server certificate expires.
    name str
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    orn str
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    path str
    The path to the server certificate, set to a slash (/) if not specified.
    private_key str
    The PEM-encoded private key matching the certificate.
    request_id str
    timeouts ServerCertificateTimeoutsArgs
    upload_date str
    The date and time (UTC) on which the server certificate has been uploaded.
    body String
    The PEM-encoded X509 certificate.
    chain String
    The PEM-encoded intermediate certification authorities.
    expirationDate String
    The date and time (UTC) on which the server certificate expires.
    name String
    A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).
    orn String
    The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
    path String
    The path to the server certificate, set to a slash (/) if not specified.
    privateKey String
    The PEM-encoded private key matching the certificate.
    requestId String
    timeouts Property Map
    uploadDate String
    The date and time (UTC) on which the server certificate has been uploaded.

    Supporting Types

    ServerCertificateTimeouts, ServerCertificateTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    A server certificate can be imported using its ID. For example:

    console

    $ pulumi import outscale:index/serverCertificate:ServerCertificate ImportedServerCertificate 0123456789
    

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

    Package Details

    Repository
    outscale outscale/terraform-provider-outscale
    License
    Notes
    This Pulumi package is based on the outscale Terraform Provider.
    Viewing docs for outscale 1.6.0-rc.4
    published on Wednesday, Apr 29, 2026 by outscale
      Try Pulumi Cloud free. Your team will thank you.