1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. bastionhost
  5. getUsers
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.bastionhost.getUsers

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

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);
Copy
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)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func GetUsers(ctx *Context, args *GetUsersArgs, opts ...InvokeOption) (*GetUsersResult, error)
func GetUsersOutput(ctx *Context, args *GetUsersOutputArgs, opts ...InvokeOption) GetUsersResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
public static Output<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:bastionhost/getUsers:getUsers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId
This property is required.
Changes to this property will trigger replacement.
string
You Want to Query the User the Bastion Host ID of.
DisplayName Changes to this property will trigger replacement. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
Ids Changes to this property will trigger replacement. List<string>
A list of User IDs.
Mobile Changes to this property will trigger replacement. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by User name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Source Changes to this property will trigger replacement. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
SourceUserId Changes to this property will trigger replacement. string
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 Changes to this property will trigger replacement. string
The status of the resource. Valid values: Frozen, Normal.
UserName Changes to this property will trigger replacement. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
You Want to Query the User the Bastion Host ID of.
DisplayName Changes to this property will trigger replacement. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
Ids Changes to this property will trigger replacement. []string
A list of User IDs.
Mobile Changes to this property will trigger replacement. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by User name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Source Changes to this property will trigger replacement. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
SourceUserId Changes to this property will trigger replacement. string
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 Changes to this property will trigger replacement. string
The status of the resource. Valid values: Frozen, Normal.
UserName Changes to this property will trigger replacement. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
You Want to Query the User the Bastion Host ID of.
displayName Changes to this property will trigger replacement. String
Specify the New Created the User's Display Name. Supports up to 128 Characters.
ids Changes to this property will trigger replacement. List<String>
A list of User IDs.
mobile Changes to this property will trigger replacement. String
Specify the New of the User That Created a Different Mobile Phone Number from Your.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by User name.
outputFile String
File name where to save data source results (after running pulumi preview).
source Changes to this property will trigger replacement. String
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
sourceUserId Changes to this property will trigger replacement. String
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 Changes to this property will trigger replacement. String
The status of the resource. Valid values: Frozen, Normal.
userName Changes to this property will trigger replacement. String
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
instanceId
This property is required.
Changes to this property will trigger replacement.
string
You Want to Query the User the Bastion Host ID of.
displayName Changes to this property will trigger replacement. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
ids Changes to this property will trigger replacement. string[]
A list of User IDs.
mobile Changes to this property will trigger replacement. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by User name.
outputFile string
File name where to save data source results (after running pulumi preview).
source Changes to this property will trigger replacement. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
sourceUserId Changes to this property will trigger replacement. string
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 Changes to this property will trigger replacement. string
The status of the resource. Valid values: Frozen, Normal.
userName Changes to this property will trigger replacement. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
instance_id
This property is required.
Changes to this property will trigger replacement.
str
You Want to Query the User the Bastion Host ID of.
display_name Changes to this property will trigger replacement. str
Specify the New Created the User's Display Name. Supports up to 128 Characters.
ids Changes to this property will trigger replacement. Sequence[str]
A list of User IDs.
mobile Changes to this property will trigger replacement. str
Specify the New of the User That Created a Different Mobile Phone Number from Your.
name_regex Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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_id Changes to this property will trigger replacement. str
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 Changes to this property will trigger replacement. str
The status of the resource. Valid values: Frozen, Normal.
user_name Changes to this property will trigger replacement. str
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
You Want to Query the User the Bastion Host ID of.
displayName Changes to this property will trigger replacement. String
Specify the New Created the User's Display Name. Supports up to 128 Characters.
ids Changes to this property will trigger replacement. List<String>
A list of User IDs.
mobile Changes to this property will trigger replacement. String
Specify the New of the User That Created a Different Mobile Phone Number from Your.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by User name.
outputFile String
File name where to save data source results (after running pulumi preview).
source Changes to this property will trigger replacement. String
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
sourceUserId Changes to this property will trigger replacement. String
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 Changes to this property will trigger replacement. String
The status of the resource. Valid values: Frozen, Normal.
userName Changes to this property will trigger replacement. 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>
InstanceId string
Names List<string>
Users List<Pulumi.AliCloud.BastionHost.Outputs.GetUsersUser>
DisplayName string
Mobile string
NameRegex string
OutputFile string
Source string
SourceUserId string
Status string
UserName string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
InstanceId string
Names []string
Users []GetUsersUser
DisplayName string
Mobile string
NameRegex string
OutputFile string
Source string
SourceUserId string
Status string
UserName string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instanceId String
names List<String>
users List<GetUsersUser>
displayName String
mobile String
nameRegex String
outputFile String
source String
sourceUserId String
status String
userName String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
instanceId string
names string[]
users GetUsersUser[]
displayName string
mobile string
nameRegex string
outputFile string
source string
sourceUserId string
status string
userName string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
instance_id str
names Sequence[str]
users Sequence[GetUsersUser]
display_name str
mobile str
name_regex str
output_file str
source str
source_user_id str
status str
user_name str
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instanceId String
names List<String>
users List<Property Map>
displayName String
mobile String
nameRegex String
outputFile String
source String
sourceUserId String
status String
userName String

Supporting Types

GetUsersUser

Comment This property is required. string
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
DisplayName This property is required. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
Email This property is required. string
Specify the New User's Mailbox.
Id This property is required. string
The ID of the User.
InstanceId This property is required. string
You Want to Query the User the Bastion Host ID of.
Mobile This property is required. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
MobileCountryCode This property is required. string
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 This property is required. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
SourceUserId This property is required. string
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 This property is required. string
The status of the resource.
UserId This property is required. string
The User ID.
UserName This property is required. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
Comment This property is required. string
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
DisplayName This property is required. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
Email This property is required. string
Specify the New User's Mailbox.
Id This property is required. string
The ID of the User.
InstanceId This property is required. string
You Want to Query the User the Bastion Host ID of.
Mobile This property is required. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
MobileCountryCode This property is required. string
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 This property is required. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
SourceUserId This property is required. string
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 This property is required. string
The status of the resource.
UserId This property is required. string
The User ID.
UserName This property is required. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
comment This property is required. String
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
displayName This property is required. String
Specify the New Created the User's Display Name. Supports up to 128 Characters.
email This property is required. String
Specify the New User's Mailbox.
id This property is required. String
The ID of the User.
instanceId This property is required. String
You Want to Query the User the Bastion Host ID of.
mobile This property is required. String
Specify the New of the User That Created a Different Mobile Phone Number from Your.
mobileCountryCode This property is required. String
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 This property is required. String
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
sourceUserId This property is required. String
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 This property is required. String
The status of the resource.
userId This property is required. String
The User ID.
userName This property is required. String
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
comment This property is required. string
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
displayName This property is required. string
Specify the New Created the User's Display Name. Supports up to 128 Characters.
email This property is required. string
Specify the New User's Mailbox.
id This property is required. string
The ID of the User.
instanceId This property is required. string
You Want to Query the User the Bastion Host ID of.
mobile This property is required. string
Specify the New of the User That Created a Different Mobile Phone Number from Your.
mobileCountryCode This property is required. string
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 This property is required. string
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
sourceUserId This property is required. string
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 This property is required. string
The status of the resource.
userId This property is required. string
The User ID.
userName This property is required. string
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
comment This property is required. str
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
display_name This property is required. str
Specify the New Created the User's Display Name. Supports up to 128 Characters.
email This property is required. str
Specify the New User's Mailbox.
id This property is required. str
The ID of the User.
instance_id This property is required. str
You Want to Query the User the Bastion Host ID of.
mobile This property is required. str
Specify the New of the User That Created a Different Mobile Phone Number from Your.
mobile_country_code This property is required. str
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 This property is required. str
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
source_user_id This property is required. str
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 This property is required. str
The status of the resource.
user_id This property is required. str
The User ID.
user_name This property is required. str
Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
comment This property is required. String
Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
displayName This property is required. String
Specify the New Created the User's Display Name. Supports up to 128 Characters.
email This property is required. String
Specify the New User's Mailbox.
id This property is required. String
The ID of the User.
instanceId This property is required. String
You Want to Query the User the Bastion Host ID of.
mobile This property is required. String
Specify the New of the User That Created a Different Mobile Phone Number from Your.
mobileCountryCode This property is required. String
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 This property is required. String
Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
sourceUserId This property is required. String
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 This property is required. String
The status of the resource.
userId This property is required. String
The User ID.
userName This property is required. 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 alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi