equinix.metal.getPlans
Explore with Pulumi AI
Using getPlans
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 getPlans(args: GetPlansArgs, opts?: InvokeOptions): Promise<GetPlansResult>
function getPlansOutput(args: GetPlansOutputArgs, opts?: InvokeOptions): Output<GetPlansResult>
def get_plans(filters: Optional[Sequence[GetPlansFilter]] = None,
sorts: Optional[Sequence[GetPlansSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetPlansResult
def get_plans_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPlansFilterArgs]]]] = None,
sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetPlansSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPlansResult]
func GetPlans(ctx *Context, args *GetPlansArgs, opts ...InvokeOption) (*GetPlansResult, error)
func GetPlansOutput(ctx *Context, args *GetPlansOutputArgs, opts ...InvokeOption) GetPlansResultOutput
> Note: This function is named GetPlans
in the Go SDK.
public static class GetPlans
{
public static Task<GetPlansResult> InvokeAsync(GetPlansArgs args, InvokeOptions? opts = null)
public static Output<GetPlansResult> Invoke(GetPlansInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPlansResult> getPlans(GetPlansArgs args, InvokeOptions options)
public static Output<GetPlansResult> getPlans(GetPlansArgs args, InvokeOptions options)
fn::invoke:
function: equinix:metal/getPlans:getPlans
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Plans Filter> - One or more attribute/values pairs to filter off of
- Sorts
List<Get
Plans Sort> - One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
- Filters
[]Get
Plans Filter - One or more attribute/values pairs to filter off of
- Sorts
[]Get
Plans Sort - One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
- filters
List<Get
Plans Filter> - One or more attribute/values pairs to filter off of
- sorts
List<Get
Plans Sort> - One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
- filters
Get
Plans Filter[] - One or more attribute/values pairs to filter off of
- sorts
Get
Plans Sort[] - One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
- filters
Sequence[Get
Plans Filter] - One or more attribute/values pairs to filter off of
- sorts
Sequence[Get
Plans Sort] - One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
- filters List<Property Map>
- One or more attribute/values pairs to filter off of
- sorts List<Property Map>
- One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order
getPlans Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Plans
List<Get
Plans Plan> - Filters
List<Get
Plans Filter> - Sorts
List<Get
Plans Sort>
- Id string
- The provider-assigned unique ID for this managed resource.
- Plans
[]Get
Plans Plan - Filters
[]Get
Plans Filter - Sorts
[]Get
Plans Sort
- id String
- The provider-assigned unique ID for this managed resource.
- plans
List<Get
Plans Plan> - filters
List<Get
Plans Filter> - sorts
List<Get
Plans Sort>
- id string
- The provider-assigned unique ID for this managed resource.
- plans
Get
Plans Plan[] - filters
Get
Plans Filter[] - sorts
Get
Plans Sort[]
- id str
- The provider-assigned unique ID for this managed resource.
- plans
Sequence[Get
Plans Plan] - filters
Sequence[Get
Plans Filter] - sorts
Sequence[Get
Plans Sort]
- id String
- The provider-assigned unique ID for this managed resource.
- plans List<Property Map>
- filters List<Property Map>
- sorts List<Property Map>
Supporting Types
GetPlansFilter
- Attribute
This property is required. string - The attribute used to filter. Filter attributes are case-sensitive
- Values
This property is required. List<string> - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- All bool
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- Match
By string - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
- Attribute
This property is required. string - The attribute used to filter. Filter attributes are case-sensitive
- Values
This property is required. []string - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- All bool
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- Match
By string - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
- attribute
This property is required. String - The attribute used to filter. Filter attributes are case-sensitive
- values
This property is required. List<String> - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all Boolean
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- match
By String - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
- attribute
This property is required. string - The attribute used to filter. Filter attributes are case-sensitive
- values
This property is required. string[] - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all boolean
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- match
By string - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
- attribute
This property is required. str - The attribute used to filter. Filter attributes are case-sensitive
- values
This property is required. Sequence[str] - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all bool
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- match_
by str - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
- attribute
This property is required. String - The attribute used to filter. Filter attributes are case-sensitive
- values
This property is required. List<String> - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all Boolean
If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is
false
.All fields in the
plans
block defined below can be used as attribute for bothsort
andfilter
blocks.- match
By String - The type of comparison to apply. One of:
in
,re
,substring
,less_than
,less_than_or_equal
,greater_than
,greater_than_or_equal
. Default isin
.
GetPlansPlan
- Available
In Metros This property is required. List<string> - list of metros where the plan is available
- Available
Ins This property is required. List<string> - (Deprecated) list of facilities where the plan is available
- Class
This property is required. string - plan class
- Deployment
Types This property is required. List<string> - list of deployment types, e.g. on_demand, spot_market
- Description
This property is required. string - description of the plan
- Id
This property is required. string - id of the plan
- Legacy
This property is required. bool - flag showing if it's a legacy plan
- Line
This property is required. string - plan line, e.g. baremetal
- Name
This property is required. string - name of the plan
- Pricing
Hour This property is required. double - plan hourly price
- Pricing
Month This property is required. double - plan monthly price
- Slug
This property is required. string - plan slug
- Available
In Metros This property is required. []string - list of metros where the plan is available
- Available
Ins This property is required. []string - (Deprecated) list of facilities where the plan is available
- Class
This property is required. string - plan class
- Deployment
Types This property is required. []string - list of deployment types, e.g. on_demand, spot_market
- Description
This property is required. string - description of the plan
- Id
This property is required. string - id of the plan
- Legacy
This property is required. bool - flag showing if it's a legacy plan
- Line
This property is required. string - plan line, e.g. baremetal
- Name
This property is required. string - name of the plan
- Pricing
Hour This property is required. float64 - plan hourly price
- Pricing
Month This property is required. float64 - plan monthly price
- Slug
This property is required. string - plan slug
- available
In Metros This property is required. List<String> - list of metros where the plan is available
- available
Ins This property is required. List<String> - (Deprecated) list of facilities where the plan is available
- class_
This property is required. String - plan class
- deployment
Types This property is required. List<String> - list of deployment types, e.g. on_demand, spot_market
- description
This property is required. String - description of the plan
- id
This property is required. String - id of the plan
- legacy
This property is required. Boolean - flag showing if it's a legacy plan
- line
This property is required. String - plan line, e.g. baremetal
- name
This property is required. String - name of the plan
- pricing
Hour This property is required. Double - plan hourly price
- pricing
Month This property is required. Double - plan monthly price
- slug
This property is required. String - plan slug
- available
In Metros This property is required. string[] - list of metros where the plan is available
- available
Ins This property is required. string[] - (Deprecated) list of facilities where the plan is available
- class
This property is required. string - plan class
- deployment
Types This property is required. string[] - list of deployment types, e.g. on_demand, spot_market
- description
This property is required. string - description of the plan
- id
This property is required. string - id of the plan
- legacy
This property is required. boolean - flag showing if it's a legacy plan
- line
This property is required. string - plan line, e.g. baremetal
- name
This property is required. string - name of the plan
- pricing
Hour This property is required. number - plan hourly price
- pricing
Month This property is required. number - plan monthly price
- slug
This property is required. string - plan slug
- available_
in_ metros This property is required. Sequence[str] - list of metros where the plan is available
- available_
ins This property is required. Sequence[str] - (Deprecated) list of facilities where the plan is available
- class_
This property is required. str - plan class
- deployment_
types This property is required. Sequence[str] - list of deployment types, e.g. on_demand, spot_market
- description
This property is required. str - description of the plan
- id
This property is required. str - id of the plan
- legacy
This property is required. bool - flag showing if it's a legacy plan
- line
This property is required. str - plan line, e.g. baremetal
- name
This property is required. str - name of the plan
- pricing_
hour This property is required. float - plan hourly price
- pricing_
month This property is required. float - plan monthly price
- slug
This property is required. str - plan slug
- available
In Metros This property is required. List<String> - list of metros where the plan is available
- available
Ins This property is required. List<String> - (Deprecated) list of facilities where the plan is available
- class
This property is required. String - plan class
- deployment
Types This property is required. List<String> - list of deployment types, e.g. on_demand, spot_market
- description
This property is required. String - description of the plan
- id
This property is required. String - id of the plan
- legacy
This property is required. Boolean - flag showing if it's a legacy plan
- line
This property is required. String - plan line, e.g. baremetal
- name
This property is required. String - name of the plan
- pricing
Hour This property is required. Number - plan hourly price
- pricing
Month This property is required. Number - plan monthly price
- slug
This property is required. String - plan slug
GetPlansSort
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.