This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.portal.getUserSettings
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 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.
Uses Azure REST API version 2018-10-01.
Using getUserSettings
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 getUserSettings(args: GetUserSettingsArgs, opts?: InvokeOptions): Promise<GetUserSettingsResult>
function getUserSettingsOutput(args: GetUserSettingsOutputArgs, opts?: InvokeOptions): Output<GetUserSettingsResult>def get_user_settings(user_settings_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetUserSettingsResult
def get_user_settings_output(user_settings_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetUserSettingsResult]func LookupUserSettings(ctx *Context, args *LookupUserSettingsArgs, opts ...InvokeOption) (*LookupUserSettingsResult, error)
func LookupUserSettingsOutput(ctx *Context, args *LookupUserSettingsOutputArgs, opts ...InvokeOption) LookupUserSettingsResultOutput> Note: This function is named LookupUserSettings in the Go SDK.
public static class GetUserSettings 
{
    public static Task<GetUserSettingsResult> InvokeAsync(GetUserSettingsArgs args, InvokeOptions? opts = null)
    public static Output<GetUserSettingsResult> Invoke(GetUserSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserSettingsResult> getUserSettings(GetUserSettingsArgs args, InvokeOptions options)
public static Output<GetUserSettingsResult> getUserSettings(GetUserSettingsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:portal:getUserSettings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- UserSettings stringName 
- The name of the user settings
- UserSettings stringName 
- The name of the user settings
- userSettings StringName 
- The name of the user settings
- userSettings stringName 
- The name of the user settings
- user_settings_ strname 
- The name of the user settings
- userSettings StringName 
- The name of the user settings
getUserSettings Result
The following output properties are available:
- Properties
Pulumi.Azure Native. Portal. Outputs. User Properties Response 
- The cloud shell user settings properties.
- Properties
UserProperties Response 
- The cloud shell user settings properties.
- properties
UserProperties Response 
- The cloud shell user settings properties.
- properties
UserProperties Response 
- The cloud shell user settings properties.
- properties
UserProperties Response 
- The cloud shell user settings properties.
- properties Property Map
- The cloud shell user settings properties.
Supporting Types
StorageProfileResponse  
- DiskSize intIn GB 
- Size of file share
- string
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- StorageAccount stringResource Id 
- Full resource ID of storage account.
- DiskSize intIn GB 
- Size of file share
- string
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- StorageAccount stringResource Id 
- Full resource ID of storage account.
- diskSize IntegerIn GB 
- Size of file share
- String
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- storageAccount StringResource Id 
- Full resource ID of storage account.
- diskSize numberIn GB 
- Size of file share
- string
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- storageAccount stringResource Id 
- Full resource ID of storage account.
- disk_size_ intin_ gb 
- Size of file share
- str
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- storage_account_ strresource_ id 
- Full resource ID of storage account.
- diskSize NumberIn GB 
- Size of file share
- String
- Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
- storageAccount StringResource Id 
- Full resource ID of storage account.
TerminalSettingsResponse  
- font_size str
- Size of terminal font.
- font_style str
- Style of terminal font.
UserPropertiesResponse  
- PreferredLocation string
- The preferred location of the cloud shell.
- PreferredOs stringType 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- PreferredShell stringType 
- The shell type of the cloud shell.
- StorageProfile Pulumi.Azure Native. Portal. Inputs. Storage Profile Response 
- The storage profile of the user settings.
- TerminalSettings Pulumi.Azure Native. Portal. Inputs. Terminal Settings Response 
- Settings for terminal appearance.
- PreferredLocation string
- The preferred location of the cloud shell.
- PreferredOs stringType 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- PreferredShell stringType 
- The shell type of the cloud shell.
- StorageProfile StorageProfile Response 
- The storage profile of the user settings.
- TerminalSettings TerminalSettings Response 
- Settings for terminal appearance.
- preferredLocation String
- The preferred location of the cloud shell.
- preferredOs StringType 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- preferredShell StringType 
- The shell type of the cloud shell.
- storageProfile StorageProfile Response 
- The storage profile of the user settings.
- terminalSettings TerminalSettings Response 
- Settings for terminal appearance.
- preferredLocation string
- The preferred location of the cloud shell.
- preferredOs stringType 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- preferredShell stringType 
- The shell type of the cloud shell.
- storageProfile StorageProfile Response 
- The storage profile of the user settings.
- terminalSettings TerminalSettings Response 
- Settings for terminal appearance.
- preferred_location str
- The preferred location of the cloud shell.
- preferred_os_ strtype 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- preferred_shell_ strtype 
- The shell type of the cloud shell.
- storage_profile StorageProfile Response 
- The storage profile of the user settings.
- terminal_settings TerminalSettings Response 
- Settings for terminal appearance.
- preferredLocation String
- The preferred location of the cloud shell.
- preferredOs StringType 
- The operating system type of the cloud shell. Deprecated, use preferredShellType.
- preferredShell StringType 
- 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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi