linode.getProfile
Explore with Pulumi AI
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 System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var profile = Linode.GetProfile.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.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 pulumi
import pulumi_linode as linode
profile = linode.get_profile()
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const profile = linode.getProfile({});
variables:
profile:
fn::invoke:
Function: linode:getProfile
Arguments: {}
Using getProfile
function getProfile(opts?: InvokeOptions): Promise<GetProfileResult>
def get_profile(opts: Optional[InvokeOptions] = None) -> GetProfileResult
func GetProfile(ctx *Context, opts ...InvokeOption) (*GetProfileResult, error)
> Note: This function is named GetProfile
in the Go SDK.
public static class GetProfile
{
public static Task<GetProfileResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetProfileResult> getProfile(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: linode:index/getProfile:getProfile
arguments:
# arguments dictionary
getProfile 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
- 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
- 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
- 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
- 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
- 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
- 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
linode
Terraform Provider.