AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a WorkSpace.

Inheritance Hierarchy

System.Object
  Amazon.WorkSpaces.Model.Workspace

Namespace: Amazon.WorkSpaces.Model
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public class Workspace

The Workspace type exposes the following members

Constructors

NameDescription
Public Method Workspace()

Properties

NameTypeDescription
Public Property BundleId System.String

Gets and sets the property BundleId.

The identifier of the bundle used to create the WorkSpace.

Public Property ComputerName System.String

Gets and sets the property ComputerName.

The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.

Public Property DataReplicationSettings Amazon.WorkSpaces.Model.DataReplicationSettings

Gets and sets the property DataReplicationSettings.

Indicates the settings of the data replication.

Public Property DirectoryId System.String

Gets and sets the property DirectoryId.

The identifier of the Directory Service directory for the WorkSpace.

Public Property ErrorCode System.String

Gets and sets the property ErrorCode.

The error code that is returned if the WorkSpace cannot be created.

Public Property ErrorMessage System.String

Gets and sets the property ErrorMessage.

The text of the error message that is returned if the WorkSpace cannot be created.

Public Property IpAddress System.String

Gets and sets the property IpAddress.

The IP address of the WorkSpace.

Public Property ModificationStates System.Collections.Generic.List<Amazon.WorkSpaces.Model.ModificationState>

Gets and sets the property ModificationStates.

The modification states of the WorkSpace.

Public Property RelatedWorkspaces System.Collections.Generic.List<Amazon.WorkSpaces.Model.RelatedWorkspaceProperties>

Gets and sets the property RelatedWorkspaces.

The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.

Public Property RootVolumeEncryptionEnabled System.Boolean

Gets and sets the property RootVolumeEncryptionEnabled.

Indicates whether the data stored on the root volume is encrypted.

Public Property StandbyWorkspacesProperties System.Collections.Generic.List<Amazon.WorkSpaces.Model.StandbyWorkspacesProperties>

Gets and sets the property StandbyWorkspacesProperties.

The properties of the standby WorkSpace

Public Property State Amazon.WorkSpaces.WorkspaceState

Gets and sets the property State.

The operational state of the WorkSpace.

  • PENDING – The WorkSpace is in a waiting state (for example, the WorkSpace is being created).

  • AVAILABLE – The WorkSpace is running and has passed the health checks.

  • IMPAIRED – Refer to UNHEALTHY state.

  • UNHEALTHY – The WorkSpace is not responding to health checks.

  • REBOOTING – The WorkSpace is being rebooted (restarted).

  • STARTING – The WorkSpace is starting up and health checks are being run.

  • REBUILDING – The WorkSpace is being rebuilt.

  • RESTORING – The WorkSpace is being restored.

  • MAINTENANCE – The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.

  • ADMIN_MAINTENANCE – The WorkSpace is undergoing maintenance by the WorkSpaces administrator.

  • TERMINATING – The WorkSpace is being deleted.

  • TERMINATED – The WorkSpace has been deleted.

  • SUSPENDED – The WorkSpace has been suspended for image creation.

  • UPDATING – The WorkSpace is undergoing an update.

  • STOPPING – The WorkSpace is being stopped.

  • STOPPED – The WorkSpace has been stopped.

  • ERROR – The WorkSpace is an error state (for example, an error occurred during startup).

After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The identifier of the subnet for the WorkSpace.

Public Property UserName System.String

Gets and sets the property UserName.

The user for the WorkSpace.

Public Property UserVolumeEncryptionEnabled System.Boolean

Gets and sets the property UserVolumeEncryptionEnabled.

Indicates whether the data stored on the user volume is encrypted.

Public Property VolumeEncryptionKey System.String

Gets and sets the property VolumeEncryptionKey.

The ARN of the symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.

Public Property WorkspaceId System.String

Gets and sets the property WorkspaceId.

The identifier of the WorkSpace.

Public Property WorkspaceName System.String

Gets and sets the property WorkspaceName.

The name of the user-decoupled WorkSpace.

Public Property WorkspaceProperties Amazon.WorkSpaces.Model.WorkspaceProperties

Gets and sets the property WorkspaceProperties.

The properties of the WorkSpace.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5