1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getCdnLogsUploaderConfigs
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 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 exampleCdnLogsUploaderConfigs = gcore.getCdnLogsUploaderConfigs({
        resourceIds: [0],
        search: "search",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cdn_logs_uploader_configs = gcore.get_cdn_logs_uploader_configs(resource_ids=[0],
        search="search")
    
    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.GetCdnLogsUploaderConfigs(ctx, &gcore.GetCdnLogsUploaderConfigsArgs{
    			ResourceIds: []float64{
    				0,
    			},
    			Search: pulumi.StringRef("search"),
    		}, 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 exampleCdnLogsUploaderConfigs = Gcore.GetCdnLogsUploaderConfigs.Invoke(new()
        {
            ResourceIds = new[]
            {
                0,
            },
            Search = "search",
        });
    
    });
    
    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.GetCdnLogsUploaderConfigsArgs;
    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 exampleCdnLogsUploaderConfigs = GcoreFunctions.getCdnLogsUploaderConfigs(GetCdnLogsUploaderConfigsArgs.builder()
                .resourceIds(0)
                .search("search")
                .build());
    
        }
    }
    
    variables:
      exampleCdnLogsUploaderConfigs:
        fn::invoke:
          function: gcore:getCdnLogsUploaderConfigs
          arguments:
            resourceIds:
              - 0
            search: search
    
    Example coming soon!
    

    Using getCdnLogsUploaderConfigs

    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 getCdnLogsUploaderConfigs(args: GetCdnLogsUploaderConfigsArgs, opts?: InvokeOptions): Promise<GetCdnLogsUploaderConfigsResult>
    function getCdnLogsUploaderConfigsOutput(args: GetCdnLogsUploaderConfigsOutputArgs, opts?: InvokeOptions): Output<GetCdnLogsUploaderConfigsResult>
    def get_cdn_logs_uploader_configs(max_items: Optional[float] = None,
                                      resource_ids: Optional[Sequence[float]] = None,
                                      search: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetCdnLogsUploaderConfigsResult
    def get_cdn_logs_uploader_configs_output(max_items: pulumi.Input[Optional[float]] = None,
                                      resource_ids: pulumi.Input[Optional[Sequence[pulumi.Input[float]]]] = None,
                                      search: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetCdnLogsUploaderConfigsResult]
    func GetCdnLogsUploaderConfigs(ctx *Context, args *GetCdnLogsUploaderConfigsArgs, opts ...InvokeOption) (*GetCdnLogsUploaderConfigsResult, error)
    func GetCdnLogsUploaderConfigsOutput(ctx *Context, args *GetCdnLogsUploaderConfigsOutputArgs, opts ...InvokeOption) GetCdnLogsUploaderConfigsResultOutput

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

    public static class GetCdnLogsUploaderConfigs 
    {
        public static Task<GetCdnLogsUploaderConfigsResult> InvokeAsync(GetCdnLogsUploaderConfigsArgs args, InvokeOptions? opts = null)
        public static Output<GetCdnLogsUploaderConfigsResult> Invoke(GetCdnLogsUploaderConfigsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdnLogsUploaderConfigsResult> getCdnLogsUploaderConfigs(GetCdnLogsUploaderConfigsArgs args, InvokeOptions options)
    public static Output<GetCdnLogsUploaderConfigsResult> getCdnLogsUploaderConfigs(GetCdnLogsUploaderConfigsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCdnLogsUploaderConfigs:getCdnLogsUploaderConfigs
      arguments:
        # arguments dictionary
    data "gcore_get_cdn_logs_uploader_configs" "name" {
        # arguments
    }

    The following arguments are supported:

    MaxItems double
    Max items to fetch, default: 1000
    ResourceIds List<double>
    Filter by ids of CDN resources that are assigned to given config.
    Search string
    Search by config name or id.
    MaxItems float64
    Max items to fetch, default: 1000
    ResourceIds []float64
    Filter by ids of CDN resources that are assigned to given config.
    Search string
    Search by config name or id.
    max_items number
    Max items to fetch, default: 1000
    resource_ids list(number)
    Filter by ids of CDN resources that are assigned to given config.
    search string
    Search by config name or id.
    maxItems Double
    Max items to fetch, default: 1000
    resourceIds List<Double>
    Filter by ids of CDN resources that are assigned to given config.
    search String
    Search by config name or id.
    maxItems number
    Max items to fetch, default: 1000
    resourceIds number[]
    Filter by ids of CDN resources that are assigned to given config.
    search string
    Search by config name or id.
    max_items float
    Max items to fetch, default: 1000
    resource_ids Sequence[float]
    Filter by ids of CDN resources that are assigned to given config.
    search str
    Search by config name or id.
    maxItems Number
    Max items to fetch, default: 1000
    resourceIds List<Number>
    Filter by ids of CDN resources that are assigned to given config.
    search String
    Search by config name or id.

    getCdnLogsUploaderConfigs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetCdnLogsUploaderConfigsItem>
    The items returned by the data source
    MaxItems double
    Max items to fetch, default: 1000
    ResourceIds List<double>
    Filter by ids of CDN resources that are assigned to given config.
    Search string
    Search by config name or id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetCdnLogsUploaderConfigsItem
    The items returned by the data source
    MaxItems float64
    Max items to fetch, default: 1000
    ResourceIds []float64
    Filter by ids of CDN resources that are assigned to given config.
    Search string
    Search by config name or id.
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    The items returned by the data source
    max_items number
    Max items to fetch, default: 1000
    resource_ids list(number)
    Filter by ids of CDN resources that are assigned to given config.
    search string
    Search by config name or id.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetCdnLogsUploaderConfigsItem>
    The items returned by the data source
    maxItems Double
    Max items to fetch, default: 1000
    resourceIds List<Double>
    Filter by ids of CDN resources that are assigned to given config.
    search String
    Search by config name or id.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetCdnLogsUploaderConfigsItem[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    resourceIds number[]
    Filter by ids of CDN resources that are assigned to given config.
    search string
    Search by config name or id.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetCdnLogsUploaderConfigsItem]
    The items returned by the data source
    max_items float
    Max items to fetch, default: 1000
    resource_ids Sequence[float]
    Filter by ids of CDN resources that are assigned to given config.
    search str
    Search by config name or id.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000
    resourceIds List<Number>
    Filter by ids of CDN resources that are assigned to given config.
    search String
    Search by config name or id.

    Supporting Types

    GetCdnLogsUploaderConfigsItem

    ClientId double
    Client that owns the config.
    Created string
    Time when the config was created.
    Enabled bool
    Enables or disables the config.
    ForAllResources bool
    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 resources field.
    Id double
    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.
    ClientId float64
    Client that owns the config.
    Created string
    Time when the config was created.
    Enabled bool
    Enables or disables the config.
    ForAllResources bool
    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 resources field.
    Id float64
    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_resources bool
    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 resources field.
    id number
    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.
    clientId Double
    Client that owns the config.
    created String
    Time when the config was created.
    enabled Boolean
    Enables or disables the config.
    forAllResources Boolean
    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 resources field.
    id Double
    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.
    clientId number
    Client that owns the config.
    created string
    Time when the config was created.
    enabled boolean
    Enables or disables the config.
    forAllResources boolean
    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 resources field.
    id number
    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_resources bool
    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 resources field.
    id float
    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.
    clientId Number
    Client that owns the config.
    created String
    Time when the config was created.
    enabled Boolean
    Enables or disables the config.
    forAllResources Boolean
    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 resources field.
    id Number
    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 gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.15
    published on Thursday, Aug 6, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial