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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.labservices.getGlobalUserPersonalPreferences
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get personal preferences for a user Azure REST API version: 2018-10-15.
Using getGlobalUserPersonalPreferences
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 getGlobalUserPersonalPreferences(args: GetGlobalUserPersonalPreferencesArgs, opts?: InvokeOptions): Promise<GetGlobalUserPersonalPreferencesResult>
function getGlobalUserPersonalPreferencesOutput(args: GetGlobalUserPersonalPreferencesOutputArgs, opts?: InvokeOptions): Output<GetGlobalUserPersonalPreferencesResult>def get_global_user_personal_preferences(add_remove: Optional[Union[str, AddRemove]] = None,
                                         lab_account_resource_id: Optional[str] = None,
                                         lab_resource_id: Optional[str] = None,
                                         user_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetGlobalUserPersonalPreferencesResult
def get_global_user_personal_preferences_output(add_remove: Optional[pulumi.Input[Union[str, AddRemove]]] = None,
                                         lab_account_resource_id: Optional[pulumi.Input[str]] = None,
                                         lab_resource_id: Optional[pulumi.Input[str]] = None,
                                         user_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetGlobalUserPersonalPreferencesResult]func GetGlobalUserPersonalPreferences(ctx *Context, args *GetGlobalUserPersonalPreferencesArgs, opts ...InvokeOption) (*GetGlobalUserPersonalPreferencesResult, error)
func GetGlobalUserPersonalPreferencesOutput(ctx *Context, args *GetGlobalUserPersonalPreferencesOutputArgs, opts ...InvokeOption) GetGlobalUserPersonalPreferencesResultOutput> Note: This function is named GetGlobalUserPersonalPreferences in the Go SDK.
public static class GetGlobalUserPersonalPreferences 
{
    public static Task<GetGlobalUserPersonalPreferencesResult> InvokeAsync(GetGlobalUserPersonalPreferencesArgs args, InvokeOptions? opts = null)
    public static Output<GetGlobalUserPersonalPreferencesResult> Invoke(GetGlobalUserPersonalPreferencesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGlobalUserPersonalPreferencesResult> getGlobalUserPersonalPreferences(GetGlobalUserPersonalPreferencesArgs args, InvokeOptions options)
public static Output<GetGlobalUserPersonalPreferencesResult> getGlobalUserPersonalPreferences(GetGlobalUserPersonalPreferencesArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:labservices:getGlobalUserPersonalPreferences
  arguments:
    # arguments dictionaryThe following arguments are supported:
- UserName string
- The name of the user.
- AddRemove string | Pulumi.Azure Native. Lab Services. Add Remove 
- Enum indicating if user is adding or removing a favorite lab
- LabAccount stringResource Id 
- Resource Id of the lab account
- LabResource stringId 
- Resource Id of the lab to add/remove from the favorites list
- UserName string
- The name of the user.
- AddRemove string | AddRemove 
- Enum indicating if user is adding or removing a favorite lab
- LabAccount stringResource Id 
- Resource Id of the lab account
- LabResource stringId 
- Resource Id of the lab to add/remove from the favorites list
- userName String
- The name of the user.
- addRemove String | AddRemove 
- Enum indicating if user is adding or removing a favorite lab
- labAccount StringResource Id 
- Resource Id of the lab account
- labResource StringId 
- Resource Id of the lab to add/remove from the favorites list
- userName string
- The name of the user.
- addRemove string | AddRemove 
- Enum indicating if user is adding or removing a favorite lab
- labAccount stringResource Id 
- Resource Id of the lab account
- labResource stringId 
- Resource Id of the lab to add/remove from the favorites list
- user_name str
- The name of the user.
- add_remove str | AddRemove 
- Enum indicating if user is adding or removing a favorite lab
- lab_account_ strresource_ id 
- Resource Id of the lab account
- lab_resource_ strid 
- Resource Id of the lab to add/remove from the favorites list
- userName String
- The name of the user.
- addRemove String | "Add" | "Remove"
- Enum indicating if user is adding or removing a favorite lab
- labAccount StringResource Id 
- Resource Id of the lab account
- labResource StringId 
- Resource Id of the lab to add/remove from the favorites list
getGlobalUserPersonalPreferences Result
The following output properties are available:
- FavoriteLab List<string>Resource Ids 
- Array of favorite lab resource ids
- Id string
- Id to be used by the cache orchestrator
- FavoriteLab []stringResource Ids 
- Array of favorite lab resource ids
- Id string
- Id to be used by the cache orchestrator
- favoriteLab List<String>Resource Ids 
- Array of favorite lab resource ids
- id String
- Id to be used by the cache orchestrator
- favoriteLab string[]Resource Ids 
- Array of favorite lab resource ids
- id string
- Id to be used by the cache orchestrator
- favorite_lab_ Sequence[str]resource_ ids 
- Array of favorite lab resource ids
- id str
- Id to be used by the cache orchestrator
- favoriteLab List<String>Resource Ids 
- Array of favorite lab resource ids
- id String
- Id to be used by the cache orchestrator
Supporting Types
AddRemove 
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 v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi