Class WorkspaceProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspaceProperties
Schema for Workspace properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the applicationGroupReferences property: List of applicationGroup resource Ids.Get the cloudPcResource property: Is cloud pc resource.Get the description property: Description of Workspace.Get the friendlyName property: Friendly name of Workspace.objectId()
Get the objectId property: ObjectId of Workspace.Get the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.void
validate()
Validates the instance.withApplicationGroupReferences
(List<String> applicationGroupReferences) Set the applicationGroupReferences property: List of applicationGroup resource Ids.withDescription
(String description) Set the description property: Description of Workspace.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of Workspace.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.
-
Constructor Details
-
WorkspaceProperties
public WorkspaceProperties()
-
-
Method Details
-
objectId
Get the objectId property: ObjectId of Workspace. (internal use).- Returns:
- the objectId value.
-
description
Get the description property: Description of Workspace.- Returns:
- the description value.
-
withDescription
Set the description property: Description of Workspace.- Parameters:
description
- the description value to set.- Returns:
- the WorkspaceProperties object itself.
-
friendlyName
Get the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of Workspace.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the WorkspaceProperties object itself.
-
applicationGroupReferences
Get the applicationGroupReferences property: List of applicationGroup resource Ids.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
Set the applicationGroupReferences property: List of applicationGroup resource Ids.- Parameters:
applicationGroupReferences
- the applicationGroupReferences value to set.- Returns:
- the WorkspaceProperties object itself.
-
cloudPcResource
Get the cloudPcResource property: Is cloud pc resource.- Returns:
- the cloudPcResource value.
-
publicNetworkAccess
Get the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the WorkspaceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-