Skip to content

Commit f42346c

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into ddosJan2020
2 parents c172d5c + dba2037 commit f42346c

17 files changed

+66
-49
lines changed

articles/active-directory-b2c/customize-ui-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ When you choose a template, the selected layout is applied to all pages in your
6262

6363
## Custom HTML and CSS
6464

65+
If you wish to design your own policy layout with your customized HTML and CSS, you can do so by switching the "Use custom page content" toggle for each of the Layout names present in your policy. Please follow the below instructions regarding the custom layout configurations:
66+
6567
Azure AD B2C runs code in your customer's browser by using an approach called [Cross-Origin Resource Sharing (CORS)](https://www.w3.org/TR/cors/).
6668

6769
At runtime, content is loaded from a URL that you specify in your user flow or custom policy. Each page in the user experience loads its content from the URL you specify for that page. After content is loaded from your URL, it's merged with an HTML fragment inserted by Azure AD B2C, and then the page is displayed to your customer.

articles/app-service/containers/tutorial-custom-docker-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ az acr credential show --name <azure-container-registry-name>
118118
The output reveals two passwords along with the user name.
119119

120120
```json
121-
<
121+
{
122122
"passwords": [
123123
{
124124
"name": "password",

articles/azure-resource-manager/templates/template-functions-resource.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Returns an object representing a resource's runtime state.
437437

438438
| Parameter | Required | Type | Description |
439439
|:--- |:--- |:--- |:--- |
440-
| resourceName or resourceIdentifier |Yes |string |Name or unique identifier of a resource. When referencing a resource in the current template, provide only the resource name as a parameter. When referencing a previously deployed resource, provide the resource ID. |
440+
| resourceName or resourceIdentifier |Yes |string |Name or unique identifier of a resource. When referencing a resource in the current template, provide only the resource name as a parameter. When referencing a previously deployed resource or when the name of the resource is ambiguous, provide the resource ID. |
441441
| apiVersion |No |string |API version of the specified resource. Include this parameter when the resource isn't provisioned within same template. Typically, in the format, **yyyy-mm-dd**. For valid API versions for your resource, see [template reference](/azure/templates/). |
442442
| 'Full' |No |string |Value that specifies whether to return the full resource object. If you don't specify `'Full'`, only the properties object of the resource is returned. The full object includes values such as the resource ID and location. |
443443

@@ -454,11 +454,11 @@ Typically, you use the **reference** function to return a particular value from
454454
```json
455455
"outputs": {
456456
"BlobUri": {
457-
"value": "[reference(concat('Microsoft.Storage/storageAccounts/', parameters('storageAccountName')), '2016-01-01').primaryEndpoints.blob]",
457+
"value": "[reference(resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName')).primaryEndpoints.blob]",
458458
"type" : "string"
459459
},
460460
"FQDN": {
461-
"value": "[reference(concat('Microsoft.Network/publicIPAddresses/', parameters('ipAddressName')), '2016-03-30').dnsSettings.fqdn]",
461+
"value": "[reference(resourceId('Microsoft.Network/publicIPAddresses', parameters('ipAddressName')).dnsSettings.fqdn]",
462462
"type" : "string"
463463
}
464464
}
@@ -470,11 +470,11 @@ Use `'Full'` when you need resource values that aren't part of the properties sc
470470
{
471471
"type": "Microsoft.KeyVault/vaults",
472472
"properties": {
473-
"tenantId": "[reference(concat('Microsoft.Compute/virtualMachines/', variables('vmName')), '2017-03-30', 'Full').identity.tenantId]",
473+
"tenantId": "[subscription().tenantId]",
474474
"accessPolicies": [
475475
{
476-
"tenantId": "[reference(concat('Microsoft.Compute/virtualMachines/', variables('vmName')), '2017-03-30', 'Full').identity.tenantId]",
477-
"objectId": "[reference(concat('Microsoft.Compute/virtualMachines/', variables('vmName')), '2017-03-30', 'Full').identity.principalId]",
476+
"tenantId": "[reference(reosurceId('Microsoft.Compute/virtualMachines', variables('vmName')), '2019-03-01', 'Full').identity.tenantId]",
477+
"objectId": "[reference(resourceId('Microsoft.Compute/virtualMachines', variables('vmName')), '2019-03-01', 'Full').identity.principalId]",
478478
"permissions": {
479479
"keys": [
480480
"all"
@@ -514,10 +514,10 @@ When referencing a resource that isn't deployed in the same template, provide th
514514
"value": "[reference(resourceId(parameters('storageResourceGroup'), 'Microsoft.Storage/storageAccounts', parameters('storageAccountName')), '2018-07-01')]"
515515
```
516516

517-
To avoid ambiguity about which resource you're referencing, you can provide a fully qualified resource name.
517+
To avoid ambiguity about which resource you're referencing, you can provide a fully qualified resource identifier.
518518

519519
```json
520-
"value": "[reference(concat('Microsoft.Network/publicIPAddresses/', parameters('ipAddressName')))]"
520+
"value": "[reference(resourceId('Microsoft.Network/publicIPAddresses', parameters('ipAddressName'))]"
521521
```
522522

523523
When constructing a fully qualified reference to a resource, the order to combine segments from the type and name isn't simply a concatenation of the two. Instead, after the namespace, use a sequence of *type/name* pairs from least specific to most specific:
@@ -529,14 +529,16 @@ For example:
529529
`Microsoft.Compute/virtualMachines/myVM/extensions/myExt` is correct
530530
`Microsoft.Compute/virtualMachines/extensions/myVM/myExt` is not correct
531531

532+
To simplify the creation of any resource ID, use the `resourceId()` functions described in this document instead of the `concat()` function.
533+
532534
### Get managed identity
533535

534536
[Managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md) are [extension resource types](../management/extension-resource-types.md) that are created implicitly for some resources. Because the managed identity isn't explicitly defined in the template, you must reference the resource that the identity is applied to. Use `Full` to get all of the properties, including the implicitly created identity.
535537

536538
For example, to get the tenant ID for a managed identity that is applied to a virtual machine scale set, use:
537539

538540
```json
539-
"tenantId": "[reference(concat('Microsoft.Compute/virtualMachineScaleSets/', variables('vmNodeType0Name')), variables('vmssApiVersion'), 'Full').Identity.tenantId]"
541+
"tenantId": "[reference(resourceId('Microsoft.Compute/virtualMachineScaleSets', variables('vmNodeType0Name')), '2019-03-01', 'Full').Identity.tenantId]"
540542
```
541543

542544
### Reference example

articles/container-instances/container-instances-container-group-ssl.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ ms.date: 04/03/2019
88

99
This article shows how to create a [container group](container-instances-container-groups.md) with an application container and a sidecar container running an SSL provider. By setting up a container group with a separate SSL endpoint, you enable SSL connections for your application without changing your application code.
1010

11-
You set up a container group consisting of two containers:
11+
You set up an example container group consisting of two containers:
1212
* An application container that runs a simple web app using the public Microsoft [aci-helloworld](https://hub.docker.com/_/microsoft-azuredocs-aci-helloworld) image.
1313
* A sidecar container running the public [Nginx](https://hub.docker.com/_/nginx) image, configured to use SSL.
1414

15-
In this example, the container group only exposes port 443 for Nginx with its public IP address. Nginx routes HTTPS requests to the companion web app, which listens internally on port 80. You can adapt the example for container apps that listen on other ports.
15+
In this example, the container group only exposes port 443 for Nginx with its public IP address. Nginx routes HTTPS requests to the companion web app, which listens internally on port 80. You can adapt the example for container apps that listen on other ports. See [Next steps](#next-steps) for other approaches to enabling SSL in a container group.
1616

1717
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
1818

@@ -229,4 +229,10 @@ This article showed you how to set up an Nginx container to enable SSL connectio
229229

230230
While this article uses Nginx in the sidecar, you can use another SSL provider such as [Caddy](https://caddyserver.com/).
231231

232-
Another approach to enabling SSL in a container group is to deploy the group in an [Azure virtual network](container-instances-vnet.md) with an [Azure application gateway](../application-gateway/overview.md). The gateway can be set up as an SSL endpoint. See a sample [deployment template](https://github.com/Azure/azure-quickstart-templates/tree/master/201-aci-wordpress-vnet) you can adapt to enable SSL termination on the gateway.
232+
If you deploy your container group in an [Azure virtual network](container-instances-vnet.md), you can consider other options to enable an SSL endpoint for a backend container instance, including:
233+
234+
* [Azure Functions Proxies](../azure-functions/functions-proxies.md)
235+
* [Azure API Management](../api-management/api-management-key-concepts.md)
236+
* [Azure Application Gateway](../application-gateway/overview.md)
237+
238+
To use an application gateway, see a sample [deployment template](https://github.com/Azure/azure-quickstart-templates/tree/master/201-aci-wordpress-vnet).

articles/data-explorer/ingest-data-event-hub.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Now you connect to the event hub from Azure Data Explorer. When this connection
115115
| Event hub | *test-hub* | The event hub you created. |
116116
| Consumer group | *test-group* | The consumer group defined in the event hub you created. |
117117
| Event system properties | Select relevant properties | The [Event Hub system properties](/azure/service-bus-messaging/service-bus-amqp-protocol-guide#message-annotations). If there are multiple records per event message, the system properties will be added to the first one. When adding system properties, [create](/azure/kusto/management/tables#create-table) or [update](/azure/kusto/management/tables#alter-table-and-alter-merge-table) table schema and [mapping](/azure/kusto/management/mappings) to include the selected properties. |
118+
| Compression | *None* | The compression type of the Event Hub messages payload. Supported compression types: *None, GZip*.|
118119
| | |
119120
120121
**Target table:**
@@ -125,15 +126,15 @@ Now you connect to the event hub from Azure Data Explorer. When this connection
125126
**Setting** | **Suggested value** | **Field description**
126127
|---|---|---|
127128
| Table | *TestTable* | The table you created in **TestDatabase**. |
128-
| Data format | *JSON* | Supported formats are Avro, CSV, JSON, MULTILINE JSON, PSV, SOHSV, SCSV, TSV, TSVE and TXT. Supported compression options: GZip |
129-
| Column mapping | *TestMapping* | The [mapping](/azure/kusto/management/mappings) you created in **TestDatabase**, which maps incoming JSON data to the column names and data types of **TestTable**. Required for JSON, MULTILINE JSON, or AVRO, and optional for other formats.|
129+
| Data format | *JSON* | Supported formats are Avro, CSV, JSON, MULTILINE JSON, PSV, SOHSV, SCSV, TSV, TSVE, TXT, ORC and PARQUET. |
130+
| Column mapping | *TestMapping* | The [mapping](/azure/kusto/management/mappings) you created in **TestDatabase**, which maps incoming JSON data to the column names and data types of **TestTable**. Required for JSON or MULTILINE JSON, and optional for other formats.|
130131
| | |
131132
132133
> [!NOTE]
133134
> * Select **My data includes routing info** to use dynamic routing, where your data includes the necessary routing information as seen in the [sample app](https://github.com/Azure-Samples/event-hubs-dotnet-ingest) comments. If both static and dynamic properties are set, the dynamic properties override the static ones.
134135
> * Only events enqueued after you create the data connection are ingested.
135-
> * Enable GZip compression for static routing by opening a [support request in the Azure portal](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview). Enable GZip compression for dynamic routing as seen in the [sample app](https://github.com/Azure-Samples/event-hubs-dotnet-ingest).
136-
> * Avro format and event system properties aren't supported on compression payload.
136+
> * You can also set the compression type via dynamic properties as seen in the [sample app](https://github.com/Azure-Samples/event-hubs-dotnet-ingest).
137+
> * Avro, ORC and PARQUET formats as well as event system properties aren't supported on GZip compression payload.
137138
138139
[!INCLUDE [data-explorer-container-system-properties](../../includes/data-explorer-container-system-properties.md)]
139140

articles/data-explorer/redash.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 11/04/2019
1111

1212
# Visualize data from Azure Data Explorer in Redash
1313

14-
[Redash](https://www.redash.io/) connects and queries your data sources, builds dashboards to visualize data and share them with peers. In this article, you learn how to set up Azure Data Explorer as a data source for Redash, and then visualize data.
14+
[Redash](https://redash.io/) connects and queries your data sources, builds dashboards to visualize data and share them with peers. In this article, you learn how to set up Azure Data Explorer as a data source for Redash, and then visualize data.
1515

1616
## Prerequisites
1717

articles/notification-hubs/notification-hubs-ios-xplat-segmented-apns-push-notification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The first step is to add the UI elements to your existing storyboard that enable
155155
9. In the `didRegisterForRemoteNotificationsWithDeviceToken` method in `AppDelegate.m`, replace the code in the method with the following code to pass the device token to the `notifications` class. The `notifications` class performs the registering for notifications with the categories. If the user changes category selections, call the `subscribeWithCategories` method in response to the **subscribe** button to update them.
156156

157157
> [!NOTE]
158-
> Because the device token assigned by the Apple Push Notification Service (APNS) can chance at any time, you should register for notifications frequently to avoid notification failures. This example registers for notification every time that the app starts. For apps that are run frequently, more than once a day, you can probably skip registration to preserve bandwidth if less than a day has passed since the previous registration.
158+
> Because the device token assigned by the Apple Push Notification Service (APNS) can change at any time, you should register for notifications frequently to avoid notification failures. This example registers for notification every time that the app starts. For apps that are run frequently, more than once a day, you can probably skip registration to preserve bandwidth if less than a day has passed since the previous registration.
159159
160160
```objc
161161
self.notifications.deviceToken = deviceToken;

articles/postgresql/connect-java.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,26 @@ ms.custom: seo-java-august2019
1212
---
1313

1414
# Quickstart: Use Java to connect to and query data in Azure Database for PostgreSQL - Single Server
15-
This quickstart demonstrates how to connect to an Azure Database for PostgreSQL using a Java application. It shows how to use SQL statements to query, insert, update, and delete data in the database. The steps in this article assume that you are familiar with developing using Java, and are new to working with Azure Database for PostgreSQL.
15+
16+
In this quickstart, you connect to an Azure Database for PostgreSQL using a Java application. It shows how to use SQL statements to query, insert, update, and delete data in the database. The steps in this article assume that you are familiar with developing using Java, and are new to working with Azure Database for PostgreSQL.
1617

1718
## Prerequisites
18-
This quickstart uses the resources created in either of these guides as a starting point:
19-
- [Create DB - Portal](quickstart-create-server-database-portal.md)
20-
- [Create DB - Azure CLI](quickstart-create-server-database-azure-cli.md)
2119

22-
You also need to:
23-
- Download the [PostgreSQL JDBC Driver](https://jdbc.postgresql.org/download.html) matching your version of Java and the Java Development Kit.
24-
- Include the PostgreSQL JDBC jar file (for example postgresql-42.1.1.jar) in your application classpath. For more information, see [classpath details](https://jdbc.postgresql.org/documentation/head/classpath.html).
20+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
21+
22+
- Completion of [Quickstart: Create an Azure Database for PostgreSQL server in the Azure portal](quickstart-create-server-database-portal.md) or [Quickstart: Create an Azure Database for PostgreSQL using the Azure CLI](quickstart-create-server-database-azure-cli.md).
23+
24+
- [PostgreSQL JDBC Driver](https://jdbc.postgresql.org/download.html) - match your version of Java and the Java Development Kit.
25+
- [Classpath details](https://jdbc.postgresql.org/documentation/head/classpath.html) - Include the PostgreSQL JDBC jar file (for example postgresql-42.1.1.jar) in your application classpath.
2526

2627
## Get connection information
2728
Get the connection information needed to connect to the Azure Database for PostgreSQL. You need the fully qualified server name and login credentials.
2829

29-
1. Log in to the [Azure portal](https://portal.azure.com/).
30-
2. From the left-hand menu in Azure portal, select **All resources**, and then search for the server you have created (such as **mydemoserver**).
31-
3. Select the server name.
32-
4. From the server's **Overview** panel, make a note of the **Server name** and **Server admin login name**. If you forget your password, you can also reset the password from this panel.
33-
![Azure Database for PostgreSQL server name](./media/connect-java/azure-database-postgresql-server-name.png)
30+
1. In the [Azure portal](https://portal.azure.com/), search for and select the server you have created (such as **mydemoserver**).
31+
32+
1. From the server's **Overview** panel, make a note of the **Server name** and **Admin username**. If you forget your password, you can also reset the password from this panel.
33+
34+
![Azure Database for PostgreSQL connection string](./media/connect-java/server-details-azure-database-postgresql.png)
3435

3536
## Connect, create table, and insert data
3637
Use the following code to connect and load the data into the database using the function with an **INSERT** SQL statement. The methods [getConnection()](https://www.postgresql.org/docs/7.4/static/jdbc-use.html), [createStatement()](https://jdbc.postgresql.org/documentation/head/query.html), and [executeQuery()](https://jdbc.postgresql.org/documentation/head/query.html) are used to connect to the database, drop, and create the table. The [prepareStatement](https://jdbc.postgresql.org/documentation/head/query.html) object is used to build the insert commands, with setString() and setInt() to bind the parameter values. Method [executeUpdate()](https://jdbc.postgresql.org/documentation/head/update.html) runs the command for each set of parameters.

0 commit comments

Comments
 (0)