Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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 GetManagedInstanceGroup(ctx *Context, args *GetManagedInstanceGroupArgs, opts ...InvokeOption) (*GetManagedInstanceGroupResult, error)
func GetManagedInstanceGroupOutput(ctx *Context, args *GetManagedInstanceGroupOutputArgs, opts ...InvokeOption) GetManagedInstanceGroupResultOutput
> Note: This function is named GetManagedInstanceGroup
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OsManagementHub/getManagedInstanceGroup:getManagedInstanceGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Instance stringGroup Id - The OCID of the managed instance group.
- Managed
Instance stringGroup Id - The OCID of the managed instance group.
- managed
Instance StringGroup Id - The OCID of the managed instance group.
- managed
Instance stringGroup Id - The OCID of the managed instance group.
- managed_
instance_ strgroup_ id - The OCID of the managed instance group.
- managed
Instance StringGroup Id - The OCID of the managed instance group.
getManagedInstanceGroup Result
The following output properties are available:
- Arch
Type string - The CPU architecture of the instances in the managed instance group.
- Autonomous
Settings List<GetManaged Instance Group Autonomous Setting> - Settings for the Autonomous Linux service.
- Compartment
Id 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.
- Display
Name 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.
- Is
Managed boolBy Autonomous Linux - Indicates whether the Autonomous Linux service manages the group.
- Location string
- The location of managed instances attached to the group.
- Managed
Instance intCount - The number of managed instances in the group.
- Managed
Instance stringGroup Id - Managed
Instance List<string>Ids - The list of managed instance OCIDs attached to the managed instance group.
- Notification
Topic stringId - The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
- Os
Family string - 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 List<string>Ids - The list of software source OCIDs that the managed instance group will use.
- Software
Sources 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"}
- Time
Created string - The time the managed instance group was created (in RFC 3339 format).
- Time
Modified string - The time the managed instance group was last modified (in RFC 3339 format).
- Vendor
Name string - The vendor of the operating system used by the managed instances in the group.
- Arch
Type string - The CPU architecture of the instances in the managed instance group.
- Autonomous
Settings []GetManaged Instance Group Autonomous Setting - Settings for the Autonomous Linux service.
- Compartment
Id 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.
- Display
Name 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.
- Is
Managed boolBy Autonomous Linux - Indicates whether the Autonomous Linux service manages the group.
- Location string
- The location of managed instances attached to the group.
- Managed
Instance intCount - The number of managed instances in the group.
- Managed
Instance stringGroup Id - Managed
Instance []stringIds - The list of managed instance OCIDs attached to the managed instance group.
- Notification
Topic stringId - The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
- Os
Family string - 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 []stringIds - The list of software source OCIDs that the managed instance group will use.
- Software
Sources []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"}
- Time
Created string - The time the managed instance group was created (in RFC 3339 format).
- Time
Modified string - The time the managed instance group was last modified (in RFC 3339 format).
- Vendor
Name string - The vendor of the operating system used by the managed instances in the group.
- arch
Type String - The CPU architecture of the instances in the managed instance group.
- autonomous
Settings List<GetManaged Instance Group Autonomous Setting> - Settings for the Autonomous Linux service.
- compartment
Id 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.
- display
Name 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.
- is
Managed BooleanBy Autonomous Linux - Indicates whether the Autonomous Linux service manages the group.
- location String
- The location of managed instances attached to the group.
- managed
Instance IntegerCount - The number of managed instances in the group.
- managed
Instance StringGroup Id - managed
Instance List<String>Ids - The list of managed instance OCIDs attached to the managed instance group.
- notification
Topic StringId - The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
- os
Family String - The operating system type of the instances in the managed instance group.
- pending
Job IntegerCount - The number of scheduled jobs pending against the managed instance group.
- software
Source List<String>Ids - The list of software source OCIDs that the managed instance group will use.
- software
Sources 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"}
- time
Created String - The time the managed instance group was created (in RFC 3339 format).
- time
Modified String - The time the managed instance group was last modified (in RFC 3339 format).
- vendor
Name String - The vendor of the operating system used by the managed instances in the group.
- arch
Type string - The CPU architecture of the instances in the managed instance group.
- autonomous
Settings GetManaged Instance Group Autonomous Setting[] - Settings for the Autonomous Linux service.
- compartment
Id 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.
- display
Name 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.
- is
Managed booleanBy Autonomous Linux - Indicates whether the Autonomous Linux service manages the group.
- location string
- The location of managed instances attached to the group.
- managed
Instance numberCount - The number of managed instances in the group.
- managed
Instance stringGroup Id - managed
Instance string[]Ids - The list of managed instance OCIDs attached to the managed instance group.
- notification
Topic stringId - The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
- os
Family string - The operating system type of the instances in the managed instance group.
- pending
Job numberCount - The number of scheduled jobs pending against the managed instance group.
- software
Source string[]Ids - The list of software source OCIDs that the managed instance group will use.
- software
Sources 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"}
- time
Created string - The time the managed instance group was created (in RFC 3339 format).
- time
Modified string - The time the managed instance group was last modified (in RFC 3339 format).
- vendor
Name 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[osmanagementhub.Get Managed 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[osmanagementhub.Get Managed 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.
- arch
Type String - The CPU architecture of the instances in the managed instance group.
- autonomous
Settings List<Property Map> - Settings for the Autonomous Linux service.
- compartment
Id 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.
- display
Name 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.
- is
Managed BooleanBy Autonomous Linux - Indicates whether the Autonomous Linux service manages the group.
- location String
- The location of managed instances attached to the group.
- managed
Instance NumberCount - The number of managed instances in the group.
- managed
Instance StringGroup Id - managed
Instance List<String>Ids - The list of managed instance OCIDs attached to the managed instance group.
- notification
Topic StringId - The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
- os
Family String - The operating system type of the instances in the managed instance group.
- pending
Job NumberCount - The number of scheduled jobs pending against the managed instance group.
- software
Source List<String>Ids - The list of software source OCIDs that the managed instance group will use.
- software
Sources 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"}
- time
Created String - The time the managed instance group was created (in RFC 3339 format).
- time
Modified String - The time the managed instance group was last modified (in RFC 3339 format).
- vendor
Name 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.
- Scheduled
Job 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 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.
- scheduled
Job 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.
- scheduled
Job 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.
- scheduled
Job 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.
- Display
Name string - Software source name.
- Id string
- 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 stringType - Type of the software source.
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- 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 stringType - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
- description string
- Software source description.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source 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.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source 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
oci
Terraform Provider.