Interface Workspace
-
public interface WorkspaceAn immutable client-side representation of Workspace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWorkspace.DefinitionThe entirety of the Workspace definition.static interfaceWorkspace.DefinitionStagesThe Workspace definition stages.static interfaceWorkspace.UpdateThe template for Workspace update.static interfaceWorkspace.UpdateStagesThe Workspace update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>applicationGroupReferences()Gets the applicationGroupReferences property: List of applicationGroup resource Ids.BooleancloudPcResource()Gets the cloudPcResource property: Is cloud pc resource.Stringdescription()Gets the description property: Description of Workspace.Stringetag()Gets the etag property: The etag field is *not* required.StringfriendlyName()Gets the friendlyName property: Friendly name of Workspace.Stringid()Gets the id property: Fully qualified resource Id for the resource.ResourceModelWithAllowedPropertySetIdentityidentity()Gets the identity property: The identity property.WorkspaceInnerinnerModel()Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspaceInner object.Stringkind()Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.Stringlocation()Gets the location property: The geo-location where the resource lives.StringmanagedBy()Gets the managedBy property: The fully qualified resource ID of the resource that manages this resource.Stringname()Gets the name property: The name of the resource.StringobjectId()Gets the objectId property: ObjectId of Workspace.ResourceModelWithAllowedPropertySetPlanplan()Gets the plan property: The plan property.PublicNetworkAccesspublicNetworkAccess()Gets 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.Workspacerefresh()Refreshes the resource to sync with Azure.Workspacerefresh(com.azure.core.util.Context context)Refreshes the resource to sync with Azure.com.azure.core.management.Regionregion()Gets the region of the resource.StringregionName()Gets the name of the resource region.ResourceModelWithAllowedPropertySetSkusku()Gets the sku property: The sku property.com.azure.core.management.SystemDatasystemData()Gets the systemData property: Metadata pertaining to creation and last modification of the resource.Map<String,String>tags()Gets the tags property: Resource tags.Stringtype()Gets the type property: The type of the resource.Workspace.Updateupdate()Begins update for the Workspace resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
managedBy
String managedBy()
Gets the managedBy property: 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.- Returns:
- the managedBy value.
-
kind
String kind()
Gets the kind property: 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.- Returns:
- the kind value.
-
etag
String etag()
Gets the etag property: 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.- Returns:
- the etag value.
-
identity
ResourceModelWithAllowedPropertySetIdentity identity()
Gets the identity property: The identity property.- Returns:
- the identity value.
-
sku
ResourceModelWithAllowedPropertySetSku sku()
Gets the sku property: The sku property.- Returns:
- the sku value.
-
plan
ResourceModelWithAllowedPropertySetPlan plan()
Gets the plan property: The plan property.- Returns:
- the plan value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
objectId
String objectId()
Gets the objectId property: ObjectId of Workspace. (internal use).- Returns:
- the objectId value.
-
description
String description()
Gets the description property: Description of Workspace.- Returns:
- the description value.
-
friendlyName
String friendlyName()
Gets the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
applicationGroupReferences
List<String> applicationGroupReferences()
Gets the applicationGroupReferences property: List of applicationGroup resource Ids.- Returns:
- the applicationGroupReferences value.
-
cloudPcResource
Boolean cloudPcResource()
Gets the cloudPcResource property: Is cloud pc resource.- Returns:
- the cloudPcResource value.
-
publicNetworkAccess
PublicNetworkAccess publicNetworkAccess()
Gets 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.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
WorkspaceInner innerModel()
Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspaceInner object.- Returns:
- the inner object.
-
update
Workspace.Update update()
Begins update for the Workspace resource.- Returns:
- the stage of resource update.
-
refresh
Workspace refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Workspace refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-