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 policies define how CDN logs are formatted and delivered, including field selection, field ordering, delimiters, delivery frequency, and file size limits.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCdnLogsUploaderPolicy = gcore.getCdnLogsUploaderPolicy({
id: 0,
});
import pulumi
import pulumi_gcore as gcore
example_cdn_logs_uploader_policy = gcore.get_cdn_logs_uploader_policy(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.LookupCdnLogsUploaderPolicy(ctx, &gcore.LookupCdnLogsUploaderPolicyArgs{
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 exampleCdnLogsUploaderPolicy = Gcore.GetCdnLogsUploaderPolicy.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.GetCdnLogsUploaderPolicyArgs;
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 exampleCdnLogsUploaderPolicy = GcoreFunctions.getCdnLogsUploaderPolicy(GetCdnLogsUploaderPolicyArgs.builder()
.id(0)
.build());
}
}
variables:
exampleCdnLogsUploaderPolicy:
fn::invoke:
function: gcore:getCdnLogsUploaderPolicy
arguments:
id: 0
Example coming soon!
Using getCdnLogsUploaderPolicy
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 getCdnLogsUploaderPolicy(args: GetCdnLogsUploaderPolicyArgs, opts?: InvokeOptions): Promise<GetCdnLogsUploaderPolicyResult>
function getCdnLogsUploaderPolicyOutput(args: GetCdnLogsUploaderPolicyOutputArgs, opts?: InvokeOptions): Output<GetCdnLogsUploaderPolicyResult>def get_cdn_logs_uploader_policy(id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnLogsUploaderPolicyResult
def get_cdn_logs_uploader_policy_output(id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnLogsUploaderPolicyResult]func LookupCdnLogsUploaderPolicy(ctx *Context, args *LookupCdnLogsUploaderPolicyArgs, opts ...InvokeOption) (*LookupCdnLogsUploaderPolicyResult, error)
func LookupCdnLogsUploaderPolicyOutput(ctx *Context, args *LookupCdnLogsUploaderPolicyOutputArgs, opts ...InvokeOption) LookupCdnLogsUploaderPolicyResultOutput> Note: This function is named LookupCdnLogsUploaderPolicy in the Go SDK.
public static class GetCdnLogsUploaderPolicy
{
public static Task<GetCdnLogsUploaderPolicyResult> InvokeAsync(GetCdnLogsUploaderPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetCdnLogsUploaderPolicyResult> Invoke(GetCdnLogsUploaderPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnLogsUploaderPolicyResult> getCdnLogsUploaderPolicy(GetCdnLogsUploaderPolicyArgs args, InvokeOptions options)
public static Output<GetCdnLogsUploaderPolicyResult> getCdnLogsUploaderPolicy(GetCdnLogsUploaderPolicyArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnLogsUploaderPolicy:getCdnLogsUploaderPolicy
arguments:
# arguments dictionarydata "gcore_getcdnlogsuploaderpolicy" "name" {
# arguments
}The following arguments are supported:
- Id double
- Id float64
- id number
- id Double
- id number
- id float
- id Number
getCdnLogsUploaderPolicy Result
The following output properties are available:
- Client
Id double - Client that owns the policy.
- Created string
- Time when logs uploader policy was created.
- Date
Format string - Date format for logs.
- Description string
- Description of the policy.
- Escape
Special boolCharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- Field
Delimiter string - Field
Separator string - Fields List<string>
- File
Name stringTemplate - Format
Type string - Id double
- Include
Empty boolLogs - Include
Shield boolLogs - Log
Sample doubleRate - Name string
- List<double>
- Retry
Interval doubleMinutes - Rotate
Interval doubleMinutes - Rotate
Threshold doubleLines - Rotate
Threshold doubleMb - Dictionary<string, string>
- Updated string
- Client
Id float64 - Client that owns the policy.
- Created string
- Time when logs uploader policy was created.
- Date
Format string - Date format for logs.
- Description string
- Description of the policy.
- Escape
Special boolCharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- Field
Delimiter string - Field
Separator string - Fields []string
- File
Name stringTemplate - Format
Type string - Id float64
- Include
Empty boolLogs - Include
Shield boolLogs - Log
Sample float64Rate - Name string
- []float64
- Retry
Interval float64Minutes - Rotate
Interval float64Minutes - Rotate
Threshold float64Lines - Rotate
Threshold float64Mb - map[string]string
- Updated string
- client_
id number - Client that owns the policy.
- created string
- Time when logs uploader policy was created.
- date_
format string - Date format for logs.
- description string
- Description of the policy.
- escape_
special_ boolcharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- field_
delimiter string - field_
separator string - fields list(string)
- file_
name_ stringtemplate - format_
type string - id number
- include_
empty_ boollogs - include_
shield_ boollogs - log_
sample_ numberrate - name string
- list(number)
- retry_
interval_ numberminutes - rotate_
interval_ numberminutes - rotate_
threshold_ numberlines - rotate_
threshold_ numbermb - map(string)
- updated string
- client
Id Double - Client that owns the policy.
- created String
- Time when logs uploader policy was created.
- date
Format String - Date format for logs.
- description String
- Description of the policy.
- escape
Special BooleanCharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- field
Delimiter String - field
Separator String - fields List<String>
- file
Name StringTemplate - format
Type String - id Double
- include
Empty BooleanLogs - include
Shield BooleanLogs - log
Sample DoubleRate - name String
- List<Double>
- retry
Interval DoubleMinutes - rotate
Interval DoubleMinutes - rotate
Threshold DoubleLines - rotate
Threshold DoubleMb - Map<String,String>
- updated String
- client
Id number - Client that owns the policy.
- created string
- Time when logs uploader policy was created.
- date
Format string - Date format for logs.
- description string
- Description of the policy.
- escape
Special booleanCharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- field
Delimiter string - field
Separator string - fields string[]
- file
Name stringTemplate - format
Type string - id number
- include
Empty booleanLogs - include
Shield booleanLogs - log
Sample numberRate - name string
- number[]
- retry
Interval numberMinutes - rotate
Interval numberMinutes - rotate
Threshold numberLines - rotate
Threshold numberMb - {[key: string]: string}
- updated string
- client_
id float - Client that owns the policy.
- created str
- Time when logs uploader policy was created.
- date_
format str - Date format for logs.
- description str
- Description of the policy.
- escape_
special_ boolcharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- field_
delimiter str - field_
separator str - fields Sequence[str]
- file_
name_ strtemplate - format_
type str - id float
- include_
empty_ boollogs - include_
shield_ boollogs - log_
sample_ floatrate - name str
- Sequence[float]
- retry_
interval_ floatminutes - rotate_
interval_ floatminutes - rotate_
threshold_ floatlines - rotate_
threshold_ floatmb - Mapping[str, str]
- updated str
- client
Id Number - Client that owns the policy.
- created String
- Time when logs uploader policy was created.
- date
Format String - Date format for logs.
- description String
- Description of the policy.
- escape
Special BooleanCharacters - When set to true, the service sanitizes string values by escaping characters that may be unsafe for transport, logging, or downstream processing.
- field
Delimiter String - field
Separator String - fields List<String>
- file
Name StringTemplate - format
Type String - id Number
- include
Empty BooleanLogs - include
Shield BooleanLogs - log
Sample NumberRate - name String
- List<Number>
- retry
Interval NumberMinutes - rotate
Interval NumberMinutes - rotate
Threshold NumberLines - rotate
Threshold NumberMb - Map<String>
- updated String
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