import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Managed Instance Groups in Oracle Cloud Infrastructure Os Management Hub service. * * Lists managed instance groups that match the specified compartment or managed instance group [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceGroups = oci.osmanagementhub.getManagedInstanceGroups({ * archType: managedInstanceGroupArchType, * compartmentId: compartmentId, * displayNames: managedInstanceGroupDisplayName, * displayNameContains: managedInstanceGroupDisplayNameContains, * isManagedByAutonomousLinux: managedInstanceGroupIsManagedByAutonomousLinux === "true", * locations: managedInstanceGroupLocation, * locationNotEqualTos: managedInstanceGroupLocationNotEqualTo, * managedInstanceGroupId: testManagedInstanceGroup.id, * osFamily: managedInstanceGroupOsFamily, * softwareSourceId: testSoftwareSource.id, * state: managedInstanceGroupState, * }); * ``` */ export declare function getManagedInstanceGroups(args?: GetManagedInstanceGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedInstanceGroups. */ export interface GetManagedInstanceGroupsArgs { /** * A filter to return only profiles that match the given archType. */ archType?: string; /** * (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: string; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: string; /** * A filter to return resources that match the given display names. */ displayNames?: string[]; filters?: inputs.OsManagementHub.GetManagedInstanceGroupsFilter[]; /** * Indicates whether to list only resources managed by the Autonomous Linux service. */ isManagedByAutonomousLinux?: boolean; /** * A filter to return only resources whose location does not match the given value. */ locationNotEqualTos?: string[]; /** * A filter to return only resources whose location matches the given value. */ locations?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group. */ managedInstanceGroupId?: string; /** * A filter to return only resources that match the given operating system family. */ osFamily?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source. */ softwareSourceId?: string; /** * A filter to return only managed instance groups that are in the specified state. */ state?: string; } /** * A collection of values returned by getManagedInstanceGroups. */ export interface GetManagedInstanceGroupsResult { /** * The CPU architecture of the instances in the managed instance group. */ readonly archType?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group. */ readonly compartmentId?: string; readonly displayNameContains?: string; /** * Software source name. */ readonly displayNames?: string[]; readonly filters?: outputs.OsManagementHub.GetManagedInstanceGroupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether the Autonomous Linux service manages the group. */ readonly isManagedByAutonomousLinux?: boolean; readonly locationNotEqualTos?: string[]; /** * The location of managed instances attached to the group. */ readonly locations?: string[]; /** * The list of managed_instance_group_collection. */ readonly managedInstanceGroupCollections: outputs.OsManagementHub.GetManagedInstanceGroupsManagedInstanceGroupCollection[]; readonly managedInstanceGroupId?: string; /** * The operating system type of the instances in the managed instance group. */ readonly osFamily?: string; readonly softwareSourceId?: string; /** * The current state of the managed instance group. */ readonly state?: string; } /** * This data source provides the list of Managed Instance Groups in Oracle Cloud Infrastructure Os Management Hub service. * * Lists managed instance groups that match the specified compartment or managed instance group [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceGroups = oci.osmanagementhub.getManagedInstanceGroups({ * archType: managedInstanceGroupArchType, * compartmentId: compartmentId, * displayNames: managedInstanceGroupDisplayName, * displayNameContains: managedInstanceGroupDisplayNameContains, * isManagedByAutonomousLinux: managedInstanceGroupIsManagedByAutonomousLinux === "true", * locations: managedInstanceGroupLocation, * locationNotEqualTos: managedInstanceGroupLocationNotEqualTo, * managedInstanceGroupId: testManagedInstanceGroup.id, * osFamily: managedInstanceGroupOsFamily, * softwareSourceId: testSoftwareSource.id, * state: managedInstanceGroupState, * }); * ``` */ export declare function getManagedInstanceGroupsOutput(args?: GetManagedInstanceGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedInstanceGroups. */ export interface GetManagedInstanceGroupsOutputArgs { /** * A filter to return only profiles that match the given archType. */ archType?: pulumi.Input; /** * (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: pulumi.Input; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: pulumi.Input; /** * A filter to return resources that match the given display names. */ displayNames?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * Indicates whether to list only resources managed by the Autonomous Linux service. */ isManagedByAutonomousLinux?: pulumi.Input; /** * A filter to return only resources whose location does not match the given value. */ locationNotEqualTos?: pulumi.Input[] | undefined>; /** * A filter to return only resources whose location matches the given value. */ locations?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group. */ managedInstanceGroupId?: pulumi.Input; /** * A filter to return only resources that match the given operating system family. */ osFamily?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source. */ softwareSourceId?: pulumi.Input; /** * A filter to return only managed instance groups that are in the specified state. */ state?: pulumi.Input; } //# sourceMappingURL=getManagedInstanceGroups.d.ts.map