1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. bastionhost
  5. getUsers
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.bastionhost.getUsers

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 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);
    
    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 dictionary

    The following arguments are supported:

    InstanceId string
    You Want to Query the User the Bastion Host ID of.
    DisplayName 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.
    NameRegex 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
    SourceUserId 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 string
    The status of the resource. Valid values: Frozen, Normal.
    UserName string
    Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
    InstanceId string
    You Want to Query the User the Bastion Host ID of.
    DisplayName 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.
    NameRegex 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
    SourceUserId 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 string
    The status of the resource. Valid values: Frozen, Normal.
    UserName string
    Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
    instanceId String
    You Want to Query the User the Bastion Host ID of.
    displayName 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.
    nameRegex 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 String
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
    sourceUserId 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 String
    The status of the resource. Valid values: Frozen, Normal.
    userName String
    Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
    instanceId string
    You Want to Query the User the Bastion Host ID of.
    displayName 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.
    nameRegex 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
    sourceUserId 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 string
    The status of the resource. Valid values: Frozen, Normal.
    userName 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_id 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 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.
    instanceId String
    You Want to Query the User the Bastion Host ID of.
    displayName 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.
    nameRegex 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 String
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User. Valid values: Local, Ram.
    sourceUserId 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 String
    The status of the resource. Valid values: Frozen, Normal.
    userName 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 string
    Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
    DisplayName 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.
    InstanceId 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.
    MobileCountryCode 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    SourceUserId 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 string
    The status of the resource.
    UserId string
    The User ID.
    UserName 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.
    DisplayName 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.
    InstanceId 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.
    MobileCountryCode 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    SourceUserId 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 string
    The status of the resource.
    UserId string
    The User ID.
    UserName 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.
    displayName 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.
    instanceId 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.
    mobileCountryCode 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 String
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    sourceUserId 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 String
    The status of the resource.
    userId String
    The User ID.
    userName 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.
    displayName 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.
    instanceId 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.
    mobileCountryCode 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 string
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    sourceUserId 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 string
    The status of the resource.
    userId string
    The User ID.
    userName 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_code 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 str
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    source_user_id 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 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.
    displayName 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.
    instanceId 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.
    mobileCountryCode 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 String
    Specify the New of the User That Created the Source. Valid Values: Local: Local User RAM: Ram User.
    sourceUserId 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 String
    The status of the resource.
    userId String
    The User ID.
    userName 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.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi