Class CreateProfileDetails
Provides the information used to create a new registration profile.
Inheritance
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
[JsonConverter(typeof(CreateProfileDetailsModelConverter))]
public class CreateProfileDetails
Properties
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 | User-specified 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. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
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"} |
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. |
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. Associating with a management station applies only to non-OCI instances. |
RegistrationType
Declaration
[JsonProperty(PropertyName = "registrationType")]
[JsonConverter(typeof(StringEnumConverter))]
public Profile.RegistrationTypeEnum? RegistrationType { get; set; }
Property Value
Type | Description |
---|---|
Profile.RegistrationTypeEnum? | The type of instance to register. |