1. Packages
  2. Volcengine
  3. API Docs
  4. waf
  5. getServiceCertificates
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.waf.getServiceCertificates

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of waf service certificates

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.waf.getServiceCertificates({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.waf.get_service_certificates()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/waf"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := waf.GetServiceCertificates(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Waf.GetServiceCertificates.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.waf.WafFunctions;
    import com.pulumi.volcengine.waf.inputs.GetServiceCertificatesArgs;
    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 foo = WafFunctions.getServiceCertificates();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:waf:getServiceCertificates
          Arguments: {}
    

    Using getServiceCertificates

    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 getServiceCertificates(args: GetServiceCertificatesArgs, opts?: InvokeOptions): Promise<GetServiceCertificatesResult>
    function getServiceCertificatesOutput(args: GetServiceCertificatesOutputArgs, opts?: InvokeOptions): Output<GetServiceCertificatesResult>
    def get_service_certificates(name_regex: Optional[str] = None,
                                 output_file: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetServiceCertificatesResult
    def get_service_certificates_output(name_regex: Optional[pulumi.Input[str]] = None,
                                 output_file: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetServiceCertificatesResult]
    func GetServiceCertificates(ctx *Context, args *GetServiceCertificatesArgs, opts ...InvokeOption) (*GetServiceCertificatesResult, error)
    func GetServiceCertificatesOutput(ctx *Context, args *GetServiceCertificatesOutputArgs, opts ...InvokeOption) GetServiceCertificatesResultOutput

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

    public static class GetServiceCertificates 
    {
        public static Task<GetServiceCertificatesResult> InvokeAsync(GetServiceCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceCertificatesResult> Invoke(GetServiceCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceCertificatesResult> getServiceCertificates(GetServiceCertificatesArgs args, InvokeOptions options)
    public static Output<GetServiceCertificatesResult> getServiceCertificates(GetServiceCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:waf/getServiceCertificates:getServiceCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.

    getServiceCertificates Result

    The following output properties are available:

    Datas List<GetServiceCertificatesData>
    The Information of the certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    Datas []GetServiceCertificatesData
    The Information of the certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    datas List<GetServiceCertificatesData>
    The Information of the certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    nameRegex String
    outputFile String
    datas GetServiceCertificatesData[]
    The Information of the certificate.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    nameRegex string
    outputFile string
    datas Sequence[GetServiceCertificatesData]
    The Information of the certificate.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    name_regex str
    output_file str
    datas List<Property Map>
    The Information of the certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    nameRegex String
    outputFile String

    Supporting Types

    GetServiceCertificatesData

    ApplicableDomains string
    Associate the domain name of this certificate.
    Description string
    The description of the certificate.
    ExpireTime string
    The expiration time of the certificate.
    Id int
    The ID of the certificate.
    InsertTime string
    The time when the certificate was added.
    Name string
    The name of the certificate.
    ApplicableDomains string
    Associate the domain name of this certificate.
    Description string
    The description of the certificate.
    ExpireTime string
    The expiration time of the certificate.
    Id int
    The ID of the certificate.
    InsertTime string
    The time when the certificate was added.
    Name string
    The name of the certificate.
    applicableDomains String
    Associate the domain name of this certificate.
    description String
    The description of the certificate.
    expireTime String
    The expiration time of the certificate.
    id Integer
    The ID of the certificate.
    insertTime String
    The time when the certificate was added.
    name String
    The name of the certificate.
    applicableDomains string
    Associate the domain name of this certificate.
    description string
    The description of the certificate.
    expireTime string
    The expiration time of the certificate.
    id number
    The ID of the certificate.
    insertTime string
    The time when the certificate was added.
    name string
    The name of the certificate.
    applicable_domains str
    Associate the domain name of this certificate.
    description str
    The description of the certificate.
    expire_time str
    The expiration time of the certificate.
    id int
    The ID of the certificate.
    insert_time str
    The time when the certificate was added.
    name str
    The name of the certificate.
    applicableDomains String
    Associate the domain name of this certificate.
    description String
    The description of the certificate.
    expireTime String
    The expiration time of the certificate.
    id Number
    The ID of the certificate.
    insertTime String
    The time when the certificate was added.
    name String
    The name of the certificate.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine