WorkspaceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. desktopvirtualization. models. ResourceModelWithAllowedPropertySet - com.
azure. resourcemanager. desktopvirtualization. fluent. models. WorkspaceInner
- com.
- com.
- com.
- com.
public final class WorkspaceInner
extends ResourceModelWithAllowedPropertySet
Represents a Workspace definition.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkspaceInner() |
Creates an instance of Workspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
applicationGroupReferences()
Get the application |
| Boolean |
cloudPcResource()
Get the cloud |
| String |
description()
Get the description property: Description of Workspace. |
| String |
etag()
Get the etag property: The etag field is *not* required. |
| String |
friendlyName()
Get the friendly |
|
static
Workspace |
fromJson(JsonReader jsonReader)
Reads an instance of Workspace |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
objectId()
Get the object |
|
List<Private |
privateEndpointConnections()
Get the private |
|
Public |
publicNetworkAccess()
Get the public |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Workspace |
withApplicationGroupReferences(List<String> applicationGroupReferences)
Set the application |
|
Workspace |
withDescription(String description)
Set the description property: Description of Workspace. |
|
Workspace |
withFriendlyName(String friendlyName)
Set the friendly |
|
Workspace |
withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property. |
|
Workspace |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. |
|
Workspace |
withLocation(String location) |
|
Workspace |
withManagedBy(String managedBy)
Set the managed |
|
Workspace |
withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property. |
|
Workspace |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Workspace |
withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property. |
|
Workspace |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ResourceModelWithAllowedPropertySet
Methods inherited from java.lang.Object
Constructor Details
WorkspaceInner
public WorkspaceInner()
Creates an instance of WorkspaceInner class.
Method Details
applicationGroupReferences
public List<String> applicationGroupReferences()
Get the applicationGroupReferences property: List of applicationGroup resource Ids.
Returns:
cloudPcResource
public Boolean cloudPcResource()
Get the cloudPcResource property: Is cloud pc resource.
Returns:
description
public String description()
Get the description property: Description of Workspace.
Returns:
etag
public String etag()
Get 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.
Overrides:
WorkspaceInner.etag()Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Workspace.
Returns:
fromJson
public static WorkspaceInner fromJson(JsonReader jsonReader)
Reads an instance of WorkspaceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
WorkspaceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
WorkspaceInner.name()Returns:
objectId
public String objectId()
Get the objectId property: ObjectId of Workspace. (internal use).
Returns:
privateEndpointConnections
public List<PrivateEndpointConnection> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connection associated with the specified resource.
Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
WorkspaceInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WorkspaceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
WorkspaceInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
WorkspaceInner.validate()withApplicationGroupReferences
public WorkspaceInner withApplicationGroupReferences(List<String> applicationGroupReferences)
Set the applicationGroupReferences property: List of applicationGroup resource Ids.
Parameters:
Returns:
withDescription
public WorkspaceInner withDescription(String description)
Set the description property: Description of Workspace.
Parameters:
Returns:
withFriendlyName
public WorkspaceInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Workspace.
Parameters:
Returns:
withIdentity
public WorkspaceInner withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property.
Overrides:
WorkspaceInner.withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)Parameters:
withKind
public WorkspaceInner withKind(String kind)
Set 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.
Overrides:
WorkspaceInner.withKind(String kind)Parameters:
withLocation
public WorkspaceInner withLocation(String location)
Overrides:
WorkspaceInner.withLocation(String location)Parameters:
withManagedBy
public WorkspaceInner withManagedBy(String managedBy)
Set 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.
Overrides:
WorkspaceInner.withManagedBy(String managedBy)Parameters:
withPlan
public WorkspaceInner withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property.
Overrides:
WorkspaceInner.withPlan(ResourceModelWithAllowedPropertySetPlan plan)Parameters:
withPublicNetworkAccess
public WorkspaceInner 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:
Returns:
withSku
public WorkspaceInner withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property.
Overrides:
WorkspaceInner.withSku(ResourceModelWithAllowedPropertySetSku sku)Parameters:
withTags
public WorkspaceInner withTags(Map<String,String> tags)
Overrides:
WorkspaceInner.withTags(Map<String,String> tags)Parameters: