hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getConnectMdmProposition
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Retrieve details of an existing proposition
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const first = hsdp.getConnectMdmProposition({
name: "First",
organizationId: _var.my_org_id,
});
import pulumi
import pulumi_hsdp as hsdp
first = hsdp.get_connect_mdm_proposition(name="First",
organization_id=var["my_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.LookupConnectMdmProposition(ctx, &hsdp.LookupConnectMdmPropositionArgs{
Name: "First",
OrganizationId: _var.My_org_id,
}, nil)
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 = Hsdp.GetConnectMdmProposition.Invoke(new()
{
Name = "First",
OrganizationId = @var.My_org_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetConnectMdmPropositionArgs;
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) {
final var first = HsdpFunctions.getConnectMdmProposition(GetConnectMdmPropositionArgs.builder()
.name("First")
.organizationId(var_.my_org_id())
.build());
}
}
variables:
first:
fn::invoke:
function: hsdp:getConnectMdmProposition
arguments:
name: First
organizationId: ${var.my_org_id}
import * as pulumi from "@pulumi/pulumi";
export const myPropId = data.hsdp_iam_proposition.my_prop.id;
import pulumi
pulumi.export("myPropId", data["hsdp_iam_proposition"]["my_prop"]["id"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("myPropId", data.Hsdp_iam_proposition.My_prop.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["myPropId"] = data.Hsdp_iam_proposition.My_prop.Id,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
ctx.export("myPropId", data.hsdp_iam_proposition().my_prop().id());
}
}
outputs:
myPropId: ${data.hsdp_iam_proposition.my_prop.id}
Using getConnectMdmProposition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnectMdmProposition(args: GetConnectMdmPropositionArgs, opts?: InvokeOptions): Promise<GetConnectMdmPropositionResult>
function getConnectMdmPropositionOutput(args: GetConnectMdmPropositionOutputArgs, opts?: InvokeOptions): Output<GetConnectMdmPropositionResult>
def get_connect_mdm_proposition(error_on_not_found: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectMdmPropositionResult
def get_connect_mdm_proposition_output(error_on_not_found: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectMdmPropositionResult]
func LookupConnectMdmProposition(ctx *Context, args *LookupConnectMdmPropositionArgs, opts ...InvokeOption) (*LookupConnectMdmPropositionResult, error)
func LookupConnectMdmPropositionOutput(ctx *Context, args *LookupConnectMdmPropositionOutputArgs, opts ...InvokeOption) LookupConnectMdmPropositionResultOutput
> Note: This function is named LookupConnectMdmProposition
in the Go SDK.
public static class GetConnectMdmProposition
{
public static Task<GetConnectMdmPropositionResult> InvokeAsync(GetConnectMdmPropositionArgs args, InvokeOptions? opts = null)
public static Output<GetConnectMdmPropositionResult> Invoke(GetConnectMdmPropositionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectMdmPropositionResult> getConnectMdmProposition(GetConnectMdmPropositionArgs args, InvokeOptions options)
public static Output<GetConnectMdmPropositionResult> getConnectMdmProposition(GetConnectMdmPropositionArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getConnectMdmProposition:getConnectMdmProposition
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the proposition to look up
- Organization
Id string - the UUID of the organization the proposition belongs to
- Error
On boolNot Found - Id string
- The GUID of the proposition
- Name string
- The name of the proposition to look up
- Organization
Id string - the UUID of the organization the proposition belongs to
- Error
On boolNot Found - Id string
- The GUID of the proposition
- name String
- The name of the proposition to look up
- organization
Id String - the UUID of the organization the proposition belongs to
- error
On BooleanNot Found - id String
- The GUID of the proposition
- name string
- The name of the proposition to look up
- organization
Id string - the UUID of the organization the proposition belongs to
- error
On booleanNot Found - id string
- The GUID of the proposition
- name str
- The name of the proposition to look up
- organization_
id str - the UUID of the organization the proposition belongs to
- error_
on_ boolnot_ found - id str
- The GUID of the proposition
- name String
- The name of the proposition to look up
- organization
Id String - the UUID of the organization the proposition belongs to
- error
On BooleanNot Found - id String
- The GUID of the proposition
getConnectMdmProposition Result
The following output properties are available:
- Description string
- The description of the proposition
- Found bool
- Global
Reference stringId - The global reference ID of the proposition
- Guid string
- Id string
- The GUID of the proposition
- Name string
- Organization
Id string - Proposition
Guid string - Proposition
Id string - Status string
- The status of the proposition
- Error
On boolNot Found
- Description string
- The description of the proposition
- Found bool
- Global
Reference stringId - The global reference ID of the proposition
- Guid string
- Id string
- The GUID of the proposition
- Name string
- Organization
Id string - Proposition
Guid string - Proposition
Id string - Status string
- The status of the proposition
- Error
On boolNot Found
- description String
- The description of the proposition
- found Boolean
- global
Reference StringId - The global reference ID of the proposition
- guid String
- id String
- The GUID of the proposition
- name String
- organization
Id String - proposition
Guid String - proposition
Id String - status String
- The status of the proposition
- error
On BooleanNot Found
- description string
- The description of the proposition
- found boolean
- global
Reference stringId - The global reference ID of the proposition
- guid string
- id string
- The GUID of the proposition
- name string
- organization
Id string - proposition
Guid string - proposition
Id string - status string
- The status of the proposition
- error
On booleanNot Found
- description str
- The description of the proposition
- found bool
- global_
reference_ strid - The global reference ID of the proposition
- guid str
- id str
- The GUID of the proposition
- name str
- organization_
id str - proposition_
guid str - proposition_
id str - status str
- The status of the proposition
- error_
on_ boolnot_ found
- description String
- The description of the proposition
- found Boolean
- global
Reference StringId - The global reference ID of the proposition
- guid String
- id String
- The GUID of the proposition
- name String
- organization
Id String - proposition
Guid String - proposition
Id String - status String
- The status of the proposition
- error
On BooleanNot Found
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software