Linode v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi
linode.getAccountSettings
Explore with Pulumi AI
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:
- Backups
Enabled bool - Account-wide backups default.
- Id string
- Longview
Subscription string - 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 string - A string describing the status of this account’s Object Storage service enrollment.
- Backups
Enabled bool - Account-wide backups default.
- Id string
- Longview
Subscription string - 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 string - A string describing the status of this account’s Object Storage service enrollment.
- backups
Enabled Boolean - Account-wide backups default.
- id String
- longview
Subscription String - The Longview Pro tier you are currently subscribed to.
- managed Boolean
- Enables monitoring for connectivity, response, and total request time.
- network
Helper Boolean - Enables network helper across all users by default for new Linodes and Linode Configs.
- object
Storage String - A string describing the status of this account’s Object Storage service enrollment.
- backups
Enabled boolean - Account-wide backups default.
- id string
- longview
Subscription string - The Longview Pro tier you are currently subscribed to.
- managed boolean
- Enables monitoring for connectivity, response, and total request time.
- network
Helper boolean - Enables network helper across all users by default for new Linodes and Linode Configs.
- object
Storage 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.
- backups
Enabled Boolean - Account-wide backups default.
- id String
- longview
Subscription String - The Longview Pro tier you are currently subscribed to.
- managed Boolean
- Enables monitoring for connectivity, response, and total request time.
- network
Helper Boolean - Enables network helper across all users by default for new Linodes and Linode Configs.
- object
Storage 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.