import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Agent Plugin resource in Oracle Cloud Infrastructure Cloud Bridge service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/OCB/latest/AgentPlugin * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudBridge * * Updates the plugin. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAgentPlugin = new oci.cloudbridge.AgentPlugin("test_agent_plugin", { * agentId: testAgent.id, * pluginName: agentPluginPluginName, * desiredState: agentPluginDesiredState, * }); * ``` * * ## Import * * AgentPlugins can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudBridge/agentPlugin:AgentPlugin test_agent_plugin "agents/{agentId}/plugins/{pluginName}" * ``` */ export declare class AgentPlugin extends pulumi.CustomResource { /** * Get an existing AgentPlugin 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?: AgentPluginState, opts?: pulumi.CustomResourceOptions): AgentPlugin; /** * Returns true if the given object is an instance of AgentPlugin. 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 AgentPlugin; /** * Unique Agent identifier path parameter. */ readonly agentId: pulumi.Output; /** * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) State to which the customer wants the plugin to move to. */ readonly desiredState: pulumi.Output; /** * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Plugin identifier, which can be renamed. */ readonly name: pulumi.Output; /** * Unique plugin identifier path parameter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly pluginName: pulumi.Output; /** * Plugin version. */ readonly pluginVersion: pulumi.Output; /** * The current state of the plugin. */ readonly state: pulumi.Output; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the Agent was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the Agent was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a AgentPlugin 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: AgentPluginArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AgentPlugin resources. */ export interface AgentPluginState { /** * Unique Agent identifier path parameter. */ agentId?: pulumi.Input; /** * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) State to which the customer wants the plugin to move to. */ desiredState?: pulumi.Input; /** * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * Plugin identifier, which can be renamed. */ name?: pulumi.Input; /** * Unique plugin identifier path parameter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ pluginName?: pulumi.Input; /** * Plugin version. */ pluginVersion?: pulumi.Input; /** * The current state of the plugin. */ state?: pulumi.Input; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the Agent was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the Agent was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a AgentPlugin resource. */ export interface AgentPluginArgs { /** * Unique Agent identifier path parameter. */ agentId: pulumi.Input; /** * (Updatable) State to which the customer wants the plugin to move to. */ desiredState?: pulumi.Input; /** * Unique plugin identifier path parameter. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ pluginName: pulumi.Input; } //# sourceMappingURL=agentPlugin.d.ts.map