Show / Hide Table of Contents

Class Desktop

Provides information about a desktop including name, state, id, configuration, owner, and time created.

Inheritance
object
Desktop
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DesktopsService.Models
Assembly: OCI.DotNetSDK.Desktops.dll
Syntax
public class Desktop

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"}}

DevicePolicy

Declaration
[Required(ErrorMessage = "DevicePolicy is required.")]
[JsonProperty(PropertyName = "devicePolicy")]
public DesktopDevicePolicy DevicePolicy { get; set; }
Property Value
Type Description
DesktopDevicePolicy
Remarks

Required

DisplayName

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

A user friendly display name. 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"}

HostingOptions

Declaration
[Required(ErrorMessage = "HostingOptions is required.")]
[JsonProperty(PropertyName = "hostingOptions")]
public HostingOptions HostingOptions { get; set; }
Property Value
Type Description
HostingOptions
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 desktop.

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

PoolId

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

The OCID of the desktop pool the desktop is a member of.

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
[Required(ErrorMessage = "UserName is required.")]
[JsonProperty(PropertyName = "userName")]
public string UserName { get; set; }
Property Value
Type Description
string

The owner of the desktop.

Remarks

Required

In this article
Back to top