import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Profile 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/Profile * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Creates a registration profile. A profile defines the content applied to the instance when registering it with the service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProfile = new oci.osmanagementhub.Profile("test_profile", { * compartmentId: compartmentId, * displayName: profileDisplayName, * profileType: profileProfileType, * archType: profileArchType, * definedTags: { * "Operations.CostCenter": "42", * }, * description: profileDescription, * freeformTags: { * Department: "Finance", * }, * isDefaultProfile: profileIsDefaultProfile === "true", * lifecycleStageId: testLifecycleStage.id, * managedInstanceGroupId: testManagedInstanceGroup.id, * managementStationId: testManagementStation.id, * osFamily: profileOsFamily, * registrationType: profileRegistrationType, * softwareSourceIds: profileSoftwareSourceIds, * vendorName: profileVendorName, * }); * ``` * * ## Import * * Profiles can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/profile:Profile test_profile "id" * ``` */ export declare class Profile extends pulumi.CustomResource { /** * Get an existing Profile 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?: ProfileState, opts?: pulumi.CustomResourceOptions): Profile; /** * Returns true if the given object is an instance of Profile. 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 Profile; /** * The architecture type. */ readonly archType: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile. */ 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 registration profile. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly name. Must 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; }>; /** * (Updatable) Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified. */ readonly isDefaultProfile: pulumi.Output; /** * Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances. */ readonly isServiceProvidedProfile: pulumi.Output; /** * Provides identifying information for the specified lifecycle environment. */ readonly lifecycleEnvironments: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ readonly lifecycleStageId: pulumi.Output; /** * Provides identifying information for the specified lifecycle stage. */ readonly lifecycleStages: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will join after registration. */ readonly managedInstanceGroupId: pulumi.Output; /** * Provides identifying information for the specified managed instance group. */ readonly managedInstanceGroups: pulumi.Output; /** * description: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. This is used when creating a profile for non-OCI instances. */ readonly managementStationId: pulumi.Output; /** * The operating system family. */ readonly osFamily: pulumi.Output; /** * The type of profile. */ readonly profileType: pulumi.Output; /** * The version of the profile. The version is automatically incremented each time the profiled is edited. */ readonly profileVersion: pulumi.Output; /** * The type of instance to register. */ readonly registrationType: pulumi.Output; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that the registration profile will use. */ readonly softwareSourceIds: pulumi.Output; /** * The list of software sources that the registration profile will use. */ readonly softwareSources: pulumi.Output; /** * The current state of the registration profile. */ 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 registration profile was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeCreated: pulumi.Output; /** * The time the registration profile was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ readonly timeModified: pulumi.Output; /** * The vendor of the operating system for the instance. * * ** 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 Profile 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: ProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Profile resources. */ export interface ProfileState { /** * The architecture type. */ archType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile. */ 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 registration profile. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Must 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>; /** * (Updatable) Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified. */ isDefaultProfile?: pulumi.Input; /** * Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances. */ isServiceProvidedProfile?: pulumi.Input; /** * Provides identifying information for the specified lifecycle environment. */ lifecycleEnvironments?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ lifecycleStageId?: pulumi.Input; /** * Provides identifying information for the specified lifecycle stage. */ lifecycleStages?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will join after registration. */ managedInstanceGroupId?: pulumi.Input; /** * Provides identifying information for the specified managed instance group. */ managedInstanceGroups?: pulumi.Input[] | undefined>; /** * description: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. This is used when creating a profile for non-OCI instances. */ managementStationId?: pulumi.Input; /** * The operating system family. */ osFamily?: pulumi.Input; /** * The type of profile. */ profileType?: pulumi.Input; /** * The version of the profile. The version is automatically incremented each time the profiled is edited. */ profileVersion?: pulumi.Input; /** * The type of instance to register. */ registrationType?: pulumi.Input; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that the registration profile will use. */ softwareSourceIds?: pulumi.Input[] | undefined>; /** * The list of software sources that the registration profile will use. */ softwareSources?: pulumi.Input[] | undefined>; /** * The current state of the registration profile. */ 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 registration profile was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeCreated?: pulumi.Input; /** * The time the registration profile was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). */ timeModified?: pulumi.Input; /** * The vendor of the operating system for the instance. * * ** 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 Profile resource. */ export interface ProfileArgs { /** * The architecture type. */ archType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the registration profile. */ 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 registration profile. */ description?: pulumi.Input; /** * (Updatable) A user-friendly name. Must 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>; /** * (Updatable) Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified. */ isDefaultProfile?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage that the instance will be associated with. */ lifecycleStageId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will join after registration. */ managedInstanceGroupId?: pulumi.Input; /** * description: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station to associate with an instance once registered. This is used when creating a profile for non-OCI instances. */ managementStationId?: pulumi.Input; /** * The operating system family. */ osFamily?: pulumi.Input; /** * The type of profile. */ profileType: pulumi.Input; /** * The type of instance to register. */ registrationType?: pulumi.Input; /** * The list of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that the registration profile will use. */ softwareSourceIds?: pulumi.Input[] | undefined>; /** * The vendor of the operating system for the instance. * * ** 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=profile.d.ts.map