1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getAccountTransfer
Viewing docs for Linode v6.7.0
published on Wednesday, Sep 30, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.7.0
published on Wednesday, Sep 30, 2026 by Pulumi

    Provides information about Linode account network transfer utilization for the current month. For more information, see the Linode APIv4 docs.

    Example Usage

    The following example shows how one might use this data source to access account network transfer details.

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const transfer = linode.getAccountTransfer({});
    
    import pulumi
    import pulumi_linode as linode
    
    transfer = linode.get_account_transfer()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetAccountTransfer(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var transfer = Linode.GetAccountTransfer.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var transfer = LinodeFunctions.getAccountTransfer(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      transfer:
        fn::invoke:
          function: linode:getAccountTransfer
          arguments: {}
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getaccounttransfer" "transfer" {
    }
    

    Using getAccountTransfer

    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 getAccountTransfer(opts?: InvokeOptions): Promise<GetAccountTransferResult>
    function getAccountTransferOutput(opts?: InvokeOutputOptions): Output<GetAccountTransferResult>
    def get_account_transfer(opts: Optional[InvokeOptions] = None) -> GetAccountTransferResult
    def get_account_transfer_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountTransferResult]
    func GetAccountTransfer(ctx *Context, opts ...InvokeOption) (*GetAccountTransferResult, error)
    func GetAccountTransferOutput(ctx *Context, opts ...InvokeOption) GetAccountTransferResultOutput

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

    public static class GetAccountTransfer 
    {
        public static Task<GetAccountTransferResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAccountTransferResult> Invoke(InvokeOptions? opts = null)
        public static Output<GetAccountTransferResult> Invoke(InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAccountTransferResult> getAccountTransfer(InvokeOptions options)
    public static Output<GetAccountTransferResult> getAccountTransfer(InvokeOptions options)
    public static Output<GetAccountTransferResult> getAccountTransfer(InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getAccountTransfer:getAccountTransfer
      arguments:
        # arguments dictionary
    data "linode_get_account_transfer" "name" {
        # arguments
    }

    getAccountTransfer Result

    The following output properties are available:

    Billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    Id string
    The Region ID for this network utilization data.
    Quota int
    The amount of network usage allowed this billing cycle for this Region.
    RegionTransfers List<GetAccountTransferRegionTransfer>
    A list of network utilization details for regions with separate utilization quotas and rates.
    Used int
    The amount of network usage you have used this billing cycle for this Region.
    Billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    Id string
    The Region ID for this network utilization data.
    Quota int
    The amount of network usage allowed this billing cycle for this Region.
    RegionTransfers []GetAccountTransferRegionTransfer
    A list of network utilization details for regions with separate utilization quotas and rates.
    Used int
    The amount of network usage you have used this billing cycle for this Region.
    billable number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id string
    The Region ID for this network utilization data.
    quota number
    The amount of network usage allowed this billing cycle for this Region.
    region_transfers list(object)
    A list of network utilization details for regions with separate utilization quotas and rates.
    used number
    The amount of network usage you have used this billing cycle for this Region.
    billable Integer
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id String
    The Region ID for this network utilization data.
    quota Integer
    The amount of network usage allowed this billing cycle for this Region.
    regionTransfers List<GetAccountTransferRegionTransfer>
    A list of network utilization details for regions with separate utilization quotas and rates.
    used Integer
    The amount of network usage you have used this billing cycle for this Region.
    billable number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id string
    The Region ID for this network utilization data.
    quota number
    The amount of network usage allowed this billing cycle for this Region.
    regionTransfers GetAccountTransferRegionTransfer[]
    A list of network utilization details for regions with separate utilization quotas and rates.
    used number
    The amount of network usage you have used this billing cycle for this Region.
    billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id str
    The Region ID for this network utilization data.
    quota int
    The amount of network usage allowed this billing cycle for this Region.
    region_transfers Sequence[GetAccountTransferRegionTransfer]
    A list of network utilization details for regions with separate utilization quotas and rates.
    used int
    The amount of network usage you have used this billing cycle for this Region.
    billable Number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id String
    The Region ID for this network utilization data.
    quota Number
    The amount of network usage allowed this billing cycle for this Region.
    regionTransfers List<Property Map>
    A list of network utilization details for regions with separate utilization quotas and rates.
    used Number
    The amount of network usage you have used this billing cycle for this Region.

    Supporting Types

    GetAccountTransferRegionTransfer

    Billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    Id string
    The Region ID for this network utilization data.
    Quota int
    The amount of network usage allowed this billing cycle for this Region.
    Used int
    The amount of network usage you have used this billing cycle for this Region.
    Billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    Id string
    The Region ID for this network utilization data.
    Quota int
    The amount of network usage allowed this billing cycle for this Region.
    Used int
    The amount of network usage you have used this billing cycle for this Region.
    billable number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id string
    The Region ID for this network utilization data.
    quota number
    The amount of network usage allowed this billing cycle for this Region.
    used number
    The amount of network usage you have used this billing cycle for this Region.
    billable Integer
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id String
    The Region ID for this network utilization data.
    quota Integer
    The amount of network usage allowed this billing cycle for this Region.
    used Integer
    The amount of network usage you have used this billing cycle for this Region.
    billable number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id string
    The Region ID for this network utilization data.
    quota number
    The amount of network usage allowed this billing cycle for this Region.
    used number
    The amount of network usage you have used this billing cycle for this Region.
    billable int
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id str
    The Region ID for this network utilization data.
    quota int
    The amount of network usage allowed this billing cycle for this Region.
    used int
    The amount of network usage you have used this billing cycle for this Region.
    billable Number
    The amount of your transfer pool that is billable this billing cycle for this Region.
    id String
    The Region ID for this network utilization data.
    quota Number
    The amount of network usage allowed this billing cycle for this Region.
    used Number
    The amount of network usage you have used this billing cycle for this Region.

    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 logo
    Viewing docs for Linode v6.7.0
    published on Wednesday, Sep 30, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial