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

gcore.getInferenceFlavor

Explore with Pulumi AI

gcore logo
gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core

    Represent Inference flavor.

    Using getInferenceFlavor

    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 getInferenceFlavor(args: GetInferenceFlavorArgs, opts?: InvokeOptions): Promise<GetInferenceFlavorResult>
    function getInferenceFlavorOutput(args: GetInferenceFlavorOutputArgs, opts?: InvokeOptions): Output<GetInferenceFlavorResult>
    def get_inference_flavor(id: Optional[str] = None,
                             name: Optional[str] = None,
                             project_id: Optional[float] = None,
                             project_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetInferenceFlavorResult
    def get_inference_flavor_output(id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             project_id: Optional[pulumi.Input[float]] = None,
                             project_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetInferenceFlavorResult]
    func GetInferenceFlavor(ctx *Context, args *GetInferenceFlavorArgs, opts ...InvokeOption) (*GetInferenceFlavorResult, error)
    func GetInferenceFlavorOutput(ctx *Context, args *GetInferenceFlavorOutputArgs, opts ...InvokeOption) GetInferenceFlavorResultOutput

    > Note: This function is named GetInferenceFlavor in the Go SDK.

    public static class GetInferenceFlavor 
    {
        public static Task<GetInferenceFlavorResult> InvokeAsync(GetInferenceFlavorArgs args, InvokeOptions? opts = null)
        public static Output<GetInferenceFlavorResult> Invoke(GetInferenceFlavorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInferenceFlavorResult> getInferenceFlavor(GetInferenceFlavorArgs args, InvokeOptions options)
    public static Output<GetInferenceFlavorResult> getInferenceFlavor(GetInferenceFlavorArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getInferenceFlavor:getInferenceFlavor
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Id string
    The ID of this resource.
    ProjectId double
    ProjectName string
    Name string
    Id string
    The ID of this resource.
    ProjectId float64
    ProjectName string
    name String
    id String
    The ID of this resource.
    projectId Double
    projectName String
    name string
    id string
    The ID of this resource.
    projectId number
    projectName string
    name str
    id str
    The ID of this resource.
    project_id float
    project_name str
    name String
    id String
    The ID of this resource.
    projectId Number
    projectName String

    getInferenceFlavor Result

    The following output properties are available:

    Cpu double
    Gpu double
    GpuComputeCapability string
    GpuMemory double
    GpuModel string
    Id string
    The ID of this resource.
    IsGpuShared bool
    Memory double
    Name string
    ProjectId double
    ProjectName string
    Cpu float64
    Gpu float64
    GpuComputeCapability string
    GpuMemory float64
    GpuModel string
    Id string
    The ID of this resource.
    IsGpuShared bool
    Memory float64
    Name string
    ProjectId float64
    ProjectName string
    cpu Double
    gpu Double
    gpuComputeCapability String
    gpuMemory Double
    gpuModel String
    id String
    The ID of this resource.
    isGpuShared Boolean
    memory Double
    name String
    projectId Double
    projectName String
    cpu number
    gpu number
    gpuComputeCapability string
    gpuMemory number
    gpuModel string
    id string
    The ID of this resource.
    isGpuShared boolean
    memory number
    name string
    projectId number
    projectName string
    cpu float
    gpu float
    gpu_compute_capability str
    gpu_memory float
    gpu_model str
    id str
    The ID of this resource.
    is_gpu_shared bool
    memory float
    name str
    project_id float
    project_name str
    cpu Number
    gpu Number
    gpuComputeCapability String
    gpuMemory Number
    gpuModel String
    id String
    The ID of this resource.
    isGpuShared Boolean
    memory Number
    name String
    projectId Number
    projectName String

    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