1. Packages
  2. Linode Provider
  3. API Docs
  4. getNetworkTransferPrices
Linode v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi

linode.getNetworkTransferPrices

Explore with Pulumi AI

linode logo
Linode v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi

    Provides information about Linode Network Transfer Prices that match a set of filters. For more information, see the Linode APIv4 docs.

    Using getNetworkTransferPrices

    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 getNetworkTransferPrices(args: GetNetworkTransferPricesArgs, opts?: InvokeOptions): Promise<GetNetworkTransferPricesResult>
    function getNetworkTransferPricesOutput(args: GetNetworkTransferPricesOutputArgs, opts?: InvokeOptions): Output<GetNetworkTransferPricesResult>
    def get_network_transfer_prices(filters: Optional[Sequence[GetNetworkTransferPricesFilter]] = None,
                                    order: Optional[str] = None,
                                    order_by: Optional[str] = None,
                                    types: Optional[Sequence[GetNetworkTransferPricesType]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetNetworkTransferPricesResult
    def get_network_transfer_prices_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkTransferPricesFilterArgs]]]] = None,
                                    order: Optional[pulumi.Input[str]] = None,
                                    order_by: Optional[pulumi.Input[str]] = None,
                                    types: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkTransferPricesTypeArgs]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetNetworkTransferPricesResult]
    func GetNetworkTransferPrices(ctx *Context, args *GetNetworkTransferPricesArgs, opts ...InvokeOption) (*GetNetworkTransferPricesResult, error)
    func GetNetworkTransferPricesOutput(ctx *Context, args *GetNetworkTransferPricesOutputArgs, opts ...InvokeOption) GetNetworkTransferPricesResultOutput

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

    public static class GetNetworkTransferPrices 
    {
        public static Task<GetNetworkTransferPricesResult> InvokeAsync(GetNetworkTransferPricesArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkTransferPricesResult> Invoke(GetNetworkTransferPricesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkTransferPricesResult> getNetworkTransferPrices(GetNetworkTransferPricesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: linode:index/getNetworkTransferPrices:getNetworkTransferPrices
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetNetworkTransferPricesFilter>
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    Types List<GetNetworkTransferPricesType>
    Filters []GetNetworkTransferPricesFilter
    Order string
    The order in which results should be returned. (asc, desc; default asc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    Types []GetNetworkTransferPricesType
    filters List<GetNetworkTransferPricesFilter>
    order String
    The order in which results should be returned. (asc, desc; default asc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    types List<GetNetworkTransferPricesType>
    filters GetNetworkTransferPricesFilter[]
    order string
    The order in which results should be returned. (asc, desc; default asc)
    orderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    types GetNetworkTransferPricesType[]
    filters Sequence[GetNetworkTransferPricesFilter]
    order str
    The order in which results should be returned. (asc, desc; default asc)
    order_by str
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    types Sequence[GetNetworkTransferPricesType]
    filters List<Property Map>
    order String
    The order in which results should be returned. (asc, desc; default asc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    types List<Property Map>

    getNetworkTransferPrices Result

    The following output properties are available:

    Id string
    The ID representing the Network Transfer Price.
    Filters List<GetNetworkTransferPricesFilter>
    Order string
    OrderBy string
    Types List<GetNetworkTransferPricesType>
    Id string
    The ID representing the Network Transfer Price.
    Filters []GetNetworkTransferPricesFilter
    Order string
    OrderBy string
    Types []GetNetworkTransferPricesType
    id String
    The ID representing the Network Transfer Price.
    filters List<GetNetworkTransferPricesFilter>
    order String
    orderBy String
    types List<GetNetworkTransferPricesType>
    id string
    The ID representing the Network Transfer Price.
    filters GetNetworkTransferPricesFilter[]
    order string
    orderBy string
    types GetNetworkTransferPricesType[]
    id String
    The ID representing the Network Transfer Price.
    filters List<Property Map>
    order String
    orderBy String
    types List<Property Map>

    Supporting Types

    GetNetworkTransferPricesFilter

    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values List<string>
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values []string
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)
    name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values string[]
    A list of values for the filter to allow. These values should all be in string form.
    matchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name str
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values Sequence[str]
    A list of values for the filter to allow. These values should all be in string form.
    match_by str
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)

    GetNetworkTransferPricesType

    Id string
    The ID representing the Network Transfer Price.
    Label string
    The Network Transfer Price label is for display purposes only.
    Prices List<GetNetworkTransferPricesTypePrice>
    Cost in US dollars, broken down into hourly and monthly charges.
    RegionPrices List<GetNetworkTransferPricesTypeRegionPrice>
    A list of region-specific prices for this Network Transfer Price.
    Transfer int
    The monthly outbound transfer amount, in MB.
    Id string
    The ID representing the Network Transfer Price.
    Label string
    The Network Transfer Price label is for display purposes only.
    Prices []GetNetworkTransferPricesTypePrice
    Cost in US dollars, broken down into hourly and monthly charges.
    RegionPrices []GetNetworkTransferPricesTypeRegionPrice
    A list of region-specific prices for this Network Transfer Price.
    Transfer int
    The monthly outbound transfer amount, in MB.
    id String
    The ID representing the Network Transfer Price.
    label String
    The Network Transfer Price label is for display purposes only.
    prices List<GetNetworkTransferPricesTypePrice>
    Cost in US dollars, broken down into hourly and monthly charges.
    regionPrices List<GetNetworkTransferPricesTypeRegionPrice>
    A list of region-specific prices for this Network Transfer Price.
    transfer Integer
    The monthly outbound transfer amount, in MB.
    id string
    The ID representing the Network Transfer Price.
    label string
    The Network Transfer Price label is for display purposes only.
    prices GetNetworkTransferPricesTypePrice[]
    Cost in US dollars, broken down into hourly and monthly charges.
    regionPrices GetNetworkTransferPricesTypeRegionPrice[]
    A list of region-specific prices for this Network Transfer Price.
    transfer number
    The monthly outbound transfer amount, in MB.
    id str
    The ID representing the Network Transfer Price.
    label str
    The Network Transfer Price label is for display purposes only.
    prices Sequence[GetNetworkTransferPricesTypePrice]
    Cost in US dollars, broken down into hourly and monthly charges.
    region_prices Sequence[GetNetworkTransferPricesTypeRegionPrice]
    A list of region-specific prices for this Network Transfer Price.
    transfer int
    The monthly outbound transfer amount, in MB.
    id String
    The ID representing the Network Transfer Price.
    label String
    The Network Transfer Price label is for display purposes only.
    prices List<Property Map>
    Cost in US dollars, broken down into hourly and monthly charges.
    regionPrices List<Property Map>
    A list of region-specific prices for this Network Transfer Price.
    transfer Number
    The monthly outbound transfer amount, in MB.

    GetNetworkTransferPricesTypePrice

    Hourly double
    Cost (in US dollars) per hour.
    Monthly double
    Cost (in US dollars) per month.
    Hourly float64
    Cost (in US dollars) per hour.
    Monthly float64
    Cost (in US dollars) per month.
    hourly Double
    Cost (in US dollars) per hour.
    monthly Double
    Cost (in US dollars) per month.
    hourly number
    Cost (in US dollars) per hour.
    monthly number
    Cost (in US dollars) per month.
    hourly float
    Cost (in US dollars) per hour.
    monthly float
    Cost (in US dollars) per month.
    hourly Number
    Cost (in US dollars) per hour.
    monthly Number
    Cost (in US dollars) per month.

    GetNetworkTransferPricesTypeRegionPrice

    Hourly double
    Id string
    The ID representing the Network Transfer Price.
    Monthly double
    Hourly float64
    Id string
    The ID representing the Network Transfer Price.
    Monthly float64
    hourly Double
    id String
    The ID representing the Network Transfer Price.
    monthly Double
    hourly number
    id string
    The ID representing the Network Transfer Price.
    monthly number
    hourly float
    id str
    The ID representing the Network Transfer Price.
    monthly float
    hourly Number
    id String
    The ID representing the Network Transfer Price.
    monthly Number

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Linode v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi