Skip to content

Commit c722bd0

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/azure-docs-pr (branch live)
2 parents 4ebf1a1 + 3fa4384 commit c722bd0

File tree

80 files changed

+1823
-785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1823
-785
lines changed

articles/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet.md

Lines changed: 133 additions & 122 deletions
Large diffs are not rendered by default.

articles/active-directory/users-groups-roles/directory-assign-admin-roles.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ Users with this role can set or reset non-password credentials and can update pa
6565
* Message Center Reader
6666
* Reports Reader
6767

68-
The Authentication administrator role is currently in public preview. This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
69-
7068
> [!IMPORTANT]
7169
> Users with this role can change credentials for people who may have access to sensitive or private information or critical configuration inside and outside of Azure Active Directory. Changing the credentials of a user may mean the ability to assume that user's identity and permissions. For example:
7270

articles/api-management/api-management-advanced-policies.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This topic provides a reference for the following API Management policies. For i
3434
- [Set request method](#SetRequestMethod) - Allows you to change the HTTP method for a request.
3535
- [Set status code](#SetStatus) - Changes the HTTP status code to the specified value.
3636
- [Set variable](api-management-advanced-policies.md#set-variable) - Persists a value in a named [context](api-management-policy-expressions.md#ContextVariables) variable for later access.
37-
- [Trace](#Trace) - Adds a string into the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output.
37+
- [Trace](#Trace) - Adds custom traces into the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output, Application Insights telemetries, and Diagnostic Logs.
3838
- [Wait](#Wait) - Waits for enclosed [Send request](api-management-advanced-policies.md#SendRequest), [Get value from cache](api-management-caching-policies.md#GetFromCacheByKey), or [Control flow](api-management-advanced-policies.md#choose) policies to complete before proceeding.
3939

4040
## <a name="choose"></a> Control flow
@@ -909,29 +909,49 @@ Expressions used in the `set-variable` policy must return one of the following b
909909

910910
## <a name="Trace"></a> Trace
911911

912-
The `trace` policy adds a string into the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output. The policy will execute only when tracing is triggered, i.e. `Ocp-Apim-Trace` request header is present and set to `true` and `Ocp-Apim-Subscription-Key` request header is present and holds a valid key associated with the admin account.
912+
The `trace` policy adds a custom trace into the API Inspector output, Application Insights telemetries, and/or Diagnostic Logs.
913+
914+
* The policy adds a custom trace to the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output when tracing is triggered, i.e. `Ocp-Apim-Trace` request header is present and set to true and `Ocp-Apim-Subscription-Key` request header is present and holds a valid key that allows tracing.
915+
* The policy creates a [Trace](https://docs.microsoft.com/azure/azure-monitor/app/data-model-trace-telemetry) telemetry in Application Insights, when [Application Insights integration](https://docs.microsoft.com/azure/api-management/api-management-howto-app-insights) is enabled and the `severity` level specified in the policy is at or higher than the `verbosity` level specified in the diagnostic setting.
916+
* The policy adds a property in the log entry when [Diagnostic Logs](https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-use-azure-monitor#diagnostic-logs) is enabled and the severity level specified in the policy is at or higher than the verbosity level specified in the diagnostic setting.
917+
913918

914919
### Policy statement
915920

916921
```xml
917922

918-
<trace source="arbitrary string literal">
919-
<!-- string expression or literal -->
923+
<trace source="arbitrary string literal" severity="verbose|information|error">
924+
<message>String literal or expressions</message>
925+
<metadata name="string literal or expressions" value="string literal or expressions"/>
920926
</trace>
921927

922928
```
923929

930+
### <a name="traceExample"></a> Example
931+
932+
```xml
933+
<trace source="PetStore API" severity="verbose">
934+
<message>@((string)context.Variables["clientConnectionID"])</message>
935+
<metadata name="Operation Name" value="New-Order"/>
936+
</trace>
937+
```
938+
924939
### Elements
925940

926941
| Element | Description | Required |
927942
| ------- | ------------- | -------- |
928943
| trace | Root element. | Yes |
944+
| message | A string or expression to be logged. | Yes |
945+
| metadata | Adds a custom property to the Application Insights [Trace](https://docs.microsoft.com/en-us/azure/azure-monitor/app/data-model-trace-telemetry) telemetry. | No |
929946

930947
### Attributes
931948

932949
| Attribute | Description | Required | Default |
933950
| --------- | --------------------------------------------------------------------------------------- | -------- | ------- |
934951
| source | String literal meaningful to the trace viewer and specifying the source of the message. | Yes | N/A |
952+
| severity | Specifies the severity level of the trace. Allowed values are `verbose`, `information`, `error` (from lowest to highest). | No | Verbose |
953+
| name | Name of the property. | Yes | N/A |
954+
| value | Value of the property. | Yes | N/A |
935955

936956
### Usage
937957

articles/api-management/api-management-howto-app-insights.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ Before you can use Azure Application Insights, you first need to create an insta
7575
| Sampling (%) | decimal | Values from 0 to 100 (percent). <br/> Specifies what percentage of requests will be logged to Azure Application Insights. 0% sampling means zero requests logged, while 100% sampling means all requests logged. <br/> This setting is used for reducing performance implications of logging requests to Azure Application Insights (see the section below). |
7676
| Always log errors | boolean | If this setting is selected, all failures will be logged to Azure Application Insights, regardless of the **Sampling** setting. |
7777
| Basic Options: Headers | list | Specifies the headers that will be logged to Azure Application Insights for requests and responses. Default: no headers are logged. |
78-
| Basic Options: First bytes of body | integer | Specifies how many first bytes of the body are logged to Azure Application Insights for requests and responses. Default: body is not logged. |
78+
| Basic Options: First bytes of body | integer | Specifies how many first bytes of the body are logged to Azure Application Insights for requests and responses. Default: body is not logged. |
79+
| Advanced Options: Verbosity | | Specifies the verbosity level. Only custom traces with higher severity level will be logged. Default: Information. |
7980
| Advanced Options: Frontend Request | | Specifies whether and how *frontend requests* will be logged to Azure Application Insights. *Frontend request* is a request incoming to the Azure API Management service. |
8081
| Advanced Options: Frontend Response | | Specifies whether and how *frontend responses* will be logged to Azure Application Insights. *Frontend response* is a response outgoing from the Azure API Management service. |
8182
| Advanced Options: Backend Request | | Specifies whether and how *backend requests* will be logged to Azure Application Insights. *Backend request* is a request outgoing from the Azure API Management service. |

articles/api-management/api-management-policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This section provides a reference for the following API Management policies. For
4545
- [Set variable](api-management-advanced-policies.md#set-variable) - Persist a value in a named context variable for later access.
4646
- [Set request method](api-management-advanced-policies.md#SetRequestMethod) - Allows you to change the HTTP method for a request.
4747
- [Set status code](api-management-advanced-policies.md#SetStatus) - Changes the HTTP status code to the specified value.
48-
- [Trace](api-management-advanced-policies.md#Trace) - Adds a string into the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output.
48+
- [Trace](api-management-advanced-policies.md#Trace) - Adds custom traces into the [API Inspector](https://azure.microsoft.com/documentation/articles/api-management-howto-api-inspector/) output, Application Insights telemetries, and Diagnostic Logs.
4949
- [Wait](api-management-advanced-policies.md#Wait) - Waits for enclosed [Send request](api-management-advanced-policies.md#SendRequest), [Get value from cache](api-management-caching-policies.md#GetFromCacheByKey), or [Control flow](api-management-advanced-policies.md#choose) policies to complete before proceeding.
5050
- [Authentication policies](api-management-authentication-policies.md#AuthenticationPolicies)
5151
- [Authenticate with Basic](api-management-authentication-policies.md#Basic) - Authenticate with a backend service using Basic authentication.

articles/app-service/app-service-undelete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.service: app-service
1212

1313
If you happened to accidentally delete your app in Azure App Service, you can restore it using the commands from the [Az PowerShell module](https://docs.microsoft.com/powershell/azure/?view=azps-2.6.0&viewFallbackFrom=azps-2.2.0).
1414

15-
## List Deleted Web Apps
15+
## List deleted apps
1616

1717
To get the collection of deleted apps, you can use `Get-AzDeletedWebApp`.
1818

articles/azure-portal/azure-portal-safelist-urls.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Safelist the Azure portal URLs | Microsoft Docs
2+
title: Safelist the Azure portal URLs | Microsoft Docs
33
description: Add these URLs to proxy server bypass to communicate with the Azure portal and its services
44
services: azure-portal
5-
keywords:
5+
keywords:
66
author: kfollis
77
ms.author: kfollis
88
ms.date: 09/13/2019
@@ -75,8 +75,8 @@ The URL endpoints to safelist for the Azure portal are specific to the Azure clo
7575
Need to safelist IP addresses? Download the list of Microsoft Azure datacenter IP ranges for your cloud:
7676

7777
* [Worldwide](https://www.microsoft.com/download/details.aspx?id=56519)
78-
* [U.S. Government](http://www.microsoft.com/download/details.aspx?id=57063)
79-
* [Germany](http://www.microsoft.com/download/details.aspx?id=57064)
80-
* [China](http://www.microsoft.com/download/details.aspx?id=57062)
78+
* [U.S. Government](https://www.microsoft.com/download/details.aspx?id=57063)
79+
* [Germany](https://www.microsoft.com/download/details.aspx?id=57064)
80+
* [China](https://www.microsoft.com/download/details.aspx?id=57062)
8181

8282
Other Microsoft services use additional URLs and IP addresses for connectivity. To optimize network connectivity for Microsoft 365 services, see [Set up your network for Office 365](/office365/enterprise/set-up-network-for-office-365).

articles/backup/backup-azure-vms-automation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ Set-AzRecoveryServicesBackupProtectionPolicy -Policy $pol -RetentionPolicy $Ret
316316
> From Az PS version 1.6.0 onwards, one can update the instant restore snapshot retention period in policy using Powershell
317317
318318
````powershell
319-
$bkpPol = Get-AzureRmRecoveryServicesBackupProtectionPolicy -WorkloadType "AzureVM" -VaultId $targetVault.ID
319+
$bkpPol = Get-AzRecoveryServicesBackupProtectionPolicy -WorkloadType "AzureVM" -VaultId $targetVault.ID
320320
$bkpPol.SnapshotRetentionInDays=7
321-
Set-AzureRmRecoveryServicesBackupProtectionPolicy -policy $bkpPol -VaultId $targetVault.ID
321+
Set-AzRecoveryServicesBackupProtectionPolicy -policy $bkpPol -VaultId $targetVault.ID
322322
````
323323

324324
The default value will be 2, user can set the value with a min of 1 and max of 5. For weekly backup policies, the period is set to 5 and cannot be changed.

articles/billing/billing-understand-reserved-instance-usage-ea.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ Other information available in Azure usage data has changed:
5858

5959
You can get the data using the API or download it from Azure portal.
6060

61-
You call the [Usage Details API](/rest/api/consumption/usagedetails/list) with API version &quot;2019-04-01-preview&quot; to get the new data. For details about terminology, see [usage terms](billing-understand-your-usage.md). The caller should be an Enterprise Administrator for the enterprise agreement using the [EA portal](https://ea.azure.com). Read-only Enterprise Administrators can also get the data.
61+
You call the [Usage Details API](/rest/api/consumption/usagedetails/list) to get the new data. For details about terminology, see [usage terms](billing-understand-your-usage.md). The caller should be an Enterprise Administrator for the enterprise agreement using the [EA portal](https://ea.azure.com). Read-only Enterprise Administrators can also get the data.
6262

6363
The data is not available in [Reporting APIs for Enterprise customers - Usage Details](/rest/api/billing/enterprise/billing-enterprise-api-usage-detail).
6464

6565
Here's an example call to the API:
6666

6767
```
68-
https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{enrollmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodId}/providers/Microsoft.Consumption/usagedetails?metric={metric}&amp;api-version=2019-04-01-preview&amp;$filter={filter}
68+
https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{enrollmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodId}/providers/Microsoft.Consumption/usagedetails?metric={metric}&amp;api-version=2019-05-01&amp;$filter={filter}
6969
```
7070

7171
For more information about {enrollmentId} and {billingPeriodId}, see the [Usage Details – List](https://docs.microsoft.com/rest/api/consumption/usagedetails/list) API article.

0 commit comments

Comments
 (0)