Skip to main content

user_settings

Creates, updates, deletes, gets or lists a user_settings resource.

Overview

Nameuser_settings
TypeResource
Idazure.cloud_shell.user_settings

Fields

NameDatatypeDescription
preferred_locationtextfield from the properties object
preferred_os_typetextfield from the properties object
preferred_shell_typetextfield from the properties object
storage_profiletextfield from the properties object
terminal_settingstextfield from the properties object
userSettingsNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTuserSettingsNameGet 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.
deleteDELETEuserSettingsNameDelete cloud shell settings for current signed in user
patchUPDATEuserSettingsNamePatch cloud shell settings for current signed in user
putREPLACEuserSettingsName, data__propertiesCreate or update cloud shell settings for current signed in user
patch_with_locationEXEClocation, userSettingsNamePatch cloud shell settings for current signed in user
put_with_locationEXEClocation, userSettingsName, data__propertiesCreate or update cloud shell settings for current signed in user

SELECT examples

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.

SELECT
preferred_location,
preferred_os_type,
preferred_shell_type,
storage_profile,
terminal_settings,
userSettingsName
FROM azure.cloud_shell.vw_user_settings
WHERE userSettingsName = '{{ userSettingsName }}';

UPDATE example

Updates a user_settings resource.

/*+ update */
UPDATE azure.cloud_shell.user_settings
SET
properties = '{{ properties }}'
WHERE
userSettingsName = '{{ userSettingsName }}';

REPLACE example

Replaces all fields in the specified user_settings resource.

/*+ update */
REPLACE azure.cloud_shell.user_settings
SET
properties = '{{ properties }}'
WHERE
userSettingsName = '{{ userSettingsName }}'
AND data__properties = '{{ data__properties }}';

DELETE example

Deletes the specified user_settings resource.

/*+ delete */
DELETE FROM azure.cloud_shell.user_settings
WHERE userSettingsName = '{{ userSettingsName }}';