Class WorkspacePatch
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.WorkspacePatch
Workspace properties that can be patched.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the applicationGroupReferences property: List of applicationGroup links.Get the description property: Description of Workspace.Get the friendlyName property: Friendly name of Workspace.Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.tags()
Get the tags property: tags to be updated.void
validate()
Validates the instance.withApplicationGroupReferences
(List<String> applicationGroupReferences) Set the applicationGroupReferences property: List of applicationGroup links.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 to allow this resource to be access from the public network.Set the tags property: tags to be updated.
-
Constructor Details
-
WorkspacePatch
public WorkspacePatch()
-
-
Method Details
-
tags
Get the tags property: tags to be updated.- Returns:
- the tags value.
-
withTags
Set the tags property: tags to be updated.- Parameters:
tags
- the tags value to set.- Returns:
- the WorkspacePatch object itself.
-
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 WorkspacePatch 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 WorkspacePatch object itself.
-
applicationGroupReferences
Get the applicationGroupReferences property: List of applicationGroup links.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
Set the applicationGroupReferences property: List of applicationGroup links.- Parameters:
applicationGroupReferences
- the applicationGroupReferences value to set.- Returns:
- the WorkspacePatch object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the WorkspacePatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-