Viewing docs for gcore 2.0.0-alpha.11
published on Wednesday, Jul 1, 2026 by g-core
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
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 dictionarydata "gcore_getcdnclientconfig" "name" {
# arguments
}getCdnClientConfig Result
The following output properties are available:
- Auto
Suspend boolEnabled - Defines whether resources will be deactivated automatically by inactivity.
- Cdn
Resources doubleRules Max Count - Cname string
- Created string
- Id double
- Service
Get
Cdn Client Config Service - Updated string
- Use
Balancer bool - Utilization
Level double
- Auto
Suspend boolEnabled - Defines whether resources will be deactivated automatically by inactivity.
- Cdn
Resources float64Rules Max Count - Cname string
- Created string
- Id float64
- Service
Get
Cdn Client Config Service - Updated string
- Use
Balancer bool - Utilization
Level float64
- auto_
suspend_ boolenabled - Defines whether resources will be deactivated automatically by inactivity.
- cdn_
resources_ numberrules_ max_ count - cname string
- created string
- id number
- service object
- updated string
- use_
balancer bool - utilization_
level number
- auto
Suspend BooleanEnabled - Defines whether resources will be deactivated automatically by inactivity.
- cdn
Resources DoubleRules Max Count - cname String
- created String
- id Double
- service
Get
Cdn Client Config Service - updated String
- use
Balancer Boolean - utilization
Level Double
- auto
Suspend booleanEnabled - Defines whether resources will be deactivated automatically by inactivity.
- cdn
Resources numberRules Max Count - cname string
- created string
- id number
- service
Get
Cdn Client Config Service - updated string
- use
Balancer boolean - utilization
Level number
- auto_
suspend_ boolenabled - Defines whether resources will be deactivated automatically by inactivity.
- cdn_
resources_ floatrules_ max_ count - cname str
- created str
- id float
- service
Get
Cdn Client Config Service - updated str
- use_
balancer bool - utilization_
level float
- auto
Suspend BooleanEnabled - Defines whether resources will be deactivated automatically by inactivity.
- cdn
Resources NumberRules Max Count - cname String
- created String
- id Number
- service Property Map
- updated String
- use
Balancer Boolean - utilization
Level 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
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.11
published on Wednesday, Jul 1, 2026 by g-core
published on Wednesday, Jul 1, 2026 by g-core