1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. getUser
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.databoxedge.getUser

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Gets the properties of the specified user. Azure REST API version: 2022-03-01.

    Other available API versions: 2019-07-01, 2019-08-01, 2021-02-01-preview, 2023-01-01-preview, 2023-07-01, 2023-12-01.

    Using getUser

    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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
    function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
    def get_user(device_name: Optional[str] = None,
                 name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUserResult
    def get_user_output(device_name: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
    func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
    func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput

    > Note: This function is named LookupUser in the Go SDK.

    public static class GetUser 
    {
        public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
        public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:databoxedge:getUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DeviceName string
    The device name.
    Name string
    The user name.
    ResourceGroupName string
    The resource group name.
    DeviceName string
    The device name.
    Name string
    The user name.
    ResourceGroupName string
    The resource group name.
    deviceName String
    The device name.
    name String
    The user name.
    resourceGroupName String
    The resource group name.
    deviceName string
    The device name.
    name string
    The user name.
    resourceGroupName string
    The resource group name.
    device_name str
    The device name.
    name str
    The user name.
    resource_group_name str
    The resource group name.
    deviceName String
    The device name.
    name String
    The user name.
    resourceGroupName String
    The resource group name.

    getUser Result

    The following output properties are available:

    Id string
    The path ID that uniquely identifies the object.
    Name string
    The object name.
    ShareAccessRights List<Pulumi.AzureNative.DataBoxEdge.Outputs.ShareAccessRightResponse>
    List of shares that the user has rights on. This field should not be specified during user creation.
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of User
    Type string
    The hierarchical type of the object.
    UserType string
    Type of the user.
    EncryptedPassword Pulumi.AzureNative.DataBoxEdge.Outputs.AsymmetricEncryptedSecretResponse
    The password details.
    Id string
    The path ID that uniquely identifies the object.
    Name string
    The object name.
    ShareAccessRights []ShareAccessRightResponse
    List of shares that the user has rights on. This field should not be specified during user creation.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of User
    Type string
    The hierarchical type of the object.
    UserType string
    Type of the user.
    EncryptedPassword AsymmetricEncryptedSecretResponse
    The password details.
    id String
    The path ID that uniquely identifies the object.
    name String
    The object name.
    shareAccessRights List<ShareAccessRightResponse>
    List of shares that the user has rights on. This field should not be specified during user creation.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of User
    type String
    The hierarchical type of the object.
    userType String
    Type of the user.
    encryptedPassword AsymmetricEncryptedSecretResponse
    The password details.
    id string
    The path ID that uniquely identifies the object.
    name string
    The object name.
    shareAccessRights ShareAccessRightResponse[]
    List of shares that the user has rights on. This field should not be specified during user creation.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of User
    type string
    The hierarchical type of the object.
    userType string
    Type of the user.
    encryptedPassword AsymmetricEncryptedSecretResponse
    The password details.
    id str
    The path ID that uniquely identifies the object.
    name str
    The object name.
    share_access_rights Sequence[ShareAccessRightResponse]
    List of shares that the user has rights on. This field should not be specified during user creation.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of User
    type str
    The hierarchical type of the object.
    user_type str
    Type of the user.
    encrypted_password AsymmetricEncryptedSecretResponse
    The password details.
    id String
    The path ID that uniquely identifies the object.
    name String
    The object name.
    shareAccessRights List<Property Map>
    List of shares that the user has rights on. This field should not be specified during user creation.
    systemData Property Map
    Metadata pertaining to creation and last modification of User
    type String
    The hierarchical type of the object.
    userType String
    Type of the user.
    encryptedPassword Property Map
    The password details.

    Supporting Types

    AsymmetricEncryptedSecretResponse

    EncryptionAlgorithm string
    The algorithm used to encrypt "Value".
    Value string
    The value of the secret.
    EncryptionCertThumbprint string
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    EncryptionAlgorithm string
    The algorithm used to encrypt "Value".
    Value string
    The value of the secret.
    EncryptionCertThumbprint string
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryptionAlgorithm String
    The algorithm used to encrypt "Value".
    value String
    The value of the secret.
    encryptionCertThumbprint String
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryptionAlgorithm string
    The algorithm used to encrypt "Value".
    value string
    The value of the secret.
    encryptionCertThumbprint string
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryption_algorithm str
    The algorithm used to encrypt "Value".
    value str
    The value of the secret.
    encryption_cert_thumbprint str
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.
    encryptionAlgorithm String
    The algorithm used to encrypt "Value".
    value String
    The value of the secret.
    encryptionCertThumbprint String
    Thumbprint certificate used to encrypt "Value". If the value is unencrypted, it will be null.

    ShareAccessRightResponse

    AccessType string
    Type of access to be allowed on the share for this user.
    ShareId string
    The share ID.
    AccessType string
    Type of access to be allowed on the share for this user.
    ShareId string
    The share ID.
    accessType String
    Type of access to be allowed on the share for this user.
    shareId String
    The share ID.
    accessType string
    Type of access to be allowed on the share for this user.
    shareId string
    The share ID.
    access_type str
    Type of access to be allowed on the share for this user.
    share_id str
    The share ID.
    accessType String
    Type of access to be allowed on the share for this user.
    shareId String
    The share ID.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi