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

hsdp.ConnectMdmDeviceGroup

Explore with Pulumi AI

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

    Create and manage MDM DeviceGroup resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const someGroup = new hsdp.ConnectMdmDeviceGroup("someGroup", {
        description: "A device group",
        applicationId: data.hsdp_connect_mdm_application.app.id,
        defaultIamGroupId: data.hsdp_iam_group.device_group.id,
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    some_group = hsdp.ConnectMdmDeviceGroup("someGroup",
        description="A device group",
        application_id=data["hsdp_connect_mdm_application"]["app"]["id"],
        default_iam_group_id=data["hsdp_iam_group"]["device_group"]["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.NewConnectMdmDeviceGroup(ctx, "someGroup", &hsdp.ConnectMdmDeviceGroupArgs{
    			Description:       pulumi.String("A device group"),
    			ApplicationId:     pulumi.Any(data.Hsdp_connect_mdm_application.App.Id),
    			DefaultIamGroupId: pulumi.Any(data.Hsdp_iam_group.Device_group.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 someGroup = new Hsdp.ConnectMdmDeviceGroup("someGroup", new()
        {
            Description = "A device group",
            ApplicationId = data.Hsdp_connect_mdm_application.App.Id,
            DefaultIamGroupId = data.Hsdp_iam_group.Device_group.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.ConnectMdmDeviceGroup;
    import com.pulumi.hsdp.ConnectMdmDeviceGroupArgs;
    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 someGroup = new ConnectMdmDeviceGroup("someGroup", ConnectMdmDeviceGroupArgs.builder()
                .description("A device group")
                .applicationId(data.hsdp_connect_mdm_application().app().id())
                .defaultIamGroupId(data.hsdp_iam_group().device_group().id())
                .build());
    
        }
    }
    
    resources:
      someGroup:
        type: hsdp:ConnectMdmDeviceGroup
        properties:
          description: A device group
          applicationId: ${data.hsdp_connect_mdm_application.app.id}
          defaultIamGroupId: ${data.hsdp_iam_group.device_group.id}
    

    Attributes reference

    In addition to all arguments above, the following attributes are exported:

    • id - The ID reference of the service action (format: Group/${GUID})
    • guid - The GUID of the service action

    Create ConnectMdmDeviceGroup Resource

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

    Constructor syntax

    new ConnectMdmDeviceGroup(name: string, args: ConnectMdmDeviceGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectMdmDeviceGroup(resource_name: str,
                              args: ConnectMdmDeviceGroupArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectMdmDeviceGroup(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              application_id: Optional[str] = None,
                              connect_mdm_device_group_id: Optional[str] = None,
                              default_iam_group_id: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None)
    func NewConnectMdmDeviceGroup(ctx *Context, name string, args ConnectMdmDeviceGroupArgs, opts ...ResourceOption) (*ConnectMdmDeviceGroup, error)
    public ConnectMdmDeviceGroup(string name, ConnectMdmDeviceGroupArgs args, CustomResourceOptions? opts = null)
    public ConnectMdmDeviceGroup(String name, ConnectMdmDeviceGroupArgs args)
    public ConnectMdmDeviceGroup(String name, ConnectMdmDeviceGroupArgs args, CustomResourceOptions options)
    
    type: hsdp:ConnectMdmDeviceGroup
    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 ConnectMdmDeviceGroupArgs
    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 ConnectMdmDeviceGroupArgs
    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 ConnectMdmDeviceGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectMdmDeviceGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectMdmDeviceGroupArgs
    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 connectMdmDeviceGroupResource = new Hsdp.ConnectMdmDeviceGroup("connectMdmDeviceGroupResource", new()
    {
        ApplicationId = "string",
        ConnectMdmDeviceGroupId = "string",
        DefaultIamGroupId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := hsdp.NewConnectMdmDeviceGroup(ctx, "connectMdmDeviceGroupResource", &hsdp.ConnectMdmDeviceGroupArgs{
    	ApplicationId:           pulumi.String("string"),
    	ConnectMdmDeviceGroupId: pulumi.String("string"),
    	DefaultIamGroupId:       pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    })
    
    var connectMdmDeviceGroupResource = new ConnectMdmDeviceGroup("connectMdmDeviceGroupResource", ConnectMdmDeviceGroupArgs.builder()
        .applicationId("string")
        .connectMdmDeviceGroupId("string")
        .defaultIamGroupId("string")
        .description("string")
        .name("string")
        .build());
    
    connect_mdm_device_group_resource = hsdp.ConnectMdmDeviceGroup("connectMdmDeviceGroupResource",
        application_id="string",
        connect_mdm_device_group_id="string",
        default_iam_group_id="string",
        description="string",
        name="string")
    
    const connectMdmDeviceGroupResource = new hsdp.ConnectMdmDeviceGroup("connectMdmDeviceGroupResource", {
        applicationId: "string",
        connectMdmDeviceGroupId: "string",
        defaultIamGroupId: "string",
        description: "string",
        name: "string",
    });
    
    type: hsdp:ConnectMdmDeviceGroup
    properties:
        applicationId: string
        connectMdmDeviceGroupId: string
        defaultIamGroupId: string
        description: string
        name: string
    

    ConnectMdmDeviceGroup 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 ConnectMdmDeviceGroup resource accepts the following input properties:

    ApplicationId string
    Reference to the Application this group falls under
    ConnectMdmDeviceGroupId string
    DefaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    Description string
    A short description of the device group
    Name string
    The name of the device group
    ApplicationId string
    Reference to the Application this group falls under
    ConnectMdmDeviceGroupId string
    DefaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    Description string
    A short description of the device group
    Name string
    The name of the device group
    applicationId String
    Reference to the Application this group falls under
    connectMdmDeviceGroupId String
    defaultIamGroupId String

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description String
    A short description of the device group
    name String
    The name of the device group
    applicationId string
    Reference to the Application this group falls under
    connectMdmDeviceGroupId string
    defaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description string
    A short description of the device group
    name string
    The name of the device group
    application_id str
    Reference to the Application this group falls under
    connect_mdm_device_group_id str
    default_iam_group_id str

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description str
    A short description of the device group
    name str
    The name of the device group
    applicationId String
    Reference to the Application this group falls under
    connectMdmDeviceGroupId String
    defaultIamGroupId String

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description String
    A short description of the device group
    name String
    The name of the device group

    Outputs

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

    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    VersionId string
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String
    guid string
    id string
    The provider-assigned unique ID for this managed resource.
    versionId string
    guid str
    id str
    The provider-assigned unique ID for this managed resource.
    version_id str
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    versionId String

    Look up Existing ConnectMdmDeviceGroup Resource

    Get an existing ConnectMdmDeviceGroup 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?: ConnectMdmDeviceGroupState, opts?: CustomResourceOptions): ConnectMdmDeviceGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            connect_mdm_device_group_id: Optional[str] = None,
            default_iam_group_id: Optional[str] = None,
            description: Optional[str] = None,
            guid: Optional[str] = None,
            name: Optional[str] = None,
            version_id: Optional[str] = None) -> ConnectMdmDeviceGroup
    func GetConnectMdmDeviceGroup(ctx *Context, name string, id IDInput, state *ConnectMdmDeviceGroupState, opts ...ResourceOption) (*ConnectMdmDeviceGroup, error)
    public static ConnectMdmDeviceGroup Get(string name, Input<string> id, ConnectMdmDeviceGroupState? state, CustomResourceOptions? opts = null)
    public static ConnectMdmDeviceGroup get(String name, Output<String> id, ConnectMdmDeviceGroupState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:ConnectMdmDeviceGroup    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
    Reference to the Application this group falls under
    ConnectMdmDeviceGroupId string
    DefaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    Description string
    A short description of the device group
    Guid string
    Name string
    The name of the device group
    VersionId string
    ApplicationId string
    Reference to the Application this group falls under
    ConnectMdmDeviceGroupId string
    DefaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    Description string
    A short description of the device group
    Guid string
    Name string
    The name of the device group
    VersionId string
    applicationId String
    Reference to the Application this group falls under
    connectMdmDeviceGroupId String
    defaultIamGroupId String

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description String
    A short description of the device group
    guid String
    name String
    The name of the device group
    versionId String
    applicationId string
    Reference to the Application this group falls under
    connectMdmDeviceGroupId string
    defaultIamGroupId string

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description string
    A short description of the device group
    guid string
    name string
    The name of the device group
    versionId string
    application_id str
    Reference to the Application this group falls under
    connect_mdm_device_group_id str
    default_iam_group_id str

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description str
    A short description of the device group
    guid str
    name str
    The name of the device group
    version_id str
    applicationId String
    Reference to the Application this group falls under
    connectMdmDeviceGroupId String
    defaultIamGroupId String

    The IAM Group from which this group will inherit roles from

    The name maps to an AWS IoT thing group so this should be globally unique and not used (or re-used) across deployments

    description String
    A short description of the device group
    guid String
    name String
    The name of the device group
    versionId String

    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