1. Packages
  2. Outscale Provider
  3. API Docs
  4. getCa
outscale 1.3.0-alpha.1 published on Tuesday, Sep 30, 2025 by outscale

outscale.getCa

Get Started
outscale logo
outscale 1.3.0-alpha.1 published on Tuesday, Sep 30, 2025 by outscale

    Provides information about a Certificate Authority (CA).

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as outscale from "@pulumi/outscale";
    
    const ca01 = outscale.getCa({
        filters: [{
            name: "ca_ids",
            values: ["ca-12345678"],
        }],
    });
    
    import pulumi
    import pulumi_outscale as outscale
    
    ca01 = outscale.get_ca(filters=[{
        "name": "ca_ids",
        "values": ["ca-12345678"],
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := outscale.LookupCa(ctx, &outscale.LookupCaArgs{
    			Filters: []outscale.GetCaFilter{
    				{
    					Name: "ca_ids",
    					Values: []string{
    						"ca-12345678",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Outscale = Pulumi.Outscale;
    
    return await Deployment.RunAsync(() => 
    {
        var ca01 = Outscale.GetCa.Invoke(new()
        {
            Filters = new[]
            {
                new Outscale.Inputs.GetCaFilterInputArgs
                {
                    Name = "ca_ids",
                    Values = new[]
                    {
                        "ca-12345678",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.outscale.OutscaleFunctions;
    import com.pulumi.outscale.inputs.GetCaArgs;
    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) {
            final var ca01 = OutscaleFunctions.getCa(GetCaArgs.builder()
                .filters(GetCaFilterArgs.builder()
                    .name("ca_ids")
                    .values("ca-12345678")
                    .build())
                .build());
    
        }
    }
    
    variables:
      ca01:
        fn::invoke:
          function: outscale:getCa
          arguments:
            filters:
              - name: ca_ids
                values:
                  - ca-12345678
    

    Using getCa

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCa(args: GetCaArgs, opts?: InvokeOptions): Promise<GetCaResult>
    function getCaOutput(args: GetCaOutputArgs, opts?: InvokeOptions): Output<GetCaResult>
    def get_ca(filters: Optional[Sequence[GetCaFilter]] = None,
               id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetCaResult
    def get_ca_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCaFilterArgs]]]] = None,
               id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetCaResult]
    func LookupCa(ctx *Context, args *LookupCaArgs, opts ...InvokeOption) (*LookupCaResult, error)
    func LookupCaOutput(ctx *Context, args *LookupCaOutputArgs, opts ...InvokeOption) LookupCaResultOutput

    > Note: This function is named LookupCa in the Go SDK.

    public static class GetCa 
    {
        public static Task<GetCaResult> InvokeAsync(GetCaArgs args, InvokeOptions? opts = null)
        public static Output<GetCaResult> Invoke(GetCaInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCaResult> getCa(GetCaArgs args, InvokeOptions options)
    public static Output<GetCaResult> getCa(GetCaArgs args, InvokeOptions options)
    
    fn::invoke:
      function: outscale:index/getCa:getCa
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetCaFilter>
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    Id string
    Filters []GetCaFilter
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    Id string
    filters List<GetCaFilter>
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    id String
    filters GetCaFilter[]
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    id string
    filters Sequence[GetCaFilter]
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    id str
    filters List<Property Map>
    A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
    id String

    getCa Result

    The following output properties are available:

    CaFingerprint string
    The fingerprint of the CA.
    CaId string
    The ID of the CA.
    CaPem string
    Description string
    The description of the CA.
    Id string
    RequestId string
    Filters List<GetCaFilter>
    CaFingerprint string
    The fingerprint of the CA.
    CaId string
    The ID of the CA.
    CaPem string
    Description string
    The description of the CA.
    Id string
    RequestId string
    Filters []GetCaFilter
    caFingerprint String
    The fingerprint of the CA.
    caId String
    The ID of the CA.
    caPem String
    description String
    The description of the CA.
    id String
    requestId String
    filters List<GetCaFilter>
    caFingerprint string
    The fingerprint of the CA.
    caId string
    The ID of the CA.
    caPem string
    description string
    The description of the CA.
    id string
    requestId string
    filters GetCaFilter[]
    ca_fingerprint str
    The fingerprint of the CA.
    ca_id str
    The ID of the CA.
    ca_pem str
    description str
    The description of the CA.
    id str
    request_id str
    filters Sequence[GetCaFilter]
    caFingerprint String
    The fingerprint of the CA.
    caId String
    The ID of the CA.
    caPem String
    description String
    The description of the CA.
    id String
    requestId String
    filters List<Property Map>

    Supporting Types

    GetCaFilter

    Name string
    Values List<string>
    Name string
    Values []string
    name String
    values List<String>
    name string
    values string[]
    name str
    values Sequence[str]
    name String
    values List<String>

    Package Details

    Repository
    outscale outscale/terraform-provider-outscale
    License
    Notes
    This Pulumi package is based on the outscale Terraform Provider.
    outscale logo
    outscale 1.3.0-alpha.1 published on Tuesday, Sep 30, 2025 by outscale
      Meet Neo: Your AI Platform Teammate