You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-common-checkbox.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
title: CheckBox UI element
3
3
description: Describes the Microsoft.Common.CheckBox UI element for Azure portal. Enables users to select to check or uncheck an option.
4
4
ms.topic: reference
5
-
ms.date: 07/09/2020
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Common.CheckBox UI element
9
9
10
-
The CheckBox control lets users check or uncheck an option. The control returns **true** when the control is checked or **false** when not checked.
10
+
The CheckBox control lets users check or uncheck an option. The control returns `true` when the control is checked or `false` when not checked.
11
11
12
12
## UI sample
13
13
@@ -17,13 +17,13 @@ The CheckBox control lets users check or uncheck an option. The control returns
17
17
18
18
```json
19
19
{
20
-
"name": "legalAccept",
21
-
"type": "Microsoft.Common.CheckBox",
22
-
"label": "I agree to the terms and conditions.",
23
-
"constraints": {
24
-
"required": true,
25
-
"validationMessage": "Please acknowledge the legal conditions."
26
-
}
20
+
"name": "legalAccept",
21
+
"type": "Microsoft.Common.CheckBox",
22
+
"label": "I agree to the terms and conditions.",
23
+
"constraints": {
24
+
"required": true,
25
+
"validationMessage": "Please acknowledge the legal conditions."
26
+
}
27
27
}
28
28
```
29
29
@@ -35,9 +35,9 @@ true
35
35
36
36
## Remarks
37
37
38
-
When you set **required** to **true**, the user must select the checkbox. If the user doesn't select the checkbox, the validation message is displayed.
38
+
When you set `required` to `true`, the user must select the checkbox. If the user doesn't select the checkbox, the validation message is displayed.
39
39
40
40
## Next steps
41
41
42
-
* For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
43
-
* For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
42
+
- For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
43
+
- For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-common-fileupload.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: FileUpload UI element
3
-
description: Describes the Microsoft.Common.FileUpload UI element for Azure portal. Enables users need to upload files when deploying a managed application.
3
+
description: Describes the Microsoft.Common.FileUpload UI element for Azure portal. Enables users who need to upload files when deploying a managed application.
4
4
ms.topic: reference
5
-
ms.date: 09/05/2018
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Common.FileUpload UI element
@@ -37,13 +37,13 @@ A control that allows a user to specify one or more files to upload.
37
37
38
38
## Sample output
39
39
40
-
If options.multiple is false and options.uploadMode is file, then the output has the contents of the file as a JSON string:
40
+
If `options.multiple` is `false` and `options.uploadMode` is `file`, then the output has the contents of the file as a JSON string:
41
41
42
42
```json
43
43
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
44
44
```
45
45
46
-
If options.multiple is true and`options.uploadMode is file, then the output has the contents of the files as a JSON array:
46
+
If `options.multiple` is `true` and`options.uploadMode` is `file`, then the output has the contents of the files as a JSON array:
47
47
48
48
```json
49
49
[
@@ -54,32 +54,33 @@ If options.multiple is true and`options.uploadMode is file, then the output has
54
54
]
55
55
```
56
56
57
-
If options.multiple is false and options.uploadMode is url, then the output has a URL as a JSON string:
57
+
If `options.multiple` is `false` and `options.uploadMode` is `url`, then the output has a URL as a JSON string:
When testing a CreateUiDefinition, some browsers (like Google Chrome) truncate URLs generated by the Microsoft.Common.FileUpload element in the browser console. You may need to right-click individual links to copy the full URLs.
73
+
When you test a _CreateUiDefinition.json_, some browsers truncate URLs generated by the `Microsoft.Common.FileUpload` element in the browser console. You might need to right-click individual links to copy the full URLs.
73
74
74
75
## Remarks
75
76
76
-
-`constraints.accept` specifies the types of files that are shown in the browser's file dialog. See the [HTML5 specification](https://html.spec.whatwg.org/multipage/input.html#attr-input-accept) for allowed values. The default value is **null**.
77
-
- If `options.multiple` is set to **true**, the user is allowed to select more than one file in the browser's file dialog. The default value is **false**.
78
-
- This element supports uploading files in two modes based on the value of `options.uploadMode`. If **file** is specified, the output has the contents of the file as a blob. If **url** is specified, then the file is uploaded to a temporary location, and the output has the URL of the blob. Temporary blobs will be purged after 24 hours. The default value is **file**.
77
+
-`constraints.accept` specifies the types of files that are shown in the browser's file dialog. See the [HTML5 specification](https://html.spec.whatwg.org/multipage/input.html#attr-input-accept) for allowed values. The default value is `null`.
78
+
- If `options.multiple` is set to `true`, the user is allowed to select more than one file in the browser's file dialog. The default value is `false`.
79
+
- This element supports uploading files in two modes based on the value of `options.uploadMode`. If `file` is specified, the output has the contents of the file as a blob. If `url` is specified, then the file is uploaded to a temporary location, and the output has the URL of the blob. Temporary blobs will be purged after 24 hours. The default value is `file`.
79
80
- An uploaded file is protected. The output URL includes a [SAS token](../../storage/common/storage-sas-overview.md?toc=/azure/storage/blobs/toc.json) for accessing the file during deployment.
80
-
- The value of `options.openMode` determines how the file is read. If the file is expected to be plain text, specify **text**; else, specify **binary**. The default value is **text**.
81
-
- If `options.uploadMode` is set to **file** and `options.openMode` is set to **binary**, the output is base64-encoded.
82
-
-`options.encoding` specifies the encoding to use when reading the file. The default value is **UTF-8**, and is used only when `options.openMode` is set to **text**.
81
+
- The value of `options.openMode` determines how the file is read. If the file is expected to be plain text, specify `text` otherwise specify `binary`. The default value is `text`.
82
+
- If `options.uploadMode` is set to `file` and `options.openMode` is set to `binary`, the output is base64-encoded.
83
+
-`options.encoding` specifies the encoding to use when reading the file. The default value is `UTF-8`, and is used only when `options.openMode` is set to `text`.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-common-passwordbox.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: PasswordBox UI element
3
3
description: Describes the Microsoft.Common.PasswordBox UI element for Azure portal. Enables users to provide a secret value when deploying managed applications.
4
4
ms.topic: reference
5
-
ms.date: 06/27/2018
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Common.PasswordBox UI element
@@ -46,7 +46,7 @@ A control that can be used to provide and confirm a password.
46
46
47
47
- This element doesn't support the `defaultValue` property.
48
48
- For implementation details of `constraints`, see [Microsoft.Common.TextBox](microsoft-common-textbox.md).
49
-
- If `options.hideConfirmation` is set to **true**, the second text box for confirming the user's password is hidden. The default value is **false**.
49
+
- If `options.hideConfirmation` is set to `true`, the second text box for confirming the user's password is hidden. The default value is `false`.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-common-section.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Section UI element
3
3
description: Describes the Microsoft.Common.Section UI element for Azure portal. Use to group elements in the portal for deploying managed applications.
4
4
ms.topic: reference
5
-
ms.date: 06/27/2018
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Common.Section UI element
@@ -42,6 +42,7 @@ A control that groups one or more elements under a heading.
42
42
- This element doesn't support the `toolTip` property.
43
43
44
44
## Sample output
45
+
45
46
To access the output values of elements in `elements`, use the [basics()](create-ui-definition-referencing-functions.md#basics) or [steps()](create-ui-definition-referencing-functions.md#steps) functions and dot notation:
46
47
47
48
```json
@@ -52,5 +53,5 @@ Elements of type `Microsoft.Common.Section` have no output values themselves.
52
53
53
54
## Next steps
54
55
55
-
* For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
56
-
* For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
56
+
- For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
57
+
- For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-common-serviceprincipalselector.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: ServicePrincipalSelector UI element
3
3
description: Describes the Microsoft.Common.ServicePrincipalSelector UI element for Azure portal. Provides a control to choose an application and a textbox to input a password or certificate thumbprint.
4
4
ms.topic: reference
5
-
ms.date: 11/17/2020
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Common.ServicePrincipalSelector UI element
@@ -80,7 +80,7 @@ To use an existing application, choose **Select Existing** and then select **Mak
80
80
81
81
## Example
82
82
83
-
The following is an example of the `Microsoft.Common.ServicePrincipalSelector` control. The `defaultValue` property sets `principalId` to `<default guid>` as a placeholder for a default application identifier GUID.
83
+
The following code is an example of the `Microsoft.Common.ServicePrincipalSelector` control. The `defaultValue` property sets `principalId` to `<default guid>` as a placeholder for a default application identifier GUID.
84
84
85
85
```json
86
86
{
@@ -139,7 +139,7 @@ The following is an example of the `Microsoft.Common.ServicePrincipalSelector` c
139
139
140
140
## Example output
141
141
142
-
The `appId` is the Id of the application registration that you selected or created. The `objectId` is an array of object Ids for the service principals configured for the selected application registration.
142
+
The `appId` is the ID of the application registration that you selected or created. The `objectId` is an array of object Ids for the service principals configured for the selected application registration.
143
143
144
144
When no selection is made from the control, the `newOrExisting` property value is **new**:
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/microsoft-compute-credentialscombo.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: CredentialsCombo UI element
3
3
description: Describes the Microsoft.Compute.CredentialsCombo UI element for Azure portal.
4
4
ms.topic: reference
5
-
ms.date: 08/01/2022
5
+
ms.date: 06/21/2024
6
6
---
7
7
8
8
# Microsoft.Compute.CredentialsCombo UI element
@@ -25,9 +25,9 @@ For Linux with **SSH public key** selected, the SSH key control is displayed:
25
25
26
26
The **SSH public key source** has three options:
27
27
28
-
-**Generate new key pair**: Provide a name to create a new SSH key pair in Azure.
29
-
-**Use existing key stored in Azure**: Select an existing SSH public key that's stored in Azure.
30
-
-**Use existing public key**: Use an SSH public key that you've already created. For example, an SSH public key that was created on a local computer.
28
+
-**Generate new key pair**: Provide a name to create a new SSH key pair.
29
+
-**Use existing key stored in Azure**: Select an existing SSH public key stored in Azure.
30
+
-**Use existing public key**: Use an SSH public key that you already created. For example, an SSH public key that was created on a local computer.
31
31
32
32
:::image type="content" source="./media/managed-application-elements/microsoft-compute-credentialscombo-linux-key-options.png" alt-text="Screenshot of the credentials combo user-interface element with options for Linux SSH public key.":::
33
33
@@ -117,7 +117,7 @@ If `osPlatform` is **Linux** and the user provided an SSH public key, the contro
117
117
```
118
118
119
119
- When **Generate new key pair** is selected, the `sshPublicKey` property is empty. The reason is because on the **Review+Create** tab the keys are generated after you select **Create** and **Download private key and create resource**.
120
-
- The `sshKeyName` property contains a name only when a new SSH key pair is generated in Azure or for a key that's already stored in Azure.
120
+
- The `sshKeyName` property contains a name only when a new SSH key pair is generated in Azure or for a key already stored in Azure.
121
121
- The `generateNewSshKey` is **false** when you use an existing key. When a new key pair is generated, the value is **true**.
@@ -63,13 +63,13 @@ After selecting the control, the user sees an expanded view of the available siz
63
63
-`recommendedSizes` should have at least one size. The first recommended size is used as the default. The list of available sizes isn't sorted by the recommended state. The user can select that column to sort by recommended state.
64
64
- If a recommended size isn't available in the selected location, the size is automatically skipped. Instead, the next recommended size is used.
65
65
-`constraints.allowedSizes` and `constraints.excludedSizes` are both optional, but can't be used simultaneously. The list of available sizes can be determined by calling [List available virtual machine sizes for a subscription](/rest/api/compute/resource-skus/list). Any size not specified in the `constraints.allowedSizes` is hidden, and any size not specified in `constraints.excludedSizes` is shown.
66
-
-`osPlatform` must be specified, and can be either **Windows** or **Linux**. It's used to determine the hardware costs of the virtual machines.
67
-
-`imageReference` is omitted for first-party images, but provided for third-party images. It's used to determine the software costs of the virtual machines.
66
+
-`osPlatform` must be specified, and can be either **Windows** or **Linux**. The `osPlatform` is used to determine the hardware costs of the virtual machines.
67
+
-`imageReference` is omitted for first-party images, but provided for third-party images. The `imageReference` is used to determine the software costs of the virtual machines.
68
68
-`count` is used to set the appropriate multiplier for the element. It supports a static value, like **2**, or a dynamic value from another element, like `[steps('step1').vmCount]`. The default value is **1**.
69
69
- The `numAvailabilityZonesRequired` can be 1, 2, or 3.
70
-
- By default, `hideDiskTypeFilter` is **false**. The disk type filter enables the user to see all disk types or only SSD.
70
+
- By default, `hideDiskTypeFilter` is `false`. The disk type filter enables the user to see all disk types or only SSD.
71
71
72
72
## Next steps
73
73
74
-
* For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
75
-
* For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
74
+
- For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md).
75
+
- For a description of common properties in UI elements, see [CreateUiDefinition elements](create-uidefinition-elements.md).
0 commit comments