import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Managed Instance Group resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/ManagedInstanceGroup * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Creates a new managed instance group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceGroup = new oci.osmanagementhub.ManagedInstanceGroup("test_managed_instance_group", { * softwareSourceIds: [{}], * archType: managedInstanceGroupArchType, * compartmentId: compartmentId, * displayName: managedInstanceGroupDisplayName, * osFamily: managedInstanceGroupOsFamily, * vendorName: managedInstanceGroupVendorName, * autonomousSettings: { * isDataCollectionAuthorized: managedInstanceGroupAutonomousSettingsIsDataCollectionAuthorized === "true", * }, * definedTags: { * "Operations.CostCenter": "42", * }, * description: managedInstanceGroupDescription, * freeformTags: { * Department: "Finance", * }, * location: managedInstanceGroupLocation, * managedInstanceIds: managedInstanceGroupManagedInstanceIds, * notificationTopicId: testNotificationTopic.id, * }); * ``` * * ## Import * * ManagedInstanceGroups can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/managedInstanceGroup:ManagedInstanceGroup test_managed_instance_group "id" * ``` */ export declare class ManagedInstanceGroup extends pulumi.CustomResource { /** * Get an existing ManagedInstanceGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ManagedInstanceGroupState, opts?: pulumi.CustomResourceOptions): ManagedInstanceGroup; /** * Returns true if the given object is an instance of ManagedInstanceGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ManagedInstanceGroup; /** * The CPU architecture type of the managed instances that will be attached to this group. */ readonly archType: pulumi.Output; /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ readonly autonomousSettings: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User-specified description of the managed instance group. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name for the managed instance group. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Indicates whether the Autonomous Linux service manages the group. */ readonly isManagedByAutonomousLinux: pulumi.Output; /** * The location of managed instances attached to the group. If no location is provided, the default is on premises. */ readonly location: pulumi.Output; /** * The number of managed instances in the group. */ readonly managedInstanceCount: pulumi.Output; /** * The list of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to be added to the group. */ readonly managedInstanceIds: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer. */ readonly notificationTopicId: pulumi.Output; /** * The operating system type of the managed instances that will be attached to this group. */ readonly osFamily: pulumi.Output; /** * The number of scheduled jobs pending against the managed instance group. */ readonly pendingJobCount: pulumi.Output; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) available to the managed instances in the group. */ readonly softwareSourceIds: pulumi.Output; /** * The list of software sources that the managed instance group will use. */ readonly softwareSources: pulumi.Output; /** * The current state of the managed instance group. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the managed instance group was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeCreated: pulumi.Output; /** * The time the managed instance group was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeModified: pulumi.Output; /** * The vendor of the operating system that will be used by the managed instances in the group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly vendorName: pulumi.Output; /** * Create a ManagedInstanceGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ManagedInstanceGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedInstanceGroup resources. */ export interface ManagedInstanceGroupState { /** * The CPU architecture type of the managed instances that will be attached to this group. */ archType?: pulumi.Input; /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ autonomousSettings?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified description of the managed instance group. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name for the managed instance group. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Indicates whether the Autonomous Linux service manages the group. */ isManagedByAutonomousLinux?: pulumi.Input; /** * The location of managed instances attached to the group. If no location is provided, the default is on premises. */ location?: pulumi.Input; /** * The number of managed instances in the group. */ managedInstanceCount?: pulumi.Input; /** * The list of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to be added to the group. */ managedInstanceIds?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer. */ notificationTopicId?: pulumi.Input; /** * The operating system type of the managed instances that will be attached to this group. */ osFamily?: pulumi.Input; /** * The number of scheduled jobs pending against the managed instance group. */ pendingJobCount?: pulumi.Input; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) available to the managed instances in the group. */ softwareSourceIds?: pulumi.Input[] | undefined>; /** * The list of software sources that the managed instance group will use. */ softwareSources?: pulumi.Input[] | undefined>; /** * The current state of the managed instance group. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the managed instance group was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeCreated?: pulumi.Input; /** * The time the managed instance group was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeModified?: pulumi.Input; /** * The vendor of the operating system that will be used by the managed instances in the group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ vendorName?: pulumi.Input; } /** * The set of arguments for constructing a ManagedInstanceGroup resource. */ export interface ManagedInstanceGroupArgs { /** * The CPU architecture type of the managed instances that will be attached to this group. */ archType: pulumi.Input; /** * (Updatable) Updatable settings for the Autonomous Linux service. This is required when creating an Autonomous Linux Managed Instance Group. Do not include it when creating a standard (non-Autonomous) Managed Instance Group. */ autonomousSettings?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified description of the managed instance group. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name for the managed instance group. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The location of managed instances attached to the group. If no location is provided, the default is on premises. */ location?: pulumi.Input; /** * The list of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to be added to the group. */ managedInstanceIds?: pulumi.Input[] | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer. */ notificationTopicId?: pulumi.Input; /** * The operating system type of the managed instances that will be attached to this group. */ osFamily: pulumi.Input; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) available to the managed instances in the group. */ softwareSourceIds?: pulumi.Input[] | undefined>; /** * The vendor of the operating system that will be used by the managed instances in the group. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ vendorName: pulumi.Input; } //# sourceMappingURL=managedInstanceGroup.d.ts.map