hsdp.ConnectMdmProposition
Explore with Pulumi AI
Create and manage MDM Proposition resources
Currently, deleting Proposition resources is not supported by the MDM API, so use them sparingly
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const app = new hsdp.ConnectMdmProposition("app", {
description: "Terraform managed proposition",
organizationId: _var.org_id,
});
import pulumi
import pulumi_hsdp as hsdp
app = hsdp.ConnectMdmProposition("app",
description="Terraform managed proposition",
organization_id=var["org_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.NewConnectMdmProposition(ctx, "app", &hsdp.ConnectMdmPropositionArgs{
Description: pulumi.String("Terraform managed proposition"),
OrganizationId: pulumi.Any(_var.Org_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 app = new Hsdp.ConnectMdmProposition("app", new()
{
Description = "Terraform managed proposition",
OrganizationId = @var.Org_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.ConnectMdmProposition;
import com.pulumi.hsdp.ConnectMdmPropositionArgs;
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 app = new ConnectMdmProposition("app", ConnectMdmPropositionArgs.builder()
.description("Terraform managed proposition")
.organizationId(var_.org_id())
.build());
}
}
resources:
app:
type: hsdp:ConnectMdmProposition
properties:
description: Terraform managed proposition
organizationId: ${var.org_id}
Attributes reference
In addition to all arguments above, the following attributes are exported:
id
- The ID reference (format:Proposition/${GUID}
)guid
- The GUID of the underlying IAM resourceproposition_id
- The ID of the IAM proposition this proposition falls underproposition_guid
- The GUID of the MDM proposition resource
Create ConnectMdmProposition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectMdmProposition(name: string, args: ConnectMdmPropositionArgs, opts?: CustomResourceOptions);
@overload
def ConnectMdmProposition(resource_name: str,
args: ConnectMdmPropositionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectMdmProposition(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
organization_id: Optional[str] = None,
status: Optional[str] = None,
connect_mdm_proposition_id: Optional[str] = None,
global_reference_id: Optional[str] = None,
name: Optional[str] = None)
func NewConnectMdmProposition(ctx *Context, name string, args ConnectMdmPropositionArgs, opts ...ResourceOption) (*ConnectMdmProposition, error)
public ConnectMdmProposition(string name, ConnectMdmPropositionArgs args, CustomResourceOptions? opts = null)
public ConnectMdmProposition(String name, ConnectMdmPropositionArgs args)
public ConnectMdmProposition(String name, ConnectMdmPropositionArgs args, CustomResourceOptions options)
type: hsdp:ConnectMdmProposition
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 ConnectMdmPropositionArgs
- 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 ConnectMdmPropositionArgs
- 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 ConnectMdmPropositionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectMdmPropositionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectMdmPropositionArgs
- 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 connectMdmPropositionResource = new Hsdp.ConnectMdmProposition("connectMdmPropositionResource", new()
{
Description = "string",
OrganizationId = "string",
Status = "string",
ConnectMdmPropositionId = "string",
GlobalReferenceId = "string",
Name = "string",
});
example, err := hsdp.NewConnectMdmProposition(ctx, "connectMdmPropositionResource", &hsdp.ConnectMdmPropositionArgs{
Description: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Status: pulumi.String("string"),
ConnectMdmPropositionId: pulumi.String("string"),
GlobalReferenceId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var connectMdmPropositionResource = new ConnectMdmProposition("connectMdmPropositionResource", ConnectMdmPropositionArgs.builder()
.description("string")
.organizationId("string")
.status("string")
.connectMdmPropositionId("string")
.globalReferenceId("string")
.name("string")
.build());
connect_mdm_proposition_resource = hsdp.ConnectMdmProposition("connectMdmPropositionResource",
description="string",
organization_id="string",
status="string",
connect_mdm_proposition_id="string",
global_reference_id="string",
name="string")
const connectMdmPropositionResource = new hsdp.ConnectMdmProposition("connectMdmPropositionResource", {
description: "string",
organizationId: "string",
status: "string",
connectMdmPropositionId: "string",
globalReferenceId: "string",
name: "string",
});
type: hsdp:ConnectMdmProposition
properties:
connectMdmPropositionId: string
description: string
globalReferenceId: string
name: string
organizationId: string
status: string
ConnectMdmProposition 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 ConnectMdmProposition resource accepts the following input properties:
- Description string
- A short description of the Proposition
- Organization
Id string - The ID of the IAM organization this Proposition should fall under
- Status string
- The status of the Proposition [
DRAFT
,ACTIVE
] - Connect
Mdm stringProposition Id - Global
Reference stringId - Name string
- The name of the Proposition
- Description string
- A short description of the Proposition
- Organization
Id string - The ID of the IAM organization this Proposition should fall under
- Status string
- The status of the Proposition [
DRAFT
,ACTIVE
] - Connect
Mdm stringProposition Id - Global
Reference stringId - Name string
- The name of the Proposition
- description String
- A short description of the Proposition
- organization
Id String - The ID of the IAM organization this Proposition should fall under
- status String
- The status of the Proposition [
DRAFT
,ACTIVE
] - connect
Mdm StringProposition Id - global
Reference StringId - name String
- The name of the Proposition
- description string
- A short description of the Proposition
- organization
Id string - The ID of the IAM organization this Proposition should fall under
- status string
- The status of the Proposition [
DRAFT
,ACTIVE
] - connect
Mdm stringProposition Id - global
Reference stringId - name string
- The name of the Proposition
- description str
- A short description of the Proposition
- organization_
id str - The ID of the IAM organization this Proposition should fall under
- status str
- The status of the Proposition [
DRAFT
,ACTIVE
] - connect_
mdm_ strproposition_ id - global_
reference_ strid - name str
- The name of the Proposition
- description String
- A short description of the Proposition
- organization
Id String - The ID of the IAM organization this Proposition should fall under
- status String
- The status of the Proposition [
DRAFT
,ACTIVE
] - connect
Mdm StringProposition Id - global
Reference StringId - name String
- The name of the Proposition
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectMdmProposition resource produces the following output properties:
- Guid string
- Id string
- The provider-assigned unique ID for this managed resource.
- Proposition
Guid string - Proposition
Id string
- Guid string
- Id string
- The provider-assigned unique ID for this managed resource.
- Proposition
Guid string - Proposition
Id string
- guid String
- id String
- The provider-assigned unique ID for this managed resource.
- proposition
Guid String - proposition
Id String
- guid string
- id string
- The provider-assigned unique ID for this managed resource.
- proposition
Guid string - proposition
Id string
- guid str
- id str
- The provider-assigned unique ID for this managed resource.
- proposition_
guid str - proposition_
id str
- guid String
- id String
- The provider-assigned unique ID for this managed resource.
- proposition
Guid String - proposition
Id String
Look up Existing ConnectMdmProposition Resource
Get an existing ConnectMdmProposition 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?: ConnectMdmPropositionState, opts?: CustomResourceOptions): ConnectMdmProposition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connect_mdm_proposition_id: Optional[str] = None,
description: Optional[str] = None,
global_reference_id: Optional[str] = None,
guid: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
proposition_guid: Optional[str] = None,
proposition_id: Optional[str] = None,
status: Optional[str] = None) -> ConnectMdmProposition
func GetConnectMdmProposition(ctx *Context, name string, id IDInput, state *ConnectMdmPropositionState, opts ...ResourceOption) (*ConnectMdmProposition, error)
public static ConnectMdmProposition Get(string name, Input<string> id, ConnectMdmPropositionState? state, CustomResourceOptions? opts = null)
public static ConnectMdmProposition get(String name, Output<String> id, ConnectMdmPropositionState state, CustomResourceOptions options)
resources: _: type: hsdp:ConnectMdmProposition 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 stringProposition Id - Description string
- A short description of the Proposition
- Global
Reference stringId - Guid string
- Name string
- The name of the Proposition
- Organization
Id string - The ID of the IAM organization this Proposition should fall under
- Proposition
Guid string - Proposition
Id string - Status string
- The status of the Proposition [
DRAFT
,ACTIVE
]
- Connect
Mdm stringProposition Id - Description string
- A short description of the Proposition
- Global
Reference stringId - Guid string
- Name string
- The name of the Proposition
- Organization
Id string - The ID of the IAM organization this Proposition should fall under
- Proposition
Guid string - Proposition
Id string - Status string
- The status of the Proposition [
DRAFT
,ACTIVE
]
- connect
Mdm StringProposition Id - description String
- A short description of the Proposition
- global
Reference StringId - guid String
- name String
- The name of the Proposition
- organization
Id String - The ID of the IAM organization this Proposition should fall under
- proposition
Guid String - proposition
Id String - status String
- The status of the Proposition [
DRAFT
,ACTIVE
]
- connect
Mdm stringProposition Id - description string
- A short description of the Proposition
- global
Reference stringId - guid string
- name string
- The name of the Proposition
- organization
Id string - The ID of the IAM organization this Proposition should fall under
- proposition
Guid string - proposition
Id string - status string
- The status of the Proposition [
DRAFT
,ACTIVE
]
- connect_
mdm_ strproposition_ id - description str
- A short description of the Proposition
- global_
reference_ strid - guid str
- name str
- The name of the Proposition
- organization_
id str - The ID of the IAM organization this Proposition should fall under
- proposition_
guid str - proposition_
id str - status str
- The status of the Proposition [
DRAFT
,ACTIVE
]
- connect
Mdm StringProposition Id - description String
- A short description of the Proposition
- global
Reference StringId - guid String
- name String
- The name of the Proposition
- organization
Id String - The ID of the IAM organization this Proposition should fall under
- proposition
Guid String - proposition
Id String - status String
- The status of the Proposition [
DRAFT
,ACTIVE
]
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.