Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Provides information about a Linode profile.
Example Usage
The following example shows how one might use this data source to access profile details.
using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var profile = Linode.GetProfile.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.GetProfile(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 profile = LinodeFunctions.getProfile();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const profile = linode.getProfile({});
import pulumi
import pulumi_linode as linode
profile = linode.get_profile()
variables:
profile:
fn::invoke:
Function: linode:getProfile
Arguments: {}
Using getProfile
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 getProfile(opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(opts?: InvokeOptions): Output<GetProfileResult>def get_profile(opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]func GetProfile(ctx *Context, opts ...InvokeOption) (*GetProfileResult, error)
func GetProfileOutput(ctx *Context, opts ...InvokeOption) GetProfileResultOutput> Note: This function is named GetProfile in the Go SDK.
public static class GetProfile
{
public static Task<GetProfileResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetProfileResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetProfileResult> getProfile(InvokeOptions options)
public static Output<GetProfileResult> getProfile(InvokeOptions options)
fn::invoke:
function: linode:index/getProfile:getProfile
arguments:
# arguments dictionarygetProfile Result
The following output properties are available:
- List<string>
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- Email string
- The profile email address. This address will be used for communication with Linode as necessary.
- Email
Notifications bool - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Whitelist boolEnabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- Lish
Auth stringMethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- Referrals
Get
Profile Referrals - Credit Card information associated with this Account.
- Restricted bool
- If true, the user has restrictions on what can be accessed on the Account.
- Timezone string
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- Two
Factor boolAuth - If true, logins from untrusted computers will require Two Factor Authentication.
- Username string
- The username for logging in to Linode services.
- []string
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- Email string
- The profile email address. This address will be used for communication with Linode as necessary.
- Email
Notifications bool - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Whitelist boolEnabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- Lish
Auth stringMethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- Referrals
Get
Profile Referrals - Credit Card information associated with this Account.
- Restricted bool
- If true, the user has restrictions on what can be accessed on the Account.
- Timezone string
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- Two
Factor boolAuth - If true, logins from untrusted computers will require Two Factor Authentication.
- Username string
- The username for logging in to Linode services.
- List<String>
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- email String
- The profile email address. This address will be used for communication with Linode as necessary.
- email
Notifications Boolean - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Whitelist BooleanEnabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- lish
Auth StringMethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- referrals
Get
Profile Referrals - Credit Card information associated with this Account.
- restricted Boolean
- If true, the user has restrictions on what can be accessed on the Account.
- timezone String
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- two
Factor BooleanAuth - If true, logins from untrusted computers will require Two Factor Authentication.
- username String
- The username for logging in to Linode services.
- string[]
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- email string
- The profile email address. This address will be used for communication with Linode as necessary.
- email
Notifications boolean - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Whitelist booleanEnabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- lish
Auth stringMethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- referrals
Get
Profile Referrals - Credit Card information associated with this Account.
- restricted boolean
- If true, the user has restrictions on what can be accessed on the Account.
- timezone string
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- two
Factor booleanAuth - If true, logins from untrusted computers will require Two Factor Authentication.
- username string
- The username for logging in to Linode services.
- Sequence[str]
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- email str
- The profile email address. This address will be used for communication with Linode as necessary.
- email_
notifications bool - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
whitelist_ boolenabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- lish_
auth_ strmethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- referrals
Get
Profile Referrals - Credit Card information associated with this Account.
- restricted bool
- If true, the user has restrictions on what can be accessed on the Account.
- timezone str
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- two_
factor_ boolauth - If true, logins from untrusted computers will require Two Factor Authentication.
- username str
- The username for logging in to Linode services.
- List<String>
- The list of SSH Keys authorized to use Lish for this user. This value is ignored if lish_auth_method is 'disabled'.
- email String
- The profile email address. This address will be used for communication with Linode as necessary.
- email
Notifications Boolean - If true, email notifications will be sent about account activity. If false, when false business-critical communications may still be sent through email.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Whitelist BooleanEnabled - If true, logins for the user will only be allowed from whitelisted IPs. This setting is currently deprecated, and cannot be enabled.
- lish
Auth StringMethod - The methods of authentication allowed when connecting via Lish. 'keys_only' is the most secure with the intent to use Lish, and 'disabled' is recommended for users that will not use Lish at all.
- referrals Property Map
- Credit Card information associated with this Account.
- restricted Boolean
- If true, the user has restrictions on what can be accessed on the Account.
- timezone String
- The profile's preferred timezone. This is not used by the API, and is for the benefit of clients only. All times the API returns are in UTC.
- two
Factor BooleanAuth - If true, logins from untrusted computers will require Two Factor Authentication.
- username String
- The username for logging in to Linode services.
Supporting Types
GetProfileReferrals
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
