1. Packages
  2. Hsdp Provider
  3. API Docs
  4. getConnectMdmOauthClientScopes
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.getConnectMdmOauthClientScopes

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Retrieve client scope dictionary

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const all = hsdp.getConnectMdmOauthClientScopes({});
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    all = hsdp.get_connect_mdm_oauth_client_scopes()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hsdp.GetConnectMdmOauthClientScopes(ctx, &hsdp.GetConnectMdmOauthClientScopesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Hsdp.GetConnectMdmOauthClientScopes.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.HsdpFunctions;
    import com.pulumi.hsdp.inputs.GetConnectMdmOauthClientScopesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = HsdpFunctions.getConnectMdmOauthClientScopes();
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: hsdp:getConnectMdmOauthClientScopes
          arguments: {}
    
    import * as pulumi from "@pulumi/pulumi";
    
    export const mdmOauthClientScopes = data.hsdp_connect_mdm_oauth_client_scopes.all.scopes;
    
    import pulumi
    
    pulumi.export("mdmOauthClientScopes", data["hsdp_connect_mdm_oauth_client_scopes"]["all"]["scopes"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ctx.Export("mdmOauthClientScopes", data.Hsdp_connect_mdm_oauth_client_scopes.All.Scopes)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        return new Dictionary<string, object?>
        {
            ["mdmOauthClientScopes"] = data.Hsdp_connect_mdm_oauth_client_scopes.All.Scopes,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            ctx.export("mdmOauthClientScopes", data.hsdp_connect_mdm_oauth_client_scopes().all().scopes());
        }
    }
    
    outputs:
      mdmOauthClientScopes: ${data.hsdp_connect_mdm_oauth_client_scopes.all.scopes}
    

    Using getConnectMdmOauthClientScopes

    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 getConnectMdmOauthClientScopes(args: GetConnectMdmOauthClientScopesArgs, opts?: InvokeOptions): Promise<GetConnectMdmOauthClientScopesResult>
    function getConnectMdmOauthClientScopesOutput(args: GetConnectMdmOauthClientScopesOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmOauthClientScopesResult>
    def get_connect_mdm_oauth_client_scopes(id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetConnectMdmOauthClientScopesResult
    def get_connect_mdm_oauth_client_scopes_output(id: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmOauthClientScopesResult]
    func GetConnectMdmOauthClientScopes(ctx *Context, args *GetConnectMdmOauthClientScopesArgs, opts ...InvokeOption) (*GetConnectMdmOauthClientScopesResult, error)
    func GetConnectMdmOauthClientScopesOutput(ctx *Context, args *GetConnectMdmOauthClientScopesOutputArgs, opts ...InvokeOption) GetConnectMdmOauthClientScopesResultOutput

    > Note: This function is named GetConnectMdmOauthClientScopes in the Go SDK.

    public static class GetConnectMdmOauthClientScopes 
    {
        public static Task<GetConnectMdmOauthClientScopesResult> InvokeAsync(GetConnectMdmOauthClientScopesArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectMdmOauthClientScopesResult> Invoke(GetConnectMdmOauthClientScopesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectMdmOauthClientScopesResult> getConnectMdmOauthClientScopes(GetConnectMdmOauthClientScopesArgs args, InvokeOptions options)
    public static Output<GetConnectMdmOauthClientScopesResult> getConnectMdmOauthClientScopes(GetConnectMdmOauthClientScopesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getConnectMdmOauthClientScopes:getConnectMdmOauthClientScopes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getConnectMdmOauthClientScopes Result

    The following output properties are available:

    Actions List<string>
    The client scope actions
    BootstrapEnableds List<bool>
    Bootstrap enabled list
    Id string
    Ids List<string>
    The client scope IDs
    Names List<string>
    the client dictionary entry names
    Organizations List<string>
    The client organization list
    Propositions List<string>
    The client scope actions
    Resources List<string>
    Scopes List<string>
    The effective scopes
    Services List<string>
    The client scope services list
    Actions []string
    The client scope actions
    BootstrapEnableds []bool
    Bootstrap enabled list
    Id string
    Ids []string
    The client scope IDs
    Names []string
    the client dictionary entry names
    Organizations []string
    The client organization list
    Propositions []string
    The client scope actions
    Resources []string
    Scopes []string
    The effective scopes
    Services []string
    The client scope services list
    actions List<String>
    The client scope actions
    bootstrapEnableds List<Boolean>
    Bootstrap enabled list
    id String
    ids List<String>
    The client scope IDs
    names List<String>
    the client dictionary entry names
    organizations List<String>
    The client organization list
    propositions List<String>
    The client scope actions
    resources List<String>
    scopes List<String>
    The effective scopes
    services List<String>
    The client scope services list
    actions string[]
    The client scope actions
    bootstrapEnableds boolean[]
    Bootstrap enabled list
    id string
    ids string[]
    The client scope IDs
    names string[]
    the client dictionary entry names
    organizations string[]
    The client organization list
    propositions string[]
    The client scope actions
    resources string[]
    scopes string[]
    The effective scopes
    services string[]
    The client scope services list
    actions Sequence[str]
    The client scope actions
    bootstrap_enableds Sequence[bool]
    Bootstrap enabled list
    id str
    ids Sequence[str]
    The client scope IDs
    names Sequence[str]
    the client dictionary entry names
    organizations Sequence[str]
    The client organization list
    propositions Sequence[str]
    The client scope actions
    resources Sequence[str]
    scopes Sequence[str]
    The effective scopes
    services Sequence[str]
    The client scope services list
    actions List<String>
    The client scope actions
    bootstrapEnableds List<Boolean>
    Bootstrap enabled list
    id String
    ids List<String>
    The client scope IDs
    names List<String>
    the client dictionary entry names
    organizations List<String>
    The client organization list
    propositions List<String>
    The client scope actions
    resources List<String>
    scopes List<String>
    The effective scopes
    services List<String>
    The client scope services list

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software