import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service. * * Gets information about the specified managed instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstance = oci.osmanagementhub.getManagedInstance({ * managedInstanceId: testManagedInstanceOciOsManagementHubManagedInstance.id, * }); * ``` */ export declare function getManagedInstance(args: GetManagedInstanceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedInstance. */ export interface GetManagedInstanceArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: string; } /** * A collection of values returned by getManagedInstance. */ export interface GetManagedInstanceResult { /** * The version of osmh-agent running on the managed instance */ readonly agentVersion: string; /** * The CPU architecture type of the managed instance. */ readonly architecture: string; /** * Controls whether OSMH manages software sources for this instance. This defaults to false for Ubuntu and Windows instances. */ readonly areSourcesManaged: boolean; /** * Settings for the Autonomous Linux service. */ readonly autonomousSettings: outputs.OsManagementHub.GetManagedInstanceAutonomousSetting[]; /** * Number of bug fix type updates available for installation. */ readonly bugUpdatesAvailable: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance. */ readonly compartmentId: string; /** * Software source description. */ readonly description: string; /** * Software source name. */ readonly displayName: string; /** * Number of enhancement type updates available for installation. */ readonly enhancementUpdatesAvailable: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. */ readonly id: string; /** * Number of packages installed on the instance. */ readonly installedPackages: number; /** * Number of Windows updates installed on the instance. */ readonly installedWindowsUpdates: number; /** * Indicates whether the Autonomous Linux service manages the instance. */ readonly isManagedByAutonomousLinux: boolean; /** * Indicates whether this managed instance is acting as an on-premises management station. */ readonly isManagementStation: boolean; /** * Indicates whether a reboot is required to complete installation of updates. */ readonly isRebootRequired: boolean; /** * The ksplice effective kernel version. */ readonly kspliceEffectiveKernelVersion: string; /** * Id and name of a resource to simplify the display for the user. */ readonly lifecycleEnvironments: outputs.OsManagementHub.GetManagedInstanceLifecycleEnvironment[]; /** * Id and name of a resource to simplify the display for the user. */ readonly lifecycleStages: outputs.OsManagementHub.GetManagedInstanceLifecycleStage[]; /** * The location of the managed instance. */ readonly location: string; /** * Id and name of a resource to simplify the display for the user. */ readonly managedInstanceGroups: outputs.OsManagementHub.GetManagedInstanceManagedInstanceGroup[]; readonly managedInstanceId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer. */ readonly notificationTopicId: string; /** * The operating system type of the managed instance. */ readonly osFamily: string; /** * Operating system kernel version. */ readonly osKernelVersion: string; /** * Operating system name. */ readonly osName: string; /** * Operating system version. */ readonly osVersion: string; /** * Number of non-classified (other) updates available for installation. */ readonly otherUpdatesAvailable: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station. */ readonly primaryManagementStationId: string; /** * The profile that was used to register this instance with the service. */ readonly profile: string; /** * The version of the profile that was used to register this instance with the service. */ readonly profileVersion: string; /** * Number of scheduled jobs associated with this instance. */ readonly scheduledJobCount: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary management station. */ readonly secondaryManagementStationId: string; /** * Number of security type updates available for installation. */ readonly securityUpdatesAvailable: number; /** * The list of software sources currently attached to the managed instance. */ readonly softwareSources: outputs.OsManagementHub.GetManagedInstanceSoftwareSource[]; /** * Current status of the managed instance. */ readonly status: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy that the managed instance resides in. */ readonly tenancyId: string; /** * The date and time the instance was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeCreated: string; /** * Time that the instance last booted (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastBoot: string; /** * Time that the instance last checked in with the service (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastCheckin: string; /** * The date and time the instance's software information was last refreshed (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastSoftwareRefresh: string; /** * The date and time the instance was last updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeUpdated: string; /** * Number of updates available for installation. */ readonly updatesAvailable: number; /** * Number of work requests associated with this instance. */ readonly workRequestCount: number; } /** * This data source provides details about a specific Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service. * * Gets information about the specified managed instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstance = oci.osmanagementhub.getManagedInstance({ * managedInstanceId: testManagedInstanceOciOsManagementHubManagedInstance.id, * }); * ``` */ export declare function getManagedInstanceOutput(args: GetManagedInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedInstance. */ export interface GetManagedInstanceOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: pulumi.Input; } //# sourceMappingURL=getManagedInstance.d.ts.map