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,
});
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)
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
})
}
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,
});
});
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());
}
}
resources:
first:
type: hsdp:ConnectMdmFirmwareComponent
properties:
description: Terraform managed firmware component
deviceTypeId: ${hsdp_connect_mdm_device_type.first.id}
mainComponent: true
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 string
- The unique name of the resource.
- args ConnectMdmFirmwareComponentArgs
- 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 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 string
- The unique name of the resource.
- args ConnectMdmFirmwareComponentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmFirmwareComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var connectMdmFirmwareComponentResource = new ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource", ConnectMdmFirmwareComponentArgs.builder()
.deviceTypeId("string")
.connectMdmFirmwareComponentId("string")
.description("string")
.mainComponent(false)
.name("string")
.build());
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")
const connectMdmFirmwareComponentResource = new hsdp.ConnectMdmFirmwareComponent("connectMdmFirmwareComponentResource", {
deviceTypeId: "string",
connectMdmFirmwareComponentId: "string",
description: "string",
mainComponent: false,
name: "string",
});
type: hsdp:ConnectMdmFirmwareComponent
properties:
connectMdmFirmwareComponentId: string
description: string
deviceTypeId: string
mainComponent: false
name: string
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:
- Device
Type stringId - Reference to the DeviceType
- Connect
Mdm stringFirmware Component Id - Description string
- A short description of the device group
- Main
Component bool - Signals if this is a main component (default:
true
) - Name string
- The name of the device group
- Device
Type stringId - Reference to the DeviceType
- Connect
Mdm stringFirmware Component Id - Description string
- A short description of the device group
- Main
Component bool - Signals if this is a main component (default:
true
) - Name string
- The name of the device group
- device
Type StringId - Reference to the DeviceType
- connect
Mdm StringFirmware Component Id - description String
- A short description of the device group
- main
Component Boolean - Signals if this is a main component (default:
true
) - name String
- The name of the device group
- device
Type stringId - Reference to the DeviceType
- connect
Mdm stringFirmware Component Id - description string
- A short description of the device group
- main
Component boolean - Signals if this is a main component (default:
true
) - name string
- The name of the device group
- device_
type_ strid - Reference to the DeviceType
- connect_
mdm_ strfirmware_ component_ id - 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
- device
Type StringId - Reference to the DeviceType
- connect
Mdm StringFirmware Component Id - description String
- A short description of the device group
- main
Component 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 str
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str
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
- 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 stringFirmware Component Id - Description string
- A short description of the device group
- Device
Type stringId - Reference to the DeviceType
- Guid string
- Main
Component bool - Signals if this is a main component (default:
true
) - Name string
- The name of the device group
- Version
Id string
- Connect
Mdm stringFirmware Component Id - Description string
- A short description of the device group
- Device
Type stringId - Reference to the DeviceType
- Guid string
- Main
Component bool - Signals if this is a main component (default:
true
) - Name string
- The name of the device group
- Version
Id string
- connect
Mdm StringFirmware Component Id - description String
- A short description of the device group
- device
Type StringId - Reference to the DeviceType
- guid String
- main
Component Boolean - Signals if this is a main component (default:
true
) - name String
- The name of the device group
- version
Id String
- connect
Mdm stringFirmware Component Id - description string
- A short description of the device group
- device
Type stringId - Reference to the DeviceType
- guid string
- main
Component boolean - Signals if this is a main component (default:
true
) - name string
- The name of the device group
- version
Id string
- connect_
mdm_ strfirmware_ component_ id - description str
- A short description of the device group
- device_
type_ strid - 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
- connect
Mdm StringFirmware Component Id - description String
- A short description of the device group
- device
Type StringId - Reference to the DeviceType
- guid String
- main
Component Boolean - Signals if this is a main component (default:
true
) - name String
- The name of the device group
- version
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.