Skip to content

Commit

Permalink
description resource type case
Browse files Browse the repository at this point in the history
  • Loading branch information
eriqua committed Feb 4, 2024
1 parent 0e771b0 commit 38c4ee4
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ This module deploys an Azure Virtual Desktop Application Group Application.

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`filePath`](#parameter-filepath) | string | Specifies a path for the executable file for the application. |
| [`friendlyName`](#parameter-friendlyname) | string | Friendly name of Application.. |
| [`filePath`](#parameter-filepath) | string | Specifies a path for the executable file for the Application. |
| [`friendlyName`](#parameter-friendlyname) | string | Friendly name of the Application. |
| [`name`](#parameter-name) | string | Name of the Application to be created in the Application Group. |

**Conditional parameters**
Expand All @@ -36,23 +36,23 @@ This module deploys an Azure Virtual Desktop Application Group Application.

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`commandLineArguments`](#parameter-commandlinearguments) | string | Command-Line Arguments for Application. |
| [`commandLineSetting`](#parameter-commandlinesetting) | string | 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. |
| [`description`](#parameter-description) | string | Description of Application.. |
| [`commandLineArguments`](#parameter-commandlinearguments) | string | Command-Line Arguments for the Application. |
| [`commandLineSetting`](#parameter-commandlinesetting) | string | 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. |
| [`description`](#parameter-description) | string | Description of the Application. |
| [`iconIndex`](#parameter-iconindex) | int | Index of the icon. |
| [`iconPath`](#parameter-iconpath) | string | Path to icon. |
| [`showInPortal`](#parameter-showinportal) | bool | Specifies whether to show the RemoteApp program in the RD Web Access server. |

### Parameter: `filePath`

Specifies a path for the executable file for the application.
Specifies a path for the executable file for the Application.

- Required: Yes
- Type: string

### Parameter: `friendlyName`

Friendly name of Application..
Friendly name of the Application.

- Required: Yes
- Type: string
Expand All @@ -73,15 +73,15 @@ The name of the parent Application Group to create the application(s) in. Requir

### Parameter: `commandLineArguments`

Command-Line Arguments for Application.
Command-Line Arguments for the Application.

- Required: No
- Type: string
- Default: `''`

### Parameter: `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.
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.

- Required: No
- Type: string
Expand All @@ -97,7 +97,7 @@ Specifies whether this published application can be launched with command-line a

### Parameter: `description`

Description of Application..
Description of the Application.

- Required: No
- Type: string
Expand Down Expand Up @@ -132,9 +132,9 @@ Specifies whether to show the RemoteApp program in the RD Web Access server.

| Output | Type | Description |
| :-- | :-- | :-- |
| `name` | string | The name of the application. |
| `resourceGroupName` | string | The name of the resource group the application was created in. |
| `resourceId` | string | The resource ID of the application. |
| `name` | string | The name of the Application. |
| `resourceGroupName` | string | The name of the resource group the Application was created in. |
| `resourceId` | string | The resource ID of the Application. |

## Cross-referenced modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ param applicationGroupName string
@sys.description('Required. Name of the Application to be created in the Application Group.')
param name string

@sys.description('Optional. Description of Application..')
@sys.description('Optional. Description of the Application.')
param description string = ''

@sys.description('Required. Friendly name of Application..')
@sys.description('Required. Friendly name of the Application.')
param friendlyName string

@sys.description('Required. Specifies a path for the executable file for the application.')
@sys.description('Required. Specifies a path for the executable file for the Application.')
param filePath string

@allowed([
'Allow'
'DoNotAllow'
'Require'
])
@sys.description('Optional. 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.')
@sys.description('Optional. 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.')
param commandLineSetting string = 'DoNotAllow'

@sys.description('Optional. Command-Line Arguments for Application.')
@sys.description('Optional. Command-Line Arguments for the Application.')
param commandLineArguments string = ''

@sys.description('Optional. Specifies whether to show the RemoteApp program in the RD Web Access server.')
Expand Down Expand Up @@ -56,11 +56,11 @@ resource application 'Microsoft.DesktopVirtualization/applicationGroups/applicat
}
}

@sys.description('The resource ID of the application.')
@sys.description('The resource ID of the Application.')
output resourceId string = application.id

@sys.description('The name of the resource group the application was created in.')
@sys.description('The name of the resource group the Application was created in.')
output resourceGroupName string = resourceGroup().name

@sys.description('The name of the application.')
@sys.description('The name of the Application.')
output name string = application.name
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.24.24.22086",
"templateHash": "16966262699054894958"
"templateHash": "5256311106319509279"
},
"name": "Azure Virtual Desktop Application Group Application",
"description": "This module deploys an Azure Virtual Desktop Application Group Application.",
Expand All @@ -28,19 +28,19 @@
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Optional. Description of Application.."
"description": "Optional. Description of the Application."
}
},
"friendlyName": {
"type": "string",
"metadata": {
"description": "Required. Friendly name of Application.."
"description": "Required. Friendly name of the Application."
}
},
"filePath": {
"type": "string",
"metadata": {
"description": "Required. Specifies a path for the executable file for the application."
"description": "Required. Specifies a path for the executable file for the Application."
}
},
"commandLineSetting": {
Expand All @@ -52,14 +52,14 @@
"Require"
],
"metadata": {
"description": "Optional. 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."
"description": "Optional. 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."
}
},
"commandLineArguments": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Optional. Command-Line Arguments for Application."
"description": "Optional. Command-Line Arguments for the Application."
}
},
"showInPortal": {
Expand Down Expand Up @@ -105,21 +105,21 @@
"resourceId": {
"type": "string",
"metadata": {
"description": "The resource ID of the application."
"description": "The resource ID of the Application."
},
"value": "[resourceId('Microsoft.DesktopVirtualization/applicationGroups/applications', parameters('applicationGroupName'), parameters('name'))]"
},
"resourceGroupName": {
"type": "string",
"metadata": {
"description": "The name of the resource group the application was created in."
"description": "The name of the resource group the Application was created in."
},
"value": "[resourceGroup().name]"
},
"name": {
"type": "string",
"metadata": {
"description": "The name of the application."
"description": "The name of the Application."
},
"value": "[parameters('name')]"
}
Expand Down
20 changes: 10 additions & 10 deletions avm/res/desktop-virtualization/application-group/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.24.24.22086",
"templateHash": "2654703443312844248"
"templateHash": "764353980319959043"
},
"name": "Azure Virtual Desktop Application Group",
"description": "This module deploys an Azure Virtual Desktop Application Group.",
Expand Down Expand Up @@ -443,7 +443,7 @@
"_generator": {
"name": "bicep",
"version": "0.24.24.22086",
"templateHash": "16966262699054894958"
"templateHash": "5256311106319509279"
},
"name": "Azure Virtual Desktop Application Group Application",
"description": "This module deploys an Azure Virtual Desktop Application Group Application.",
Expand All @@ -466,19 +466,19 @@
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Optional. Description of Application.."
"description": "Optional. Description of the Application."
}
},
"friendlyName": {
"type": "string",
"metadata": {
"description": "Required. Friendly name of Application.."
"description": "Required. Friendly name of the Application."
}
},
"filePath": {
"type": "string",
"metadata": {
"description": "Required. Specifies a path for the executable file for the application."
"description": "Required. Specifies a path for the executable file for the Application."
}
},
"commandLineSetting": {
Expand All @@ -490,14 +490,14 @@
"Require"
],
"metadata": {
"description": "Optional. 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."
"description": "Optional. 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."
}
},
"commandLineArguments": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Optional. Command-Line Arguments for Application."
"description": "Optional. Command-Line Arguments for the Application."
}
},
"showInPortal": {
Expand Down Expand Up @@ -543,21 +543,21 @@
"resourceId": {
"type": "string",
"metadata": {
"description": "The resource ID of the application."
"description": "The resource ID of the Application."
},
"value": "[resourceId('Microsoft.DesktopVirtualization/applicationGroups/applications', parameters('applicationGroupName'), parameters('name'))]"
},
"resourceGroupName": {
"type": "string",
"metadata": {
"description": "The name of the resource group the application was created in."
"description": "The name of the resource group the Application was created in."
},
"value": "[resourceGroup().name]"
},
"name": {
"type": "string",
"metadata": {
"description": "The name of the application."
"description": "The name of the Application."
},
"value": "[parameters('name')]"
}
Expand Down
Loading

0 comments on commit 38c4ee4

Please sign in to comment.