Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getManagedInstanceGroup

This data source provides details about a specific Managed Instance Group resource in Oracle Cloud Infrastructure OS Management service.

Returns a specific Managed Instance Group.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testManagedInstanceGroup = Output.Create(Oci.OsManagement.GetManagedInstanceGroup.InvokeAsync(new Oci.OsManagement.GetManagedInstanceGroupArgs
        {
            ManagedInstanceGroupId = oci_osmanagement_managed_instance_group.Test_managed_instance_group.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := OsManagement.GetManagedInstanceGroup(ctx, &osmanagement.GetManagedInstanceGroupArgs{
			ManagedInstanceGroupId: oci_osmanagement_managed_instance_group.Test_managed_instance_group.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_managed_instance_group = oci.OsManagement.get_managed_instance_group(managed_instance_group_id=oci_osmanagement_managed_instance_group["test_managed_instance_group"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testManagedInstanceGroup = oci.OsManagement.getManagedInstanceGroup({
    managedInstanceGroupId: oci_osmanagement_managed_instance_group.test_managed_instance_group.id,
});

Coming soon!

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:OsManagement/getManagedInstanceGroup:getManagedInstanceGroup
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ManagedInstanceGroupId string

OCID for the managed instance group

ManagedInstanceGroupId string

OCID for the managed instance group

managedInstanceGroupId String

OCID for the managed instance group

managedInstanceGroupId string

OCID for the managed instance group

managed_instance_group_id str

OCID for the managed instance group

managedInstanceGroupId String

OCID for the managed instance group

getManagedInstanceGroup Result

The following output properties are available:

CompartmentId string

OCID for the Compartment

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

Information specified by the user about the managed instance group

DisplayName string

User friendly name

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

unique identifier that is immutable on creation

ManagedInstanceCount int
ManagedInstanceGroupId string
ManagedInstances List<GetManagedInstanceGroupManagedInstance>

list of Managed Instances in the group

OsFamily string

The Operating System type of the managed instance.

State string

The current state of the Software Source.

CompartmentId string

OCID for the Compartment

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

Information specified by the user about the managed instance group

DisplayName string

User friendly name

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

unique identifier that is immutable on creation

ManagedInstanceCount int
ManagedInstanceGroupId string
ManagedInstances []GetManagedInstanceGroupManagedInstance

list of Managed Instances in the group

OsFamily string

The Operating System type of the managed instance.

State string

The current state of the Software Source.

compartmentId String

OCID for the Compartment

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

Information specified by the user about the managed instance group

displayName String

User friendly name

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

unique identifier that is immutable on creation

managedInstanceCount Integer
managedInstanceGroupId String
managedInstances List<GetManagedInstanceGroupManagedInstance>

list of Managed Instances in the group

osFamily String

The Operating System type of the managed instance.

state String

The current state of the Software Source.

compartmentId string

OCID for the Compartment

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

Information specified by the user about the managed instance group

displayName string

User friendly name

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

unique identifier that is immutable on creation

managedInstanceCount number
managedInstanceGroupId string
managedInstances GetManagedInstanceGroupManagedInstance[]

list of Managed Instances in the group

osFamily string

The Operating System type of the managed instance.

state string

The current state of the Software Source.

compartment_id str

OCID for the Compartment

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

Information specified by the user about the managed instance group

display_name str

User friendly name

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

unique identifier that is immutable on creation

managed_instance_count int
managed_instance_group_id str
managed_instances GetManagedInstanceGroupManagedInstance]

list of Managed Instances in the group

os_family str

The Operating System type of the managed instance.

state str

The current state of the Software Source.

compartmentId String

OCID for the Compartment

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

Information specified by the user about the managed instance group

displayName String

User friendly name

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

unique identifier that is immutable on creation

managedInstanceCount Number
managedInstanceGroupId String
managedInstances List<Property Map>

list of Managed Instances in the group

osFamily String

The Operating System type of the managed instance.

state String

The current state of the Software Source.

Supporting Types

GetManagedInstanceGroupManagedInstance

DisplayName string

User friendly name

Id string

unique identifier that is immutable on creation

DisplayName string

User friendly name

Id string

unique identifier that is immutable on creation

displayName String

User friendly name

id String

unique identifier that is immutable on creation

displayName string

User friendly name

id string

unique identifier that is immutable on creation

display_name str

User friendly name

id str

unique identifier that is immutable on creation

displayName String

User friendly name

id String

unique identifier that is immutable on creation

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.