Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
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
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 dictionarydata "gcore_get_cdn_logs_uploader_configs" "name" {
# arguments
}The following arguments are supported:
- Max
Items double - Max items to fetch, default: 1000
- Resource
Ids List<double> - Filter by ids of CDN resources that are assigned to given config.
- Search string
- Search by config name or id.
- Max
Items float64 - Max items to fetch, default: 1000
- Resource
Ids []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.
- max
Items Double - Max items to fetch, default: 1000
- resource
Ids List<Double> - 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 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.
- 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.
getCdnLogsUploaderConfigs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cdn Logs Uploader Configs Item> - The items returned by the data source
- Max
Items double - Max items to fetch, default: 1000
- Resource
Ids 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
[]Get
Cdn Logs Uploader Configs Item - The items returned by the data source
- Max
Items float64 - Max items to fetch, default: 1000
- Resource
Ids []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<Get
Cdn Logs Uploader Configs Item> - The items returned by the data source
- max
Items Double - Max items to fetch, default: 1000
- resource
Ids 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
Get
Cdn Logs Uploader Configs Item[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- resource
Ids 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[Get
Cdn Logs Uploader Configs Item] - 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
- 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.
Supporting Types
GetCdnLogsUploaderConfigsItem
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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.15
published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core