Show / Hide Table of Contents

Class Profile

Object that defines the registration profile.

Inheritance
object
Profile
GroupProfile
LifecycleProfile
SoftwareSourceProfile
StationProfile
WindowsStandaloneProfile
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
[JsonConverter(typeof(ProfileModelConverter))]
public class Profile

Properties

ArchType

Declaration
[Required(ErrorMessage = "ArchType is required.")]
[JsonProperty(PropertyName = "archType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArchType? ArchType { get; set; }
Property Value
Type Description
ArchType?

The architecture type.

Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the registration profile.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description of the registration profile.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name for the profile.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
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

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the registration profile.

Remarks

Required

IsDefaultProfile

Declaration
[JsonProperty(PropertyName = "isDefaultProfile")]
public bool? IsDefaultProfile { get; set; }
Property Value
Type Description
bool?

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.

IsServiceProvidedProfile

Declaration
[JsonProperty(PropertyName = "isServiceProvidedProfile")]
public bool? IsServiceProvidedProfile { get; set; }
Property Value
Type Description
bool?

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.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Profile.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Profile.LifecycleStateEnum?

The current state of the registration profile.

ManagementStationId

Declaration
[JsonProperty(PropertyName = "managementStationId")]
public string ManagementStationId { get; set; }
Property Value
Type Description
string

The OCID of the management station to associate with an instance once registered. Management stations are only used by non-OCI instances.

OsFamily

Declaration
[Required(ErrorMessage = "OsFamily is required.")]
[JsonProperty(PropertyName = "osFamily")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OsFamily? OsFamily { get; set; }
Property Value
Type Description
OsFamily?

The operating system family.

Remarks

Required

ProfileVersion

Declaration
[JsonProperty(PropertyName = "profileVersion")]
public string ProfileVersion { get; set; }
Property Value
Type Description
string

The version of the profile. The version is automatically incremented each time the profiled is edited.

RegistrationType

Declaration
[JsonProperty(PropertyName = "registrationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Profile.RegistrationTypeEnum? RegistrationType { get; set; }
Property Value
Type Description
Profile.RegistrationTypeEnum?

The type of instance to register.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the registration profile was created (in RFC 3339 format).

TimeModified

Declaration
[JsonProperty(PropertyName = "timeModified")]
public DateTime? TimeModified { get; set; }
Property Value
Type Description
DateTime?

The time the registration profile was last modified (in RFC 3339 format).

VendorName

Declaration
[Required(ErrorMessage = "VendorName is required.")]
[JsonProperty(PropertyName = "vendorName")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VendorName? VendorName { get; set; }
Property Value
Type Description
VendorName?

The vendor of the operating system for the instance.

Remarks

Required

In this article
Back to top