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

hsdp.ConnectMdmFirmwareComponent

Explore with Pulumi AI

Create and manage MDM FirmwareComponent resources

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";

const first = new hsdp.ConnectMdmFirmwareComponent("first", {
    description: "Terraform managed firmware component",
    deviceTypeId: hsdp_connect_mdm_device_type.first.id,
    mainComponent: true,
});
Copy
import pulumi
import pulumi_hsdp as hsdp

first = hsdp.ConnectMdmFirmwareComponent("first",
    description="Terraform managed firmware component",
    device_type_id=hsdp_connect_mdm_device_type["first"]["id"],
    main_component=True)
Copy
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.NewConnectMdmFirmwareComponent(ctx, "first", &hsdp.ConnectMdmFirmwareComponentArgs{
			Description:   pulumi.String("Terraform managed firmware component"),
			DeviceTypeId:  pulumi.Any(hsdp_connect_mdm_device_type.First.Id),
			MainComponent: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;

return await Deployment.RunAsync(() => 
{
    var first = new Hsdp.ConnectMdmFirmwareComponent("first", new()
    {
        Description = "Terraform managed firmware component",
        DeviceTypeId = hsdp_connect_mdm_device_type.First.Id,
        MainComponent = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmFirmwareComponent;
import com.pulumi.hsdp.ConnectMdmFirmwareComponentArgs;
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 first = new ConnectMdmFirmwareComponent("first", ConnectMdmFirmwareComponentArgs.builder()
            .description("Terraform managed firmware component")
            .deviceTypeId(hsdp_connect_mdm_device_type.first().id())
            .mainComponent(true)
            .build());

    }
}
Copy
resources:
  first:
    type: hsdp:ConnectMdmFirmwareComponent
    properties:
      description: Terraform managed firmware component
      deviceTypeId: ${hsdp_connect_mdm_device_type.first.id}
      mainComponent: true
Copy

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 ConnectMdmFirmwareComponent Resource

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

Constructor syntax

new ConnectMdmFirmwareComponent(name: string, args: ConnectMdmFirmwareComponentArgs, opts?: CustomResourceOptions);
@overload
def ConnectMdmFirmwareComponent(resource_name: str,
                                args: ConnectMdmFirmwareComponentArgs,
                                opts: Optional[ResourceOptions] = None)

@overload
def ConnectMdmFirmwareComponent(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                device_type_id: Optional[str] = None,
                                connect_mdm_firmware_component_id: Optional[str] = None,
                                description: Optional[str] = None,
                                main_component: Optional[bool] = None,
                                name: Optional[str] = None)
func NewConnectMdmFirmwareComponent(ctx *Context, name string, args ConnectMdmFirmwareComponentArgs, opts ...ResourceOption) (*ConnectMdmFirmwareComponent, error)
public ConnectMdmFirmwareComponent(string name, ConnectMdmFirmwareComponentArgs args, CustomResourceOptions? opts = null)
public ConnectMdmFirmwareComponent(String name, ConnectMdmFirmwareComponentArgs args)
public ConnectMdmFirmwareComponent(String name, ConnectMdmFirmwareComponentArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmFirmwareComponent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConnectMdmFirmwareComponentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ConnectMdmFirmwareComponentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ConnectMdmFirmwareComponentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConnectMdmFirmwareComponentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConnectMdmFirmwareComponentArgs
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 connectMdmFirmwareComponentResource = new Hsdp.ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource", new()
{
    DeviceTypeId = "string",
    ConnectMdmFirmwareComponentId = "string",
    Description = "string",
    MainComponent = false,
    Name = "string",
});
Copy
example, err := hsdp.NewConnectMdmFirmwareComponent(ctx, "connectMdmFirmwareComponentResource", &hsdp.ConnectMdmFirmwareComponentArgs{
DeviceTypeId: pulumi.String("string"),
ConnectMdmFirmwareComponentId: pulumi.String("string"),
Description: pulumi.String("string"),
MainComponent: pulumi.Bool(false),
Name: pulumi.String("string"),
})
Copy
var connectMdmFirmwareComponentResource = new ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource", ConnectMdmFirmwareComponentArgs.builder()
    .deviceTypeId("string")
    .connectMdmFirmwareComponentId("string")
    .description("string")
    .mainComponent(false)
    .name("string")
    .build());
Copy
connect_mdm_firmware_component_resource = hsdp.ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource",
    device_type_id="string",
    connect_mdm_firmware_component_id="string",
    description="string",
    main_component=False,
    name="string")
Copy
const connectMdmFirmwareComponentResource = new hsdp.ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource", {
    deviceTypeId: "string",
    connectMdmFirmwareComponentId: "string",
    description: "string",
    mainComponent: false,
    name: "string",
});
Copy
type: hsdp:ConnectMdmFirmwareComponent
properties:
    connectMdmFirmwareComponentId: string
    description: string
    deviceTypeId: string
    mainComponent: false
    name: string
Copy

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

DeviceTypeId This property is required. string
Reference to the DeviceType
ConnectMdmFirmwareComponentId string
Description string
A short description of the device group
MainComponent bool
Signals if this is a main component (default: true)
Name string
The name of the device group
DeviceTypeId This property is required. string
Reference to the DeviceType
ConnectMdmFirmwareComponentId string
Description string
A short description of the device group
MainComponent bool
Signals if this is a main component (default: true)
Name string
The name of the device group
deviceTypeId This property is required. String
Reference to the DeviceType
connectMdmFirmwareComponentId String
description String
A short description of the device group
mainComponent Boolean
Signals if this is a main component (default: true)
name String
The name of the device group
deviceTypeId This property is required. string
Reference to the DeviceType
connectMdmFirmwareComponentId string
description string
A short description of the device group
mainComponent boolean
Signals if this is a main component (default: true)
name string
The name of the device group
device_type_id This property is required. str
Reference to the DeviceType
connect_mdm_firmware_component_id str
description str
A short description of the device group
main_component bool
Signals if this is a main component (default: true)
name str
The name of the device group
deviceTypeId This property is required. String
Reference to the DeviceType
connectMdmFirmwareComponentId String
description String
A short description of the device group
mainComponent Boolean
Signals if this is a main component (default: true)
name String
The name of the device group

Outputs

All input properties are implicitly available as output properties. Additionally, the ConnectMdmFirmwareComponent 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 ConnectMdmFirmwareComponent Resource

Get an existing ConnectMdmFirmwareComponent 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?: ConnectMdmFirmwareComponentState, opts?: CustomResourceOptions): ConnectMdmFirmwareComponent
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connect_mdm_firmware_component_id: Optional[str] = None,
        description: Optional[str] = None,
        device_type_id: Optional[str] = None,
        guid: Optional[str] = None,
        main_component: Optional[bool] = None,
        name: Optional[str] = None,
        version_id: Optional[str] = None) -> ConnectMdmFirmwareComponent
func GetConnectMdmFirmwareComponent(ctx *Context, name string, id IDInput, state *ConnectMdmFirmwareComponentState, opts ...ResourceOption) (*ConnectMdmFirmwareComponent, error)
public static ConnectMdmFirmwareComponent Get(string name, Input<string> id, ConnectMdmFirmwareComponentState? state, CustomResourceOptions? opts = null)
public static ConnectMdmFirmwareComponent get(String name, Output<String> id, ConnectMdmFirmwareComponentState state, CustomResourceOptions options)
resources:  _:    type: hsdp:ConnectMdmFirmwareComponent    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ConnectMdmFirmwareComponentId string
Description string
A short description of the device group
DeviceTypeId string
Reference to the DeviceType
Guid string
MainComponent bool
Signals if this is a main component (default: true)
Name string
The name of the device group
VersionId string
ConnectMdmFirmwareComponentId string
Description string
A short description of the device group
DeviceTypeId string
Reference to the DeviceType
Guid string
MainComponent bool
Signals if this is a main component (default: true)
Name string
The name of the device group
VersionId string
connectMdmFirmwareComponentId String
description String
A short description of the device group
deviceTypeId String
Reference to the DeviceType
guid String
mainComponent Boolean
Signals if this is a main component (default: true)
name String
The name of the device group
versionId String
connectMdmFirmwareComponentId string
description string
A short description of the device group
deviceTypeId string
Reference to the DeviceType
guid string
mainComponent boolean
Signals if this is a main component (default: true)
name string
The name of the device group
versionId string
connect_mdm_firmware_component_id str
description str
A short description of the device group
device_type_id str
Reference to the DeviceType
guid str
main_component bool
Signals if this is a main component (default: true)
name str
The name of the device group
version_id str
connectMdmFirmwareComponentId String
description String
A short description of the device group
deviceTypeId String
Reference to the DeviceType
guid String
mainComponent Boolean
Signals if this is a main component (default: true)
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.