Share via


Workspace Class

Definition

Represents a Workspace definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.WorkspaceTypeConverter))]
public class Workspace : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IWorkspace, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.WorkspaceTypeConverter))>]
type Workspace = class
    interface IWorkspace
    interface IJsonSerializable
    interface IResourceModelWithAllowedPropertySet
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Workspace
Implements IValidates, IWorkspace
Inheritance
Workspace
Attributes
Implements

Constructors

Workspace()

Creates an new Workspace instance.

Properties

ApplicationGroupReference

List of applicationGroup resource Ids.

CloudPcResource

Is cloud pc resource.

Description

Description of Workspace.

Etag

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

FriendlyName

Friendly name of Workspace.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IdentityPrincipalId

The principal ID of resource identity. The value must be an UUID.

IdentityTenantId

The tenant ID of resource. The value must be an UUID.

IdentityType

The identity type.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

The geo-location where the resource lives

ManagedBy

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Name

The name of the resource

ObjectId

ObjectId of Workspace. (internal use)

PlanName

A user defined name of the 3rd Party Artifact that is being procured.

PlanProduct

The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.

PlanPromotionCode

A publisher provided promotion code as provisioned in Data Market for the said product/artifact.

PlanPublisher

The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic

PlanVersion

The version of the desired product/artifact.

PrivateEndpointConnection

List of private endpoint connection associated with the specified resource

PublicNetworkAccess

Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints

ResourceGroupName

Gets the resource group name

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. E.g. P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Workspace.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Workspace.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IWorkspace.

FromJsonString(String)

Creates a new instance of Workspace, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Workspace into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to