1. Packages
  2. Azure Native
  3. API Docs
  4. portal
  5. getUserSettingsWithLocation
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.portal.getUserSettingsWithLocation

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Get current user settings for current signed in user. This operation returns settings for the user’s cloud shell preferences including preferred location, storage profile, shell type, font and size settings. Azure REST API version: 2018-10-01.

    Using getUserSettingsWithLocation

    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 getUserSettingsWithLocation(args: GetUserSettingsWithLocationArgs, opts?: InvokeOptions): Promise<GetUserSettingsWithLocationResult>
    function getUserSettingsWithLocationOutput(args: GetUserSettingsWithLocationOutputArgs, opts?: InvokeOptions): Output<GetUserSettingsWithLocationResult>
    def get_user_settings_with_location(location: Optional[str] = None,
                                        user_settings_name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetUserSettingsWithLocationResult
    def get_user_settings_with_location_output(location: Optional[pulumi.Input[str]] = None,
                                        user_settings_name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetUserSettingsWithLocationResult]
    func LookupUserSettingsWithLocation(ctx *Context, args *LookupUserSettingsWithLocationArgs, opts ...InvokeOption) (*LookupUserSettingsWithLocationResult, error)
    func LookupUserSettingsWithLocationOutput(ctx *Context, args *LookupUserSettingsWithLocationOutputArgs, opts ...InvokeOption) LookupUserSettingsWithLocationResultOutput

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

    public static class GetUserSettingsWithLocation 
    {
        public static Task<GetUserSettingsWithLocationResult> InvokeAsync(GetUserSettingsWithLocationArgs args, InvokeOptions? opts = null)
        public static Output<GetUserSettingsWithLocationResult> Invoke(GetUserSettingsWithLocationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserSettingsWithLocationResult> getUserSettingsWithLocation(GetUserSettingsWithLocationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:portal:getUserSettingsWithLocation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    The provider location
    UserSettingsName string
    The name of the user settings
    Location string
    The provider location
    UserSettingsName string
    The name of the user settings
    location String
    The provider location
    userSettingsName String
    The name of the user settings
    location string
    The provider location
    userSettingsName string
    The name of the user settings
    location str
    The provider location
    user_settings_name str
    The name of the user settings
    location String
    The provider location
    userSettingsName String
    The name of the user settings

    getUserSettingsWithLocation Result

    The following output properties are available:

    Properties UserPropertiesResponse
    The cloud shell user settings properties.
    properties UserPropertiesResponse
    The cloud shell user settings properties.
    properties UserPropertiesResponse
    The cloud shell user settings properties.
    properties UserPropertiesResponse
    The cloud shell user settings properties.
    properties Property Map
    The cloud shell user settings properties.

    Supporting Types

    StorageProfileResponse

    DiskSizeInGB int
    Size of file share
    FileShareName string
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    StorageAccountResourceId string
    Full resource ID of storage account.
    DiskSizeInGB int
    Size of file share
    FileShareName string
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    StorageAccountResourceId string
    Full resource ID of storage account.
    diskSizeInGB Integer
    Size of file share
    fileShareName String
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    storageAccountResourceId String
    Full resource ID of storage account.
    diskSizeInGB number
    Size of file share
    fileShareName string
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    storageAccountResourceId string
    Full resource ID of storage account.
    disk_size_in_gb int
    Size of file share
    file_share_name str
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    storage_account_resource_id str
    Full resource ID of storage account.
    diskSizeInGB Number
    Size of file share
    fileShareName String
    Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
    storageAccountResourceId String
    Full resource ID of storage account.

    TerminalSettingsResponse

    FontSize string
    Size of terminal font.
    FontStyle string
    Style of terminal font.
    FontSize string
    Size of terminal font.
    FontStyle string
    Style of terminal font.
    fontSize String
    Size of terminal font.
    fontStyle String
    Style of terminal font.
    fontSize string
    Size of terminal font.
    fontStyle string
    Style of terminal font.
    font_size str
    Size of terminal font.
    font_style str
    Style of terminal font.
    fontSize String
    Size of terminal font.
    fontStyle String
    Style of terminal font.

    UserPropertiesResponse

    PreferredLocation string
    The preferred location of the cloud shell.
    PreferredOsType string
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    PreferredShellType string
    The shell type of the cloud shell.
    StorageProfile Pulumi.AzureNative.Portal.Inputs.StorageProfileResponse
    The storage profile of the user settings.
    TerminalSettings Pulumi.AzureNative.Portal.Inputs.TerminalSettingsResponse
    Settings for terminal appearance.
    PreferredLocation string
    The preferred location of the cloud shell.
    PreferredOsType string
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    PreferredShellType string
    The shell type of the cloud shell.
    StorageProfile StorageProfileResponse
    The storage profile of the user settings.
    TerminalSettings TerminalSettingsResponse
    Settings for terminal appearance.
    preferredLocation String
    The preferred location of the cloud shell.
    preferredOsType String
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    preferredShellType String
    The shell type of the cloud shell.
    storageProfile StorageProfileResponse
    The storage profile of the user settings.
    terminalSettings TerminalSettingsResponse
    Settings for terminal appearance.
    preferredLocation string
    The preferred location of the cloud shell.
    preferredOsType string
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    preferredShellType string
    The shell type of the cloud shell.
    storageProfile StorageProfileResponse
    The storage profile of the user settings.
    terminalSettings TerminalSettingsResponse
    Settings for terminal appearance.
    preferred_location str
    The preferred location of the cloud shell.
    preferred_os_type str
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    preferred_shell_type str
    The shell type of the cloud shell.
    storage_profile StorageProfileResponse
    The storage profile of the user settings.
    terminal_settings TerminalSettingsResponse
    Settings for terminal appearance.
    preferredLocation String
    The preferred location of the cloud shell.
    preferredOsType String
    The operating system type of the cloud shell. Deprecated, use preferredShellType.
    preferredShellType String
    The shell type of the cloud shell.
    storageProfile Property Map
    The storage profile of the user settings.
    terminalSettings Property Map
    Settings for terminal appearance.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi