hsdp.ConnectMdmDataType
Explore with Pulumi AI
Create and manage MDM DataType resources
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const someType = new hsdp.ConnectMdmDataType("someType", {
description: "A Terraform provisioned DataType",
tags: [
"ONE",
"TWO",
"THREE",
],
propositionId: data.hsdp_connect_mdm_proposition.first.id,
});
import pulumi
import pulumi_hsdp as hsdp
some_type = hsdp.ConnectMdmDataType("someType",
description="A Terraform provisioned DataType",
tags=[
"ONE",
"TWO",
"THREE",
],
proposition_id=data["hsdp_connect_mdm_proposition"]["first"]["id"])
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.NewConnectMdmDataType(ctx, "someType", &hsdp.ConnectMdmDataTypeArgs{
Description: pulumi.String("A Terraform provisioned DataType"),
Tags: pulumi.StringArray{
pulumi.String("ONE"),
pulumi.String("TWO"),
pulumi.String("THREE"),
},
PropositionId: pulumi.Any(data.Hsdp_connect_mdm_proposition.First.Id),
})
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 someType = new Hsdp.ConnectMdmDataType("someType", new()
{
Description = "A Terraform provisioned DataType",
Tags = new[]
{
"ONE",
"TWO",
"THREE",
},
PropositionId = data.Hsdp_connect_mdm_proposition.First.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmDataType;
import com.pulumi.hsdp.ConnectMdmDataTypeArgs;
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 someType = new ConnectMdmDataType("someType", ConnectMdmDataTypeArgs.builder()
.description("A Terraform provisioned DataType")
.tags(
"ONE",
"TWO",
"THREE")
.propositionId(data.hsdp_connect_mdm_proposition().first().id())
.build());
}
}
resources:
someType:
type: hsdp:ConnectMdmDataType
properties:
description: A Terraform provisioned DataType
tags:
- ONE
- TWO
- THREE
propositionId: ${data.hsdp_connect_mdm_proposition.first.id}
Attributes reference
In addition to all arguments above, the following attributes are exported:
id
- The ID reference of the service action (format:DataType/${GUID}
)guid
- The GUID of the service action
Create ConnectMdmDataType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectMdmDataType(name: string, args: ConnectMdmDataTypeArgs, opts?: CustomResourceOptions);
@overload
def ConnectMdmDataType(resource_name: str,
args: ConnectMdmDataTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectMdmDataType(resource_name: str,
opts: Optional[ResourceOptions] = None,
proposition_id: Optional[str] = None,
connect_mdm_data_type_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewConnectMdmDataType(ctx *Context, name string, args ConnectMdmDataTypeArgs, opts ...ResourceOption) (*ConnectMdmDataType, error)
public ConnectMdmDataType(string name, ConnectMdmDataTypeArgs args, CustomResourceOptions? opts = null)
public ConnectMdmDataType(String name, ConnectMdmDataTypeArgs args)
public ConnectMdmDataType(String name, ConnectMdmDataTypeArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmDataType
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 ConnectMdmDataTypeArgs
- 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 ConnectMdmDataTypeArgs
- 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 ConnectMdmDataTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmDataTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectMdmDataTypeArgs
- 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 connectMdmDataTypeResource = new Hsdp.ConnectMdmDataType("connectMdmDataTypeResource", new()
{
PropositionId = "string",
ConnectMdmDataTypeId = "string",
Description = "string",
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := hsdp.NewConnectMdmDataType(ctx, "connectMdmDataTypeResource", &hsdp.ConnectMdmDataTypeArgs{
PropositionId: pulumi.String("string"),
ConnectMdmDataTypeId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var connectMdmDataTypeResource = new ConnectMdmDataType("connectMdmDataTypeResource", ConnectMdmDataTypeArgs.builder()
.propositionId("string")
.connectMdmDataTypeId("string")
.description("string")
.name("string")
.tags("string")
.build());
connect_mdm_data_type_resource = hsdp.ConnectMdmDataType("connectMdmDataTypeResource",
proposition_id="string",
connect_mdm_data_type_id="string",
description="string",
name="string",
tags=["string"])
const connectMdmDataTypeResource = new hsdp.ConnectMdmDataType("connectMdmDataTypeResource", {
propositionId: "string",
connectMdmDataTypeId: "string",
description: "string",
name: "string",
tags: ["string"],
});
type: hsdp:ConnectMdmDataType
properties:
connectMdmDataTypeId: string
description: string
name: string
propositionId: string
tags:
- string
ConnectMdmDataType 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 ConnectMdmDataType resource accepts the following input properties:
- Proposition
Id string - Connect
Mdm stringData Type Id - Description string
- A short description of the device group
- Name string
- The name of the device group
- List<string>
- Proposition
Id string - Connect
Mdm stringData Type Id - Description string
- A short description of the device group
- Name string
- The name of the device group
- []string
- proposition
Id String - connect
Mdm StringData Type Id - description String
- A short description of the device group
- name String
- The name of the device group
- List<String>
- proposition
Id string - connect
Mdm stringData Type Id - description string
- A short description of the device group
- name string
- The name of the device group
- string[]
- proposition_
id str - connect_
mdm_ strdata_ type_ id - description str
- A short description of the device group
- name str
- The name of the device group
- Sequence[str]
- proposition
Id String - connect
Mdm StringData Type Id - description String
- A short description of the device group
- name String
- The name of the device group
- List<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmDataType resource produces the following output properties:
- guid str
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str
Look up Existing ConnectMdmDataType Resource
Get an existing ConnectMdmDataType 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?: ConnectMdmDataTypeState, opts?: CustomResourceOptions): ConnectMdmDataType
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connect_mdm_data_type_id: Optional[str] = None,
description: Optional[str] = None,
guid: Optional[str] = None,
name: Optional[str] = None,
proposition_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
version_id: Optional[str] = None) -> ConnectMdmDataType
func GetConnectMdmDataType(ctx *Context, name string, id IDInput, state *ConnectMdmDataTypeState, opts ...ResourceOption) (*ConnectMdmDataType, error)
public static ConnectMdmDataType Get(string name, Input<string> id, ConnectMdmDataTypeState? state, CustomResourceOptions? opts = null)
public static ConnectMdmDataType get(String name, Output<String> id, ConnectMdmDataTypeState state, CustomResourceOptions options)
resources: _: type: hsdp:ConnectMdmDataType 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.
- Connect
Mdm stringData Type Id - Description string
- A short description of the device group
- Guid string
- Name string
- The name of the device group
- Proposition
Id string - List<string>
- Version
Id string
- Connect
Mdm stringData Type Id - Description string
- A short description of the device group
- Guid string
- Name string
- The name of the device group
- Proposition
Id string - []string
- Version
Id string
- connect
Mdm StringData Type Id - description String
- A short description of the device group
- guid String
- name String
- The name of the device group
- proposition
Id String - List<String>
- version
Id String
- connect
Mdm stringData Type Id - description string
- A short description of the device group
- guid string
- name string
- The name of the device group
- proposition
Id string - string[]
- version
Id string
- connect_
mdm_ strdata_ type_ id - description str
- A short description of the device group
- guid str
- name str
- The name of the device group
- proposition_
id str - Sequence[str]
- version_
id str
- connect
Mdm StringData Type Id - description String
- A short description of the device group
- guid String
- name String
- The name of the device group
- proposition
Id String - List<String>
- version
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.