Condividi tramite


ArmDesktopVirtualizationModelFactory.VirtualWorkspaceData Method

Definition

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, bool? isCloudPCResource = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection> privateEndpointConnections = default, string oboTenantId = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDeploymentScope? deploymentScope = default, System.Collections.Generic.IEnumerable<string> applicationGroupReferences = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ETag? etag = default, string kind = default, Azure.Core.ResourceIdentifier managedBy = default, Azure.ResourceManager.Models.ArmPlan plan = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku sku = 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 * Nullable<bool> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPublicNetworkAccess> * seq<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection> * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDeploymentScope> * seq<string> * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ETag> * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Models.ArmPlan * Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku -> 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 isCloudPCResource As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As Nullable(Of DesktopVirtualizationPublicNetworkAccess) = Nothing, Optional privateEndpointConnections As IEnumerable(Of DesktopVirtualizationPrivateEndpointConnection) = Nothing, Optional oboTenantId As String = Nothing, Optional deploymentScope As Nullable(Of DesktopVirtualizationDeploymentScope) = Nothing, Optional applicationGroupReferences As IEnumerable(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional kind As String = Nothing, Optional managedBy As ResourceIdentifier = Nothing, Optional plan As ArmPlan = Nothing, Optional sku As DesktopVirtualizationSku = Nothing) As VirtualWorkspaceData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

objectId
String

ObjectId of Workspace. (internal use).

description
String

Description of Workspace.

friendlyName
String

Friendly name of Workspace.

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.

oboTenantId
String

Tenant that the resource is being requested on behalf of.

deploymentScope
Nullable<DesktopVirtualizationDeploymentScope>

DeploymentScope type for Workspace.

applicationGroupReferences
IEnumerable<String>

List of applicationGroup resource Ids.

identity
ManagedServiceIdentity

The managed service identities assigned to this resource.

etag
Nullable<ETag>

If etag is provided in the response body, it may 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.

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.

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.

plan
ArmPlan

Details of the resource plan.

sku
DesktopVirtualizationSku

The SKU (Stock Keeping Unit) assigned to this resource.

Returns

A new VirtualWorkspaceData instance for mocking.

Applies to