Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
This data source provides details about a specific Profile resource in Oracle Cloud Infrastructure Os Management Hub service.
Returns information about the specified registration profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProfile = oci.OsManagementHub.getProfile({
profileId: testProfileOciOsManagementHubProfile.id,
});
import pulumi
import pulumi_oci as oci
test_profile = oci.OsManagementHub.get_profile(profile_id=test_profile_oci_os_management_hub_profile["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/osmanagementhub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := osmanagementhub.GetProfile(ctx, &osmanagementhub.GetProfileArgs{
ProfileId: testProfileOciOsManagementHubProfile.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testProfile = Oci.OsManagementHub.GetProfile.Invoke(new()
{
ProfileId = testProfileOciOsManagementHubProfile.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testProfile = OsManagementHubFunctions.getProfile(GetProfileArgs.builder()
.profileId(testProfileOciOsManagementHubProfile.id())
.build());
}
}
variables:
testProfile:
fn::invoke:
function: oci:OsManagementHub:getProfile
arguments:
profileId: ${testProfileOciOsManagementHubProfile.id}
Using getProfile
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 getProfile(args: GetProfileArgs, opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(args: GetProfileOutputArgs, opts?: InvokeOptions): Output<GetProfileResult>def get_profile(profile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput> Note: This function is named LookupProfile in the Go SDK.
public static class GetProfile
{
public static Task<GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions? opts = null)
public static Output<GetProfileResult> Invoke(GetProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
fn::invoke:
function: oci:OsManagementHub/getProfile:getProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- profile_
id str - The OCID of the registration profile.
getProfile Result
The following output properties are available:
- Arch
Type string - The architecture type.
- Compartment
Id string - The OCID of the compartment that contains the registration profile.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Software source description.
- Display
Name string - Software source name.
- Dictionary<string, string>
- 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. Example:
{"Department": "Finance"} - Id string
- The OCID of the software source.
- Is
Default boolProfile - 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.
- Is
Service boolProvided Profile - 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.
- Lifecycle
Environments List<GetProfile Lifecycle Environment> - Provides identifying information for the specified lifecycle environment.
- Lifecycle
Stage stringId - Lifecycle
Stages List<GetProfile Lifecycle Stage> - Provides identifying information for the specified lifecycle stage.
- Managed
Instance stringGroup Id - Managed
Instance List<GetGroups Profile Managed Instance Group> - Provides identifying information for the specified managed instance group.
- Management
Station stringId - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- Os
Family string - The operating system family.
- Profile
Id string - Profile
Type string - The type of profile.
- Profile
Version string - The version of the profile. The version is automatically incremented each time the profiled is edited.
- Registration
Type string - The type of instance to register.
- Software
Source List<string>Ids - Software
Sources List<GetProfile Software Source> - The list of software sources that the registration profile will use.
- State string
- The current state of the registration profile.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the registration profile was created (in RFC 3339 format).
- Time
Modified string - The time the registration profile was last modified (in RFC 3339 format).
- Vendor
Name string - The vendor of the operating system for the instance.
- Arch
Type string - The architecture type.
- Compartment
Id string - The OCID of the compartment that contains the registration profile.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Software source description.
- Display
Name string - Software source name.
- map[string]string
- 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. Example:
{"Department": "Finance"} - Id string
- The OCID of the software source.
- Is
Default boolProfile - 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.
- Is
Service boolProvided Profile - 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.
- Lifecycle
Environments []GetProfile Lifecycle Environment - Provides identifying information for the specified lifecycle environment.
- Lifecycle
Stage stringId - Lifecycle
Stages []GetProfile Lifecycle Stage - Provides identifying information for the specified lifecycle stage.
- Managed
Instance stringGroup Id - Managed
Instance []GetGroups Profile Managed Instance Group - Provides identifying information for the specified managed instance group.
- Management
Station stringId - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- Os
Family string - The operating system family.
- Profile
Id string - Profile
Type string - The type of profile.
- Profile
Version string - The version of the profile. The version is automatically incremented each time the profiled is edited.
- Registration
Type string - The type of instance to register.
- Software
Source []stringIds - Software
Sources []GetProfile Software Source - The list of software sources that the registration profile will use.
- State string
- The current state of the registration profile.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the registration profile was created (in RFC 3339 format).
- Time
Modified string - The time the registration profile was last modified (in RFC 3339 format).
- Vendor
Name string - The vendor of the operating system for the instance.
- arch
Type String - The architecture type.
- compartment
Id String - The OCID of the compartment that contains the registration profile.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Software source description.
- display
Name String - Software source name.
- Map<String,String>
- 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. Example:
{"Department": "Finance"} - id String
- The OCID of the software source.
- is
Default BooleanProfile - 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.
- is
Service BooleanProvided Profile - 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.
- lifecycle
Environments List<GetProfile Lifecycle Environment> - Provides identifying information for the specified lifecycle environment.
- lifecycle
Stage StringId - lifecycle
Stages List<GetProfile Lifecycle Stage> - Provides identifying information for the specified lifecycle stage.
- managed
Instance StringGroup Id - managed
Instance List<GetGroups Profile Managed Instance Group> - Provides identifying information for the specified managed instance group.
- management
Station StringId - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- os
Family String - The operating system family.
- profile
Id String - profile
Type String - The type of profile.
- profile
Version String - The version of the profile. The version is automatically incremented each time the profiled is edited.
- registration
Type String - The type of instance to register.
- software
Source List<String>Ids - software
Sources List<GetProfile Software Source> - The list of software sources that the registration profile will use.
- state String
- The current state of the registration profile.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the registration profile was created (in RFC 3339 format).
- time
Modified String - The time the registration profile was last modified (in RFC 3339 format).
- vendor
Name String - The vendor of the operating system for the instance.
- arch
Type string - The architecture type.
- compartment
Id string - The OCID of the compartment that contains the registration profile.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- Software source description.
- display
Name string - Software source name.
- {[key: string]: string}
- 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. Example:
{"Department": "Finance"} - id string
- The OCID of the software source.
- is
Default booleanProfile - 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.
- is
Service booleanProvided Profile - 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.
- lifecycle
Environments GetProfile Lifecycle Environment[] - Provides identifying information for the specified lifecycle environment.
- lifecycle
Stage stringId - lifecycle
Stages GetProfile Lifecycle Stage[] - Provides identifying information for the specified lifecycle stage.
- managed
Instance stringGroup Id - managed
Instance GetGroups Profile Managed Instance Group[] - Provides identifying information for the specified managed instance group.
- management
Station stringId - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- os
Family string - The operating system family.
- profile
Id string - profile
Type string - The type of profile.
- profile
Version string - The version of the profile. The version is automatically incremented each time the profiled is edited.
- registration
Type string - The type of instance to register.
- software
Source string[]Ids - software
Sources GetProfile Software Source[] - The list of software sources that the registration profile will use.
- state string
- The current state of the registration profile.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the registration profile was created (in RFC 3339 format).
- time
Modified string - The time the registration profile was last modified (in RFC 3339 format).
- vendor
Name string - The vendor of the operating system for the instance.
- arch_
type str - The architecture type.
- compartment_
id str - The OCID of the compartment that contains the registration profile.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- Software source description.
- display_
name str - Software source name.
- Mapping[str, str]
- 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. Example:
{"Department": "Finance"} - id str
- The OCID of the software source.
- is_
default_ boolprofile - 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.
- is_
service_ boolprovided_ profile - 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.
- lifecycle_
environments Sequence[GetProfile Lifecycle Environment] - Provides identifying information for the specified lifecycle environment.
- lifecycle_
stage_ strid - lifecycle_
stages Sequence[GetProfile Lifecycle Stage] - Provides identifying information for the specified lifecycle stage.
- managed_
instance_ strgroup_ id - managed_
instance_ Sequence[Getgroups Profile Managed Instance Group] - Provides identifying information for the specified managed instance group.
- management_
station_ strid - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- os_
family str - The operating system family.
- profile_
id str - profile_
type str - The type of profile.
- profile_
version str - The version of the profile. The version is automatically incremented each time the profiled is edited.
- registration_
type str - The type of instance to register.
- software_
source_ Sequence[str]ids - software_
sources Sequence[GetProfile Software Source] - The list of software sources that the registration profile will use.
- state str
- The current state of the registration profile.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time the registration profile was created (in RFC 3339 format).
- time_
modified str - The time the registration profile was last modified (in RFC 3339 format).
- vendor_
name str - The vendor of the operating system for the instance.
- arch
Type String - The architecture type.
- compartment
Id String - The OCID of the compartment that contains the registration profile.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Software source description.
- display
Name String - Software source name.
- Map<String>
- 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. Example:
{"Department": "Finance"} - id String
- The OCID of the software source.
- is
Default BooleanProfile - 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.
- is
Service BooleanProvided Profile - 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.
- lifecycle
Environments List<Property Map> - Provides identifying information for the specified lifecycle environment.
- lifecycle
Stage StringId - lifecycle
Stages List<Property Map> - Provides identifying information for the specified lifecycle stage.
- managed
Instance StringGroup Id - managed
Instance List<Property Map>Groups - Provides identifying information for the specified managed instance group.
- management
Station StringId - The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.
- os
Family String - The operating system family.
- profile
Id String - profile
Type String - The type of profile.
- profile
Version String - The version of the profile. The version is automatically incremented each time the profiled is edited.
- registration
Type String - The type of instance to register.
- software
Source List<String>Ids - software
Sources List<Property Map> - The list of software sources that the registration profile will use.
- state String
- The current state of the registration profile.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the registration profile was created (in RFC 3339 format).
- time
Modified String - The time the registration profile was last modified (in RFC 3339 format).
- vendor
Name String - The vendor of the operating system for the instance.
Supporting Types
GetProfileLifecycleEnvironment
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
GetProfileLifecycleStage
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
GetProfileManagedInstanceGroup
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
GetProfileSoftwareSource
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
- description string
- Software source description.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source stringType - Type of the software source.
- description str
- Software source description.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- is_
mandatory_ boolfor_ autonomous_ linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_
source_ strtype - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
