gcore 0.22.0 published on Wednesday, Apr 30, 2025 by g-core
gcore.getInferenceFlavor
Explore with Pulumi AI
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.
- Project
Id double - Project
Name string
- Name string
- Id string
- The ID of this resource.
- Project
Id float64 - Project
Name string
- name String
- id String
- The ID of this resource.
- project
Id Double - project
Name String
- name string
- id string
- The ID of this resource.
- project
Id number - project
Name 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.
- project
Id Number - project
Name String
getInferenceFlavor Result
The following output properties are available:
- Cpu double
- Gpu double
- Gpu
Compute stringCapability - Gpu
Memory double - Gpu
Model string - Id string
- The ID of this resource.
- bool
- Memory double
- Name string
- Project
Id double - Project
Name string
- Cpu float64
- Gpu float64
- Gpu
Compute stringCapability - Gpu
Memory float64 - Gpu
Model string - Id string
- The ID of this resource.
- bool
- Memory float64
- Name string
- Project
Id float64 - Project
Name string
- cpu Double
- gpu Double
- gpu
Compute StringCapability - gpu
Memory Double - gpu
Model String - id String
- The ID of this resource.
- Boolean
- memory Double
- name String
- project
Id Double - project
Name String
- cpu number
- gpu number
- gpu
Compute stringCapability - gpu
Memory number - gpu
Model string - id string
- The ID of this resource.
- boolean
- memory number
- name string
- project
Id number - project
Name string
- cpu float
- gpu float
- gpu_
compute_ strcapability - gpu_
memory float - gpu_
model str - id str
- The ID of this resource.
- bool
- memory float
- name str
- project_
id float - project_
name str
- cpu Number
- gpu Number
- gpu
Compute StringCapability - gpu
Memory Number - gpu
Model String - id String
- The ID of this resource.
- Boolean
- memory Number
- name String
- project
Id Number - project
Name String
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcore
Terraform Provider.