hsdp.ConnectMdmOauthClient
Explore with Pulumi AI
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:
- Application
Id string - the application ID (GUID) to attach this client to
- Default
Scopes List<string> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- Global
Reference stringId - 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 List<string> - Array of valid RedirectionURIs for this client
- Response
Types List<string> - Scopes List<string>
- Array. List of supported scopes for this client
- Bootstrap
Client List<string>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- Bootstrap
Client List<string>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- Bootstrap
Client List<string>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- Bootstrap
Client List<string>Scopes - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- Connect
Mdm stringOauth Client Id - The GUID of the client
- Description string
- The description of the client
- Iam
Default List<string>Scopes - Array. Default scopes to set for this client's IAM instance
- Iam
Scopes List<string> - Array. List of supported scopes for this client's IAM instance
- Name string
- The name of the client
- User
Client bool
- Application
Id string - the application ID (GUID) to attach this client to
- Default
Scopes []string - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- Global
Reference stringId - 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 []string - Array of valid RedirectionURIs for this client
- Response
Types []string - Scopes []string
- Array. List of supported scopes for this client
- Bootstrap
Client []stringDefault Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- Bootstrap
Client []stringIam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- Bootstrap
Client []stringIam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- Bootstrap
Client []stringScopes - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- Connect
Mdm stringOauth Client Id - The GUID of the client
- Description string
- The description of the client
- Iam
Default []stringScopes - Array. Default scopes to set for this client's IAM instance
- Iam
Scopes []string - Array. List of supported scopes for this client's IAM instance
- Name string
- The name of the client
- User
Client bool
- application
Id String - the application ID (GUID) to attach this client to
- default
Scopes List<String> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- global
Reference StringId - 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 List<String> - Array of valid RedirectionURIs for this client
- response
Types List<String> - scopes List<String>
- Array. List of supported scopes for this client
- bootstrap
Client List<String>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client List<String>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client List<String>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client List<String>Scopes - Array. List of supported scopes for the bootstrap client
- client
Revoked Boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- connect
Mdm StringOauth Client Id - The GUID of the client
- description String
- The description of the client
- iam
Default List<String>Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes List<String> - Array. List of supported scopes for this client's IAM instance
- name String
- The name of the client
- user
Client Boolean
- application
Id string - the application ID (GUID) to attach this client to
- default
Scopes string[] - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- global
Reference stringId - 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 string[] - Array of valid RedirectionURIs for this client
- response
Types string[] - scopes string[]
- Array. List of supported scopes for this client
- bootstrap
Client string[]Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client string[]Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client string[]Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client string[]Scopes - Array. List of supported scopes for the bootstrap client
- client
Revoked boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- connect
Mdm stringOauth Client Id - The GUID of the client
- description string
- The description of the client
- iam
Default string[]Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes string[] - Array. List of supported scopes for this client's IAM instance
- name string
- The name of the client
- user
Client 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_ strid - 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_ Sequence[str]default_ scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap_
client_ Sequence[str]iam_ default_ scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap_
client_ Sequence[str]iam_ scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap_
client_ Sequence[str]scopes - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- connect_
mdm_ stroauth_ client_ id - The GUID of the client
- description str
- The description of the client
- iam_
default_ Sequence[str]scopes - 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
- application
Id String - the application ID (GUID) to attach this client to
- default
Scopes List<String> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- global
Reference StringId - 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 List<String> - Array of valid RedirectionURIs for this client
- response
Types List<String> - scopes List<String>
- Array. List of supported scopes for this client
- bootstrap
Client List<String>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client List<String>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client List<String>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client List<String>Scopes - Array. List of supported scopes for the bootstrap client
- client
Revoked Boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- connect
Mdm StringOauth Client Id - The GUID of the client
- description String
- The description of the client
- iam
Default List<String>Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes List<String> - Array. List of supported scopes for this client's IAM instance
- name String
- The name of the client
- user
Client Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmOauthClient resource produces the following output properties:
- Bootstrap
Client stringGuid - Bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- Bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Bootstrap
Client stringId - The bootstrap client ID
- Bootstrap
Client stringSecret - The boostrap client secret
- Client
Guid string - Client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- Client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Client
Id string - The client id
- Client
Secret string - Guid string
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Id string
- Bootstrap
Client stringGuid - Bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- Bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Bootstrap
Client stringId - The bootstrap client ID
- Bootstrap
Client stringSecret - The boostrap client secret
- Client
Guid string - Client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- Client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Client
Id string - The client id
- Client
Secret string - Guid string
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Id string
- bootstrap
Client StringGuid - bootstrap
Client StringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client StringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client StringId - The bootstrap client ID
- bootstrap
Client StringSecret - The boostrap client secret
- client
Guid String - client
Guid StringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid StringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id String - The client id
- client
Secret String - guid String
- id String
- The provider-assigned unique ID for this managed resource.
- version
Id String
- bootstrap
Client stringGuid - bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client stringId - The bootstrap client ID
- bootstrap
Client stringSecret - The boostrap client secret
- client
Guid string - client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id string - The client id
- client
Secret string - guid string
- id string
- The provider-assigned unique ID for this managed resource.
- version
Id string
- bootstrap_
client_ strguid - bootstrap_
client_ strguid_ system - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap_
client_ strguid_ value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap_
client_ strid - The bootstrap client ID
- bootstrap_
client_ strsecret - The boostrap client secret
- client_
guid str - client_
guid_ strsystem - The external system client associated with resource (this would point to an IAM deployment)
- client_
guid_ strvalue - 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
- bootstrap
Client StringGuid - bootstrap
Client StringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client StringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client StringId - The bootstrap client ID
- bootstrap
Client StringSecret - The boostrap client secret
- client
Guid String - client
Guid StringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid StringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id String - The client id
- client
Secret String - guid String
- id String
- The provider-assigned unique ID for this managed resource.
- version
Id 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.
- Application
Id string - the application ID (GUID) to attach this client to
- Bootstrap
Client List<string>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- Bootstrap
Client stringGuid - Bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- Bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Bootstrap
Client List<string>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- Bootstrap
Client List<string>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- Bootstrap
Client stringId - The bootstrap client ID
- Bootstrap
Client List<string>Scopes - Array. List of supported scopes for the bootstrap client
- Bootstrap
Client stringSecret - The boostrap client secret
- Client
Guid string - Client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- Client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Client
Id string - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- Client
Secret string - Connect
Mdm stringOauth Client Id - The GUID of the client
- Default
Scopes List<string> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- Description string
- The description of the client
- Global
Reference stringId - 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
- Iam
Default List<string>Scopes - Array. Default scopes to set for this client's IAM instance
- Iam
Scopes List<string> - Array. List of supported scopes for this client's IAM instance
- Name string
- The name of the client
- Redirection
Uris List<string> - Array of valid RedirectionURIs for this client
- Response
Types List<string> - Scopes List<string>
- Array. List of supported scopes for this client
- User
Client bool - Version
Id string
- Application
Id string - the application ID (GUID) to attach this client to
- Bootstrap
Client []stringDefault Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- Bootstrap
Client stringGuid - Bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- Bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Bootstrap
Client []stringIam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- Bootstrap
Client []stringIam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- Bootstrap
Client stringId - The bootstrap client ID
- Bootstrap
Client []stringScopes - Array. List of supported scopes for the bootstrap client
- Bootstrap
Client stringSecret - The boostrap client secret
- Client
Guid string - Client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- Client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- Client
Id string - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- Client
Secret string - Connect
Mdm stringOauth Client Id - The GUID of the client
- Default
Scopes []string - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- Description string
- The description of the client
- Global
Reference stringId - 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
- Iam
Default []stringScopes - Array. Default scopes to set for this client's IAM instance
- Iam
Scopes []string - Array. List of supported scopes for this client's IAM instance
- Name string
- The name of the client
- Redirection
Uris []string - Array of valid RedirectionURIs for this client
- Response
Types []string - Scopes []string
- Array. List of supported scopes for this client
- User
Client bool - Version
Id string
- application
Id String - the application ID (GUID) to attach this client to
- bootstrap
Client List<String>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client StringGuid - bootstrap
Client StringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client StringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client List<String>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client List<String>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client StringId - The bootstrap client ID
- bootstrap
Client List<String>Scopes - Array. List of supported scopes for the bootstrap client
- bootstrap
Client StringSecret - The boostrap client secret
- client
Guid String - client
Guid StringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid StringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id String - The client id
- client
Revoked Boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- client
Secret String - connect
Mdm StringOauth Client Id - The GUID of the client
- default
Scopes List<String> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- description String
- The description of the client
- global
Reference StringId - 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
- iam
Default List<String>Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes List<String> - Array. List of supported scopes for this client's IAM instance
- name String
- The name of the client
- redirection
Uris List<String> - Array of valid RedirectionURIs for this client
- response
Types List<String> - scopes List<String>
- Array. List of supported scopes for this client
- user
Client Boolean - version
Id String
- application
Id string - the application ID (GUID) to attach this client to
- bootstrap
Client string[]Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client stringGuid - bootstrap
Client stringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client stringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client string[]Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client string[]Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client stringId - The bootstrap client ID
- bootstrap
Client string[]Scopes - Array. List of supported scopes for the bootstrap client
- bootstrap
Client stringSecret - The boostrap client secret
- client
Guid string - client
Guid stringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid stringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id string - The client id
- client
Revoked boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- client
Secret string - connect
Mdm stringOauth Client Id - The GUID of the client
- default
Scopes string[] - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- description string
- The description of the client
- global
Reference stringId - 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
- iam
Default string[]Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes string[] - Array. List of supported scopes for this client's IAM instance
- name string
- The name of the client
- redirection
Uris string[] - Array of valid RedirectionURIs for this client
- response
Types string[] - scopes string[]
- Array. List of supported scopes for this client
- user
Client boolean - version
Id string
- application_
id str - the application ID (GUID) to attach this client to
- bootstrap_
client_ Sequence[str]default_ scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap_
client_ strguid - bootstrap_
client_ strguid_ system - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap_
client_ strguid_ value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap_
client_ Sequence[str]iam_ default_ scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap_
client_ Sequence[str]iam_ scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap_
client_ strid - The bootstrap client ID
- bootstrap_
client_ Sequence[str]scopes - Array. List of supported scopes for the bootstrap client
- bootstrap_
client_ strsecret - The boostrap client secret
- client_
guid str - client_
guid_ strsystem - The external system client associated with resource (this would point to an IAM deployment)
- client_
guid_ strvalue - 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. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- client_
secret str - connect_
mdm_ stroauth_ client_ id - 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_ strid - 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_ Sequence[str]scopes - 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
- application
Id String - the application ID (GUID) to attach this client to
- bootstrap
Client List<String>Default Scopes - Array. Default scopes for the bootstrap client. You do not have to specify these explicitly when requesting a token
- bootstrap
Client StringGuid - bootstrap
Client StringGuid System - The external system bootstrap client associated with resource (this would point to an IAM deployment)
- bootstrap
Client StringGuid Value - The external value of the bootstrap client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- bootstrap
Client List<String>Iam Default Scopes - Array. Default scopes to set for this bootstrap client's IAM instance
- bootstrap
Client List<String>Iam Scopes - Array. List of supported scopes for this bootstrap client's IAM instance
- bootstrap
Client StringId - The bootstrap client ID
- bootstrap
Client List<String>Scopes - Array. List of supported scopes for the bootstrap client
- bootstrap
Client StringSecret - The boostrap client secret
- client
Guid String - client
Guid StringSystem - The external system client associated with resource (this would point to an IAM deployment)
- client
Guid StringValue - The external value client associated with this resource (this would be an underlying IAM OAuth2 client GUID)
- client
Id String - The client id
- client
Revoked Boolean The
application_id
only accept MDM Application IDs. Using an IAM Proposition ID will not work, even though they might look similar. Ifuser_client
is false, onlyscopes
,default_scopes
,iam_scopes
andiam_default_scopes
are allowed.- client
Secret String - connect
Mdm StringOauth Client Id - The GUID of the client
- default
Scopes List<String> - Array. Default scopes. You do not have to specify these explicitly when requesting a token
- description String
- The description of the client
- global
Reference StringId - 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
- iam
Default List<String>Scopes - Array. Default scopes to set for this client's IAM instance
- iam
Scopes List<String> - Array. List of supported scopes for this client's IAM instance
- name String
- The name of the client
- redirection
Uris List<String> - Array of valid RedirectionURIs for this client
- response
Types List<String> - scopes List<String>
- Array. List of supported scopes for this client
- user
Client Boolean - version
Id 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.