1. Packages
  2. Linode
  3. API Docs
  4. getAccountSettings
Linode v4.9.1 published on Monday, Dec 4, 2023 by Pulumi

linode.getAccountSettings

Explore with Pulumi AI

linode logo
Linode v4.9.1 published on Monday, Dec 4, 2023 by Pulumi

    Provides information about Linode account settings.

    Example Usage

    The following example shows how one might use this data source to access information about Linode account settings.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Linode.GetAccountSettings.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.LookupAccountSettings(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import java.util.List;
    import java.util.ArrayList;
    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 example = LinodeFunctions.getAccountSettings();
    
        }
    }
    
    import pulumi
    import pulumi_linode as linode
    
    example = linode.get_account_settings()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const example = linode.getAccountSettings({});
    
    variables:
      example:
        fn::invoke:
          Function: linode:getAccountSettings
          Arguments: {}
    

    Using getAccountSettings

    function getAccountSettings(opts?: InvokeOptions): Promise<GetAccountSettingsResult>
    def get_account_settings(opts: Optional[InvokeOptions] = None) -> GetAccountSettingsResult
    func LookupAccountSettings(ctx *Context, opts ...InvokeOption) (*LookupAccountSettingsResult, error)

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

    public static class GetAccountSettings 
    {
        public static Task<GetAccountSettingsResult> InvokeAsync(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountSettingsResult> getAccountSettings(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: linode:index/getAccountSettings:getAccountSettings
      arguments:
        # arguments dictionary

    getAccountSettings Result

    The following output properties are available:

    BackupsEnabled bool

    Account-wide backups default.

    Id string
    LongviewSubscription string

    The Longview Pro tier you are currently subscribed to.

    Managed bool

    Enables monitoring for connectivity, response, and total request time.

    NetworkHelper bool

    Enables network helper across all users by default for new Linodes and Linode Configs.

    ObjectStorage string

    A string describing the status of this account’s Object Storage service enrollment.

    BackupsEnabled bool

    Account-wide backups default.

    Id string
    LongviewSubscription string

    The Longview Pro tier you are currently subscribed to.

    Managed bool

    Enables monitoring for connectivity, response, and total request time.

    NetworkHelper bool

    Enables network helper across all users by default for new Linodes and Linode Configs.

    ObjectStorage string

    A string describing the status of this account’s Object Storage service enrollment.

    backupsEnabled Boolean

    Account-wide backups default.

    id String
    longviewSubscription String

    The Longview Pro tier you are currently subscribed to.

    managed Boolean

    Enables monitoring for connectivity, response, and total request time.

    networkHelper Boolean

    Enables network helper across all users by default for new Linodes and Linode Configs.

    objectStorage String

    A string describing the status of this account’s Object Storage service enrollment.

    backupsEnabled boolean

    Account-wide backups default.

    id string
    longviewSubscription string

    The Longview Pro tier you are currently subscribed to.

    managed boolean

    Enables monitoring for connectivity, response, and total request time.

    networkHelper boolean

    Enables network helper across all users by default for new Linodes and Linode Configs.

    objectStorage string

    A string describing the status of this account’s Object Storage service enrollment.

    backups_enabled bool

    Account-wide backups default.

    id str
    longview_subscription str

    The Longview Pro tier you are currently subscribed to.

    managed bool

    Enables monitoring for connectivity, response, and total request time.

    network_helper bool

    Enables network helper across all users by default for new Linodes and Linode Configs.

    object_storage str

    A string describing the status of this account’s Object Storage service enrollment.

    backupsEnabled Boolean

    Account-wide backups default.

    id String
    longviewSubscription String

    The Longview Pro tier you are currently subscribed to.

    managed Boolean

    Enables monitoring for connectivity, response, and total request time.

    networkHelper Boolean

    Enables network helper across all users by default for new Linodes and Linode Configs.

    objectStorage String

    A string describing the status of this account’s Object Storage service enrollment.

    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.9.1 published on Monday, Dec 4, 2023 by Pulumi