import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Management Agent resource in Oracle Cloud Infrastructure Management Agent service. * * Gets complete details of the inventory of a given agent id * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgent = oci.managementagent.getManagementAgent({ * managementAgentId: testManagementAgentOciManagementAgentManagementAgent.id, * }); * ``` */ export declare function getManagementAgent(args: GetManagementAgentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagementAgent. */ export interface GetManagementAgentArgs { /** * Unique Management Agent identifier */ managementAgentId: string; } /** * A collection of values returned by getManagementAgent. */ export interface GetManagementAgentResult { /** * The current availability status of managementAgent */ readonly availabilityStatus: string; /** * Compartment owning this DataSource. */ readonly compartmentId: string; /** * list of dataSources associated with the agent */ readonly dataSourceLists: outputs.ManagementAgent.GetManagementAgentDataSourceList[]; readonly dataSourceSummaryLists: outputs.ManagementAgent.GetManagementAgentDataSourceSummaryList[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; readonly deployPluginsIds: string[]; /** * Management Agent Name */ readonly displayName: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * Management Agent host machine name */ readonly host: string; /** * Host resource ocid */ readonly hostId: string; /** * agent identifier */ readonly id: string; /** * agent install key identifier */ readonly installKeyId: string; /** * Path where Management Agent is installed */ readonly installPath: string; /** * The install type, either AGENT or GATEWAY */ readonly installType: string; /** * true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference. */ readonly isAgentAutoUpgradable: boolean; /** * true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent. */ readonly isCustomerDeployed: boolean; readonly latestSupportedVersion: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; readonly managedAgentId: string; readonly managementAgentId: string; /** * Additional properties for this Management Agent */ readonly managementAgentProperties: outputs.ManagementAgent.GetManagementAgentManagementAgentProperty[]; /** * Platform Name */ readonly platformName: string; /** * Platform Type */ readonly platformType: string; /** * Platform Version */ readonly platformVersion: string; /** * list of managementAgentPlugins associated with the agent */ readonly pluginLists: outputs.ManagementAgent.GetManagementAgentPluginList[]; /** * Version of the deployment artifact instantiated by this Management Agent. The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes (whose artifacts are based upon Standalone but can advance independently) is YYMMDD.HHMM.VVVVVVVVVVVV. VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999 */ readonly resourceArtifactVersion: string; /** * The current state of managementAgent */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time the Management Agent was created. An RFC3339 formatted datetime string */ readonly timeCreated: string; /** * The time the Management Agent has last recorded its health status in telemetry. This value will be null if the agent has not recorded its health status in last 7 days. An RFC3339 formatted datetime string */ readonly timeLastHeartbeat: string; /** * The time the Management Agent was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: string; /** * Management Agent Version */ readonly version: string; } /** * This data source provides details about a specific Management Agent resource in Oracle Cloud Infrastructure Management Agent service. * * Gets complete details of the inventory of a given agent id * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementAgent = oci.managementagent.getManagementAgent({ * managementAgentId: testManagementAgentOciManagementAgentManagementAgent.id, * }); * ``` */ export declare function getManagementAgentOutput(args: GetManagementAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagementAgent. */ export interface GetManagementAgentOutputArgs { /** * Unique Management Agent identifier */ managementAgentId: pulumi.Input; } //# sourceMappingURL=getManagementAgent.d.ts.map