getInstancesSize

Using getInstancesSize

function getInstancesSize(args: GetInstancesSizeArgs, opts?: InvokeOptions): Promise<GetInstancesSizeResult>
def get_instances_size(filters: Optional[Sequence[GetInstancesSizeFilter]] = None,
                       sorts: Optional[Sequence[GetInstancesSizeSort]] = None,
                       opts: Optional[InvokeOptions] = None) -> GetInstancesSizeResult
func GetInstancesSize(ctx *Context, args *GetInstancesSizeArgs, opts ...InvokeOption) (*GetInstancesSizeResult, error)

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

public static class GetInstancesSize {
    public static Task<GetInstancesSizeResult> InvokeAsync(GetInstancesSizeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filters List<GetInstancesSizeFilter>
Sorts List<GetInstancesSizeSort>
Filters []GetInstancesSizeFilter
Sorts []GetInstancesSizeSort
filters GetInstancesSizeFilter[]
sorts GetInstancesSizeSort[]
filters Sequence[GetInstancesSizeFilter]
sorts Sequence[GetInstancesSizeSort]

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 GetInstancesSizeSize[]
filters GetInstancesSizeFilter[]
sorts GetInstancesSizeSort[]
id str
The provider-assigned unique ID for this managed resource.
sizes Sequence[GetInstancesSizeSize]
filters Sequence[GetInstancesSizeFilter]
sorts Sequence[GetInstancesSizeSort]

Supporting Types

GetInstancesSizeFilter

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

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 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

GetInstancesSizeSort

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

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes
This Pulumi package is based on the civo Terraform Provider.