import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Digital Twin Relationships in Oracle Cloud Infrastructure Iot service. * * Retrieves a list of digital twin relationships within the specified IoT domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDigitalTwinRelationships = oci.oci.getIotDigitalTwinRelationships({ * iotDomainId: testIotDomain.id, * contentPath: digitalTwinRelationshipContentPath, * displayName: digitalTwinRelationshipDisplayName, * id: digitalTwinRelationshipId, * sourceDigitalTwinInstanceId: testDigitalTwinInstance.id, * state: digitalTwinRelationshipState, * targetDigitalTwinInstanceId: testDigitalTwinInstance.id, * }); * ``` */ export declare function getIotDigitalTwinRelationships(args: GetIotDigitalTwinRelationshipsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIotDigitalTwinRelationships. */ export interface GetIotDigitalTwinRelationshipsArgs { /** * Filters resources that match the content path of the digital twin relationship. */ contentPath?: string; /** * Filter resources whose display name matches the specified value. */ displayName?: string; filters?: inputs.oci.GetIotDigitalTwinRelationshipsFilter[]; /** * Filter resources by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. */ iotDomainId: string; /** * Filter resources that match the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. */ sourceDigitalTwinInstanceId?: string; /** * Filter resources whose lifecycleState matches the specified value. */ state?: string; /** * Filter resources that match the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. */ targetDigitalTwinInstanceId?: string; } /** * A collection of values returned by getIotDigitalTwinRelationships. */ export interface GetIotDigitalTwinRelationshipsResult { /** * Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model. */ readonly contentPath?: string; /** * The list of digital_twin_relationship_collection. */ readonly digitalTwinRelationshipCollections: outputs.oci.GetIotDigitalTwinRelationshipsDigitalTwinRelationshipCollection[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.oci.GetIotDigitalTwinRelationshipsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. */ readonly iotDomainId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. */ readonly sourceDigitalTwinInstanceId?: string; /** * The current state of the digital twin relationship. */ readonly state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. */ readonly targetDigitalTwinInstanceId?: string; } /** * This data source provides the list of Digital Twin Relationships in Oracle Cloud Infrastructure Iot service. * * Retrieves a list of digital twin relationships within the specified IoT domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDigitalTwinRelationships = oci.oci.getIotDigitalTwinRelationships({ * iotDomainId: testIotDomain.id, * contentPath: digitalTwinRelationshipContentPath, * displayName: digitalTwinRelationshipDisplayName, * id: digitalTwinRelationshipId, * sourceDigitalTwinInstanceId: testDigitalTwinInstance.id, * state: digitalTwinRelationshipState, * targetDigitalTwinInstanceId: testDigitalTwinInstance.id, * }); * ``` */ export declare function getIotDigitalTwinRelationshipsOutput(args: GetIotDigitalTwinRelationshipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIotDigitalTwinRelationships. */ export interface GetIotDigitalTwinRelationshipsOutputArgs { /** * Filters resources that match the content path of the digital twin relationship. */ contentPath?: pulumi.Input; /** * Filter resources whose display name matches the specified value. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter resources by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. */ iotDomainId: pulumi.Input; /** * Filter resources that match the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. */ sourceDigitalTwinInstanceId?: pulumi.Input; /** * Filter resources whose lifecycleState matches the specified value. */ state?: pulumi.Input; /** * Filter resources that match the specified [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. */ targetDigitalTwinInstanceId?: pulumi.Input; } //# sourceMappingURL=getIotDigitalTwinRelationships.d.ts.map