1. Packages
  2. Linode Provider
  3. API Docs
  4. getAccountSettings
Linode v4.30.0 published on Friday, Nov 8, 2024 by Pulumi

linode.getAccountSettings

Explore with Pulumi AI

linode logo
Linode v4.30.0 published on Friday, Nov 8, 2024 by Pulumi

    Provides information about Linode account settings. For more information, see the Linode APIv4 docs.

    Example Usage

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

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const example = linode.getAccountSettings({});
    
    import pulumi
    import pulumi_linode as linode
    
    example = linode.get_account_settings()
    
    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, 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 example = Linode.GetAccountSettings.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.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();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: linode:getAccountSettings
          Arguments: {}
    

    Using getAccountSettings

    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 getAccountSettings(opts?: InvokeOptions): Promise<GetAccountSettingsResult>
    function getAccountSettingsOutput(opts?: InvokeOptions): Output<GetAccountSettingsResult>
    def get_account_settings(opts: Optional[InvokeOptions] = None) -> GetAccountSettingsResult
    def get_account_settings_output(opts: Optional[InvokeOptions] = None) -> Output[GetAccountSettingsResult]
    func LookupAccountSettings(ctx *Context, opts ...InvokeOption) (*LookupAccountSettingsResult, error)
    func LookupAccountSettingsOutput(ctx *Context, opts ...InvokeOption) LookupAccountSettingsResultOutput

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

    public static class GetAccountSettings 
    {
        public static Task<GetAccountSettingsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAccountSettingsResult> Invoke(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.30.0 published on Friday, Nov 8, 2024 by Pulumi