1. Packages
  2. Gcore Provider
  3. API Docs
  4. getCdnPreset
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

gcore.getCdnPreset

Explore with Pulumi AI

gcore logo
gcore 0.22.0 published on Wednesday, Apr 30, 2025 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?: 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:

    Id double
    ID of the CDN preset
    Name string
    Name of the CDN preset
    Id float64
    ID of the CDN preset
    Name string
    Name of the CDN preset
    id Double
    ID of the CDN preset
    name String
    Name of the CDN preset
    id number
    ID of the CDN preset
    name string
    Name of the CDN preset
    id float
    ID of the CDN preset
    name str
    Name of the CDN preset
    id Number
    ID of the CDN preset
    name String
    Name of the CDN preset

    getCdnPreset Result

    The following output properties are available:

    Id double
    ID of the CDN preset
    Name string
    Name of the CDN preset
    Id float64
    ID of the CDN preset
    Name string
    Name of the CDN preset
    id Double
    ID of the CDN preset
    name String
    Name of the CDN preset
    id number
    ID of the CDN preset
    name string
    Name of the CDN preset
    id float
    ID of the CDN preset
    name str
    Name of the CDN preset
    id Number
    ID of the CDN preset
    name String
    Name of the CDN preset

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core