Dela via


ArmDesktopVirtualizationModelFactory.VirtualWorkspaceData Method

Definition

Initializes a new instance of VirtualWorkspaceData.

public static Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceData VirtualWorkspaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string objectId = default, string description = default, string friendlyName = default, System.Collections.Generic.IEnumerable<string> applicationGroupReferences = default, bool? isCloudPCResource = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection> privateEndpointConnections = default, Azure.Core.ResourceIdentifier managedBy = default, string kind = default, Azure.ETag? etag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku sku = default, Azure.ResourceManager.Models.ArmPlan plan = default);
static member VirtualWorkspaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * seq<string> * Nullable<bool> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPublicNetworkAccess> * seq<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku * Azure.ResourceManager.Models.ArmPlan -> Azure.ResourceManager.DesktopVirtualization.VirtualWorkspaceData
Public Shared Function VirtualWorkspaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional objectId As String = Nothing, Optional description As String = Nothing, Optional friendlyName As String = Nothing, Optional applicationGroupReferences As IEnumerable(Of String) = Nothing, Optional isCloudPCResource As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of DesktopVirtualizationPublicNetworkAccess) = Nothing, Optional privateEndpointConnections As IEnumerable(Of DesktopVirtualizationPrivateEndpointConnection) = Nothing, Optional managedBy As ResourceIdentifier = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As DesktopVirtualizationSku = Nothing, Optional plan As ArmPlan = Nothing) As VirtualWorkspaceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

objectId
String

ObjectId of Workspace. (internal use).

description
String

Description of Workspace.

friendlyName
String

Friendly name of Workspace.

applicationGroupReferences
IEnumerable<String>

List of applicationGroup resource Ids.

isCloudPCResource
Nullable<Boolean>

Is cloud pc resource.

publicNetworkAccess
Nullable<DesktopVirtualizationPublicNetworkAccess>

Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints.

privateEndpointConnections
IEnumerable<DesktopVirtualizationPrivateEndpointConnection>

List of private endpoint connection associated with the specified resource.

managedBy
ResourceIdentifier

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.

kind
String

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.

etag
Nullable<ETag>

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.

identity
ManagedServiceIdentity

Gets or sets the identity. Current supported identity types: SystemAssigned.

sku
DesktopVirtualizationSku

The resource model definition representing SKU.

plan
ArmPlan

Gets or sets the plan.

Returns

A new VirtualWorkspaceData instance for mocking.

Applies to