1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getCdnClientConfig
Viewing docs for gcore 2.0.0-alpha.11
published on Wednesday, Jul 1, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.11
published on Wednesday, Jul 1, 2026 by g-core

    Information about the current state of the CDN service in your account.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleCdnClientConfig = gcore.getCdnClientConfig({});
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cdn_client_config = gcore.get_cdn_client_config()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.GetCdnClientConfig(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCdnClientConfig = Gcore.GetCdnClientConfig.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    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 exampleCdnClientConfig = GcoreFunctions.getCdnClientConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      exampleCdnClientConfig:
        fn::invoke:
          function: gcore:getCdnClientConfig
          arguments: {}
    
    Example coming soon!
    

    Using getCdnClientConfig

    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 getCdnClientConfig(opts?: InvokeOptions): Promise<GetCdnClientConfigResult>
    function getCdnClientConfigOutput(opts?: InvokeOptions): Output<GetCdnClientConfigResult>
    def get_cdn_client_config(opts: Optional[InvokeOptions] = None) -> GetCdnClientConfigResult
    def get_cdn_client_config_output(opts: Optional[InvokeOptions] = None) -> Output[GetCdnClientConfigResult]
    func GetCdnClientConfig(ctx *Context, opts ...InvokeOption) (*GetCdnClientConfigResult, error)
    func GetCdnClientConfigOutput(ctx *Context, opts ...InvokeOption) GetCdnClientConfigResultOutput

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

    public static class GetCdnClientConfig 
    {
        public static Task<GetCdnClientConfigResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetCdnClientConfigResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdnClientConfigResult> getCdnClientConfig(InvokeOptions options)
    public static Output<GetCdnClientConfigResult> getCdnClientConfig(InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCdnClientConfig:getCdnClientConfig
      arguments:
        # arguments dictionary
    data "gcore_getcdnclientconfig" "name" {
        # arguments
    }

    getCdnClientConfig Result

    The following output properties are available:

    AutoSuspendEnabled bool
    Defines whether resources will be deactivated automatically by inactivity.
    CdnResourcesRulesMaxCount double
    Cname string
    Created string
    Id double
    Service GetCdnClientConfigService
    Updated string
    UseBalancer bool
    UtilizationLevel double
    AutoSuspendEnabled bool
    Defines whether resources will be deactivated automatically by inactivity.
    CdnResourcesRulesMaxCount float64
    Cname string
    Created string
    Id float64
    Service GetCdnClientConfigService
    Updated string
    UseBalancer bool
    UtilizationLevel float64
    auto_suspend_enabled bool
    Defines whether resources will be deactivated automatically by inactivity.
    cdn_resources_rules_max_count number
    cname string
    created string
    id number
    service object
    updated string
    use_balancer bool
    utilization_level number
    autoSuspendEnabled Boolean
    Defines whether resources will be deactivated automatically by inactivity.
    cdnResourcesRulesMaxCount Double
    cname String
    created String
    id Double
    service GetCdnClientConfigService
    updated String
    useBalancer Boolean
    utilizationLevel Double
    autoSuspendEnabled boolean
    Defines whether resources will be deactivated automatically by inactivity.
    cdnResourcesRulesMaxCount number
    cname string
    created string
    id number
    service GetCdnClientConfigService
    updated string
    useBalancer boolean
    utilizationLevel number
    auto_suspend_enabled bool
    Defines whether resources will be deactivated automatically by inactivity.
    cdn_resources_rules_max_count float
    cname str
    created str
    id float
    service GetCdnClientConfigService
    updated str
    use_balancer bool
    utilization_level float
    autoSuspendEnabled Boolean
    Defines whether resources will be deactivated automatically by inactivity.
    cdnResourcesRulesMaxCount Number
    cname String
    created String
    id Number
    service Property Map
    updated String
    useBalancer Boolean
    utilizationLevel Number

    Supporting Types

    GetCdnClientConfigService

    Enabled bool
    Defines whether the CDN service is activated.
    Status string

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    Updated string
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    Enabled bool
    Defines whether the CDN service is activated.
    Status string

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    Updated string
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    enabled bool
    Defines whether the CDN service is activated.
    status string

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    updated string
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    enabled Boolean
    Defines whether the CDN service is activated.
    status String

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    updated String
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    enabled boolean
    Defines whether the CDN service is activated.
    status string

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    updated string
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    enabled bool
    Defines whether the CDN service is activated.
    status str

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    updated str
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
    enabled Boolean
    Defines whether the CDN service is activated.
    status String

    CDN service status.

    Possible values:

    • new - CDN service is not activated.
    • trial - Free trial is in progress.
    • trialend - Free trial has ended and CDN service is stopped. All CDN resources are suspended.
    • activating - CDN service is being activated. It can take up to 15 minutes.
    • active - CDN service is active.
    • paused - CDN service is stopped. All CDN resources are suspended.
    • deleted - CDN service is stopped. All CDN resources are deleted.
    updated String
    Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.11
    published on Wednesday, Jul 1, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial