Civo

Pulumi Official
Package maintained by Pulumi
v2.2.4 published on Friday, Jul 29, 2022 by Pulumi

getInstancesSize

Retrieves information about the instance sizes that Civo supports, with the ability to filter the results.

Using getInstancesSize

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 getInstancesSize(args: GetInstancesSizeArgs, opts?: InvokeOptions): Promise<GetInstancesSizeResult>
function getInstancesSizeOutput(args: GetInstancesSizeOutputArgs, opts?: InvokeOptions): Output<GetInstancesSizeResult>
def get_instances_size(filters: Optional[Sequence[GetInstancesSizeFilter]] = None,
                       sorts: Optional[Sequence[GetInstancesSizeSort]] = None,
                       opts: Optional[InvokeOptions] = None) -> GetInstancesSizeResult
def get_instances_size_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstancesSizeFilterArgs]]]] = None,
                       sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstancesSizeSortArgs]]]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetInstancesSizeResult]
func GetInstancesSize(ctx *Context, args *GetInstancesSizeArgs, opts ...InvokeOption) (*GetInstancesSizeResult, error)
func GetInstancesSizeOutput(ctx *Context, args *GetInstancesSizeOutputArgs, opts ...InvokeOption) GetInstancesSizeResultOutput

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

public static class GetInstancesSize 
{
    public static Task<GetInstancesSizeResult> InvokeAsync(GetInstancesSizeArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancesSizeResult> Invoke(GetInstancesSizeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstancesSizeResult> getInstancesSize(GetInstancesSizeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: civo:index/getInstancesSize:getInstancesSize
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getInstancesSize Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Sizes List<GetInstancesSizeSize>
Filters List<GetInstancesSizeFilter>
Sorts List<GetInstancesSizeSort>
Id string

The provider-assigned unique ID for this managed resource.

Sizes []GetInstancesSizeSize
Filters []GetInstancesSizeFilter
Sorts []GetInstancesSizeSort
id String

The provider-assigned unique ID for this managed resource.

sizes List<GetInstancesSizeSize>
filters List<GetInstancesSizeFilter>
sorts List<GetInstancesSizeSort>
id string

The provider-assigned unique ID for this managed resource.

sizes GetInstancesSizeSize[]
filters GetInstancesSizeFilter[]
sorts GetInstancesSizeSort[]
id String

The provider-assigned unique ID for this managed resource.

sizes List<Property Map>
filters List<Property Map>
sorts List<Property Map>

Supporting Types

GetInstancesSizeFilter

Key string
Values List<string>
All bool
MatchBy string
Key string
Values []string
All bool
MatchBy string
key String
values List<String>
all Boolean
matchBy String
key string
values string[]
all boolean
matchBy string
key str
values Sequence[str]
all bool
match_by str
key String
values List<String>
all Boolean
matchBy String

GetInstancesSizeSize

Cpu int
Description string
Disk int
Name string
Ram int
Selectable bool
Type string
Cpu int
Description string
Disk int
Name string
Ram int
Selectable bool
Type string
cpu Integer
description String
disk Integer
name String
ram Integer
selectable Boolean
type String
cpu number
description string
disk number
name string
ram number
selectable boolean
type string
cpu int
description str
disk int
name str
ram int
selectable bool
type str
cpu Number
description String
disk Number
name String
ram Number
selectable Boolean
type String

GetInstancesSizeSort

Key string
Direction string
Key string
Direction string
key String
direction String
key string
direction string
key str
direction str
key String
direction String

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes

This Pulumi package is based on the civo Terraform Provider.