Skip to content

Commit 0fe58b8

Browse files
authored
Merge pull request #196717 from MicrosoftDocs/main
merge main to live, 4 PM Sunday
2 parents bd0635d + f353f98 commit 0fe58b8

File tree

5 files changed

+64
-19
lines changed

5 files changed

+64
-19
lines changed

articles/azure-monitor/logs/customer-managed-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Information and steps to configure Customer-managed key to encrypt
44
ms.topic: conceptual
55
author: yossi-y
66
ms.author: yossiy
7-
ms.date: 07/29/2021
7+
ms.date: 05/01/2022
88
ms.custom: devx-track-azurepowershell, devx-track-azurecli
99

1010
---

articles/azure-monitor/logs/logs-dedicated-clusters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Customers meeting the minimum commitment tier could use dedicated c
44
ms.topic: conceptual
55
author: yossi-y
66
ms.author: yossiy
7-
ms.date: 07/29/2021
7+
ms.date: 05/01/2022
88
ms.custom: devx-track-azurepowershell, devx-track-azurecli
99
---
1010

@@ -48,7 +48,7 @@ The user account that creates the clusters must have the standard Azure resource
4848

4949
After you create your cluster resource, you can edit additional properties such as *sku*, *keyVaultProperties, or *billingType*. See more details below.
5050

51-
You can have up to two active clusters per subscription per region. If the cluster is deleted, it is still reserved for 14 days. You can have up to four reserved clusters per subscription per region (active or recently deleted).
51+
You can have up to five active clusters per subscription per region. If the cluster is deleted, it is still reserved for 14 days. You can have up to four reserved clusters per subscription per region (active or recently deleted).
5252

5353
> [!NOTE]
5454
> Cluster creation triggers resource allocation and provisioning. This operation can take a few hours to complete.
@@ -579,7 +579,7 @@ Authorization: Bearer <token>
579579

580580
## Limits and constraints
581581

582-
- A maximum of two active clusters can be created in each region and subscription.
582+
- A maximum of five active clusters can be created in each region and subscription.
583583

584584
- A maximum number of four reserved clusters (active or recently deleted) can be created in each region and subscription.
585585

articles/cosmos-db/sql/sql-query-is-number.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ ms.date: 09/13/2019
99
ms.author: sidandrews
1010
ms.custom: query-reference
1111
---
12+
1213
# IS_NUMBER (Azure Cosmos DB)
1314
[!INCLUDE[appliesto-sql-api](../includes/appliesto-sql-api.md)]
1415

15-
Returns a Boolean value indicating if the type of the specified expression is a number.
16+
Returns a Boolean value indicating if the type of the specified expression is a number.
1617

1718
## Syntax
1819

@@ -23,31 +24,45 @@ IS_NUMBER(<expr>)
2324
## Arguments
2425

2526
*expr*
26-
Is any expression.
27+
Is any expression.
2728

2829
## Return types
2930

30-
Returns a Boolean expression.
31+
Returns a Boolean expression.
3132

3233
## Examples
3334

34-
The following example checks objects of JSON Boolean, number, string, null, object, array, and undefined types using the `IS_NUMBER` function.
35+
The following example checks objects of JSON Boolean, number, string, null, object, array, and undefined types using the `IS_NUMBER` function.
3536

3637
```sql
3738
SELECT
38-
IS_NUMBER(true) AS isNum1,
39-
IS_NUMBER(1) AS isNum2,
40-
IS_NUMBER("value") AS isNum3,
41-
IS_NUMBER(null) AS isNum4,
42-
IS_NUMBER({prop: "value"}) AS isNum5,
43-
IS_NUMBER([1, 2, 3]) AS isNum6,
44-
IS_NUMBER({prop: "value"}.prop2) AS isNum7
39+
IS_NUMBER(true) AS isBooleanANumber,
40+
IS_NUMBER(1) AS isNumberANumber,
41+
IS_NUMBER("value") AS isTextStringANumber,
42+
IS_NUMBER("1") AS isNumberStringANumber,
43+
IS_NUMBER(null) AS isNullANumber,
44+
IS_NUMBER({prop: "value"}) AS isObjectANumber,
45+
IS_NUMBER([1, 2, 3]) AS isArrayANumber,
46+
IS_NUMBER({stringProp: "value"}.stringProp) AS isObjectStringPropertyANumber,
47+
IS_NUMBER({numberProp: 1}.numberProp) AS isObjectNumberPropertyANumber
4548
```
46-
47-
Here is the result set.
49+
50+
Here's the result set.
4851

4952
```json
50-
[{"isNum1":false,"isNum2":true,"isNum3":false,"isNum4":false,"isNum5":false,"isNum6":false,"isNum7":false}]
53+
[
54+
{
55+
"isBooleanANumber": false,
56+
"isNumberANumber": true,
57+
"isTextStringANumber": false,
58+
"isNumberStringANumber": false,
59+
"isNullANumber": false,
60+
"isObjectANumber": false,
61+
"isArrayANumber": false,
62+
"isObjectStringPropertyANumber": false,
63+
"isObjectNumberPropertyANumber": true
64+
}
65+
]
5166
```
5267

5368
## Remarks

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ To work with strings, you can use these string functions and also some [collecti
9898
| [formatNumber](../logic-apps/workflow-definition-language-functions-reference.md#formatNumber) | Return a number as a string based on the specified format |
9999
| [guid](../logic-apps/workflow-definition-language-functions-reference.md#guid) | Generate a globally unique identifier (GUID) as a string. |
100100
| [indexOf](../logic-apps/workflow-definition-language-functions-reference.md#indexof) | Return the starting position for a substring. |
101+
| [isInt](../logic-apps/workflow-definition-language-functions-reference.md#isInt) | Return a boolean indicating whether the string is an integer. |
101102
| [lastIndexOf](../logic-apps/workflow-definition-language-functions-reference.md#lastindexof) | Return the starting position for the last occurrence of a substring. |
102103
| [length](../logic-apps/workflow-definition-language-functions-reference.md#length) | Return the number of items in a string or array. |
103104
| [nthIndexOf](../logic-apps/workflow-definition-language-functions-reference.md#nthIndexOf) | Return the starting position or index value where the *n*th occurrence of a substring appears in a string. |
@@ -2538,6 +2539,35 @@ int('10')
25382539

25392540
And returns this result: `10`
25402541

2542+
<a name="isInt"></a>
2543+
2544+
### isInt
2545+
2546+
Return a boolean indicating whether the string is an integer.
2547+
2548+
```
2549+
isInt('<string>')
2550+
```
2551+
2552+
| Parameter | Required | Type | Description |
2553+
| --------- | -------- | ---- | ----------- |
2554+
| <*string*> | Yes | String | The string to examine |
2555+
|||||
2556+
2557+
| Return value | Type | Description |
2558+
| ------------ | ---- | ----------- |
2559+
| <*boolean-result*> | Boolean | A boolean indicating whether the string is an integer |
2560+
2561+
*Example*
2562+
2563+
This example tests a string that represents an integer:
2564+
2565+
```
2566+
isInt('10')
2567+
```
2568+
2569+
And returns this result: `true`
2570+
25412571
<a name="item"></a>
25422572

25432573
### item
@@ -5320,4 +5350,4 @@ Here's the result: `Paris`
53205350

53215351
## Next steps
53225352

5323-
Learn about the [Workflow Definition Language](../logic-apps/logic-apps-workflow-definition-language.md)
5353+
Learn about the [Workflow Definition Language](../logic-apps/logic-apps-workflow-definition-language.md)
3.18 KB
Loading

0 commit comments

Comments
 (0)