Oracle Cloud Infrastructure
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:
- Managed
Instance stringGroup Id OCID for the managed instance group
- Managed
Instance stringGroup Id OCID for the managed instance group
- managed
Instance StringGroup Id OCID for the managed instance group
- managed
Instance stringGroup Id OCID for the managed instance group
- managed_
instance_ strgroup_ id OCID for the managed instance group
- managed
Instance StringGroup Id OCID for the managed instance group
getManagedInstanceGroup Result
The following output properties are available:
- Compartment
Id string OCID for the Compartment
- 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
- Display
Name string User friendly name
- 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
- Managed
Instance intCount - Managed
Instance stringGroup Id - Managed
Instances List<GetManaged Instance Group Managed Instance> list of Managed Instances in the group
- Os
Family string The Operating System type of the managed instance.
- State string
The current state of the Software Source.
- Compartment
Id string OCID for the Compartment
- 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
- Display
Name string User friendly name
- 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
- Managed
Instance intCount - Managed
Instance stringGroup Id - Managed
Instances []GetManaged Instance Group Managed Instance list of Managed Instances in the group
- Os
Family string The Operating System type of the managed instance.
- State string
The current state of the Software Source.
- compartment
Id String OCID for the Compartment
- 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
- display
Name String User friendly name
- 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
- managed
Instance IntegerCount - managed
Instance StringGroup Id - managed
Instances List<GetManaged Instance Group Managed Instance> list of Managed Instances in the group
- os
Family String The Operating System type of the managed instance.
- state String
The current state of the Software Source.
- compartment
Id string OCID for the Compartment
- {[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
- display
Name string User friendly name
- {[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
- managed
Instance numberCount - managed
Instance stringGroup Id - managed
Instances GetManaged Instance Group Managed Instance[] list of Managed Instances in the group
- os
Family 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
- 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
- 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_ intcount - managed_
instance_ strgroup_ id - managed_
instances GetManaged Instance Group Managed Instance] 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.
- compartment
Id String OCID for the Compartment
- 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
- display
Name String User friendly name
- 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
- managed
Instance NumberCount - managed
Instance StringGroup Id - managed
Instances List<Property Map> list of Managed Instances in the group
- os
Family String The Operating System type of the managed instance.
- state String
The current state of the Software Source.
Supporting Types
GetManagedInstanceGroupManagedInstance
- Display
Name string User friendly name
- Id string
unique identifier that is immutable on creation
- Display
Name string User friendly name
- Id string
unique identifier that is immutable on creation
- display
Name String User friendly name
- id String
unique identifier that is immutable on creation
- display
Name 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
- display
Name 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.