Viewing docs for gcore 0.36.0
published on Friday, Aug 28, 2026 by g-core
published on Friday, Aug 28, 2026 by g-core
Viewing docs for gcore 0.36.0
published on Friday, Aug 28, 2026 by g-core
published on Friday, Aug 28, 2026 by g-core
Represent presets data
Using getCdnPreset
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 getCdnPreset(args: GetCdnPresetArgs, opts?: InvokeOptions): Promise<GetCdnPresetResult>
function getCdnPresetOutput(args: GetCdnPresetOutputArgs, opts?: InvokeOutputOptions): Output<GetCdnPresetResult>def get_cdn_preset(id: Optional[float] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnPresetResult
def get_cdn_preset_output(id: pulumi.Input[Optional[float]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCdnPresetResult]func GetCdnPreset(ctx *Context, args *GetCdnPresetArgs, opts ...InvokeOption) (*GetCdnPresetResult, error)
func GetCdnPresetOutput(ctx *Context, args *GetCdnPresetOutputArgs, opts ...InvokeOption) GetCdnPresetResultOutput> Note: This function is named GetCdnPreset in the Go SDK.
public static class GetCdnPreset
{
public static Task<GetCdnPresetResult> InvokeAsync(GetCdnPresetArgs args, InvokeOptions? opts = null)
public static Output<GetCdnPresetResult> Invoke(GetCdnPresetInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCdnPresetResult> Invoke(GetCdnPresetInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCdnPresetResult> getCdnPreset(GetCdnPresetArgs args, InvokeOptions options)
public static Output<GetCdnPresetResult> getCdnPreset(GetCdnPresetArgs args, InvokeOptions options)
public static Output<GetCdnPresetResult> getCdnPreset(GetCdnPresetArgs args, InvokeOutputOptions options)
fn::invoke:
function: gcore:index/getCdnPreset:getCdnPreset
arguments:
# arguments dictionarydata "gcore_get_cdn_preset" "name" {
# arguments
}The following arguments are supported:
getCdnPreset Result
The following output properties are available:
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 0.36.0
published on Friday, Aug 28, 2026 by g-core
published on Friday, Aug 28, 2026 by g-core