Share via


Applications - List

List applications.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications?api-version=2024-04-03
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications?api-version=2024-04-03&pageSize={pageSize}&isDescending={isDescending}&initialSkip={initialSkip}

URI Parameters

Name In Required Type Description
applicationGroupName
path True

string

minLength: 3
maxLength: 64
pattern: ^[A-Za-z0-9@.\-_ ]*$

The name of the application group

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

minLength: 1

The API version to use for this operation.

initialSkip
query

integer (int32)

Initial number of items to skip.

isDescending
query

boolean

Indicates whether the collection is descending.

pageSize
query

integer (int32)

Number of items per page.

Responses

Name Type Description
200 OK

ApplicationList

Successfully retrieved applications in application group.

Other Status Codes

CloudError

Automation error response describing why the operation failed.

Examples

Applications_List

Sample request

GET https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications?api-version=2024-04-03&pageSize=10&isDescending=True&initialSkip=0

Sample response

{
  "value": [
    {
      "name": "applicationGroup1/application1",
      "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
      "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
      "systemData": {
        "createdBy": "user1",
        "createdByType": "User",
        "createdAt": "2020-01-01T17:18:19.1234567Z",
        "lastModifiedBy": "user2",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
      },
      "properties": {
        "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
        "description": "des1",
        "friendlyName": "friendly",
        "filePath": "path",
        "commandLineSetting": "Allow",
        "commandLineArguments": "arguments",
        "showInPortal": true,
        "iconPath": "icon",
        "iconIndex": 1,
        "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
        "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
        "applicationType": "InBuilt",
        "msixPackageFamilyName": null,
        "msixPackageApplicationId": null
      }
    },
    {
      "name": "applicationGroup1/application2",
      "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2",
      "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
      "systemData": {
        "createdBy": "user1",
        "createdByType": "User",
        "createdAt": "2020-01-01T17:18:19.1234567Z",
        "lastModifiedBy": "user2",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
      },
      "properties": {
        "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
        "description": "des2",
        "friendlyName": "friendly",
        "filePath": "path",
        "commandLineSetting": "Allow",
        "commandLineArguments": "arguments",
        "showInPortal": true,
        "iconPath": "icon",
        "iconIndex": 1,
        "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
        "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
        "applicationType": "InBuilt",
        "msixPackageFamilyName": null,
        "msixPackageApplicationId": null
      }
    }
  ]
}

Definitions

Name Description
Application

Schema for Application properties.

ApplicationList

ApplicationList

CloudError

Cloud error object.

CloudErrorProperties

Cloud error object properties.

CommandLineSetting

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

createdByType

The type of identity that created the resource.

RemoteApplicationType

Resource Type of Application.

systemData

Metadata pertaining to creation and last modification of the resource.

Application

Schema for Application properties.

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

The name of the resource

properties.applicationType

RemoteApplicationType

Resource Type of Application.

properties.commandLineArguments

string

Command Line Arguments for Application.

properties.commandLineSetting

CommandLineSetting

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

properties.description

string

Description of Application.

properties.filePath

string

Specifies a path for the executable file for the application.

properties.friendlyName

string

Friendly name of Application.

properties.iconContent

string (byte)

the icon a 64 bit string as a byte array.

properties.iconHash

string

Hash of the icon.

properties.iconIndex

integer (int32)

Index of the icon.

properties.iconPath

string

Path to icon.

properties.msixPackageApplicationId

string

Specifies the package application Id for MSIX applications

properties.msixPackageFamilyName

string

Specifies the package family name for MSIX applications

properties.objectId

string

ObjectId of Application. (internal use)

properties.showInPortal

boolean

Specifies whether to show the RemoteApp program in the RD Web Access server.

systemData

systemData

Metadata pertaining to creation and last modification of the resource.

type

string

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

ApplicationList

ApplicationList

Name Type Description
nextLink

string

Link to the next page of results.

value

Application[]

List of Application definitions.

CloudError

Cloud error object.

Name Type Description
error

CloudErrorProperties

Cloud error object properties.

CloudErrorProperties

Cloud error object properties.

Name Type Description
code

string

Error code

message

string

Error message indicating why the operation failed.

CommandLineSetting

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

Value Description
Allow
DoNotAllow
Require

createdByType

The type of identity that created the resource.

Value Description
Application
Key
ManagedIdentity
User

RemoteApplicationType

Resource Type of Application.

Value Description
InBuilt
MsixApplication

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.