Class ProfileVersion
Represents a specific version of a registration profile.
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ProfileVersion
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
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
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. |
LifecycleEnvironment
Declaration
[JsonProperty(PropertyName = "lifecycleEnvironment")]
public LifecycleEnvironmentDetails LifecycleEnvironment { get; set; }
Property Value
Type | Description |
---|---|
LifecycleEnvironmentDetails |
LifecycleStage
Declaration
[JsonProperty(PropertyName = "lifecycleStage")]
public LifecycleStageDetails LifecycleStage { get; set; }
Property Value
Type | Description |
---|---|
LifecycleStageDetails |
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. |
ManagedInstanceGroup
Declaration
[JsonProperty(PropertyName = "managedInstanceGroup")]
public ManagedInstanceGroupDetails ManagedInstanceGroup { get; set; }
Property Value
Type | Description |
---|---|
ManagedInstanceGroupDetails |
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 with 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
ProfileType
Declaration
[JsonProperty(PropertyName = "profileType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ProfileType? ProfileType { get; set; }
Property Value
Type | Description |
---|---|
ProfileType? | The type of profile. |
ProfileVersionProp
Declaration
[JsonProperty(PropertyName = "profileVersion")]
public string ProfileVersionProp { get; set; }
Property Value
Type | Description |
---|---|
string | The version of the profile. |
RegistrationType
Declaration
[JsonProperty(PropertyName = "registrationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ProfileVersion.RegistrationTypeEnum? RegistrationType { get; set; }
Property Value
Type | Description |
---|---|
ProfileVersion.RegistrationTypeEnum? | The type of instance to register. |
SoftwareSources
Declaration
[JsonProperty(PropertyName = "softwareSources")]
public List<SoftwareSourceDetails> SoftwareSources { get; set; }
Property Value
Type | Description |
---|---|
List<SoftwareSourceDetails> | The list of software sources that the registration profile will use. |
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