gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core
gcore.getCdnPreset
Explore with Pulumi AI
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?: InvokeOptions): 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: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetCdnPresetResult> getCdnPreset(GetCdnPresetArgs args, InvokeOptions options)
public static Output<GetCdnPresetResult> getCdnPreset(GetCdnPresetArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnPreset:getCdnPreset
arguments:
# arguments dictionary
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
gcore
Terraform Provider.