Skip to main content

user_settings_with_locations

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

Overview

Nameuser_settings_with_locations
TypeResource
Idazure.cloud_shell.user_settings_with_locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectThe cloud shell user settings properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectuserSettingsName, locationGet 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.
deletedeleteuserSettingsName, locationDelete cloud shell settings for current signed in user

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe provider location
userSettingsNamestringThe name of the user settings

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
properties
FROM azure.cloud_shell.user_settings_with_locations
WHERE userSettingsName = '{{ userSettingsName }}' -- required
AND location = '{{ location }}' -- required
;

DELETE examples

Delete cloud shell settings for current signed in user

DELETE FROM azure.cloud_shell.user_settings_with_locations
WHERE userSettingsName = '{{ userSettingsName }}' --required
AND location = '{{ location }}' --required
;