import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class GenericRelationships extends pulumi.CustomResource { /** * Get an existing GenericRelationships resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GenericRelationshipsState, opts?: pulumi.CustomResourceOptions): GenericRelationships; /** * Returns true if the given object is an instance of GenericRelationships. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GenericRelationships; /** * The user or extension that created this relationship. */ readonly createdBy: pulumi.Output; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship. */ readonly fromRole: pulumi.Output; /** * Define an entity type as the source of the relationship. */ readonly fromType: pulumi.Output; /** * Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match. */ readonly sources: pulumi.Output; /** * Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship. */ readonly toRole: pulumi.Output; /** * Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships. */ readonly toType: pulumi.Output; /** * Possible Values: `CALLS`, `CHILD_OF`, `INSTANCE_OF`, `PART_OF`, `RUNS_ON`, `SAME_AS` */ readonly typeOfRelation: pulumi.Output; /** * Create a GenericRelationships resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GenericRelationshipsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GenericRelationships resources. */ export interface GenericRelationshipsState { /** * The user or extension that created this relationship. */ createdBy?: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship. */ fromRole?: pulumi.Input; /** * Define an entity type as the source of the relationship. */ fromType?: pulumi.Input; /** * Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match. */ sources?: pulumi.Input; /** * Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship. */ toRole?: pulumi.Input; /** * Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships. */ toType?: pulumi.Input; /** * Possible Values: `CALLS`, `CHILD_OF`, `INSTANCE_OF`, `PART_OF`, `RUNS_ON`, `SAME_AS` */ typeOfRelation?: pulumi.Input; } /** * The set of arguments for constructing a GenericRelationships resource. */ export interface GenericRelationshipsArgs { /** * The user or extension that created this relationship. */ createdBy: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship. */ fromRole?: pulumi.Input; /** * Define an entity type as the source of the relationship. */ fromType: pulumi.Input; /** * Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match. */ sources: pulumi.Input; /** * Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship. */ toRole?: pulumi.Input; /** * Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships. */ toType: pulumi.Input; /** * Possible Values: `CALLS`, `CHILD_OF`, `INSTANCE_OF`, `PART_OF`, `RUNS_ON`, `SAME_AS` */ typeOfRelation: pulumi.Input; }