Skip to content

Commit 52e2d55

Browse files
authored
Merge pull request #295112 from MicrosoftDocs/main
2/21/2025 AM Publish
2 parents 01ef429 + a3b1c30 commit 52e2d55

27 files changed

+260
-566
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
"redirect_url": "/previous-versions/azure/partner-solutions/logzio/troubleshoot",
3131
"redirect_document_id": false
3232
},
33+
{
34+
"source_path": "articles/event-grid/event-schema-storage-actions.md",
35+
"redirect_url": "/azure/storage-actions/overview",
36+
"redirect_document_id": false
37+
},
3338
{
3439
"source_path_from_root": "/articles/hdinsight-aks/index.yml",
3540
"redirect_url": "/previous-versions/azure/hdinsight-aks",
@@ -5935,6 +5940,11 @@
59355940
"redirect_url": "/azure/reliability/overview-reliability-guidance",
59365941
"redirect_document_id": false
59375942
},
5943+
{
5944+
"source_path_from_root": "/articles/reliability/sovereign-cloud-china.md",
5945+
"redirect_url": "/azure/china/concepts-service-availability",
5946+
"redirect_document_id": false
5947+
},
59385948
{
59395949
"source_path_from_root": "/articles/managed-grafana/concept-role-based-access-control.md",
59405950
"redirect_url": "/azure/managed-grafana/how-to-manage-access-permissions-users-identities",

articles/active-directory-b2c/localization-string-ids.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -496,18 +496,18 @@ The following IDs are used for a [time-based one-time password (TOTP) display co
496496
</LocalizedResources>
497497
```
498498

499-
## Restful service error messages
499+
## RESTful service error messages
500500

501-
The following IDs are used for [Restful service technical profile](restful-technical-profile.md) error messages:
501+
The following IDs are used for [RESTful service technical profile](restful-technical-profile.md) error messages:
502502

503503
| ID | Default value |
504504
| --- | ------------- |
505-
| `DefaultUserMessageIfRequestFailed` | Failed to establish connection to restful service end point. Restful service URL: {0} |
506-
| `UserMessageIfCircuitOpen` | {0} Restful Service URL: {1} |
507-
| `UserMessageIfDnsResolutionFailed` | Failed to resolve the hostname of the restful service endpoint. Restful service URL: {0} |
508-
| `UserMessageIfRequestTimeout` | Failed to establish connection to restful service end point within timeout limit {0} seconds. Restful service URL: {1} |
505+
| `DefaultUserMessageIfRequestFailed` | Failed to establish connection to restful service end point. RESTful service URL: {0} |
506+
| `UserMessageIfCircuitOpen` | {0} RESTful Service URL: {1} |
507+
| `UserMessageIfDnsResolutionFailed` | Failed to resolve the hostname of the restful service endpoint. RESTful service URL: {0} |
508+
| `UserMessageIfRequestTimeout` | Failed to establish connection to restful service end point within timeout limit {0} seconds. RESTful service URL: {1} |
509509

510-
### Restful service example
510+
### RESTful service example
511511

512512
```xml
513513
<LocalizedResources Id="api.localaccountsignup.en">

articles/api-management/graphql-apis-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ API Management helps you import, manage, protect, test, publish, and monitor Gra
2121

2222
|Pass-through GraphQL |Synthetic GraphQL |
2323
|---------|---------|
24-
| ▪️ Pass-through API to existing GraphQL service endpoint<br><br/>▪️ Support for GraphQL queries, mutations, and subscriptions | ▪️ API based on a custom GraphQL schema<br></br>▪️ Support for GraphQL queries, mutations, and subscriptions<br/><br/>▪️ Configure custom resolvers, for example, to HTTP data sources<br/><br/>▪️ Develop GraphQL schemas and GraphQL-based clients while consuming data from legacy APIs |
24+
| ▪️ Pass-through API to existing GraphQL service endpoint<br><br/>▪️ Support for GraphQL queries, mutations, and subscriptions | ▪️ API based on a custom GraphQL schema<br></br>▪️ Support for GraphQL queries, mutations, and subscriptions<br/><br/>▪️ Configure custom resolvers, for example, to HTTP data sources<br/><br/>▪️ Develop GraphQL schemas and GraphQL-based clients while consuming data from legacy APIs<br/><br/>▪️ Synthetic subscriptions do not require resolvers. See [publish-event](publish-event-policy.md) policy. |
2525

2626
## Availability
2727

articles/api-management/publish-event-policy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The `publish-event` policy publishes an event to one or more subscriptions speci
5353
### Usage notes
5454

5555
* This policy is invoked only when a related GraphQL query or mutation is executed.
56+
* Resolver *should not* be defined for the corresponding subscription. Defining a `publish-event` policy on a source query or mutation is sufficient to trigger subscription events.
5657

5758
## Example
5859

articles/azure-resource-manager/bicep/bicep-core-diagnostics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ If you need more information about a particular diagnostic code, select the **Fe
138138
| <a id='BCP130' />BCP130 | Error | Decorators aren't allowed here. |
139139
| <a id='BCP132' />[BCP132](./diagnostics/bcp132.md) | Error | Expected a declaration after the decorator. |
140140
| <a id='BCP133' />BCP133 | Error | The unicode escape sequence isn't valid. Valid unicode escape sequences range from \\u{0} to \\u{10FFFF}. |
141-
| <a id='BCP134' />BCP134 | Warning | Scope {ToQuotedString(LanguageConstants.GetResourceScopeDescriptions(suppliedScope))} isn't valid for this module. Permitted scopes: {ToQuotedString(LanguageConstants.GetResourceScopeDescriptions(supportedScopes))}. |
142-
| <a id='BCP135' />BCP135 | Warning | Scope {ToQuotedString(LanguageConstants.GetResourceScopeDescriptions(suppliedScope))} isn't valid for this resource type. Permitted scopes: {ToQuotedString(LanguageConstants.GetResourceScopeDescriptions(supportedScopes))}. |
141+
| <a id='BCP134' />BCP134 | Error | Scope \<scope-name> isn't valid for this module. Permitted scopes: \<scope-name>. |
142+
| <a id='BCP135' />[BCP135](./diagnostics/bcp135.md) | Error | Scope \<scope-name> isn't valid for this resource type. Permitted scopes: \<scope-name>. |
143143
| <a id='BCP136' />BCP136 | Error | Expected a loop item variable identifier at this location. |
144144
| <a id='BCP137' />BCP137 | Error | Loop expected an expression of type "{LanguageConstants.Array}" but the provided value is of type "{actualType}". |
145145
| <a id='BCP138' />BCP138 | Error | For-expressions aren't supported in this context. For-expressions may be used as values of resource, module, variable, and output declarations, or values of resource and module properties. |
@@ -237,7 +237,7 @@ If you need more information about a particular diagnostic code, select the **Fe
237237
| <a id='BCP235' />BCP235 | Error | Specified JSONPath doesn't exist in the given file or is invalid. |
238238
| <a id='BCP236' />BCP236 | Error | Expected a new line or comma character at this location. |
239239
| <a id='BCP237' />BCP237 | Error | Expected a comma character at this location. |
240-
| <a id='BCP238' />BCP238 | Error | Unexpected new line character after a comma. |
240+
| <a id='BCP238' />[BCP238](./diagnostics/bcp238.md) | Error | Unexpected new line character after a comma. |
241241
| <a id='BCP239' />BCP239 | Error | Identifier "{name}" is a reserved Bicep symbol name and can't be used in this context. |
242242
| <a id='BCP240' />BCP240 | Error | The "parent" property only permits direct references to resources. Expressions aren't supported. |
243243
| <a id='BCP241' />BCP241 | Warning | The \<function-name> function is deprecated and will be removed in a future release of Bicep. Add a comment to https://github.com/Azure/bicep/issues/2017 if you believe this will impact your workflow. |
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: BCP135
3+
description: Scope <scope-name> isn't valid for this resource type. Permitted scopes <scope-name>.
4+
ms.topic: reference
5+
ms.custom: devx-track-bicep
6+
ms.date: 02/20/2025
7+
---
8+
9+
# Bicep diagnostic code - BCP135
10+
11+
In Bicep, scopes determine the hierarchical level at which resources are deployed within Azure. ARM provides four deployment scopes—resource group, management group, subscription, and tenant. Resources must be deployed within the allowed scopes. For more information, see [Deployment scope](../deploy-to-resource-group.md#deployment-scopes).
12+
13+
## Description
14+
15+
Scope \<scope-name> isn't valid for this resource type. Permitted scopes: \<scope-name>.
16+
17+
## Level
18+
19+
Error
20+
21+
## Solutions
22+
23+
Deploy resources to the permitted scopes.
24+
25+
## Examples
26+
27+
The following example raises the diagnostic because `storageAccounts` can't be deployed at the management group scope.
28+
29+
```bicep
30+
targetScope = 'managementGroup'
31+
32+
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
33+
name: 'demostorage0220'
34+
location: 'eastus'
35+
sku: {
36+
name: 'Standard_LRS'
37+
}
38+
kind: 'StorageV2'
39+
}
40+
```
41+
42+
You can fix the diagnostic by setting the `targetScope` to `resourceGroup`.
43+
44+
```bicep
45+
targetScope = 'resourceGroup'
46+
47+
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
48+
name: 'demostorage0220'
49+
location: 'eastus'
50+
sku: {
51+
name: 'Standard_LRS'
52+
}
53+
kind: 'StorageV2'
54+
}
55+
56+
```
57+
58+
## Next steps
59+
60+
For more information about Bicep diagnostics, see [Bicep core diagnostics](../bicep-core-diagnostics.md).
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: BCP238
3+
description: Unexpected new line character after a comma.
4+
ms.topic: reference
5+
ms.custom: devx-track-bicep
6+
ms.date: 02/12/2025
7+
---
8+
9+
# Bicep diagnostic code - BCP238
10+
11+
In Bicep, arrays or objects can be declared on a single line or across multiple lines. In single-line declarations, values are separated by commas (,), while in multi-line declarations, commas aren't used. You can combine single-line and multi-line styles, but each element must be separated by no more than one comma or one set of new lines. This diagnostic occurs when this rule isn't followed. For more information, see [Arrays](../data-types.md#arrays) or [Objects](../data-types.md#objects).
12+
13+
## Description
14+
15+
Unexpected new line character after a comma.
16+
17+
## Level
18+
19+
Error
20+
21+
## Solution
22+
23+
Remove Use a name of a value.
24+
25+
## Examples
26+
27+
The following example raises the diagnostic because a comma and a new line are used in between _'def'_ and _'ghi'_:
28+
29+
```bicep
30+
var mixedArray = ['abc', 'def',
31+
'ghi']
32+
```
33+
34+
You can fix the diagnostic by removing either the comma or the new line:
35+
36+
```bicep
37+
var mixedArray = ['abc', 'def'
38+
'ghi']
39+
```
40+
41+
```bicep
42+
var mixedArray = ['abc', 'def', 'ghi']
43+
```
44+
45+
## Next steps
46+
47+
For more information about Bicep diagnostics, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,8 @@
681681
href: diagnostics/bcp129.md
682682
- name: BCP132
683683
href: diagnostics/bcp132.md
684+
- name: BCP135
685+
href: diagnostics/bcp135.md
684686
- name: BCP139
685687
href: diagnostics/bcp139.md
686688
- name: BCP147
@@ -695,6 +697,8 @@
695697
href: diagnostics/bcp170.md
696698
- name: BCP192
697699
href: diagnostics/bcp192.md
700+
- name: BCP238
701+
href: diagnostics/bcp238.md
698702
- name: BCP266
699703
href: diagnostics/bcp266.md
700704
- name: BCP288

articles/cost-management-billing/understand/billing-meter-location.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: v-minasyanv
77
ms.service: cost-management-billing
88
ms.subservice: common
99
ms.topic: concept-article
10-
ms.date: 02/18/2025
10+
ms.date: 02/21/2025
1111
ms.author: banders
1212
#customer intent: As a billing administrator, I want to understand the difference between a billing meter region and a resource location.
1313
---
@@ -28,7 +28,7 @@ Consider a situation where you deploy an Azure service in the US West region. Th
2828

2929
The Azure region where you deploy a resource determines its physical location. The billing meter's location doesn't affect the actual resource location. So, the meter region location can differ from the resource location, causing the variation.
3030

31-
To avoid any confusion, keep the distinction between a billing meter region and an Azure region location in mind.
31+
To avoid any confusion, keep the distinction between a billing meter region and an Azure resource region in mind.
3232

3333
## Related content
3434

articles/event-grid/event-schema-storage-actions.md

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)