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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 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:
- User
Name string - The name of the user.
- Add
Remove string | Pulumi.Azure Native. Lab Services. Add Remove - Enum indicating if user is adding or removing a favorite lab
- Lab
Account stringResource Id - Resource Id of the lab account
- Lab
Resource stringId - Resource Id of the lab to add/remove from the favorites list
- User
Name string - The name of the user.
- Add
Remove string | AddRemove - Enum indicating if user is adding or removing a favorite lab
- Lab
Account stringResource Id - Resource Id of the lab account
- Lab
Resource stringId - Resource Id of the lab to add/remove from the favorites list
- user
Name String - The name of the user.
- add
Remove String | AddRemove - Enum indicating if user is adding or removing a favorite lab
- lab
Account StringResource Id - Resource Id of the lab account
- lab
Resource StringId - Resource Id of the lab to add/remove from the favorites list
- user
Name string - The name of the user.
- add
Remove string | AddRemove - Enum indicating if user is adding or removing a favorite lab
- lab
Account stringResource Id - Resource Id of the lab account
- lab
Resource 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
- user
Name String - The name of the user.
- add
Remove String | "Add" | "Remove" - Enum indicating if user is adding or removing a favorite lab
- lab
Account StringResource Id - Resource Id of the lab account
- lab
Resource StringId - Resource Id of the lab to add/remove from the favorites list
getGlobalUserPersonalPreferences Result
The following output properties are available:
- Favorite
Lab List<string>Resource Ids - Array of favorite lab resource ids
- Id string
- Id to be used by the cache orchestrator
- Favorite
Lab []stringResource Ids - Array of favorite lab resource ids
- Id string
- Id to be used by the cache orchestrator
- favorite
Lab List<String>Resource Ids - Array of favorite lab resource ids
- id String
- Id to be used by the cache orchestrator
- favorite
Lab 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
- favorite
Lab 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi