Class WorkspaceProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspaceProperties
-
public final class WorkspaceProperties extends Object
Schema for Workspace properties.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>applicationGroupReferences()Get the applicationGroupReferences property: List of applicationGroup resource Ids.BooleancloudPcResource()Get the cloudPcResource property: Is cloud pc resource.Stringdescription()Get the description property: Description of Workspace.StringfriendlyName()Get the friendlyName property: Friendly name of Workspace.StringobjectId()Get the objectId property: ObjectId of Workspace.PublicNetworkAccesspublicNetworkAccess()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.voidvalidate()Validates the instance.WorkspacePropertieswithApplicationGroupReferences(List<String> applicationGroupReferences)Set the applicationGroupReferences property: List of applicationGroup resource Ids.WorkspacePropertieswithDescription(String description)Set the description property: Description of Workspace.WorkspacePropertieswithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Workspace.WorkspacePropertieswithPublicNetworkAccess(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.
-
-
-
Method Detail
-
objectId
public String objectId()
Get the objectId property: ObjectId of Workspace. (internal use).- Returns:
- the objectId value.
-
description
public String description()
Get the description property: Description of Workspace.- Returns:
- the description value.
-
withDescription
public WorkspaceProperties withDescription(String description)
Set the description property: Description of Workspace.- Parameters:
description- the description value to set.- Returns:
- the WorkspaceProperties object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
public WorkspaceProperties withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Workspace.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the WorkspaceProperties object itself.
-
applicationGroupReferences
public List<String> applicationGroupReferences()
Get the applicationGroupReferences property: List of applicationGroup resource Ids.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
public WorkspaceProperties withApplicationGroupReferences(List<String> applicationGroupReferences)
Set the applicationGroupReferences property: List of applicationGroup resource Ids.- Parameters:
applicationGroupReferences- the applicationGroupReferences value to set.- Returns:
- the WorkspaceProperties object itself.
-
cloudPcResource
public Boolean cloudPcResource()
Get the cloudPcResource property: Is cloud pc resource.- Returns:
- the cloudPcResource value.
-
publicNetworkAccess
public PublicNetworkAccess 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
public WorkspaceProperties 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.- 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.
-
-