Class DesktopPoolDesktopSummary
Provides information about a desktop within a desktop pool, such as if it is assigned to a user, the state, owner, desktop pool, resource id, and time created.
Inherited Members
Namespace: Oci.DesktopsService.Models
Assembly: OCI.DotNetSDK.Desktops.dll
Syntax
public class DesktopPoolDesktopSummary
Properties
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"}} |
DesktopId
Declaration
[Required(ErrorMessage = "DesktopId is required.")]
[JsonProperty(PropertyName = "desktopId")]
public string DesktopId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the desktop. |
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"} |
InstanceId
Declaration
[Required(ErrorMessage = "InstanceId is required.")]
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compute resource used by this desktop. |
Remarks
Required
IsAssigned
Declaration
[Required(ErrorMessage = "IsAssigned is required.")]
[JsonProperty(PropertyName = "isAssigned")]
public bool? IsAssigned { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the desktop is assigned to a user. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The state of the desktop. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was created. |
Remarks
Required
UserName
Declaration
[JsonProperty(PropertyName = "userName")]
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string | The owner of the desktop. |