1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. getGlobalUserPersonalPreferences
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.labservices.getGlobalUserPersonalPreferences

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 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:labservices:getGlobalUserPersonalPreferences
      arguments:
        # arguments dictionary

    The following arguments are supported:

    UserName string
    The name of the user.
    AddRemove string | Pulumi.AzureNative.LabServices.AddRemove
    Enum indicating if user is adding or removing a favorite lab
    LabAccountResourceId string
    Resource Id of the lab account
    LabResourceId string
    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
    LabAccountResourceId string
    Resource Id of the lab account
    LabResourceId string
    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
    labAccountResourceId String
    Resource Id of the lab account
    labResourceId String
    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
    labAccountResourceId string
    Resource Id of the lab account
    labResourceId string
    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_resource_id str
    Resource Id of the lab account
    lab_resource_id str
    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
    labAccountResourceId String
    Resource Id of the lab account
    labResourceId String
    Resource Id of the lab to add/remove from the favorites list

    getGlobalUserPersonalPreferences Result

    The following output properties are available:

    FavoriteLabResourceIds List<string>
    Array of favorite lab resource ids
    Id string
    Id to be used by the cache orchestrator
    FavoriteLabResourceIds []string
    Array of favorite lab resource ids
    Id string
    Id to be used by the cache orchestrator
    favoriteLabResourceIds List<String>
    Array of favorite lab resource ids
    id String
    Id to be used by the cache orchestrator
    favoriteLabResourceIds string[]
    Array of favorite lab resource ids
    id string
    Id to be used by the cache orchestrator
    favorite_lab_resource_ids Sequence[str]
    Array of favorite lab resource ids
    id str
    Id to be used by the cache orchestrator
    favoriteLabResourceIds List<String>
    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
    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