Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.bastionhost.getUsers
Explore with Pulumi AI
This data source provides the Bastionhost Users of the current Alibaba Cloud user.
NOTE: Available in v1.133.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.bastionhost.getUsers({
    instanceId: "example_value",
    ids: [
        "1",
        "10",
    ],
});
export const bastionhostUserId1 = ids.then(ids => ids.users?.[0]?.id);
const nameRegex = alicloud.bastionhost.getUsers({
    instanceId: "example_value",
    nameRegex: "^my-User",
});
export const bastionhostUserId2 = nameRegex.then(nameRegex => nameRegex.users?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.bastionhost.get_users(instance_id="example_value",
    ids=[
        "1",
        "10",
    ])
pulumi.export("bastionhostUserId1", ids.users[0].id)
name_regex = alicloud.bastionhost.get_users(instance_id="example_value",
    name_regex="^my-User")
pulumi.export("bastionhostUserId2", name_regex.users[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/bastionhost"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := bastionhost.GetUsers(ctx, &bastionhost.GetUsersArgs{
			InstanceId: "example_value",
			Ids: []string{
				"1",
				"10",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("bastionhostUserId1", ids.Users[0].Id)
		nameRegex, err := bastionhost.GetUsers(ctx, &bastionhost.GetUsersArgs{
			InstanceId: "example_value",
			NameRegex:  pulumi.StringRef("^my-User"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("bastionhostUserId2", nameRegex.Users[0].Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.BastionHost.GetUsers.Invoke(new()
    {
        InstanceId = "example_value",
        Ids = new[]
        {
            "1",
            "10",
        },
    });
    var nameRegex = AliCloud.BastionHost.GetUsers.Invoke(new()
    {
        InstanceId = "example_value",
        NameRegex = "^my-User",
    });
    return new Dictionary<string, object?>
    {
        ["bastionhostUserId1"] = ids.Apply(getUsersResult => getUsersResult.Users[0]?.Id),
        ["bastionhostUserId2"] = nameRegex.Apply(getUsersResult => getUsersResult.Users[0]?.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.bastionhost.BastionhostFunctions;
import com.pulumi.alicloud.bastionhost.inputs.GetUsersArgs;
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 ids = BastionhostFunctions.getUsers(GetUsersArgs.builder()
            .instanceId("example_value")
            .ids(            
                "1",
                "10")
            .build());
        ctx.export("bastionhostUserId1", ids.applyValue(getUsersResult -> getUsersResult.users()[0].id()));
        final var nameRegex = BastionhostFunctions.getUsers(GetUsersArgs.builder()
            .instanceId("example_value")
            .nameRegex("^my-User")
            .build());
        ctx.export("bastionhostUserId2", nameRegex.applyValue(getUsersResult -> getUsersResult.users()[0].id()));
    }
}
variables:
  ids:
    fn::invoke:
      Function: alicloud:bastionhost:getUsers
      Arguments:
        instanceId: example_value
        ids:
          - '1'
          - '10'
  nameRegex:
    fn::invoke:
      Function: alicloud:bastionhost:getUsers
      Arguments:
        instanceId: example_value
        nameRegex: ^my-User
outputs:
  bastionhostUserId1: ${ids.users[0].id}
  bastionhostUserId2: ${nameRegex.users[0].id}
Using getUsers
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 getUsers(args: GetUsersArgs, opts?: InvokeOptions): Promise<GetUsersResult>
function getUsersOutput(args: GetUsersOutputArgs, opts?: InvokeOptions): Output<GetUsersResult>def get_users(display_name: Optional[str] = None,
              ids: Optional[Sequence[str]] = None,
              instance_id: Optional[str] = None,
              mobile: Optional[str] = None,
              name_regex: Optional[str] = None,
              output_file: Optional[str] = None,
              source: Optional[str] = None,
              source_user_id: Optional[str] = None,
              status: Optional[str] = None,
              user_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetUsersResult
def get_users_output(display_name: Optional[pulumi.Input[str]] = None,
              ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              instance_id: Optional[pulumi.Input[str]] = None,
              mobile: Optional[pulumi.Input[str]] = None,
              name_regex: Optional[pulumi.Input[str]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              source: Optional[pulumi.Input[str]] = None,
              source_user_id: Optional[pulumi.Input[str]] = None,
              status: Optional[pulumi.Input[str]] = None,
              user_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetUsersResult]func GetUsers(ctx *Context, args *GetUsersArgs, opts ...InvokeOption) (*GetUsersResult, error)
func GetUsersOutput(ctx *Context, args *GetUsersOutputArgs, opts ...InvokeOption) GetUsersResultOutput> Note: This function is named GetUsers in the Go SDK.
public static class GetUsers 
{
    public static Task<GetUsersResult> InvokeAsync(GetUsersArgs args, InvokeOptions? opts = null)
    public static Output<GetUsersResult> Invoke(GetUsersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:bastionhost/getUsers:getUsers
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Instance
Id string - You Want to Query the User the Bastion Host ID of.
 - Display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - Ids List<string>
 - A list of User IDs.
 - Mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - Name
Regex string - A regex string to filter results by User name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - Source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - Status string
 - The status of the resource. Valid values: 
Frozen,Normal. - User
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- Instance
Id string - You Want to Query the User the Bastion Host ID of.
 - Display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - Ids []string
 - A list of User IDs.
 - Mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - Name
Regex string - A regex string to filter results by User name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - Source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - Status string
 - The status of the resource. Valid values: 
Frozen,Normal. - User
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- instance
Id String - You Want to Query the User the Bastion Host ID of.
 - display
Name String - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - ids List<String>
 - A list of User IDs.
 - mobile String
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - name
Regex String - A regex string to filter results by User name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - source String
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - source
User StringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status String
 - The status of the resource. Valid values: 
Frozen,Normal. - user
Name String - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- instance
Id string - You Want to Query the User the Bastion Host ID of.
 - display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - ids string[]
 - A list of User IDs.
 - mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - name
Regex string - A regex string to filter results by User name.
 - output
File string - File name where to save data source results (after running 
pulumi preview). - source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status string
 - The status of the resource. Valid values: 
Frozen,Normal. - user
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- instance_
id str - You Want to Query the User the Bastion Host ID of.
 - display_
name str - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - ids Sequence[str]
 - A list of User IDs.
 - mobile str
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - name_
regex str - A regex string to filter results by User name.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). - source str
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - source_
user_ strid  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status str
 - The status of the resource. Valid values: 
Frozen,Normal. - user_
name str - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- instance
Id String - You Want to Query the User the Bastion Host ID of.
 - display
Name String - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - ids List<String>
 - A list of User IDs.
 - mobile String
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - name
Regex String - A regex string to filter results by User name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - source String
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: 
Local,Ram. - source
User StringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status String
 - The status of the resource. Valid values: 
Frozen,Normal. - user
Name String - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
getUsers Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - Instance
Id string - Names List<string>
 - Users
List<Pulumi.
Ali Cloud. Bastion Host. Outputs. Get Users User>  - Display
Name string - Mobile string
 - Name
Regex string - Output
File string - Source string
 - Source
User stringId  - Status string
 - User
Name string 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - Instance
Id string - Names []string
 - Users
[]Get
Users User  - Display
Name string - Mobile string
 - Name
Regex string - Output
File string - Source string
 - Source
User stringId  - Status string
 - User
Name string 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - instance
Id String - names List<String>
 - users
List<Get
Users User>  - display
Name String - mobile String
 - name
Regex String - output
File String - source String
 - source
User StringId  - status String
 - user
Name String 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - instance
Id string - names string[]
 - users
Get
Users User[]  - display
Name string - mobile string
 - name
Regex string - output
File string - source string
 - source
User stringId  - status string
 - user
Name string 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - instance_
id str - names Sequence[str]
 - users
Sequence[Get
Users User]  - display_
name str - mobile str
 - name_
regex str - output_
file str - source str
 - source_
user_ strid  - status str
 - user_
name str 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - instance
Id String - names List<String>
 - users List<Property Map>
 - display
Name String - mobile String
 - name
Regex String - output
File String - source String
 - source
User StringId  - status String
 - user
Name String 
Supporting Types
GetUsersUser  
- Comment string
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - Display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - Email string
 - Specify the New User's Mailbox.
 - Id string
 - The ID of the User.
 - Instance
Id string - You Want to Query the User the Bastion Host ID of.
 - Mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - Mobile
Country stringCode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - Source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - Source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - Status string
 - The status of the resource.
 - User
Id string - The User ID.
 - User
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- Comment string
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - Display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - Email string
 - Specify the New User's Mailbox.
 - Id string
 - The ID of the User.
 - Instance
Id string - You Want to Query the User the Bastion Host ID of.
 - Mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - Mobile
Country stringCode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - Source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - Source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - Status string
 - The status of the resource.
 - User
Id string - The User ID.
 - User
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- comment String
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - display
Name String - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - email String
 - Specify the New User's Mailbox.
 - id String
 - The ID of the User.
 - instance
Id String - You Want to Query the User the Bastion Host ID of.
 - mobile String
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - mobile
Country StringCode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - source String
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - source
User StringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status String
 - The status of the resource.
 - user
Id String - The User ID.
 - user
Name String - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- comment string
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - display
Name string - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - email string
 - Specify the New User's Mailbox.
 - id string
 - The ID of the User.
 - instance
Id string - You Want to Query the User the Bastion Host ID of.
 - mobile string
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - mobile
Country stringCode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - source string
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - source
User stringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status string
 - The status of the resource.
 - user
Id string - The User ID.
 - user
Name string - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- comment str
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - display_
name str - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - email str
 - Specify the New User's Mailbox.
 - id str
 - The ID of the User.
 - instance_
id str - You Want to Query the User the Bastion Host ID of.
 - mobile str
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - mobile_
country_ strcode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - source str
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - source_
user_ strid  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status str
 - The status of the resource.
 - user_
id str - The User ID.
 - user_
name str - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
- comment String
 - Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
 - display
Name String - Specify the New Created the User's Display Name. Supports up to 128 Characters.
 - email String
 - Specify the New User's Mailbox.
 - id String
 - The ID of the User.
 - instance
Id String - You Want to Query the User the Bastion Host ID of.
 - mobile String
 - Specify the New of the User That Created a Different Mobile Phone Number from Your.
 - mobile
Country StringCode  - Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN Value: CN: Mainland China (+86) HK: hong Kong, China (+852) Mo: Macau, China (+853) TW: Taiwan, China (+886) ru: Russian (+7) SG: Singapore (+65) My: malaysia (+60) ID: Indonesia (+62) De: Germany (+49) AU: Australia (+61) US: United States (+1) AE: dubai (+971) JP: Japan (+81) Introducing the Long-Range GB: United Kingdom (+44) in: India (+91) KR: South Korea (+82) Ph: philippines (+63) Ch: Switzerland (+41) Se: Sweden (+46).
 - source String
 - Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
 - source
User StringId  - Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
 - status String
 - The status of the resource.
 - user
Id String - The User ID.
 - user
Name String - Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.