Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.OsManagementHub.getManagedInstanceGroup
Explore with Pulumi AI
This data source provides details about a specific Managed Instance Group resource in Oracle Cloud Infrastructure Os Management Hub service.
Gets information about the specified managed instance group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedInstanceGroup = oci.OsManagementHub.getManagedInstanceGroup({
    managedInstanceGroupId: testManagedInstanceGroupOciOsManagementHubManagedInstanceGroup.id,
});
import pulumi
import pulumi_oci as oci
test_managed_instance_group = oci.OsManagementHub.get_managed_instance_group(managed_instance_group_id=test_managed_instance_group_oci_os_management_hub_managed_instance_group["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/osmanagementhub"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := osmanagementhub.GetManagedInstanceGroup(ctx, &osmanagementhub.GetManagedInstanceGroupArgs{
			ManagedInstanceGroupId: testManagedInstanceGroupOciOsManagementHubManagedInstanceGroup.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testManagedInstanceGroup = Oci.OsManagementHub.GetManagedInstanceGroup.Invoke(new()
    {
        ManagedInstanceGroupId = testManagedInstanceGroupOciOsManagementHubManagedInstanceGroup.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetManagedInstanceGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testManagedInstanceGroup = OsManagementHubFunctions.getManagedInstanceGroup(GetManagedInstanceGroupArgs.builder()
            .managedInstanceGroupId(testManagedInstanceGroupOciOsManagementHubManagedInstanceGroup.id())
            .build());
    }
}
variables:
  testManagedInstanceGroup:
    fn::invoke:
      function: oci:OsManagementHub:getManagedInstanceGroup
      arguments:
        managedInstanceGroupId: ${testManagedInstanceGroupOciOsManagementHubManagedInstanceGroup.id}
Using getManagedInstanceGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedInstanceGroup(args: GetManagedInstanceGroupArgs, opts?: InvokeOptions): Promise<GetManagedInstanceGroupResult>
function getManagedInstanceGroupOutput(args: GetManagedInstanceGroupOutputArgs, opts?: InvokeOptions): Output<GetManagedInstanceGroupResult>def get_managed_instance_group(managed_instance_group_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetManagedInstanceGroupResult
def get_managed_instance_group_output(managed_instance_group_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetManagedInstanceGroupResult]func LookupManagedInstanceGroup(ctx *Context, args *LookupManagedInstanceGroupArgs, opts ...InvokeOption) (*LookupManagedInstanceGroupResult, error)
func LookupManagedInstanceGroupOutput(ctx *Context, args *LookupManagedInstanceGroupOutputArgs, opts ...InvokeOption) LookupManagedInstanceGroupResultOutput> Note: This function is named LookupManagedInstanceGroup in the Go SDK.
public static class GetManagedInstanceGroup 
{
    public static Task<GetManagedInstanceGroupResult> InvokeAsync(GetManagedInstanceGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedInstanceGroupResult> Invoke(GetManagedInstanceGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedInstanceGroupResult> getManagedInstanceGroup(GetManagedInstanceGroupArgs args, InvokeOptions options)
public static Output<GetManagedInstanceGroupResult> getManagedInstanceGroup(GetManagedInstanceGroupArgs args, InvokeOptions options)
fn::invoke:
  function: oci:OsManagementHub/getManagedInstanceGroup:getManagedInstanceGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- ManagedInstance stringGroup Id 
- The OCID of the managed instance group.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
- managedInstance stringGroup Id 
- The OCID of the managed instance group.
- managed_instance_ strgroup_ id 
- The OCID of the managed instance group.
- managedInstance StringGroup Id 
- The OCID of the managed instance group.
getManagedInstanceGroup Result
The following output properties are available:
- ArchType string
- The CPU architecture of the instances in the managed instance group.
- AutonomousSettings List<GetManaged Instance Group Autonomous Setting> 
- Settings for the Autonomous Linux service.
- CompartmentId string
- The OCID of the compartment that contains the managed instance group.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- Software source description.
- DisplayName string
- Software source name.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of the software source.
- IsManaged boolBy Autonomous Linux 
- Indicates whether the Autonomous Linux service manages the group.
- Location string
- The location of managed instances attached to the group.
- ManagedInstance intCount 
- The number of managed instances in the group.
- ManagedInstance stringGroup Id 
- ManagedInstance List<string>Ids 
- The list of managed instance OCIDs attached to the managed instance group.
- NotificationTopic stringId 
- 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 instances in the managed instance group.
- PendingJob intCount 
- The number of scheduled jobs pending against the managed instance group.
- SoftwareSource List<string>Ids 
- The list of software source OCIDs that the managed instance group will use.
- SoftwareSources List<GetManaged Instance Group Software Source> 
- The list of software sources that the managed instance group will use.
- State string
- The current state of the managed instance group.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the managed instance group was created (in RFC 3339 format).
- TimeModified string
- The time the managed instance group was last modified (in RFC 3339 format).
- VendorName string
- The vendor of the operating system used by the managed instances in the group.
- ArchType string
- The CPU architecture of the instances in the managed instance group.
- AutonomousSettings []GetManaged Instance Group Autonomous Setting 
- Settings for the Autonomous Linux service.
- CompartmentId string
- The OCID of the compartment that contains the managed instance group.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Description string
- Software source description.
- DisplayName string
- Software source name.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of the software source.
- IsManaged boolBy Autonomous Linux 
- Indicates whether the Autonomous Linux service manages the group.
- Location string
- The location of managed instances attached to the group.
- ManagedInstance intCount 
- The number of managed instances in the group.
- ManagedInstance stringGroup Id 
- ManagedInstance []stringIds 
- The list of managed instance OCIDs attached to the managed instance group.
- NotificationTopic stringId 
- 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 instances in the managed instance group.
- PendingJob intCount 
- The number of scheduled jobs pending against the managed instance group.
- SoftwareSource []stringIds 
- The list of software source OCIDs that the managed instance group will use.
- SoftwareSources []GetManaged Instance Group Software Source 
- The list of software sources that the managed instance group will use.
- State string
- The current state of the managed instance group.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the managed instance group was created (in RFC 3339 format).
- TimeModified string
- The time the managed instance group was last modified (in RFC 3339 format).
- VendorName string
- The vendor of the operating system used by the managed instances in the group.
- archType String
- The CPU architecture of the instances in the managed instance group.
- autonomousSettings List<GetManaged Instance Group Autonomous Setting> 
- Settings for the Autonomous Linux service.
- compartmentId String
- The OCID of the compartment that contains the managed instance group.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- Software source description.
- displayName String
- Software source name.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of the software source.
- isManaged BooleanBy Autonomous Linux 
- Indicates whether the Autonomous Linux service manages the group.
- location String
- The location of managed instances attached to the group.
- managedInstance IntegerCount 
- The number of managed instances in the group.
- managedInstance StringGroup Id 
- managedInstance List<String>Ids 
- The list of managed instance OCIDs attached to the managed instance group.
- notificationTopic StringId 
- 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 instances in the managed instance group.
- pendingJob IntegerCount 
- The number of scheduled jobs pending against the managed instance group.
- softwareSource List<String>Ids 
- The list of software source OCIDs that the managed instance group will use.
- softwareSources List<GetManaged Instance Group Software Source> 
- The list of software sources that the managed instance group will use.
- state String
- The current state of the managed instance group.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the managed instance group was created (in RFC 3339 format).
- timeModified String
- The time the managed instance group was last modified (in RFC 3339 format).
- vendorName String
- The vendor of the operating system used by the managed instances in the group.
- archType string
- The CPU architecture of the instances in the managed instance group.
- autonomousSettings GetManaged Instance Group Autonomous Setting[] 
- Settings for the Autonomous Linux service.
- compartmentId string
- The OCID of the compartment that contains the managed instance group.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description string
- Software source description.
- displayName string
- Software source name.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- The OCID of the software source.
- isManaged booleanBy Autonomous Linux 
- Indicates whether the Autonomous Linux service manages the group.
- location string
- The location of managed instances attached to the group.
- managedInstance numberCount 
- The number of managed instances in the group.
- managedInstance stringGroup Id 
- managedInstance string[]Ids 
- The list of managed instance OCIDs attached to the managed instance group.
- notificationTopic stringId 
- 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 instances in the managed instance group.
- pendingJob numberCount 
- The number of scheduled jobs pending against the managed instance group.
- softwareSource string[]Ids 
- The list of software source OCIDs that the managed instance group will use.
- softwareSources GetManaged Instance Group Software Source[] 
- The list of software sources that the managed instance group will use.
- state string
- The current state of the managed instance group.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the managed instance group was created (in RFC 3339 format).
- timeModified string
- The time the managed instance group was last modified (in RFC 3339 format).
- vendorName string
- The vendor of the operating system used by the managed instances in the group.
- arch_type str
- The CPU architecture of the instances in the managed instance group.
- autonomous_settings Sequence[GetManaged Instance Group Autonomous Setting] 
- Settings for the Autonomous Linux service.
- compartment_id str
- The OCID of the compartment that contains the managed instance group.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description str
- Software source description.
- display_name str
- Software source name.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- The OCID of the software source.
- is_managed_ boolby_ autonomous_ linux 
- Indicates whether the Autonomous Linux service manages the group.
- location str
- The location of managed instances attached to the group.
- managed_instance_ intcount 
- The number of managed instances in the group.
- managed_instance_ strgroup_ id 
- managed_instance_ Sequence[str]ids 
- The list of managed instance OCIDs attached to the managed instance group.
- notification_topic_ strid 
- 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 instances in the managed instance group.
- pending_job_ intcount 
- The number of scheduled jobs pending against the managed instance group.
- software_source_ Sequence[str]ids 
- The list of software source OCIDs that the managed instance group will use.
- software_sources Sequence[GetManaged Instance Group Software Source] 
- The list of software sources that the managed instance group will use.
- state str
- The current state of the managed instance group.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time the managed instance group was created (in RFC 3339 format).
- time_modified str
- The time the managed instance group was last modified (in RFC 3339 format).
- vendor_name str
- The vendor of the operating system used by the managed instances in the group.
- archType String
- The CPU architecture of the instances in the managed instance group.
- autonomousSettings List<Property Map>
- Settings for the Autonomous Linux service.
- compartmentId String
- The OCID of the compartment that contains the managed instance group.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- description String
- Software source description.
- displayName String
- Software source name.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of the software source.
- isManaged BooleanBy Autonomous Linux 
- Indicates whether the Autonomous Linux service manages the group.
- location String
- The location of managed instances attached to the group.
- managedInstance NumberCount 
- The number of managed instances in the group.
- managedInstance StringGroup Id 
- managedInstance List<String>Ids 
- The list of managed instance OCIDs attached to the managed instance group.
- notificationTopic StringId 
- 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 instances in the managed instance group.
- pendingJob NumberCount 
- The number of scheduled jobs pending against the managed instance group.
- softwareSource List<String>Ids 
- The list of software source OCIDs that the managed instance group will use.
- softwareSources List<Property Map>
- The list of software sources that the managed instance group will use.
- state String
- The current state of the managed instance group.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the managed instance group was created (in RFC 3339 format).
- timeModified String
- The time the managed instance group was last modified (in RFC 3339 format).
- vendorName String
- The vendor of the operating system used by the managed instances in the group.
Supporting Types
GetManagedInstanceGroupAutonomousSetting     
- bool
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- ScheduledJob stringId 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
- bool
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- ScheduledJob stringId 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
- Boolean
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- scheduledJob StringId 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
- boolean
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- scheduledJob stringId 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
- bool
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- scheduled_job_ strid 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
- Boolean
- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.
- scheduledJob StringId 
- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
GetManagedInstanceGroupSoftwareSource     
- Description string
- Software source description.
- DisplayName string
- Software source name.
- Id string
- The OCID of the software source.
- IsMandatory boolFor Autonomous Linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- SoftwareSource stringType 
- Type of the software source.
- Description string
- Software source description.
- DisplayName string
- Software source name.
- Id string
- The OCID of the software source.
- IsMandatory boolFor Autonomous Linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- SoftwareSource stringType 
- Type of the software source.
- description String
- Software source description.
- displayName String
- Software source name.
- id String
- The OCID of the software source.
- isMandatory BooleanFor Autonomous Linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- softwareSource StringType 
- Type of the software source.
- description string
- Software source description.
- displayName string
- Software source name.
- id string
- The OCID of the software source.
- isMandatory booleanFor Autonomous Linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- softwareSource stringType 
- Type of the software source.
- description str
- Software source description.
- display_name str
- Software source name.
- id str
- The OCID of the software source.
- is_mandatory_ boolfor_ autonomous_ linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_source_ strtype 
- Type of the software source.
- description String
- Software source description.
- displayName String
- Software source name.
- id String
- The OCID of the software source.
- isMandatory BooleanFor Autonomous Linux 
- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- softwareSource StringType 
- Type of the software source.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.