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
Logs uploader configs tie a logs uploader policy to one or more targets and a set of CDN resources, controlling which access logs are uploaded and where they are delivered.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCdnLogsUploaderConfig = gcore.getCdnLogsUploaderConfig({
id: 0,
});
import pulumi
import pulumi_gcore as gcore
example_cdn_logs_uploader_config = gcore.get_cdn_logs_uploader_config(id=0)
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.LookupCdnLogsUploaderConfig(ctx, &gcore.LookupCdnLogsUploaderConfigArgs{
Id: 0,
}, 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 exampleCdnLogsUploaderConfig = Gcore.GetCdnLogsUploaderConfig.Invoke(new()
{
Id = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCdnLogsUploaderConfigArgs;
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 exampleCdnLogsUploaderConfig = GcoreFunctions.getCdnLogsUploaderConfig(GetCdnLogsUploaderConfigArgs.builder()
.id(0)
.build());
}
}
variables:
exampleCdnLogsUploaderConfig:
fn::invoke:
function: gcore:getCdnLogsUploaderConfig
arguments:
id: 0
Example coming soon!
Using getCdnLogsUploaderConfig
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 getCdnLogsUploaderConfig(args: GetCdnLogsUploaderConfigArgs, opts?: InvokeOptions): Promise<GetCdnLogsUploaderConfigResult>
function getCdnLogsUploaderConfigOutput(args: GetCdnLogsUploaderConfigOutputArgs, opts?: InvokeOptions): Output<GetCdnLogsUploaderConfigResult>def get_cdn_logs_uploader_config(id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnLogsUploaderConfigResult
def get_cdn_logs_uploader_config_output(id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnLogsUploaderConfigResult]func LookupCdnLogsUploaderConfig(ctx *Context, args *LookupCdnLogsUploaderConfigArgs, opts ...InvokeOption) (*LookupCdnLogsUploaderConfigResult, error)
func LookupCdnLogsUploaderConfigOutput(ctx *Context, args *LookupCdnLogsUploaderConfigOutputArgs, opts ...InvokeOption) LookupCdnLogsUploaderConfigResultOutput> Note: This function is named LookupCdnLogsUploaderConfig in the Go SDK.
public static class GetCdnLogsUploaderConfig
{
public static Task<GetCdnLogsUploaderConfigResult> InvokeAsync(GetCdnLogsUploaderConfigArgs args, InvokeOptions? opts = null)
public static Output<GetCdnLogsUploaderConfigResult> Invoke(GetCdnLogsUploaderConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnLogsUploaderConfigResult> getCdnLogsUploaderConfig(GetCdnLogsUploaderConfigArgs args, InvokeOptions options)
public static Output<GetCdnLogsUploaderConfigResult> getCdnLogsUploaderConfig(GetCdnLogsUploaderConfigArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnLogsUploaderConfig:getCdnLogsUploaderConfig
arguments:
# arguments dictionarydata "gcore_getcdnlogsuploaderconfig" "name" {
# arguments
}The following arguments are supported:
- Id double
- The ID of this resource.
- Id float64
- The ID of this resource.
- id number
- The ID of this resource.
- id Double
- The ID of this resource.
- id number
- The ID of this resource.
- id float
- The ID of this resource.
- id Number
- The ID of this resource.
getCdnLogsUploaderConfig Result
The following output properties are available:
- Client
Id double - Client that owns the config.
- Created string
- Time when the config was created.
- Enabled bool
- Enables or disables the config.
- For
All boolResources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - Id double
- The ID of this resource.
- Name string
- Name of the config.
- Policy double
- ID of the policy that should be assigned to given config.
- Resources List<double>
- List of resource IDs to which the config should be applied.
- Status string
- Validation status of the logs uploader config.
- Target double
- ID of the target to which logs should be uploaded.
- Updated string
- Time when the config was updated.
- Client
Id float64 - Client that owns the config.
- Created string
- Time when the config was created.
- Enabled bool
- Enables or disables the config.
- For
All boolResources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - Id float64
- The ID of this resource.
- Name string
- Name of the config.
- Policy float64
- ID of the policy that should be assigned to given config.
- Resources []float64
- List of resource IDs to which the config should be applied.
- Status string
- Validation status of the logs uploader config.
- Target float64
- ID of the target to which logs should be uploaded.
- Updated string
- Time when the config was updated.
- client_
id number - Client that owns the config.
- created string
- Time when the config was created.
- enabled bool
- Enables or disables the config.
- for_
all_ boolresources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - id number
- The ID of this resource.
- name string
- Name of the config.
- policy number
- ID of the policy that should be assigned to given config.
- resources list(number)
- List of resource IDs to which the config should be applied.
- status string
- Validation status of the logs uploader config.
- target number
- ID of the target to which logs should be uploaded.
- updated string
- Time when the config was updated.
- client
Id Double - Client that owns the config.
- created String
- Time when the config was created.
- enabled Boolean
- Enables or disables the config.
- for
All BooleanResources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - id Double
- The ID of this resource.
- name String
- Name of the config.
- policy Double
- ID of the policy that should be assigned to given config.
- resources List<Double>
- List of resource IDs to which the config should be applied.
- status String
- Validation status of the logs uploader config.
- target Double
- ID of the target to which logs should be uploaded.
- updated String
- Time when the config was updated.
- client
Id number - Client that owns the config.
- created string
- Time when the config was created.
- enabled boolean
- Enables or disables the config.
- for
All booleanResources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - id number
- The ID of this resource.
- name string
- Name of the config.
- policy number
- ID of the policy that should be assigned to given config.
- resources number[]
- List of resource IDs to which the config should be applied.
- status string
- Validation status of the logs uploader config.
- target number
- ID of the target to which logs should be uploaded.
- updated string
- Time when the config was updated.
- client_
id float - Client that owns the config.
- created str
- Time when the config was created.
- enabled bool
- Enables or disables the config.
- for_
all_ boolresources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - id float
- The ID of this resource.
- name str
- Name of the config.
- policy float
- ID of the policy that should be assigned to given config.
- resources Sequence[float]
- List of resource IDs to which the config should be applied.
- status str
- Validation status of the logs uploader config.
- target float
- ID of the target to which logs should be uploaded.
- updated str
- Time when the config was updated.
- client
Id Number - Client that owns the config.
- created String
- Time when the config was created.
- enabled Boolean
- Enables or disables the config.
- for
All BooleanResources - If set to true, the config will be applied to all CDN resources.
If set to false, the config will be applied to the resources specified in the
resourcesfield. - id Number
- The ID of this resource.
- name String
- Name of the config.
- policy Number
- ID of the policy that should be assigned to given config.
- resources List<Number>
- List of resource IDs to which the config should be applied.
- status String
- Validation status of the logs uploader config.
- target Number
- ID of the target to which logs should be uploaded.
- updated String
- Time when the config was updated.
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