import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/ManagedInstance * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Updates the specified managed instance information, such as description, ONS topic, and associated management station. * * ## Import * * ManagedInstances can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/managedInstance:ManagedInstance test_managed_instance "id" * ``` */ export declare class ManagedInstance extends pulumi.CustomResource { /** * Get an existing ManagedInstance 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?: ManagedInstanceState, opts?: pulumi.CustomResourceOptions): ManagedInstance; /** * Returns true if the given object is an instance of ManagedInstance. 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 ManagedInstance; /** * The version of osmh-agent running on the managed instance */ readonly agentVersion: pulumi.Output; /** * The CPU architecture type of the managed instance. */ readonly architecture: pulumi.Output; /** * Controls whether OSMH manages software sources for this instance. This defaults to false for Ubuntu and Windows instances. */ readonly areSourcesManaged: pulumi.Output; /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ readonly autonomousSettings: pulumi.Output; /** * Number of bug fix type updates available for installation. */ readonly bugUpdatesAvailable: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance. */ readonly compartmentId: pulumi.Output; /** * (Updatable) User-specified description of the managed instance. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * Software source name. */ readonly displayName: pulumi.Output; /** * Number of enhancement type updates available for installation. */ readonly enhancementUpdatesAvailable: pulumi.Output; /** * Number of packages installed on the instance. */ readonly installedPackages: pulumi.Output; /** * Number of Windows updates installed on the instance. */ readonly installedWindowsUpdates: pulumi.Output; /** * Indicates whether the Autonomous Linux service manages the instance. */ readonly isManagedByAutonomousLinux: pulumi.Output; /** * Indicates whether this managed instance is acting as an on-premises management station. */ readonly isManagementStation: pulumi.Output; /** * Indicates whether a reboot is required to complete installation of updates. */ readonly isRebootRequired: pulumi.Output; /** * The ksplice effective kernel version. */ readonly kspliceEffectiveKernelVersion: pulumi.Output; /** * Id and name of a resource to simplify the display for the user. */ readonly lifecycleEnvironments: pulumi.Output; /** * Id and name of a resource to simplify the display for the user. */ readonly lifecycleStages: pulumi.Output; /** * The location of the managed instance. */ readonly location: pulumi.Output; /** * Id and name of a resource to simplify the display for the user. */ readonly managedInstanceGroups: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ readonly managedInstanceId: pulumi.Output; /** * (Updatable) 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: pulumi.Output; /** * The operating system type of the managed instance. */ readonly osFamily: pulumi.Output; /** * Operating system kernel version. */ readonly osKernelVersion: pulumi.Output; /** * Operating system name. */ readonly osName: pulumi.Output; /** * Operating system version. */ readonly osVersion: pulumi.Output; /** * Number of non-classified (other) updates available for installation. */ readonly otherUpdatesAvailable: pulumi.Output; /** * (Updatable) 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: pulumi.Output; /** * The profile that was used to register this instance with the service. */ readonly profile: pulumi.Output; /** * The version of the profile that was used to register this instance with the service. */ readonly profileVersion: pulumi.Output; /** * Number of scheduled jobs associated with this instance. */ readonly scheduledJobCount: pulumi.Output; /** * (Updatable) 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. * * ** 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 secondaryManagementStationId: pulumi.Output; /** * Number of security type updates available for installation. */ readonly securityUpdatesAvailable: pulumi.Output; /** * The list of software sources currently attached to the managed instance. */ readonly softwareSources: pulumi.Output; /** * Current status of the managed instance. */ readonly status: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy that the managed instance resides in. */ readonly tenancyId: pulumi.Output; /** * The date and time the instance was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeCreated: pulumi.Output; /** * Time that the instance last booted (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastBoot: pulumi.Output; /** * Time that the instance last checked in with the service (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastCheckin: pulumi.Output; /** * The date and time the instance's software information was last refreshed (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeLastSoftwareRefresh: pulumi.Output; /** * The date and time the instance was last updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeUpdated: pulumi.Output; /** * Number of updates available for installation. */ readonly updatesAvailable: pulumi.Output; /** * Number of work requests associated with this instance. */ readonly workRequestCount: pulumi.Output; /** * Create a ManagedInstance 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: ManagedInstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedInstance resources. */ export interface ManagedInstanceState { /** * The version of osmh-agent running on the managed instance */ agentVersion?: pulumi.Input; /** * The CPU architecture type of the managed instance. */ architecture?: pulumi.Input; /** * Controls whether OSMH manages software sources for this instance. This defaults to false for Ubuntu and Windows instances. */ areSourcesManaged?: pulumi.Input; /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ autonomousSettings?: pulumi.Input; /** * Number of bug fix type updates available for installation. */ bugUpdatesAvailable?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance. */ compartmentId?: pulumi.Input; /** * (Updatable) User-specified description of the managed instance. Avoid entering confidential information. */ description?: pulumi.Input; /** * Software source name. */ displayName?: pulumi.Input; /** * Number of enhancement type updates available for installation. */ enhancementUpdatesAvailable?: pulumi.Input; /** * Number of packages installed on the instance. */ installedPackages?: pulumi.Input; /** * Number of Windows updates installed on the instance. */ installedWindowsUpdates?: pulumi.Input; /** * Indicates whether the Autonomous Linux service manages the instance. */ isManagedByAutonomousLinux?: pulumi.Input; /** * Indicates whether this managed instance is acting as an on-premises management station. */ isManagementStation?: pulumi.Input; /** * Indicates whether a reboot is required to complete installation of updates. */ isRebootRequired?: pulumi.Input; /** * The ksplice effective kernel version. */ kspliceEffectiveKernelVersion?: pulumi.Input; /** * Id and name of a resource to simplify the display for the user. */ lifecycleEnvironments?: pulumi.Input[] | undefined>; /** * Id and name of a resource to simplify the display for the user. */ lifecycleStages?: pulumi.Input[] | undefined>; /** * The location of the managed instance. */ location?: pulumi.Input; /** * Id and name of a resource to simplify the display for the user. */ managedInstanceGroups?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId?: pulumi.Input; /** * (Updatable) 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. */ notificationTopicId?: pulumi.Input; /** * The operating system type of the managed instance. */ osFamily?: pulumi.Input; /** * Operating system kernel version. */ osKernelVersion?: pulumi.Input; /** * Operating system name. */ osName?: pulumi.Input; /** * Operating system version. */ osVersion?: pulumi.Input; /** * Number of non-classified (other) updates available for installation. */ otherUpdatesAvailable?: pulumi.Input; /** * (Updatable) 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. */ primaryManagementStationId?: pulumi.Input; /** * The profile that was used to register this instance with the service. */ profile?: pulumi.Input; /** * The version of the profile that was used to register this instance with the service. */ profileVersion?: pulumi.Input; /** * Number of scheduled jobs associated with this instance. */ scheduledJobCount?: pulumi.Input; /** * (Updatable) 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. * * ** 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 */ secondaryManagementStationId?: pulumi.Input; /** * Number of security type updates available for installation. */ securityUpdatesAvailable?: pulumi.Input; /** * The list of software sources currently attached to the managed instance. */ softwareSources?: pulumi.Input[] | undefined>; /** * Current status of the managed instance. */ status?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy that the managed instance resides in. */ tenancyId?: pulumi.Input; /** * The date and time the instance was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeCreated?: pulumi.Input; /** * Time that the instance last booted (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeLastBoot?: pulumi.Input; /** * Time that the instance last checked in with the service (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeLastCheckin?: pulumi.Input; /** * The date and time the instance's software information was last refreshed (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeLastSoftwareRefresh?: pulumi.Input; /** * The date and time the instance was last updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeUpdated?: pulumi.Input; /** * Number of updates available for installation. */ updatesAvailable?: pulumi.Input; /** * Number of work requests associated with this instance. */ workRequestCount?: pulumi.Input; } /** * The set of arguments for constructing a ManagedInstance resource. */ export interface ManagedInstanceArgs { /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ autonomousSettings?: pulumi.Input; /** * (Updatable) User-specified description of the managed instance. Avoid entering confidential information. */ description?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: pulumi.Input; /** * (Updatable) 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. */ notificationTopicId?: pulumi.Input; /** * (Updatable) 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. */ primaryManagementStationId?: pulumi.Input; /** * (Updatable) 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. * * ** 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 */ secondaryManagementStationId?: pulumi.Input; } //# sourceMappingURL=managedInstance.d.ts.map