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

hsdp.ConnectMdmFirmwareDistributionRequest

Explore with Pulumi AI

Create and manage MDM FirmwareDistributionRequest resources

Example Usage

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

const distro = new hsdp.ConnectMdmFirmwareDistributionRequest("distro", {
    firmwareVersion: "1.0.0",
    description: "Terraform managed firmware distribution request",
    status: "ACTIVE",
    distributionTargetDeviceGroupsIds: [
        hsdp_connect_mdm_device_group.first.id,
        hsdp_connect_mdm_device_group.second.id,
    ],
    firmwareComponentVersionIds: [hsdp_connect_mdm_firmware_component_version.one_dot_oh.id],
    orchestrationMode: "continuous",
    userConsentRequired: false,
});
Copy
import pulumi
import pulumi_hsdp as hsdp

distro = hsdp.ConnectMdmFirmwareDistributionRequest("distro",
    firmware_version="1.0.0",
    description="Terraform managed firmware distribution request",
    status="ACTIVE",
    distribution_target_device_groups_ids=[
        hsdp_connect_mdm_device_group["first"]["id"],
        hsdp_connect_mdm_device_group["second"]["id"],
    ],
    firmware_component_version_ids=[hsdp_connect_mdm_firmware_component_version["one_dot_oh"]["id"]],
    orchestration_mode="continuous",
    user_consent_required=False)
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.NewConnectMdmFirmwareDistributionRequest(ctx, "distro", &hsdp.ConnectMdmFirmwareDistributionRequestArgs{
			FirmwareVersion: pulumi.String("1.0.0"),
			Description:     pulumi.String("Terraform managed firmware distribution request"),
			Status:          pulumi.String("ACTIVE"),
			DistributionTargetDeviceGroupsIds: pulumi.StringArray{
				hsdp_connect_mdm_device_group.First.Id,
				hsdp_connect_mdm_device_group.Second.Id,
			},
			FirmwareComponentVersionIds: pulumi.StringArray{
				hsdp_connect_mdm_firmware_component_version.One_dot_oh.Id,
			},
			OrchestrationMode:   pulumi.String("continuous"),
			UserConsentRequired: pulumi.Bool(false),
		})
		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 distro = new Hsdp.ConnectMdmFirmwareDistributionRequest("distro", new()
    {
        FirmwareVersion = "1.0.0",
        Description = "Terraform managed firmware distribution request",
        Status = "ACTIVE",
        DistributionTargetDeviceGroupsIds = new[]
        {
            hsdp_connect_mdm_device_group.First.Id,
            hsdp_connect_mdm_device_group.Second.Id,
        },
        FirmwareComponentVersionIds = new[]
        {
            hsdp_connect_mdm_firmware_component_version.One_dot_oh.Id,
        },
        OrchestrationMode = "continuous",
        UserConsentRequired = false,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmFirmwareDistributionRequest;
import com.pulumi.hsdp.ConnectMdmFirmwareDistributionRequestArgs;
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 distro = new ConnectMdmFirmwareDistributionRequest("distro", ConnectMdmFirmwareDistributionRequestArgs.builder()
            .firmwareVersion("1.0.0")
            .description("Terraform managed firmware distribution request")
            .status("ACTIVE")
            .distributionTargetDeviceGroupsIds(            
                hsdp_connect_mdm_device_group.first().id(),
                hsdp_connect_mdm_device_group.second().id())
            .firmwareComponentVersionIds(hsdp_connect_mdm_firmware_component_version.one_dot_oh().id())
            .orchestrationMode("continuous")
            .userConsentRequired(false)
            .build());

    }
}
Copy
resources:
  distro:
    type: hsdp:ConnectMdmFirmwareDistributionRequest
    properties:
      firmwareVersion: 1.0.0
      description: Terraform managed firmware distribution request
      status: ACTIVE
      distributionTargetDeviceGroupsIds:
        - ${hsdp_connect_mdm_device_group.first.id}
        - ${hsdp_connect_mdm_device_group.second.id}
      firmwareComponentVersionIds:
        - ${hsdp_connect_mdm_firmware_component_version.one_dot_oh.id}
      orchestrationMode: continuous
      userConsentRequired: false
Copy

Create ConnectMdmFirmwareDistributionRequest Resource

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

Constructor syntax

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

@overload
def ConnectMdmFirmwareDistributionRequest(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          firmware_version: Optional[str] = None,
                                          orchestration_mode: Optional[str] = None,
                                          status: Optional[str] = None,
                                          connect_mdm_firmware_distribution_request_id: Optional[str] = None,
                                          description: Optional[str] = None,
                                          distribution_target_device_groups_ids: Optional[Sequence[str]] = None,
                                          firmware_component_version_ids: Optional[Sequence[str]] = None,
                                          user_consent_required: Optional[bool] = None)
func NewConnectMdmFirmwareDistributionRequest(ctx *Context, name string, args ConnectMdmFirmwareDistributionRequestArgs, opts ...ResourceOption) (*ConnectMdmFirmwareDistributionRequest, error)
public ConnectMdmFirmwareDistributionRequest(string name, ConnectMdmFirmwareDistributionRequestArgs args, CustomResourceOptions? opts = null)
public ConnectMdmFirmwareDistributionRequest(String name, ConnectMdmFirmwareDistributionRequestArgs args)
public ConnectMdmFirmwareDistributionRequest(String name, ConnectMdmFirmwareDistributionRequestArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmFirmwareDistributionRequest
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. ConnectMdmFirmwareDistributionRequestArgs
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. ConnectMdmFirmwareDistributionRequestArgs
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. ConnectMdmFirmwareDistributionRequestArgs
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. ConnectMdmFirmwareDistributionRequestArgs
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. ConnectMdmFirmwareDistributionRequestArgs
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 connectMdmFirmwareDistributionRequestResource = new Hsdp.ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource", new()
{
    FirmwareVersion = "string",
    OrchestrationMode = "string",
    Status = "string",
    ConnectMdmFirmwareDistributionRequestId = "string",
    Description = "string",
    DistributionTargetDeviceGroupsIds = new[]
    {
        "string",
    },
    FirmwareComponentVersionIds = new[]
    {
        "string",
    },
    UserConsentRequired = false,
});
Copy
example, err := hsdp.NewConnectMdmFirmwareDistributionRequest(ctx, "connectMdmFirmwareDistributionRequestResource", &hsdp.ConnectMdmFirmwareDistributionRequestArgs{
	FirmwareVersion:                         pulumi.String("string"),
	OrchestrationMode:                       pulumi.String("string"),
	Status:                                  pulumi.String("string"),
	ConnectMdmFirmwareDistributionRequestId: pulumi.String("string"),
	Description:                             pulumi.String("string"),
	DistributionTargetDeviceGroupsIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	FirmwareComponentVersionIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	UserConsentRequired: pulumi.Bool(false),
})
Copy
var connectMdmFirmwareDistributionRequestResource = new ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource", ConnectMdmFirmwareDistributionRequestArgs.builder()
    .firmwareVersion("string")
    .orchestrationMode("string")
    .status("string")
    .connectMdmFirmwareDistributionRequestId("string")
    .description("string")
    .distributionTargetDeviceGroupsIds("string")
    .firmwareComponentVersionIds("string")
    .userConsentRequired(false)
    .build());
Copy
connect_mdm_firmware_distribution_request_resource = hsdp.ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource",
    firmware_version="string",
    orchestration_mode="string",
    status="string",
    connect_mdm_firmware_distribution_request_id="string",
    description="string",
    distribution_target_device_groups_ids=["string"],
    firmware_component_version_ids=["string"],
    user_consent_required=False)
Copy
const connectMdmFirmwareDistributionRequestResource = new hsdp.ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource", {
    firmwareVersion: "string",
    orchestrationMode: "string",
    status: "string",
    connectMdmFirmwareDistributionRequestId: "string",
    description: "string",
    distributionTargetDeviceGroupsIds: ["string"],
    firmwareComponentVersionIds: ["string"],
    userConsentRequired: false,
});
Copy
type: hsdp:ConnectMdmFirmwareDistributionRequest
properties:
    connectMdmFirmwareDistributionRequestId: string
    description: string
    distributionTargetDeviceGroupsIds:
        - string
    firmwareComponentVersionIds:
        - string
    firmwareVersion: string
    orchestrationMode: string
    status: string
    userConsentRequired: false
Copy

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

FirmwareVersion This property is required. string
The version of the Firmware Component image
OrchestrationMode This property is required. string
What mode of orchestration to use [none | continuous | snapshot]
Status This property is required. string
The status of the request [ACTIVE | CANCELED]
ConnectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
Description string
A short description of the resource
DistributionTargetDeviceGroupsIds List<string>
) Reference to Firmware Component resource
FirmwareComponentVersionIds List<string>
) The path of the image on Blob storage
UserConsentRequired bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

FirmwareVersion This property is required. string
The version of the Firmware Component image
OrchestrationMode This property is required. string
What mode of orchestration to use [none | continuous | snapshot]
Status This property is required. string
The status of the request [ACTIVE | CANCELED]
ConnectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
Description string
A short description of the resource
DistributionTargetDeviceGroupsIds []string
) Reference to Firmware Component resource
FirmwareComponentVersionIds []string
) The path of the image on Blob storage
UserConsentRequired bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

firmwareVersion This property is required. String
The version of the Firmware Component image
orchestrationMode This property is required. String
What mode of orchestration to use [none | continuous | snapshot]
status This property is required. String
The status of the request [ACTIVE | CANCELED]
connectMdmFirmwareDistributionRequestId String
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description String
A short description of the resource
distributionTargetDeviceGroupsIds List<String>
) Reference to Firmware Component resource
firmwareComponentVersionIds List<String>
) The path of the image on Blob storage
userConsentRequired Boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

firmwareVersion This property is required. string
The version of the Firmware Component image
orchestrationMode This property is required. string
What mode of orchestration to use [none | continuous | snapshot]
status This property is required. string
The status of the request [ACTIVE | CANCELED]
connectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description string
A short description of the resource
distributionTargetDeviceGroupsIds string[]
) Reference to Firmware Component resource
firmwareComponentVersionIds string[]
) The path of the image on Blob storage
userConsentRequired boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

firmware_version This property is required. str
The version of the Firmware Component image
orchestration_mode This property is required. str
What mode of orchestration to use [none | continuous | snapshot]
status This property is required. str
The status of the request [ACTIVE | CANCELED]
connect_mdm_firmware_distribution_request_id str
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description str
A short description of the resource
distribution_target_device_groups_ids Sequence[str]
) Reference to Firmware Component resource
firmware_component_version_ids Sequence[str]
) The path of the image on Blob storage
user_consent_required bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

firmwareVersion This property is required. String
The version of the Firmware Component image
orchestrationMode This property is required. String
What mode of orchestration to use [none | continuous | snapshot]
status This property is required. String
The status of the request [ACTIVE | CANCELED]
connectMdmFirmwareDistributionRequestId String
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description String
A short description of the resource
distributionTargetDeviceGroupsIds List<String>
) Reference to Firmware Component resource
firmwareComponentVersionIds List<String>
) The path of the image on Blob storage
userConsentRequired Boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

Outputs

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

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

Look up Existing ConnectMdmFirmwareDistributionRequest Resource

Get an existing ConnectMdmFirmwareDistributionRequest 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?: ConnectMdmFirmwareDistributionRequestState, opts?: CustomResourceOptions): ConnectMdmFirmwareDistributionRequest
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connect_mdm_firmware_distribution_request_id: Optional[str] = None,
        description: Optional[str] = None,
        distribution_target_device_groups_ids: Optional[Sequence[str]] = None,
        firmware_component_version_ids: Optional[Sequence[str]] = None,
        firmware_version: Optional[str] = None,
        guid: Optional[str] = None,
        orchestration_mode: Optional[str] = None,
        status: Optional[str] = None,
        user_consent_required: Optional[bool] = None,
        version_id: Optional[str] = None) -> ConnectMdmFirmwareDistributionRequest
func GetConnectMdmFirmwareDistributionRequest(ctx *Context, name string, id IDInput, state *ConnectMdmFirmwareDistributionRequestState, opts ...ResourceOption) (*ConnectMdmFirmwareDistributionRequest, error)
public static ConnectMdmFirmwareDistributionRequest Get(string name, Input<string> id, ConnectMdmFirmwareDistributionRequestState? state, CustomResourceOptions? opts = null)
public static ConnectMdmFirmwareDistributionRequest get(String name, Output<String> id, ConnectMdmFirmwareDistributionRequestState state, CustomResourceOptions options)
resources:  _:    type: hsdp:ConnectMdmFirmwareDistributionRequest    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:
ConnectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
Description string
A short description of the resource
DistributionTargetDeviceGroupsIds List<string>
) Reference to Firmware Component resource
FirmwareComponentVersionIds List<string>
) The path of the image on Blob storage
FirmwareVersion string
The version of the Firmware Component image
Guid string
The GUID of the service action
OrchestrationMode string
What mode of orchestration to use [none | continuous | snapshot]
Status string
The status of the request [ACTIVE | CANCELED]
UserConsentRequired bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

VersionId string
ConnectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
Description string
A short description of the resource
DistributionTargetDeviceGroupsIds []string
) Reference to Firmware Component resource
FirmwareComponentVersionIds []string
) The path of the image on Blob storage
FirmwareVersion string
The version of the Firmware Component image
Guid string
The GUID of the service action
OrchestrationMode string
What mode of orchestration to use [none | continuous | snapshot]
Status string
The status of the request [ACTIVE | CANCELED]
UserConsentRequired bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

VersionId string
connectMdmFirmwareDistributionRequestId String
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description String
A short description of the resource
distributionTargetDeviceGroupsIds List<String>
) Reference to Firmware Component resource
firmwareComponentVersionIds List<String>
) The path of the image on Blob storage
firmwareVersion String
The version of the Firmware Component image
guid String
The GUID of the service action
orchestrationMode String
What mode of orchestration to use [none | continuous | snapshot]
status String
The status of the request [ACTIVE | CANCELED]
userConsentRequired Boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

versionId String
connectMdmFirmwareDistributionRequestId string
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description string
A short description of the resource
distributionTargetDeviceGroupsIds string[]
) Reference to Firmware Component resource
firmwareComponentVersionIds string[]
) The path of the image on Blob storage
firmwareVersion string
The version of the Firmware Component image
guid string
The GUID of the service action
orchestrationMode string
What mode of orchestration to use [none | continuous | snapshot]
status string
The status of the request [ACTIVE | CANCELED]
userConsentRequired boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

versionId string
connect_mdm_firmware_distribution_request_id str
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description str
A short description of the resource
distribution_target_device_groups_ids Sequence[str]
) Reference to Firmware Component resource
firmware_component_version_ids Sequence[str]
) The path of the image on Blob storage
firmware_version str
The version of the Firmware Component image
guid str
The GUID of the service action
orchestration_mode str
What mode of orchestration to use [none | continuous | snapshot]
status str
The status of the request [ACTIVE | CANCELED]
user_consent_required bool

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

version_id str
connectMdmFirmwareDistributionRequestId String
The ID reference of the service action (format: FirmwareDistributionRequest/${GUID})
description String
A short description of the resource
distributionTargetDeviceGroupsIds List<String>
) Reference to Firmware Component resource
firmwareComponentVersionIds List<String>
) The path of the image on Blob storage
firmwareVersion String
The version of the Firmware Component image
guid String
The GUID of the service action
orchestrationMode String
What mode of orchestration to use [none | continuous | snapshot]
status String
The status of the request [ACTIVE | CANCELED]
userConsentRequired Boolean

Is user consent needed for this update (default: false)

The status field can only be changed to CANCELED. This resource is also deprecated, so use it cautiously

versionId String

Package Details

Repository
hsdp philips-software/terraform-provider-hsdp
License
Notes
This Pulumi package is based on the hsdp Terraform Provider.