1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. ManagedInstance
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.OsManagementHub.ManagedInstance

Explore with Pulumi AI

This resource provides the Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service.

Updates the specified managed instance information, such as description, ONS topic, and associated management station.

Create ManagedInstance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ManagedInstance(name: string, args: ManagedInstanceArgs, opts?: CustomResourceOptions);
@overload
def ManagedInstance(resource_name: str,
                    args: ManagedInstanceArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def ManagedInstance(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    managed_instance_id: Optional[str] = None,
                    autonomous_settings: Optional[_osmanagementhub.ManagedInstanceAutonomousSettingsArgs] = None,
                    description: Optional[str] = None,
                    notification_topic_id: Optional[str] = None,
                    primary_management_station_id: Optional[str] = None,
                    secondary_management_station_id: Optional[str] = None)
func NewManagedInstance(ctx *Context, name string, args ManagedInstanceArgs, opts ...ResourceOption) (*ManagedInstance, error)
public ManagedInstance(string name, ManagedInstanceArgs args, CustomResourceOptions? opts = null)
public ManagedInstance(String name, ManagedInstanceArgs args)
public ManagedInstance(String name, ManagedInstanceArgs args, CustomResourceOptions options)
type: oci:OsManagementHub:ManagedInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ManagedInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ManagedInstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ManagedInstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var ociManagedInstanceResource = new Oci.OsManagementHub.ManagedInstance("ociManagedInstanceResource", new()
{
    ManagedInstanceId = "string",
    AutonomousSettings = new Oci.OsManagementHub.Inputs.ManagedInstanceAutonomousSettingsArgs
    {
        IsDataCollectionAuthorized = false,
        ScheduledJobId = "string",
    },
    Description = "string",
    NotificationTopicId = "string",
    PrimaryManagementStationId = "string",
    SecondaryManagementStationId = "string",
});
Copy
example, err := OsManagementHub.NewManagedInstance(ctx, "ociManagedInstanceResource", &OsManagementHub.ManagedInstanceArgs{
	ManagedInstanceId: pulumi.String("string"),
	AutonomousSettings: &osmanagementhub.ManagedInstanceAutonomousSettingsArgs{
		IsDataCollectionAuthorized: pulumi.Bool(false),
		ScheduledJobId:             pulumi.String("string"),
	},
	Description:                  pulumi.String("string"),
	NotificationTopicId:          pulumi.String("string"),
	PrimaryManagementStationId:   pulumi.String("string"),
	SecondaryManagementStationId: pulumi.String("string"),
})
Copy
var ociManagedInstanceResource = new ManagedInstance("ociManagedInstanceResource", ManagedInstanceArgs.builder()
    .managedInstanceId("string")
    .autonomousSettings(ManagedInstanceAutonomousSettingsArgs.builder()
        .isDataCollectionAuthorized(false)
        .scheduledJobId("string")
        .build())
    .description("string")
    .notificationTopicId("string")
    .primaryManagementStationId("string")
    .secondaryManagementStationId("string")
    .build());
Copy
oci_managed_instance_resource = oci.os_management_hub.ManagedInstance("ociManagedInstanceResource",
    managed_instance_id="string",
    autonomous_settings={
        "is_data_collection_authorized": False,
        "scheduled_job_id": "string",
    },
    description="string",
    notification_topic_id="string",
    primary_management_station_id="string",
    secondary_management_station_id="string")
Copy
const ociManagedInstanceResource = new oci.osmanagementhub.ManagedInstance("ociManagedInstanceResource", {
    managedInstanceId: "string",
    autonomousSettings: {
        isDataCollectionAuthorized: false,
        scheduledJobId: "string",
    },
    description: "string",
    notificationTopicId: "string",
    primaryManagementStationId: "string",
    secondaryManagementStationId: "string",
});
Copy
type: oci:OsManagementHub:ManagedInstance
properties:
    autonomousSettings:
        isDataCollectionAuthorized: false
        scheduledJobId: string
    description: string
    managedInstanceId: string
    notificationTopicId: string
    primaryManagementStationId: string
    secondaryManagementStationId: string
Copy

ManagedInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ManagedInstance resource accepts the following input properties:

ManagedInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the managed instance.
AutonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
NotificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
PrimaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
SecondaryManagementStationId string

(Updatable) The OCID 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

ManagedInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the managed instance.
AutonomousSettings ManagedInstanceAutonomousSettingsArgs
(Updatable) Updatable settings for the Autonomous Linux service.
Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
NotificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
PrimaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
SecondaryManagementStationId string

(Updatable) The OCID 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

managedInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the managed instance.
autonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
notificationTopicId String
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
primaryManagementStationId String
(Updatable) The OCID of the management station for the instance to use as primary management station.
secondaryManagementStationId String

(Updatable) The OCID 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

managedInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the managed instance.
autonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
notificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
primaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
secondaryManagementStationId string

(Updatable) The OCID 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

managed_instance_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the managed instance.
autonomous_settings osmanagementhub.ManagedInstanceAutonomousSettingsArgs
(Updatable) Updatable settings for the Autonomous Linux service.
description str
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
notification_topic_id str
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
primary_management_station_id str
(Updatable) The OCID of the management station for the instance to use as primary management station.
secondary_management_station_id str

(Updatable) The OCID 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

managedInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the managed instance.
autonomousSettings Property Map
(Updatable) Updatable settings for the Autonomous Linux service.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
notificationTopicId String
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
primaryManagementStationId String
(Updatable) The OCID of the management station for the instance to use as primary management station.
secondaryManagementStationId String

(Updatable) The OCID 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

Outputs

All input properties are implicitly available as output properties. Additionally, the ManagedInstance resource produces the following output properties:

AgentVersion string
The version of osmh-agent running on the managed instance
Architecture string
The CPU architecture type of the managed instance.
BugUpdatesAvailable int
Number of bug fix type updates available for installation.
CompartmentId string
The OCID of the compartment that contains the managed instance.
DisplayName string
Software source name.
EnhancementUpdatesAvailable int
Number of enhancement type updates available for installation.
Id string
The provider-assigned unique ID for this managed resource.
InstalledPackages int
Number of packages installed on the instance.
InstalledWindowsUpdates int
Number of Windows updates installed on the instance.
IsManagedByAutonomousLinux bool
Indicates whether the Autonomous Linux service manages the instance.
IsManagementStation bool
Indicates whether this managed instance is acting as an on-premises management station.
IsRebootRequired bool
Indicates whether a reboot is required to complete installation of updates.
KspliceEffectiveKernelVersion string
The ksplice effective kernel version.
LifecycleEnvironments List<ManagedInstanceLifecycleEnvironment>
Id and name of a resource to simplify the display for the user.
LifecycleStages List<ManagedInstanceLifecycleStage>
Id and name of a resource to simplify the display for the user.
Location string
The location of the managed instance.
ManagedInstanceGroups List<ManagedInstanceManagedInstanceGroup>
Id and name of a resource to simplify the display for the user.
OsFamily string
The operating system type of the managed instance.
OsKernelVersion string
Operating system kernel version.
OsName string
Operating system name.
OsVersion string
Operating system version.
OtherUpdatesAvailable int
Number of non-classified (other) updates available for installation.
Profile string
The profile that was used to register this instance with the service.
ProfileVersion string
The version of the profile that was used to register this instance with the service.
ScheduledJobCount int
Number of scheduled jobs associated with this instance.
SecurityUpdatesAvailable int
Number of security type updates available for installation.
SoftwareSources List<ManagedInstanceSoftwareSource>
The list of software sources currently attached to the managed instance.
Status string
Current status of the managed instance.
TenancyId string
The OCID of the tenancy that the managed instance resides in.
TimeCreated string
The date and time the instance was created (in RFC 3339 format).
TimeLastBoot string
Time that the instance last booted (in RFC 3339 format).
TimeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
TimeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
UpdatesAvailable int
Number of updates available for installation.
WorkRequestCount int
Number of work requests associated with this instance.
AgentVersion string
The version of osmh-agent running on the managed instance
Architecture string
The CPU architecture type of the managed instance.
BugUpdatesAvailable int
Number of bug fix type updates available for installation.
CompartmentId string
The OCID of the compartment that contains the managed instance.
DisplayName string
Software source name.
EnhancementUpdatesAvailable int
Number of enhancement type updates available for installation.
Id string
The provider-assigned unique ID for this managed resource.
InstalledPackages int
Number of packages installed on the instance.
InstalledWindowsUpdates int
Number of Windows updates installed on the instance.
IsManagedByAutonomousLinux bool
Indicates whether the Autonomous Linux service manages the instance.
IsManagementStation bool
Indicates whether this managed instance is acting as an on-premises management station.
IsRebootRequired bool
Indicates whether a reboot is required to complete installation of updates.
KspliceEffectiveKernelVersion string
The ksplice effective kernel version.
LifecycleEnvironments []ManagedInstanceLifecycleEnvironment
Id and name of a resource to simplify the display for the user.
LifecycleStages []ManagedInstanceLifecycleStage
Id and name of a resource to simplify the display for the user.
Location string
The location of the managed instance.
ManagedInstanceGroups []ManagedInstanceManagedInstanceGroup
Id and name of a resource to simplify the display for the user.
OsFamily string
The operating system type of the managed instance.
OsKernelVersion string
Operating system kernel version.
OsName string
Operating system name.
OsVersion string
Operating system version.
OtherUpdatesAvailable int
Number of non-classified (other) updates available for installation.
Profile string
The profile that was used to register this instance with the service.
ProfileVersion string
The version of the profile that was used to register this instance with the service.
ScheduledJobCount int
Number of scheduled jobs associated with this instance.
SecurityUpdatesAvailable int
Number of security type updates available for installation.
SoftwareSources []ManagedInstanceSoftwareSource
The list of software sources currently attached to the managed instance.
Status string
Current status of the managed instance.
TenancyId string
The OCID of the tenancy that the managed instance resides in.
TimeCreated string
The date and time the instance was created (in RFC 3339 format).
TimeLastBoot string
Time that the instance last booted (in RFC 3339 format).
TimeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
TimeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
UpdatesAvailable int
Number of updates available for installation.
WorkRequestCount int
Number of work requests associated with this instance.
agentVersion String
The version of osmh-agent running on the managed instance
architecture String
The CPU architecture type of the managed instance.
bugUpdatesAvailable Integer
Number of bug fix type updates available for installation.
compartmentId String
The OCID of the compartment that contains the managed instance.
displayName String
Software source name.
enhancementUpdatesAvailable Integer
Number of enhancement type updates available for installation.
id String
The provider-assigned unique ID for this managed resource.
installedPackages Integer
Number of packages installed on the instance.
installedWindowsUpdates Integer
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux Boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation Boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired Boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion String
The ksplice effective kernel version.
lifecycleEnvironments List<ManagedInstanceLifecycleEnvironment>
Id and name of a resource to simplify the display for the user.
lifecycleStages List<ManagedInstanceLifecycleStage>
Id and name of a resource to simplify the display for the user.
location String
The location of the managed instance.
managedInstanceGroups List<ManagedInstanceManagedInstanceGroup>
Id and name of a resource to simplify the display for the user.
osFamily String
The operating system type of the managed instance.
osKernelVersion String
Operating system kernel version.
osName String
Operating system name.
osVersion String
Operating system version.
otherUpdatesAvailable Integer
Number of non-classified (other) updates available for installation.
profile String
The profile that was used to register this instance with the service.
profileVersion String
The version of the profile that was used to register this instance with the service.
scheduledJobCount Integer
Number of scheduled jobs associated with this instance.
securityUpdatesAvailable Integer
Number of security type updates available for installation.
softwareSources List<ManagedInstanceSoftwareSource>
The list of software sources currently attached to the managed instance.
status String
Current status of the managed instance.
tenancyId String
The OCID of the tenancy that the managed instance resides in.
timeCreated String
The date and time the instance was created (in RFC 3339 format).
timeLastBoot String
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin String
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated String
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable Integer
Number of updates available for installation.
workRequestCount Integer
Number of work requests associated with this instance.
agentVersion string
The version of osmh-agent running on the managed instance
architecture string
The CPU architecture type of the managed instance.
bugUpdatesAvailable number
Number of bug fix type updates available for installation.
compartmentId string
The OCID of the compartment that contains the managed instance.
displayName string
Software source name.
enhancementUpdatesAvailable number
Number of enhancement type updates available for installation.
id string
The provider-assigned unique ID for this managed resource.
installedPackages number
Number of packages installed on the instance.
installedWindowsUpdates number
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion string
The ksplice effective kernel version.
lifecycleEnvironments ManagedInstanceLifecycleEnvironment[]
Id and name of a resource to simplify the display for the user.
lifecycleStages ManagedInstanceLifecycleStage[]
Id and name of a resource to simplify the display for the user.
location string
The location of the managed instance.
managedInstanceGroups ManagedInstanceManagedInstanceGroup[]
Id and name of a resource to simplify the display for the user.
osFamily string
The operating system type of the managed instance.
osKernelVersion string
Operating system kernel version.
osName string
Operating system name.
osVersion string
Operating system version.
otherUpdatesAvailable number
Number of non-classified (other) updates available for installation.
profile string
The profile that was used to register this instance with the service.
profileVersion string
The version of the profile that was used to register this instance with the service.
scheduledJobCount number
Number of scheduled jobs associated with this instance.
securityUpdatesAvailable number
Number of security type updates available for installation.
softwareSources ManagedInstanceSoftwareSource[]
The list of software sources currently attached to the managed instance.
status string
Current status of the managed instance.
tenancyId string
The OCID of the tenancy that the managed instance resides in.
timeCreated string
The date and time the instance was created (in RFC 3339 format).
timeLastBoot string
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable number
Number of updates available for installation.
workRequestCount number
Number of work requests associated with this instance.
agent_version str
The version of osmh-agent running on the managed instance
architecture str
The CPU architecture type of the managed instance.
bug_updates_available int
Number of bug fix type updates available for installation.
compartment_id str
The OCID of the compartment that contains the managed instance.
display_name str
Software source name.
enhancement_updates_available int
Number of enhancement type updates available for installation.
id str
The provider-assigned unique ID for this managed resource.
installed_packages int
Number of packages installed on the instance.
installed_windows_updates int
Number of Windows updates installed on the instance.
is_managed_by_autonomous_linux bool
Indicates whether the Autonomous Linux service manages the instance.
is_management_station bool
Indicates whether this managed instance is acting as an on-premises management station.
is_reboot_required bool
Indicates whether a reboot is required to complete installation of updates.
ksplice_effective_kernel_version str
The ksplice effective kernel version.
lifecycle_environments Sequence[osmanagementhub.ManagedInstanceLifecycleEnvironment]
Id and name of a resource to simplify the display for the user.
lifecycle_stages Sequence[osmanagementhub.ManagedInstanceLifecycleStage]
Id and name of a resource to simplify the display for the user.
location str
The location of the managed instance.
managed_instance_groups Sequence[osmanagementhub.ManagedInstanceManagedInstanceGroup]
Id and name of a resource to simplify the display for the user.
os_family str
The operating system type of the managed instance.
os_kernel_version str
Operating system kernel version.
os_name str
Operating system name.
os_version str
Operating system version.
other_updates_available int
Number of non-classified (other) updates available for installation.
profile str
The profile that was used to register this instance with the service.
profile_version str
The version of the profile that was used to register this instance with the service.
scheduled_job_count int
Number of scheduled jobs associated with this instance.
security_updates_available int
Number of security type updates available for installation.
software_sources Sequence[osmanagementhub.ManagedInstanceSoftwareSource]
The list of software sources currently attached to the managed instance.
status str
Current status of the managed instance.
tenancy_id str
The OCID of the tenancy that the managed instance resides in.
time_created str
The date and time the instance was created (in RFC 3339 format).
time_last_boot str
Time that the instance last booted (in RFC 3339 format).
time_last_checkin str
Time that the instance last checked in with the service (in RFC 3339 format).
time_updated str
The date and time the instance was last updated (in RFC 3339 format).
updates_available int
Number of updates available for installation.
work_request_count int
Number of work requests associated with this instance.
agentVersion String
The version of osmh-agent running on the managed instance
architecture String
The CPU architecture type of the managed instance.
bugUpdatesAvailable Number
Number of bug fix type updates available for installation.
compartmentId String
The OCID of the compartment that contains the managed instance.
displayName String
Software source name.
enhancementUpdatesAvailable Number
Number of enhancement type updates available for installation.
id String
The provider-assigned unique ID for this managed resource.
installedPackages Number
Number of packages installed on the instance.
installedWindowsUpdates Number
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux Boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation Boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired Boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion String
The ksplice effective kernel version.
lifecycleEnvironments List<Property Map>
Id and name of a resource to simplify the display for the user.
lifecycleStages List<Property Map>
Id and name of a resource to simplify the display for the user.
location String
The location of the managed instance.
managedInstanceGroups List<Property Map>
Id and name of a resource to simplify the display for the user.
osFamily String
The operating system type of the managed instance.
osKernelVersion String
Operating system kernel version.
osName String
Operating system name.
osVersion String
Operating system version.
otherUpdatesAvailable Number
Number of non-classified (other) updates available for installation.
profile String
The profile that was used to register this instance with the service.
profileVersion String
The version of the profile that was used to register this instance with the service.
scheduledJobCount Number
Number of scheduled jobs associated with this instance.
securityUpdatesAvailable Number
Number of security type updates available for installation.
softwareSources List<Property Map>
The list of software sources currently attached to the managed instance.
status String
Current status of the managed instance.
tenancyId String
The OCID of the tenancy that the managed instance resides in.
timeCreated String
The date and time the instance was created (in RFC 3339 format).
timeLastBoot String
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin String
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated String
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable Number
Number of updates available for installation.
workRequestCount Number
Number of work requests associated with this instance.

Look up Existing ManagedInstance Resource

Get an existing ManagedInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ManagedInstanceState, opts?: CustomResourceOptions): ManagedInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        agent_version: Optional[str] = None,
        architecture: Optional[str] = None,
        autonomous_settings: Optional[_osmanagementhub.ManagedInstanceAutonomousSettingsArgs] = None,
        bug_updates_available: Optional[int] = None,
        compartment_id: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        enhancement_updates_available: Optional[int] = None,
        installed_packages: Optional[int] = None,
        installed_windows_updates: Optional[int] = None,
        is_managed_by_autonomous_linux: Optional[bool] = None,
        is_management_station: Optional[bool] = None,
        is_reboot_required: Optional[bool] = None,
        ksplice_effective_kernel_version: Optional[str] = None,
        lifecycle_environments: Optional[Sequence[_osmanagementhub.ManagedInstanceLifecycleEnvironmentArgs]] = None,
        lifecycle_stages: Optional[Sequence[_osmanagementhub.ManagedInstanceLifecycleStageArgs]] = None,
        location: Optional[str] = None,
        managed_instance_groups: Optional[Sequence[_osmanagementhub.ManagedInstanceManagedInstanceGroupArgs]] = None,
        managed_instance_id: Optional[str] = None,
        notification_topic_id: Optional[str] = None,
        os_family: Optional[str] = None,
        os_kernel_version: Optional[str] = None,
        os_name: Optional[str] = None,
        os_version: Optional[str] = None,
        other_updates_available: Optional[int] = None,
        primary_management_station_id: Optional[str] = None,
        profile: Optional[str] = None,
        profile_version: Optional[str] = None,
        scheduled_job_count: Optional[int] = None,
        secondary_management_station_id: Optional[str] = None,
        security_updates_available: Optional[int] = None,
        software_sources: Optional[Sequence[_osmanagementhub.ManagedInstanceSoftwareSourceArgs]] = None,
        status: Optional[str] = None,
        tenancy_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_last_boot: Optional[str] = None,
        time_last_checkin: Optional[str] = None,
        time_updated: Optional[str] = None,
        updates_available: Optional[int] = None,
        work_request_count: Optional[int] = None) -> ManagedInstance
func GetManagedInstance(ctx *Context, name string, id IDInput, state *ManagedInstanceState, opts ...ResourceOption) (*ManagedInstance, error)
public static ManagedInstance Get(string name, Input<string> id, ManagedInstanceState? state, CustomResourceOptions? opts = null)
public static ManagedInstance get(String name, Output<String> id, ManagedInstanceState state, CustomResourceOptions options)
resources:  _:    type: oci:OsManagementHub:ManagedInstance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AgentVersion string
The version of osmh-agent running on the managed instance
Architecture string
The CPU architecture type of the managed instance.
AutonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
BugUpdatesAvailable int
Number of bug fix type updates available for installation.
CompartmentId string
The OCID of the compartment that contains the managed instance.
Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
DisplayName string
Software source name.
EnhancementUpdatesAvailable int
Number of enhancement type updates available for installation.
InstalledPackages int
Number of packages installed on the instance.
InstalledWindowsUpdates int
Number of Windows updates installed on the instance.
IsManagedByAutonomousLinux bool
Indicates whether the Autonomous Linux service manages the instance.
IsManagementStation bool
Indicates whether this managed instance is acting as an on-premises management station.
IsRebootRequired bool
Indicates whether a reboot is required to complete installation of updates.
KspliceEffectiveKernelVersion string
The ksplice effective kernel version.
LifecycleEnvironments List<ManagedInstanceLifecycleEnvironment>
Id and name of a resource to simplify the display for the user.
LifecycleStages List<ManagedInstanceLifecycleStage>
Id and name of a resource to simplify the display for the user.
Location string
The location of the managed instance.
ManagedInstanceGroups List<ManagedInstanceManagedInstanceGroup>
Id and name of a resource to simplify the display for the user.
ManagedInstanceId Changes to this property will trigger replacement. string
The OCID of the managed instance.
NotificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
OsFamily string
The operating system type of the managed instance.
OsKernelVersion string
Operating system kernel version.
OsName string
Operating system name.
OsVersion string
Operating system version.
OtherUpdatesAvailable int
Number of non-classified (other) updates available for installation.
PrimaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
Profile string
The profile that was used to register this instance with the service.
ProfileVersion string
The version of the profile that was used to register this instance with the service.
ScheduledJobCount int
Number of scheduled jobs associated with this instance.
SecondaryManagementStationId string

(Updatable) The OCID 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

SecurityUpdatesAvailable int
Number of security type updates available for installation.
SoftwareSources List<ManagedInstanceSoftwareSource>
The list of software sources currently attached to the managed instance.
Status string
Current status of the managed instance.
TenancyId string
The OCID of the tenancy that the managed instance resides in.
TimeCreated string
The date and time the instance was created (in RFC 3339 format).
TimeLastBoot string
Time that the instance last booted (in RFC 3339 format).
TimeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
TimeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
UpdatesAvailable int
Number of updates available for installation.
WorkRequestCount int
Number of work requests associated with this instance.
AgentVersion string
The version of osmh-agent running on the managed instance
Architecture string
The CPU architecture type of the managed instance.
AutonomousSettings ManagedInstanceAutonomousSettingsArgs
(Updatable) Updatable settings for the Autonomous Linux service.
BugUpdatesAvailable int
Number of bug fix type updates available for installation.
CompartmentId string
The OCID of the compartment that contains the managed instance.
Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
DisplayName string
Software source name.
EnhancementUpdatesAvailable int
Number of enhancement type updates available for installation.
InstalledPackages int
Number of packages installed on the instance.
InstalledWindowsUpdates int
Number of Windows updates installed on the instance.
IsManagedByAutonomousLinux bool
Indicates whether the Autonomous Linux service manages the instance.
IsManagementStation bool
Indicates whether this managed instance is acting as an on-premises management station.
IsRebootRequired bool
Indicates whether a reboot is required to complete installation of updates.
KspliceEffectiveKernelVersion string
The ksplice effective kernel version.
LifecycleEnvironments []ManagedInstanceLifecycleEnvironmentArgs
Id and name of a resource to simplify the display for the user.
LifecycleStages []ManagedInstanceLifecycleStageArgs
Id and name of a resource to simplify the display for the user.
Location string
The location of the managed instance.
ManagedInstanceGroups []ManagedInstanceManagedInstanceGroupArgs
Id and name of a resource to simplify the display for the user.
ManagedInstanceId Changes to this property will trigger replacement. string
The OCID of the managed instance.
NotificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
OsFamily string
The operating system type of the managed instance.
OsKernelVersion string
Operating system kernel version.
OsName string
Operating system name.
OsVersion string
Operating system version.
OtherUpdatesAvailable int
Number of non-classified (other) updates available for installation.
PrimaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
Profile string
The profile that was used to register this instance with the service.
ProfileVersion string
The version of the profile that was used to register this instance with the service.
ScheduledJobCount int
Number of scheduled jobs associated with this instance.
SecondaryManagementStationId string

(Updatable) The OCID 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

SecurityUpdatesAvailable int
Number of security type updates available for installation.
SoftwareSources []ManagedInstanceSoftwareSourceArgs
The list of software sources currently attached to the managed instance.
Status string
Current status of the managed instance.
TenancyId string
The OCID of the tenancy that the managed instance resides in.
TimeCreated string
The date and time the instance was created (in RFC 3339 format).
TimeLastBoot string
Time that the instance last booted (in RFC 3339 format).
TimeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
TimeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
UpdatesAvailable int
Number of updates available for installation.
WorkRequestCount int
Number of work requests associated with this instance.
agentVersion String
The version of osmh-agent running on the managed instance
architecture String
The CPU architecture type of the managed instance.
autonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
bugUpdatesAvailable Integer
Number of bug fix type updates available for installation.
compartmentId String
The OCID of the compartment that contains the managed instance.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName String
Software source name.
enhancementUpdatesAvailable Integer
Number of enhancement type updates available for installation.
installedPackages Integer
Number of packages installed on the instance.
installedWindowsUpdates Integer
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux Boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation Boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired Boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion String
The ksplice effective kernel version.
lifecycleEnvironments List<ManagedInstanceLifecycleEnvironment>
Id and name of a resource to simplify the display for the user.
lifecycleStages List<ManagedInstanceLifecycleStage>
Id and name of a resource to simplify the display for the user.
location String
The location of the managed instance.
managedInstanceGroups List<ManagedInstanceManagedInstanceGroup>
Id and name of a resource to simplify the display for the user.
managedInstanceId Changes to this property will trigger replacement. String
The OCID of the managed instance.
notificationTopicId String
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
osFamily String
The operating system type of the managed instance.
osKernelVersion String
Operating system kernel version.
osName String
Operating system name.
osVersion String
Operating system version.
otherUpdatesAvailable Integer
Number of non-classified (other) updates available for installation.
primaryManagementStationId String
(Updatable) The OCID of the management station for the instance to use as primary management station.
profile String
The profile that was used to register this instance with the service.
profileVersion String
The version of the profile that was used to register this instance with the service.
scheduledJobCount Integer
Number of scheduled jobs associated with this instance.
secondaryManagementStationId String

(Updatable) The OCID 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

securityUpdatesAvailable Integer
Number of security type updates available for installation.
softwareSources List<ManagedInstanceSoftwareSource>
The list of software sources currently attached to the managed instance.
status String
Current status of the managed instance.
tenancyId String
The OCID of the tenancy that the managed instance resides in.
timeCreated String
The date and time the instance was created (in RFC 3339 format).
timeLastBoot String
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin String
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated String
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable Integer
Number of updates available for installation.
workRequestCount Integer
Number of work requests associated with this instance.
agentVersion string
The version of osmh-agent running on the managed instance
architecture string
The CPU architecture type of the managed instance.
autonomousSettings ManagedInstanceAutonomousSettings
(Updatable) Updatable settings for the Autonomous Linux service.
bugUpdatesAvailable number
Number of bug fix type updates available for installation.
compartmentId string
The OCID of the compartment that contains the managed instance.
description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName string
Software source name.
enhancementUpdatesAvailable number
Number of enhancement type updates available for installation.
installedPackages number
Number of packages installed on the instance.
installedWindowsUpdates number
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion string
The ksplice effective kernel version.
lifecycleEnvironments ManagedInstanceLifecycleEnvironment[]
Id and name of a resource to simplify the display for the user.
lifecycleStages ManagedInstanceLifecycleStage[]
Id and name of a resource to simplify the display for the user.
location string
The location of the managed instance.
managedInstanceGroups ManagedInstanceManagedInstanceGroup[]
Id and name of a resource to simplify the display for the user.
managedInstanceId Changes to this property will trigger replacement. string
The OCID of the managed instance.
notificationTopicId string
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
osFamily string
The operating system type of the managed instance.
osKernelVersion string
Operating system kernel version.
osName string
Operating system name.
osVersion string
Operating system version.
otherUpdatesAvailable number
Number of non-classified (other) updates available for installation.
primaryManagementStationId string
(Updatable) The OCID of the management station for the instance to use as primary management station.
profile string
The profile that was used to register this instance with the service.
profileVersion string
The version of the profile that was used to register this instance with the service.
scheduledJobCount number
Number of scheduled jobs associated with this instance.
secondaryManagementStationId string

(Updatable) The OCID 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

securityUpdatesAvailable number
Number of security type updates available for installation.
softwareSources ManagedInstanceSoftwareSource[]
The list of software sources currently attached to the managed instance.
status string
Current status of the managed instance.
tenancyId string
The OCID of the tenancy that the managed instance resides in.
timeCreated string
The date and time the instance was created (in RFC 3339 format).
timeLastBoot string
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin string
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated string
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable number
Number of updates available for installation.
workRequestCount number
Number of work requests associated with this instance.
agent_version str
The version of osmh-agent running on the managed instance
architecture str
The CPU architecture type of the managed instance.
autonomous_settings osmanagementhub.ManagedInstanceAutonomousSettingsArgs
(Updatable) Updatable settings for the Autonomous Linux service.
bug_updates_available int
Number of bug fix type updates available for installation.
compartment_id str
The OCID of the compartment that contains the managed instance.
description str
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
display_name str
Software source name.
enhancement_updates_available int
Number of enhancement type updates available for installation.
installed_packages int
Number of packages installed on the instance.
installed_windows_updates int
Number of Windows updates installed on the instance.
is_managed_by_autonomous_linux bool
Indicates whether the Autonomous Linux service manages the instance.
is_management_station bool
Indicates whether this managed instance is acting as an on-premises management station.
is_reboot_required bool
Indicates whether a reboot is required to complete installation of updates.
ksplice_effective_kernel_version str
The ksplice effective kernel version.
lifecycle_environments Sequence[osmanagementhub.ManagedInstanceLifecycleEnvironmentArgs]
Id and name of a resource to simplify the display for the user.
lifecycle_stages Sequence[osmanagementhub.ManagedInstanceLifecycleStageArgs]
Id and name of a resource to simplify the display for the user.
location str
The location of the managed instance.
managed_instance_groups Sequence[osmanagementhub.ManagedInstanceManagedInstanceGroupArgs]
Id and name of a resource to simplify the display for the user.
managed_instance_id Changes to this property will trigger replacement. str
The OCID of the managed instance.
notification_topic_id str
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
os_family str
The operating system type of the managed instance.
os_kernel_version str
Operating system kernel version.
os_name str
Operating system name.
os_version str
Operating system version.
other_updates_available int
Number of non-classified (other) updates available for installation.
primary_management_station_id str
(Updatable) The OCID of the management station for the instance to use as primary management station.
profile str
The profile that was used to register this instance with the service.
profile_version str
The version of the profile that was used to register this instance with the service.
scheduled_job_count int
Number of scheduled jobs associated with this instance.
secondary_management_station_id str

(Updatable) The OCID 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

security_updates_available int
Number of security type updates available for installation.
software_sources Sequence[osmanagementhub.ManagedInstanceSoftwareSourceArgs]
The list of software sources currently attached to the managed instance.
status str
Current status of the managed instance.
tenancy_id str
The OCID of the tenancy that the managed instance resides in.
time_created str
The date and time the instance was created (in RFC 3339 format).
time_last_boot str
Time that the instance last booted (in RFC 3339 format).
time_last_checkin str
Time that the instance last checked in with the service (in RFC 3339 format).
time_updated str
The date and time the instance was last updated (in RFC 3339 format).
updates_available int
Number of updates available for installation.
work_request_count int
Number of work requests associated with this instance.
agentVersion String
The version of osmh-agent running on the managed instance
architecture String
The CPU architecture type of the managed instance.
autonomousSettings Property Map
(Updatable) Updatable settings for the Autonomous Linux service.
bugUpdatesAvailable Number
Number of bug fix type updates available for installation.
compartmentId String
The OCID of the compartment that contains the managed instance.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName String
Software source name.
enhancementUpdatesAvailable Number
Number of enhancement type updates available for installation.
installedPackages Number
Number of packages installed on the instance.
installedWindowsUpdates Number
Number of Windows updates installed on the instance.
isManagedByAutonomousLinux Boolean
Indicates whether the Autonomous Linux service manages the instance.
isManagementStation Boolean
Indicates whether this managed instance is acting as an on-premises management station.
isRebootRequired Boolean
Indicates whether a reboot is required to complete installation of updates.
kspliceEffectiveKernelVersion String
The ksplice effective kernel version.
lifecycleEnvironments List<Property Map>
Id and name of a resource to simplify the display for the user.
lifecycleStages List<Property Map>
Id and name of a resource to simplify the display for the user.
location String
The location of the managed instance.
managedInstanceGroups List<Property Map>
Id and name of a resource to simplify the display for the user.
managedInstanceId Changes to this property will trigger replacement. String
The OCID of the managed instance.
notificationTopicId String
(Updatable) The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
osFamily String
The operating system type of the managed instance.
osKernelVersion String
Operating system kernel version.
osName String
Operating system name.
osVersion String
Operating system version.
otherUpdatesAvailable Number
Number of non-classified (other) updates available for installation.
primaryManagementStationId String
(Updatable) The OCID of the management station for the instance to use as primary management station.
profile String
The profile that was used to register this instance with the service.
profileVersion String
The version of the profile that was used to register this instance with the service.
scheduledJobCount Number
Number of scheduled jobs associated with this instance.
secondaryManagementStationId String

(Updatable) The OCID 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

securityUpdatesAvailable Number
Number of security type updates available for installation.
softwareSources List<Property Map>
The list of software sources currently attached to the managed instance.
status String
Current status of the managed instance.
tenancyId String
The OCID of the tenancy that the managed instance resides in.
timeCreated String
The date and time the instance was created (in RFC 3339 format).
timeLastBoot String
Time that the instance last booted (in RFC 3339 format).
timeLastCheckin String
Time that the instance last checked in with the service (in RFC 3339 format).
timeUpdated String
The date and time the instance was last updated (in RFC 3339 format).
updatesAvailable Number
Number of updates available for installation.
workRequestCount Number
Number of work requests associated with this instance.

Supporting Types

ManagedInstanceAutonomousSettings
, ManagedInstanceAutonomousSettingsArgs

IsDataCollectionAuthorized bool
(Updatable) Indicates whether Autonomous Linux will collect crash files.
ScheduledJobId string
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
IsDataCollectionAuthorized bool
(Updatable) Indicates whether Autonomous Linux will collect crash files.
ScheduledJobId string
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
isDataCollectionAuthorized Boolean
(Updatable) Indicates whether Autonomous Linux will collect crash files.
scheduledJobId String
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
isDataCollectionAuthorized boolean
(Updatable) Indicates whether Autonomous Linux will collect crash files.
scheduledJobId string
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
is_data_collection_authorized bool
(Updatable) Indicates whether Autonomous Linux will collect crash files.
scheduled_job_id str
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
isDataCollectionAuthorized Boolean
(Updatable) Indicates whether Autonomous Linux will collect crash files.
scheduledJobId String
The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.

ManagedInstanceLifecycleEnvironment
, ManagedInstanceLifecycleEnvironmentArgs

DisplayName string
Software source name.
Id string
The OCID of the software source.
DisplayName string
Software source name.
Id string
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.
displayName string
Software source name.
id string
The OCID of the software source.
display_name str
Software source name.
id str
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.

ManagedInstanceLifecycleStage
, ManagedInstanceLifecycleStageArgs

DisplayName string
Software source name.
Id string
The OCID of the software source.
DisplayName string
Software source name.
Id string
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.
displayName string
Software source name.
id string
The OCID of the software source.
display_name str
Software source name.
id str
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.

ManagedInstanceManagedInstanceGroup
, ManagedInstanceManagedInstanceGroupArgs

DisplayName string
Software source name.
Id string
The OCID of the software source.
DisplayName string
Software source name.
Id string
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.
displayName string
Software source name.
id string
The OCID of the software source.
display_name str
Software source name.
id str
The OCID of the software source.
displayName String
Software source name.
id String
The OCID of the software source.

ManagedInstanceSoftwareSource
, ManagedInstanceSoftwareSourceArgs

Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
DisplayName string
Software source name.
Id string
The OCID of the software source.
IsMandatoryForAutonomousLinux bool
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
SoftwareSourceType string
Type of the software source.
Description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
DisplayName string
Software source name.
Id string
The OCID of the software source.
IsMandatoryForAutonomousLinux bool
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
SoftwareSourceType string
Type of the software source.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName String
Software source name.
id String
The OCID of the software source.
isMandatoryForAutonomousLinux Boolean
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
softwareSourceType String
Type of the software source.
description string
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName string
Software source name.
id string
The OCID of the software source.
isMandatoryForAutonomousLinux boolean
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
softwareSourceType string
Type of the software source.
description str
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
display_name str
Software source name.
id str
The OCID of the software source.
is_mandatory_for_autonomous_linux bool
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
software_source_type str
Type of the software source.
description String
(Updatable) User-specified description of the managed instance. Avoid entering confidential information.
displayName String
Software source name.
id String
The OCID of the software source.
isMandatoryForAutonomousLinux Boolean
Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
softwareSourceType String
Type of the software source.

Import

ManagedInstances can be imported using the id, e.g.

$ pulumi import oci:OsManagementHub/managedInstance:ManagedInstance test_managed_instance "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.