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

hsdp.ConnectMdmOauthClient

Explore with Pulumi AI

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

    Provides a resource for managing Connect IoT OAuth2 clients

    Example Usage

    The following example creates a Connect IoT OAuth client

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const testclient = new hsdp.ConnectMdmOauthClient("testclient", {
        description: "Test client",
        applicationId: data.hsdp_connect_mdm_application.test_app.id,
        globalReferenceId: "some-ref-here",
        scopes: [
            "?.?.dsc.service.readAny",
            "?.?.prf.profile-custom.UpdateAny",
            "?.*.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateOwn",
        ],
        defaultScopes: [
            "?.?.dsc.service.readAny",
            "?.?.prf.profile-custom.UpdateAny",
            "?.*.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateOwn",
        ],
        iamScopes: ["tdr.contract"],
        iamDefaultScopes: ["tdr.contract"],
        redirectionUris: [
            "https://foo.bar/auth",
            "https://testapp.cloud.pcftest.com/auth",
        ],
        responseTypes: [
            "code",
            "code id_token",
        ],
        userClient: true,
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    testclient = hsdp.ConnectMdmOauthClient("testclient",
        description="Test client",
        application_id=data["hsdp_connect_mdm_application"]["test_app"]["id"],
        global_reference_id="some-ref-here",
        scopes=[
            "?.?.dsc.service.readAny",
            "?.?.prf.profile-custom.UpdateAny",
            "?.*.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateOwn",
        ],
        default_scopes=[
            "?.?.dsc.service.readAny",
            "?.?.prf.profile-custom.UpdateAny",
            "?.*.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateAny",
            "?.?.prf.profile-firmware.UpdateOwn",
        ],
        iam_scopes=["tdr.contract"],
        iam_default_scopes=["tdr.contract"],
        redirection_uris=[
            "https://foo.bar/auth",
            "https://testapp.cloud.pcftest.com/auth",
        ],
        response_types=[
            "code",
            "code id_token",
        ],
        user_client=True)
    
    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.NewConnectMdmOauthClient(ctx, "testclient", &hsdp.ConnectMdmOauthClientArgs{
    			Description:       pulumi.String("Test client"),
    			ApplicationId:     pulumi.Any(data.Hsdp_connect_mdm_application.Test_app.Id),
    			GlobalReferenceId: pulumi.String("some-ref-here"),
    			Scopes: pulumi.StringArray{
    				pulumi.String("?.?.dsc.service.readAny"),
    				pulumi.String("?.?.prf.profile-custom.UpdateAny"),
    				pulumi.String("?.*.prf.profile-firmware.UpdateAny"),
    				pulumi.String("?.?.prf.profile-firmware.UpdateAny"),
    				pulumi.String("?.?.prf.profile-firmware.UpdateOwn"),
    			},
    			DefaultScopes: pulumi.StringArray{
    				pulumi.String("?.?.dsc.service.readAny"),
    				pulumi.String("?.?.prf.profile-custom.UpdateAny"),
    				pulumi.String("?.*.prf.profile-firmware.UpdateAny"),
    				pulumi.String("?.?.prf.profile-firmware.UpdateAny"),
    				pulumi.String("?.?.prf.profile-firmware.UpdateOwn"),
    			},
    			IamScopes: pulumi.StringArray{
    				pulumi.String("tdr.contract"),
    			},
    			IamDefaultScopes: pulumi.StringArray{
    				pulumi.String("tdr.contract"),
    			},
    			RedirectionUris: pulumi.StringArray{
    				pulumi.String("https://foo.bar/auth"),
    				pulumi.String("https://testapp.cloud.pcftest.com/auth"),
    			},
    			ResponseTypes: pulumi.StringArray{
    				pulumi.String("code"),
    				pulumi.String("code id_token"),
    			},
    			UserClient: pulumi.Bool(true),
    		})
    		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 testclient = new Hsdp.ConnectMdmOauthClient("testclient", new()
        {
            Description = "Test client",
            ApplicationId = data.Hsdp_connect_mdm_application.Test_app.Id,
            GlobalReferenceId = "some-ref-here",
            Scopes = new[]
            {
                "?.?.dsc.service.readAny",
                "?.?.prf.profile-custom.UpdateAny",
                "?.*.prf.profile-firmware.UpdateAny",
                "?.?.prf.profile-firmware.UpdateAny",
                "?.?.prf.profile-firmware.UpdateOwn",
            },
            DefaultScopes = new[]
            {
                "?.?.dsc.service.readAny",
                "?.?.prf.profile-custom.UpdateAny",
                "?.*.prf.profile-firmware.UpdateAny",
                "?.?.prf.profile-firmware.UpdateAny",
                "?.?.prf.profile-firmware.UpdateOwn",
            },
            IamScopes = new[]
            {
                "tdr.contract",
            },
            IamDefaultScopes = new[]
            {
                "tdr.contract",
            },
            RedirectionUris = new[]
            {
                "https://foo.bar/auth",
                "https://testapp.cloud.pcftest.com/auth",
            },
            ResponseTypes = new[]
            {
                "code",
                "code id_token",
            },
            UserClient = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.ConnectMdmOauthClient;
    import com.pulumi.hsdp.ConnectMdmOauthClientArgs;
    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) {
            var testclient = new ConnectMdmOauthClient("testclient", ConnectMdmOauthClientArgs.builder()
                .description("Test client")
                .applicationId(data.hsdp_connect_mdm_application().test_app().id())
                .globalReferenceId("some-ref-here")
                .scopes(            
                    "?.?.dsc.service.readAny",
                    "?.?.prf.profile-custom.UpdateAny",
                    "?.*.prf.profile-firmware.UpdateAny",
                    "?.?.prf.profile-firmware.UpdateAny",
                    "?.?.prf.profile-firmware.UpdateOwn")
                .defaultScopes(            
                    "?.?.dsc.service.readAny",
                    "?.?.prf.profile-custom.UpdateAny",
                    "?.*.prf.profile-firmware.UpdateAny",
                    "?.?.prf.profile-firmware.UpdateAny",
                    "?.?.prf.profile-firmware.UpdateOwn")
                .iamScopes("tdr.contract")
                .iamDefaultScopes("tdr.contract")
                .redirectionUris(            
                    "https://foo.bar/auth",
                    "https://testapp.cloud.pcftest.com/auth")
                .responseTypes(            
                    "code",
                    "code id_token")
                .userClient(true)
                .build());
    
        }
    }
    
    resources:
      testclient:
        type: hsdp:ConnectMdmOauthClient
        properties:
          description: Test client
          applicationId: ${data.hsdp_connect_mdm_application.test_app.id}
          globalReferenceId: some-ref-here
          scopes:
            - ?.?.dsc.service.readAny
            - ?.?.prf.profile-custom.UpdateAny
            - ?.*.prf.profile-firmware.UpdateAny
            - ?.?.prf.profile-firmware.UpdateAny
            - ?.?.prf.profile-firmware.UpdateOwn
          defaultScopes:
            - ?.?.dsc.service.readAny
            - ?.?.prf.profile-custom.UpdateAny
            - ?.*.prf.profile-firmware.UpdateAny
            - ?.?.prf.profile-firmware.UpdateAny
            - ?.?.prf.profile-firmware.UpdateOwn
          iamScopes:
            - tdr.contract
          iamDefaultScopes:
            - tdr.contract
          redirectionUris:
            - https://foo.bar/auth
            - https://testapp.cloud.pcftest.com/auth
          responseTypes:
            - code
            - code id_token
          userClient: true
    

    Create ConnectMdmOauthClient Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectMdmOauthClient(name: string, args: ConnectMdmOauthClientArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectMdmOauthClient(resource_name: str,
                              args: ConnectMdmOauthClientArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectMdmOauthClient(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              default_scopes: Optional[Sequence[str]] = None,
                              scopes: Optional[Sequence[str]] = None,
                              response_types: Optional[Sequence[str]] = None,
                              redirection_uris: Optional[Sequence[str]] = None,
                              global_reference_id: Optional[str] = None,
                              application_id: Optional[str] = None,
                              description: Optional[str] = None,
                              connect_mdm_oauth_client_id: Optional[str] = None,
                              client_revoked: Optional[bool] = None,
                              bootstrap_client_scopes: Optional[Sequence[str]] = None,
                              iam_default_scopes: Optional[Sequence[str]] = None,
                              iam_scopes: Optional[Sequence[str]] = None,
                              name: Optional[str] = None,
                              bootstrap_client_iam_scopes: Optional[Sequence[str]] = None,
                              bootstrap_client_iam_default_scopes: Optional[Sequence[str]] = None,
                              bootstrap_client_default_scopes: Optional[Sequence[str]] = None,
                              user_client: Optional[bool] = None)
    func NewConnectMdmOauthClient(ctx *Context, name string, args ConnectMdmOauthClientArgs, opts ...ResourceOption) (*ConnectMdmOauthClient, error)
    public ConnectMdmOauthClient(string name, ConnectMdmOauthClientArgs args, CustomResourceOptions? opts = null)
    public ConnectMdmOauthClient(String name, ConnectMdmOauthClientArgs args)
    public ConnectMdmOauthClient(String name, ConnectMdmOauthClientArgs args, CustomResourceOptions options)
    
    type: hsdp:ConnectMdmOauthClient
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConnectMdmOauthClientArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConnectMdmOauthClientArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConnectMdmOauthClientArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectMdmOauthClientArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectMdmOauthClientArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var connectMdmOauthClientResource = new Hsdp.ConnectMdmOauthClient("connectMdmOauthClientResource", new()
    {
        DefaultScopes = new[]
        {
            "string",
        },
        Scopes = new[]
        {
            "string",
        },
        ResponseTypes = new[]
        {
            "string",
        },
        RedirectionUris = new[]
        {
            "string",
        },
        GlobalReferenceId = "string",
        ApplicationId = "string",
        Description = "string",
        ConnectMdmOauthClientId = "string",
        ClientRevoked = false,
        BootstrapClientScopes = new[]
        {
            "string",
        },
        IamDefaultScopes = new[]
        {
            "string",
        },
        IamScopes = new[]
        {
            "string",
        },
        Name = "string",
        BootstrapClientIamScopes = new[]
        {
            "string",
        },
        BootstrapClientIamDefaultScopes = new[]
        {
            "string",
        },
        BootstrapClientDefaultScopes = new[]
        {
            "string",
        },
        UserClient = false,
    });
    
    example, err := hsdp.NewConnectMdmOauthClient(ctx, "connectMdmOauthClientResource", &hsdp.ConnectMdmOauthClientArgs{
    	DefaultScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Scopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResponseTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RedirectionUris: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	GlobalReferenceId:       pulumi.String("string"),
    	ApplicationId:           pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	ConnectMdmOauthClientId: pulumi.String("string"),
    	ClientRevoked:           pulumi.Bool(false),
    	BootstrapClientScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IamDefaultScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IamScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	BootstrapClientIamScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BootstrapClientIamDefaultScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BootstrapClientDefaultScopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UserClient: pulumi.Bool(false),
    })
    
    var connectMdmOauthClientResource = new ConnectMdmOauthClient("connectMdmOauthClientResource", ConnectMdmOauthClientArgs.builder()
        .defaultScopes("string")
        .scopes("string")
        .responseTypes("string")
        .redirectionUris("string")
        .globalReferenceId("string")
        .applicationId("string")
        .description("string")
        .connectMdmOauthClientId("string")
        .clientRevoked(false)
        .bootstrapClientScopes("string")
        .iamDefaultScopes("string")
        .iamScopes("string")
        .name("string")
        .bootstrapClientIamScopes("string")
        .bootstrapClientIamDefaultScopes("string")
        .bootstrapClientDefaultScopes("string")
        .userClient(false)
        .build());
    
    connect_mdm_oauth_client_resource = hsdp.ConnectMdmOauthClient("connectMdmOauthClientResource",
        default_scopes=["string"],
        scopes=["string"],
        response_types=["string"],
        redirection_uris=["string"],
        global_reference_id="string",
        application_id="string",
        description="string",
        connect_mdm_oauth_client_id="string",
        client_revoked=False,
        bootstrap_client_scopes=["string"],
        iam_default_scopes=["string"],
        iam_scopes=["string"],
        name="string",
        bootstrap_client_iam_scopes=["string"],
        bootstrap_client_iam_default_scopes=["string"],
        bootstrap_client_default_scopes=["string"],
        user_client=False)
    
    const connectMdmOauthClientResource = new hsdp.ConnectMdmOauthClient("connectMdmOauthClientResource", {
        defaultScopes: ["string"],
        scopes: ["string"],
        responseTypes: ["string"],
        redirectionUris: ["string"],
        globalReferenceId: "string",
        applicationId: "string",
        description: "string",
        connectMdmOauthClientId: "string",
        clientRevoked: false,
        bootstrapClientScopes: ["string"],
        iamDefaultScopes: ["string"],
        iamScopes: ["string"],
        name: "string",
        bootstrapClientIamScopes: ["string"],
        bootstrapClientIamDefaultScopes: ["string"],
        bootstrapClientDefaultScopes: ["string"],
        userClient: false,
    });
    
    type: hsdp:ConnectMdmOauthClient
    properties:
        applicationId: string
        bootstrapClientDefaultScopes:
            - string
        bootstrapClientIamDefaultScopes:
            - string
        bootstrapClientIamScopes:
            - string
        bootstrapClientScopes:
            - string
        clientRevoked: false
        connectMdmOauthClientId: string
        defaultScopes:
            - string
        description: string
        globalReferenceId: string
        iamDefaultScopes:
            - string
        iamScopes:
            - string
        name: string
        redirectionUris:
            - string
        responseTypes:
            - string
        scopes:
            - string
        userClient: false
    

    ConnectMdmOauthClient Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ConnectMdmOauthClient resource accepts the following input properties:

    ApplicationId string
    the application ID (GUID) to attach this client to
    DefaultScopes List<string>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    GlobalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    RedirectionUris List<string>
    Array of valid RedirectionURIs for this client
    ResponseTypes List<string>
    Scopes List<string>
    Array. List of supported scopes for this client
    BootstrapClientDefaultScopes List<string>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    BootstrapClientIamDefaultScopes List<string>
    Array. Default scopes to set for this bootstrap client's IAM instance
    BootstrapClientIamScopes List<string>
    Array. List of supported scopes for this bootstrap client's IAM instance
    BootstrapClientScopes List<string>
    Array. List of supported scopes for the bootstrap client
    ClientRevoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    ConnectMdmOauthClientId string
    The GUID of the client
    Description string
    The description of the client
    IamDefaultScopes List<string>
    Array. Default scopes to set for this client's IAM instance
    IamScopes List<string>
    Array. List of supported scopes for this client's IAM instance
    Name string
    The name of the client
    UserClient bool
    ApplicationId string
    the application ID (GUID) to attach this client to
    DefaultScopes []string
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    GlobalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    RedirectionUris []string
    Array of valid RedirectionURIs for this client
    ResponseTypes []string
    Scopes []string
    Array. List of supported scopes for this client
    BootstrapClientDefaultScopes []string
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    BootstrapClientIamDefaultScopes []string
    Array. Default scopes to set for this bootstrap client's IAM instance
    BootstrapClientIamScopes []string
    Array. List of supported scopes for this bootstrap client's IAM instance
    BootstrapClientScopes []string
    Array. List of supported scopes for the bootstrap client
    ClientRevoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    ConnectMdmOauthClientId string
    The GUID of the client
    Description string
    The description of the client
    IamDefaultScopes []string
    Array. Default scopes to set for this client's IAM instance
    IamScopes []string
    Array. List of supported scopes for this client's IAM instance
    Name string
    The name of the client
    UserClient bool
    applicationId String
    the application ID (GUID) to attach this client to
    defaultScopes List<String>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    globalReferenceId String
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    redirectionUris List<String>
    Array of valid RedirectionURIs for this client
    responseTypes List<String>
    scopes List<String>
    Array. List of supported scopes for this client
    bootstrapClientDefaultScopes List<String>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientIamDefaultScopes List<String>
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes List<String>
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientScopes List<String>
    Array. List of supported scopes for the bootstrap client
    clientRevoked Boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    connectMdmOauthClientId String
    The GUID of the client
    description String
    The description of the client
    iamDefaultScopes List<String>
    Array. Default scopes to set for this client's IAM instance
    iamScopes List<String>
    Array. List of supported scopes for this client's IAM instance
    name String
    The name of the client
    userClient Boolean
    applicationId string
    the application ID (GUID) to attach this client to
    defaultScopes string[]
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    globalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    redirectionUris string[]
    Array of valid RedirectionURIs for this client
    responseTypes string[]
    scopes string[]
    Array. List of supported scopes for this client
    bootstrapClientDefaultScopes string[]
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientIamDefaultScopes string[]
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes string[]
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientScopes string[]
    Array. List of supported scopes for the bootstrap client
    clientRevoked boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    connectMdmOauthClientId string
    The GUID of the client
    description string
    The description of the client
    iamDefaultScopes string[]
    Array. Default scopes to set for this client's IAM instance
    iamScopes string[]
    Array. List of supported scopes for this client's IAM instance
    name string
    The name of the client
    userClient boolean
    application_id str
    the application ID (GUID) to attach this client to
    default_scopes Sequence[str]
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    global_reference_id str
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    redirection_uris Sequence[str]
    Array of valid RedirectionURIs for this client
    response_types Sequence[str]
    scopes Sequence[str]
    Array. List of supported scopes for this client
    bootstrap_client_default_scopes Sequence[str]
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrap_client_iam_default_scopes Sequence[str]
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrap_client_iam_scopes Sequence[str]
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrap_client_scopes Sequence[str]
    Array. List of supported scopes for the bootstrap client
    client_revoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    connect_mdm_oauth_client_id str
    The GUID of the client
    description str
    The description of the client
    iam_default_scopes Sequence[str]
    Array. Default scopes to set for this client's IAM instance
    iam_scopes Sequence[str]
    Array. List of supported scopes for this client's IAM instance
    name str
    The name of the client
    user_client bool
    applicationId String
    the application ID (GUID) to attach this client to
    defaultScopes List<String>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    globalReferenceId String
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    redirectionUris List<String>
    Array of valid RedirectionURIs for this client
    responseTypes List<String>
    scopes List<String>
    Array. List of supported scopes for this client
    bootstrapClientDefaultScopes List<String>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientIamDefaultScopes List<String>
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes List<String>
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientScopes List<String>
    Array. List of supported scopes for the bootstrap client
    clientRevoked Boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    connectMdmOauthClientId String
    The GUID of the client
    description String
    The description of the client
    iamDefaultScopes List<String>
    Array. Default scopes to set for this client's IAM instance
    iamScopes List<String>
    Array. List of supported scopes for this client's IAM instance
    name String
    The name of the client
    userClient Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectMdmOauthClient resource produces the following output properties:

    BootstrapClientGuid string

    Deprecated: Deprecated

    BootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    BootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    BootstrapClientId string
    The bootstrap client ID
    BootstrapClientSecret string
    The boostrap client secret
    ClientGuid string

    Deprecated: Deprecated

    ClientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    ClientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    ClientId string
    The client id
    ClientSecret string
    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    BootstrapClientGuid string

    Deprecated: Deprecated

    BootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    BootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    BootstrapClientId string
    The bootstrap client ID
    BootstrapClientSecret string
    The boostrap client secret
    ClientGuid string

    Deprecated: Deprecated

    ClientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    ClientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    ClientId string
    The client id
    ClientSecret string
    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    bootstrapClientGuid String

    Deprecated: Deprecated

    bootstrapClientGuidSystem String
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue String
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientId String
    The bootstrap client ID
    bootstrapClientSecret String
    The boostrap client secret
    clientGuid String

    Deprecated: Deprecated

    clientGuidSystem String
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue String
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId String
    The client id
    clientSecret String
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    bootstrapClientGuid string

    Deprecated: Deprecated

    bootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientId string
    The bootstrap client ID
    bootstrapClientSecret string
    The boostrap client secret
    clientGuid string

    Deprecated: Deprecated

    clientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId string
    The client id
    clientSecret string
    guid string
    id string
    The provider-assigned unique ID for this managed resource.
    versionId string
    bootstrap_client_guid str

    Deprecated: Deprecated

    bootstrap_client_guid_system str
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrap_client_guid_value str
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrap_client_id str
    The bootstrap client ID
    bootstrap_client_secret str
    The boostrap client secret
    client_guid str

    Deprecated: Deprecated

    client_guid_system str
    The external system client associated with resource (this would point to an IAM deployment)
    client_guid_value str
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    client_id str
    The client id
    client_secret str
    guid str
    id str
    The provider-assigned unique ID for this managed resource.
    version_id str
    bootstrapClientGuid String

    Deprecated: Deprecated

    bootstrapClientGuidSystem String
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue String
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientId String
    The bootstrap client ID
    bootstrapClientSecret String
    The boostrap client secret
    clientGuid String

    Deprecated: Deprecated

    clientGuidSystem String
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue String
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId String
    The client id
    clientSecret String
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String

    Look up Existing ConnectMdmOauthClient Resource

    Get an existing ConnectMdmOauthClient resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConnectMdmOauthClientState, opts?: CustomResourceOptions): ConnectMdmOauthClient
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            bootstrap_client_default_scopes: Optional[Sequence[str]] = None,
            bootstrap_client_guid: Optional[str] = None,
            bootstrap_client_guid_system: Optional[str] = None,
            bootstrap_client_guid_value: Optional[str] = None,
            bootstrap_client_iam_default_scopes: Optional[Sequence[str]] = None,
            bootstrap_client_iam_scopes: Optional[Sequence[str]] = None,
            bootstrap_client_id: Optional[str] = None,
            bootstrap_client_scopes: Optional[Sequence[str]] = None,
            bootstrap_client_secret: Optional[str] = None,
            client_guid: Optional[str] = None,
            client_guid_system: Optional[str] = None,
            client_guid_value: Optional[str] = None,
            client_id: Optional[str] = None,
            client_revoked: Optional[bool] = None,
            client_secret: Optional[str] = None,
            connect_mdm_oauth_client_id: Optional[str] = None,
            default_scopes: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            global_reference_id: Optional[str] = None,
            guid: Optional[str] = None,
            iam_default_scopes: Optional[Sequence[str]] = None,
            iam_scopes: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            redirection_uris: Optional[Sequence[str]] = None,
            response_types: Optional[Sequence[str]] = None,
            scopes: Optional[Sequence[str]] = None,
            user_client: Optional[bool] = None,
            version_id: Optional[str] = None) -> ConnectMdmOauthClient
    func GetConnectMdmOauthClient(ctx *Context, name string, id IDInput, state *ConnectMdmOauthClientState, opts ...ResourceOption) (*ConnectMdmOauthClient, error)
    public static ConnectMdmOauthClient Get(string name, Input<string> id, ConnectMdmOauthClientState? state, CustomResourceOptions? opts = null)
    public static ConnectMdmOauthClient get(String name, Output<String> id, ConnectMdmOauthClientState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:ConnectMdmOauthClient    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationId string
    the application ID (GUID) to attach this client to
    BootstrapClientDefaultScopes List<string>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    BootstrapClientGuid string

    Deprecated: Deprecated

    BootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    BootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    BootstrapClientIamDefaultScopes List<string>
    Array. Default scopes to set for this bootstrap client's IAM instance
    BootstrapClientIamScopes List<string>
    Array. List of supported scopes for this bootstrap client's IAM instance
    BootstrapClientId string
    The bootstrap client ID
    BootstrapClientScopes List<string>
    Array. List of supported scopes for the bootstrap client
    BootstrapClientSecret string
    The boostrap client secret
    ClientGuid string

    Deprecated: Deprecated

    ClientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    ClientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    ClientId string
    The client id
    ClientRevoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    ClientSecret string
    ConnectMdmOauthClientId string
    The GUID of the client
    DefaultScopes List<string>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    Description string
    The description of the client
    GlobalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    Guid string
    IamDefaultScopes List<string>
    Array. Default scopes to set for this client's IAM instance
    IamScopes List<string>
    Array. List of supported scopes for this client's IAM instance
    Name string
    The name of the client
    RedirectionUris List<string>
    Array of valid RedirectionURIs for this client
    ResponseTypes List<string>
    Scopes List<string>
    Array. List of supported scopes for this client
    UserClient bool
    VersionId string
    ApplicationId string
    the application ID (GUID) to attach this client to
    BootstrapClientDefaultScopes []string
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    BootstrapClientGuid string

    Deprecated: Deprecated

    BootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    BootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    BootstrapClientIamDefaultScopes []string
    Array. Default scopes to set for this bootstrap client's IAM instance
    BootstrapClientIamScopes []string
    Array. List of supported scopes for this bootstrap client's IAM instance
    BootstrapClientId string
    The bootstrap client ID
    BootstrapClientScopes []string
    Array. List of supported scopes for the bootstrap client
    BootstrapClientSecret string
    The boostrap client secret
    ClientGuid string

    Deprecated: Deprecated

    ClientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    ClientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    ClientId string
    The client id
    ClientRevoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    ClientSecret string
    ConnectMdmOauthClientId string
    The GUID of the client
    DefaultScopes []string
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    Description string
    The description of the client
    GlobalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    Guid string
    IamDefaultScopes []string
    Array. Default scopes to set for this client's IAM instance
    IamScopes []string
    Array. List of supported scopes for this client's IAM instance
    Name string
    The name of the client
    RedirectionUris []string
    Array of valid RedirectionURIs for this client
    ResponseTypes []string
    Scopes []string
    Array. List of supported scopes for this client
    UserClient bool
    VersionId string
    applicationId String
    the application ID (GUID) to attach this client to
    bootstrapClientDefaultScopes List<String>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientGuid String

    Deprecated: Deprecated

    bootstrapClientGuidSystem String
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue String
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientIamDefaultScopes List<String>
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes List<String>
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientId String
    The bootstrap client ID
    bootstrapClientScopes List<String>
    Array. List of supported scopes for the bootstrap client
    bootstrapClientSecret String
    The boostrap client secret
    clientGuid String

    Deprecated: Deprecated

    clientGuidSystem String
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue String
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId String
    The client id
    clientRevoked Boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    clientSecret String
    connectMdmOauthClientId String
    The GUID of the client
    defaultScopes List<String>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    description String
    The description of the client
    globalReferenceId String
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    guid String
    iamDefaultScopes List<String>
    Array. Default scopes to set for this client's IAM instance
    iamScopes List<String>
    Array. List of supported scopes for this client's IAM instance
    name String
    The name of the client
    redirectionUris List<String>
    Array of valid RedirectionURIs for this client
    responseTypes List<String>
    scopes List<String>
    Array. List of supported scopes for this client
    userClient Boolean
    versionId String
    applicationId string
    the application ID (GUID) to attach this client to
    bootstrapClientDefaultScopes string[]
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientGuid string

    Deprecated: Deprecated

    bootstrapClientGuidSystem string
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue string
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientIamDefaultScopes string[]
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes string[]
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientId string
    The bootstrap client ID
    bootstrapClientScopes string[]
    Array. List of supported scopes for the bootstrap client
    bootstrapClientSecret string
    The boostrap client secret
    clientGuid string

    Deprecated: Deprecated

    clientGuidSystem string
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue string
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId string
    The client id
    clientRevoked boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    clientSecret string
    connectMdmOauthClientId string
    The GUID of the client
    defaultScopes string[]
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    description string
    The description of the client
    globalReferenceId string
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    guid string
    iamDefaultScopes string[]
    Array. Default scopes to set for this client's IAM instance
    iamScopes string[]
    Array. List of supported scopes for this client's IAM instance
    name string
    The name of the client
    redirectionUris string[]
    Array of valid RedirectionURIs for this client
    responseTypes string[]
    scopes string[]
    Array. List of supported scopes for this client
    userClient boolean
    versionId string
    application_id str
    the application ID (GUID) to attach this client to
    bootstrap_client_default_scopes Sequence[str]
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrap_client_guid str

    Deprecated: Deprecated

    bootstrap_client_guid_system str
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrap_client_guid_value str
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrap_client_iam_default_scopes Sequence[str]
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrap_client_iam_scopes Sequence[str]
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrap_client_id str
    The bootstrap client ID
    bootstrap_client_scopes Sequence[str]
    Array. List of supported scopes for the bootstrap client
    bootstrap_client_secret str
    The boostrap client secret
    client_guid str

    Deprecated: Deprecated

    client_guid_system str
    The external system client associated with resource (this would point to an IAM deployment)
    client_guid_value str
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    client_id str
    The client id
    client_revoked bool

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    client_secret str
    connect_mdm_oauth_client_id str
    The GUID of the client
    default_scopes Sequence[str]
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    description str
    The description of the client
    global_reference_id str
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    guid str
    iam_default_scopes Sequence[str]
    Array. Default scopes to set for this client's IAM instance
    iam_scopes Sequence[str]
    Array. List of supported scopes for this client's IAM instance
    name str
    The name of the client
    redirection_uris Sequence[str]
    Array of valid RedirectionURIs for this client
    response_types Sequence[str]
    scopes Sequence[str]
    Array. List of supported scopes for this client
    user_client bool
    version_id str
    applicationId String
    the application ID (GUID) to attach this client to
    bootstrapClientDefaultScopes List<String>
    Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
    bootstrapClientGuid String

    Deprecated: Deprecated

    bootstrapClientGuidSystem String
    The external system bootstrap client associated with resource (this would point to an IAM deployment)
    bootstrapClientGuidValue String
    The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    bootstrapClientIamDefaultScopes List<String>
    Array. Default scopes to set for this bootstrap client's IAM instance
    bootstrapClientIamScopes List<String>
    Array. List of supported scopes for this bootstrap client's IAM instance
    bootstrapClientId String
    The bootstrap client ID
    bootstrapClientScopes List<String>
    Array. List of supported scopes for the bootstrap client
    bootstrapClientSecret String
    The boostrap client secret
    clientGuid String

    Deprecated: Deprecated

    clientGuidSystem String
    The external system client associated with resource (this would point to an IAM deployment)
    clientGuidValue String
    The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
    clientId String
    The client id
    clientRevoked Boolean

    The application_id only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. If user_client is false, only scopes, default_scopes, iam_scopes and iam_default_scopes are allowed.

    clientSecret String
    connectMdmOauthClientId String
    The GUID of the client
    defaultScopes List<String>
    Array. Default scopes. You do not have to specify these explicitly when requesting a token
    description String
    The description of the client
    globalReferenceId String
    Reference identifier defined by the provisioning user. This reference Identifier will be carried over to identify the provisioned resource across deployment instances (ClientTest, Production). Invalid Characters:- "[&+’";=?()[]<>]
    guid String
    iamDefaultScopes List<String>
    Array. Default scopes to set for this client's IAM instance
    iamScopes List<String>
    Array. List of supported scopes for this client's IAM instance
    name String
    The name of the client
    redirectionUris List<String>
    Array of valid RedirectionURIs for this client
    responseTypes List<String>
    scopes List<String>
    Array. List of supported scopes for this client
    userClient Boolean
    versionId String

    Import

    $ pulumi import hsdp:index/connectMdmOauthClient:ConnectMdmOauthClient An existing client can be imported using `hsdp_connect_mdm_oauth_client`, e.g.
    
    $ pulumi import hsdp:index/connectMdmOauthClient:ConnectMdmOauthClient myclient a-guid
    

    To learn more about importing existing cloud resources, see Importing resources.

    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