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,
});
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)
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
})
}
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,
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args ConnectMdmFirmwareDistributionRequestArgs
- 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 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 string
- The unique name of the resource.
- args ConnectMdmFirmwareDistributionRequestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmFirmwareDistributionRequestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
var connectMdmFirmwareDistributionRequestResource = new ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource", ConnectMdmFirmwareDistributionRequestArgs.builder()
.firmwareVersion("string")
.orchestrationMode("string")
.status("string")
.connectMdmFirmwareDistributionRequestId("string")
.description("string")
.distributionTargetDeviceGroupsIds("string")
.firmwareComponentVersionIds("string")
.userConsentRequired(false)
.build());
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)
const connectMdmFirmwareDistributionRequestResource = new hsdp.ConnectMdmFirmwareDistributionRequest("connectMdmFirmwareDistributionRequestResource", {
firmwareVersion: "string",
orchestrationMode: "string",
status: "string",
connectMdmFirmwareDistributionRequestId: "string",
description: "string",
distributionTargetDeviceGroupsIds: ["string"],
firmwareComponentVersionIds: ["string"],
userConsentRequired: false,
});
type: hsdp:ConnectMdmFirmwareDistributionRequest
properties:
connectMdmFirmwareDistributionRequestId: string
description: string
distributionTargetDeviceGroupsIds:
- string
firmwareComponentVersionIds:
- string
firmwareVersion: string
orchestrationMode: string
status: string
userConsentRequired: false
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:
- Firmware
Version string - The version of the Firmware Component image
- Orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - Status string
- The status of the request [
ACTIVE
|CANCELED
] - Connect
Mdm stringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - Description string
- A short description of the resource
- Distribution
Target List<string>Device Groups Ids - ) Reference to Firmware Component resource
- Firmware
Component List<string>Version Ids - ) The path of the image on Blob storage
- User
Consent boolRequired 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 string - The version of the Firmware Component image
- Orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - Status string
- The status of the request [
ACTIVE
|CANCELED
] - Connect
Mdm stringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - Description string
- A short description of the resource
- Distribution
Target []stringDevice Groups Ids - ) Reference to Firmware Component resource
- Firmware
Component []stringVersion Ids - ) The path of the image on Blob storage
- User
Consent boolRequired 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 String - The version of the Firmware Component image
- orchestration
Mode String - What mode of orchestration to use [
none
|continuous
|snapshot
] - status String
- The status of the request [
ACTIVE
|CANCELED
] - connect
Mdm StringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description String
- A short description of the resource
- distribution
Target List<String>Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component List<String>Version Ids - ) The path of the image on Blob storage
- user
Consent BooleanRequired 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 string - The version of the Firmware Component image
- orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - status string
- The status of the request [
ACTIVE
|CANCELED
] - connect
Mdm stringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description string
- A short description of the resource
- distribution
Target string[]Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component string[]Version Ids - ) The path of the image on Blob storage
- user
Consent booleanRequired 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 str - The version of the Firmware Component image
- orchestration_
mode str - What mode of orchestration to use [
none
|continuous
|snapshot
] - status str
- The status of the request [
ACTIVE
|CANCELED
] - connect_
mdm_ strfirmware_ distribution_ request_ id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description str
- A short description of the resource
- distribution_
target_ Sequence[str]device_ groups_ ids - ) Reference to Firmware Component resource
- firmware_
component_ Sequence[str]version_ ids - ) The path of the image on Blob storage
- user_
consent_ boolrequired 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 String - The version of the Firmware Component image
- orchestration
Mode String - What mode of orchestration to use [
none
|continuous
|snapshot
] - status String
- The status of the request [
ACTIVE
|CANCELED
] - connect
Mdm StringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description String
- A short description of the resource
- distribution
Target List<String>Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component List<String>Version Ids - ) The path of the image on Blob storage
- user
Consent BooleanRequired 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 str
- The GUID of the service action
- id str
- The provider-assigned unique ID for this managed resource.
- version_
id str
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
- 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 Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - Description string
- A short description of the resource
- Distribution
Target List<string>Device Groups Ids - ) Reference to Firmware Component resource
- Firmware
Component List<string>Version Ids - ) The path of the image on Blob storage
- Firmware
Version string - The version of the Firmware Component image
- Guid string
- The GUID of the service action
- Orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - Status string
- The status of the request [
ACTIVE
|CANCELED
] - User
Consent boolRequired 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 string
- Connect
Mdm stringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - Description string
- A short description of the resource
- Distribution
Target []stringDevice Groups Ids - ) Reference to Firmware Component resource
- Firmware
Component []stringVersion Ids - ) The path of the image on Blob storage
- Firmware
Version string - The version of the Firmware Component image
- Guid string
- The GUID of the service action
- Orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - Status string
- The status of the request [
ACTIVE
|CANCELED
] - User
Consent boolRequired 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 string
- connect
Mdm StringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description String
- A short description of the resource
- distribution
Target List<String>Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component List<String>Version Ids - ) The path of the image on Blob storage
- firmware
Version String - The version of the Firmware Component image
- guid String
- The GUID of the service action
- orchestration
Mode String - What mode of orchestration to use [
none
|continuous
|snapshot
] - status String
- The status of the request [
ACTIVE
|CANCELED
] - user
Consent BooleanRequired 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 String
- connect
Mdm stringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description string
- A short description of the resource
- distribution
Target string[]Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component string[]Version Ids - ) The path of the image on Blob storage
- firmware
Version string - The version of the Firmware Component image
- guid string
- The GUID of the service action
- orchestration
Mode string - What mode of orchestration to use [
none
|continuous
|snapshot
] - status string
- The status of the request [
ACTIVE
|CANCELED
] - user
Consent booleanRequired 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 string
- connect_
mdm_ strfirmware_ distribution_ request_ id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description str
- A short description of the resource
- distribution_
target_ Sequence[str]device_ groups_ ids - ) Reference to Firmware Component resource
- firmware_
component_ Sequence[str]version_ ids - ) 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_ boolrequired 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
- connect
Mdm StringFirmware Distribution Request Id - The ID reference of the service action (format:
FirmwareDistributionRequest/${GUID}
) - description String
- A short description of the resource
- distribution
Target List<String>Device Groups Ids - ) Reference to Firmware Component resource
- firmware
Component List<String>Version Ids - ) The path of the image on Blob storage
- firmware
Version String - The version of the Firmware Component image
- guid String
- The GUID of the service action
- orchestration
Mode String - What mode of orchestration to use [
none
|continuous
|snapshot
] - status String
- The status of the request [
ACTIVE
|CANCELED
] - user
Consent BooleanRequired 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 String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.