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/active-directory/devices/hybrid-azuread-join-plan.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ As a first planning step, you should review your environment and determine wheth
77
77
78
78
- Hybrid Azure AD join is not supported on Windows down-level devices when using credential roaming or user profile roaming or mandatory profile.
79
79
80
+
- Server Core OS doesn't support any type of device registration.
81
+
80
82
### OS imaging considerations
81
83
- If you are relying on the System Preparation Tool (Sysprep) and if you are using a **pre-Windows 10 1809** image for installation, make sure that image is not from a device that is already registered with Azure AD as Hybrid Azure AD join.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/data-retention-privacy.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,12 @@ By default `%TEMP%/appInsights-node{INSTRUMENTATION KEY}` is used for persisting
168
168
169
169
The folder prefix `appInsights-node` can be overridden by changing the runtime value of the static variable `Sender.TEMPDIR_PREFIX` found in [Sender.ts](https://github.com/Microsoft/ApplicationInsights-node.js/blob/7a1ecb91da5ea0febf5ceab13d6a4bf01a63933d/Library/Sender.ts#L384).
170
170
171
+
### JavaScript (browser)
172
+
173
+
[HTML5 Session Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) is used to persist data. Two separate buffers are used: `AI_buffer` and `AI_sent_buffer`. Telemetry that is batched and waiting to be sent is stored in `AI_buffer`. Telemetry that was just sent is placed in `AI_sent_buffer` until the ingestion server responds that it was successfully received. When telemetry is successfully received, it's removed from all buffers. On transient failures (for example, a user loses network connectivity), telemetry remains in `AI_buffer` until it is successfully received or the ingestion server responds that the telemetry is invalid (bad schema or too old, for example).
174
+
175
+
Telemetry buffers can be disabled by setting [`enableSessionStorageBuffer`](https://github.com/microsoft/ApplicationInsights-JS/blob/17ef50442f73fd02a758fbd74134933d92607ecf/legacy/JavaScript/JavaScriptSDK.Interfaces/IConfig.ts#L31) to `false`. When session storage is turned off, a local array is instead used as persistent storage. Because the JavaScript SDK runs on a client device, the user has access to this storage location via their browser's developer tools.
176
+
171
177
### OpenCensus Python
172
178
173
179
By default OpenCensus Python SDK uses the current user folder `%username%/.opencensus/.azure/`. Permissions to access this folder are restricted to the current user and Administrators. (See [implementation](https://github.com/census-instrumentation/opencensus-python/blob/master/contrib/opencensus-ext-azure/opencensus/ext/azure/common/storage.py) here.) The folder with your persisted data will be named after the Python file that generated the telemetry.
Copy file name to clipboardExpand all lines: articles/batch/batch-docker-container-workloads.md
+31-27Lines changed: 31 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,21 @@ manager: evansma
8
8
ms.service: batch
9
9
ms.topic: article
10
10
ms.workload: na
11
-
ms.date: 08/09/2019
11
+
ms.date: 03/02/2020
12
12
ms.author: labrenne
13
13
ms.custom: seodec18
14
14
15
15
---
16
16
17
17
# Run container applications on Azure Batch
18
18
19
-
Azure Batch lets you run and scale large numbers of batch computing jobs on Azure. Batch tasks can run directly on virtual machines (nodes) in a Batch pool, but you can also set up a Batch pool to run tasks in Docker-compatible containers on the nodes. This article shows you how to create a pool of compute nodes that support running container tasks, and then run container tasks on the pool.
19
+
Azure Batch lets you run and scale large numbers of batch computing jobs on Azure. Batch tasks can run directly on virtual machines (nodes) in a Batch pool, but you can also set up a Batch pool to run tasks in Docker-compatible containers on the nodes. This article shows you how to create a pool of compute nodes that support running container tasks, and then run container tasks on the pool.
20
20
21
21
You should be familiar with container concepts and how to create a Batch pool and job. The code examples use the Batch .NET and Python SDKs. You can also use other Batch SDKs and tools, including the Azure portal, to create container-enabled Batch pools and to run container tasks.
22
22
23
23
## Why use containers?
24
24
25
-
Using containers provides an easy way to run Batch tasks without having to manage an environment and dependencies to run applications. Containers deploy applications as lightweight, portable, self-sufficient units that can run in several different environments. For example, build and test a container locally, then upload the container image to a registry in Azure or elsewhere. The container deployment model ensures that the runtime environment of your application is always correctly installed and configured wherever you host the application. Container-based tasks in Batch can also take advantage of features of non-container tasks, including application packages and management of resource files and output files.
25
+
Using containers provides an easy way to run Batch tasks without having to manage an environment and dependencies to run applications. Containers deploy applications as lightweight, portable, self-sufficient units that can run in several different environments. For example, build and test a container locally, then upload the container image to a registry in Azure or elsewhere. The container deployment model ensures that the runtime environment of your application is always correctly installed and configured wherever you host the application. Container-based tasks in Batch can also take advantage of features of non-container tasks, including application packages and management of resource files and output files.
26
26
27
27
## Prerequisites
28
28
@@ -35,7 +35,7 @@ Using containers provides an easy way to run Batch tasks without having to manag
35
35
36
36
***Accounts**: In your Azure subscription, you need to create a Batch account and optionally an Azure Storage account.
37
37
38
-
***A supported VM image**: Containers are only supported in pools created with the Virtual Machine Configuration, from images detailed in the following section, "Supported virtual machine images." If you provide a custom image, see the considerations in the following section and the requirements in [Use a managed custom image to create a pool of virtual machines](batch-custom-images.md).
38
+
***A supported VM image**: Containers are only supported in pools created with the Virtual Machine Configuration, from images detailed in the following section, "Supported virtual machine images." If you provide a custom image, see the considerations in the following section and the requirements in [Use a managed custom image to create a pool of virtual machines](batch-custom-images.md).
39
39
40
40
### Limitations
41
41
@@ -45,33 +45,37 @@ Using containers provides an easy way to run Batch tasks without having to manag
45
45
46
46
## Supported virtual machine images
47
47
48
-
Use one of the following supported Windows or Linux images to create a pool of VM compute nodes for container workloads. For more information about Marketplace images that are compatible with Batch, see [list of virtual machine images](batch-linux-nodes.md#list-of-virtual-machine-images).
48
+
Use one of the following supported Windows or Linux images to create a pool of VM compute nodes for container workloads. For more information about Marketplace images that are compatible with Batch, see [list of virtual machine images](batch-linux-nodes.md#list-of-virtual-machine-images).
49
49
50
-
### Windows images
50
+
### Windows support
51
51
52
-
For Windows container workloads, Batch currently supports the **Windows Server 2016 Datacenter with Containers** image in the Azure Marketplace. Only Docker container images are supported on Windows.
52
+
Batch supports Windows server images that have container support designations. Typically these image sku names are suffixed with `-with-containers` or `-with-containers-smalldisk`. Additionally, [the API to list all supported images in Batch](batch-linux-nodes.md#list-of-virtual-machine-images) will denote a `DockerCompatible` capability if the image supports Docker containers.
53
53
54
54
You can also create custom images from VMs running Docker on Windows.
55
55
56
-
### Linux images
56
+
### Linux support
57
57
58
-
For Linux container workloads, Batch currently supports the following Linux images published by Microsoft Azure Batch in the Azure Marketplace:
58
+
For Linux container workloads, Batch currently supports the following Linux images published by Microsoft Azure Batch in the Azure Marketplace without the need for a custom image.
59
59
60
-
***CentOS for Azure Batch container pools**
60
+
#### VM sizes without RDMA
61
61
62
-
***CentOS (with RDMA drivers) for Azure Batch container pools**
62
+
- Publisher: `microsoft-azure-batch`
63
+
- Offer: `centos-container`
64
+
- Offer: `ubuntu-server-container`
63
65
64
-
***Ubuntu Server for Azure Batch container pools**
66
+
#### VM sizes with RDMA
65
67
66
-
***Ubuntu Server (with RDMA drivers) for Azure Batch container pools**
68
+
- Publisher: `microsoft-azure-batch`
69
+
- Offer: `centos-container-rdma`
70
+
- Offer: `ubuntu-server-container-rdma`
67
71
68
-
These images are only supported for use in Azure Batch pools. They feature:
72
+
These images are only supported for use in Azure Batch pools and are geared for Docker container execution. They feature:
69
73
70
-
* A pre-installed [Moby](https://github.com/moby/moby) container runtime
74
+
* A pre-installed Docker-compatible [Moby](https://github.com/moby/moby) container runtime
71
75
72
-
* Pre-installed NVIDIA GPU drivers, to streamline deployment on Azure N-series VMs
76
+
* Pre-installed NVIDIA GPU drivers and NVIDIA container runtime, to streamline deployment on Azure N-series VMs
73
77
74
-
*Your choice of images with or without pre-installed RDMA drivers. These drivers allow pool nodes to access the Azure RDMA network when deployed on RDMA-capable VM sizes.
78
+
*Pre-installed/pre-configured image with support for Infiniband RDMA VM sizes for images with the suffix of `-rdma`. Currently these images do not support SR-IOV IB/RDMA VM sizes.
75
79
76
80
You can also create custom images from VMs running Docker on one of the Linux distributions that is compatible with Batch. If you choose to provide your own custom Linux image, see the instructions in [Use a managed custom image to create a pool of virtual machines](batch-custom-images.md).
@@ -224,17 +228,17 @@ CloudPool pool = batchClient.PoolOperations.CreatePool(
224
228
225
229
To run a container task on a container-enabled pool, specify container-specific settings. Settings include the image to use, registry, and container run options.
226
230
227
-
* Use the `ContainerSettings` property of the task classes to configure container-specific settings. These settings are defined by the [TaskContainerSettings](/dotnet/api/microsoft.azure.batch.taskcontainersettings) class. Note that the `--rm` container option doesn't require an additional `--runtime` option since it is taken care of by Batch.
231
+
* Use the `ContainerSettings` property of the task classes to configure container-specific settings. These settings are defined by the [TaskContainerSettings](/dotnet/api/microsoft.azure.batch.taskcontainersettings) class. Note that the `--rm` container option doesn't require an additional `--runtime` option since it is taken care of by Batch.
228
232
229
233
* If you run tasks on container images, the [cloud task](/dotnet/api/microsoft.azure.batch.cloudtask) and [job manager task](/dotnet/api/microsoft.azure.batch.cloudjob.jobmanagertask) require container settings. However, the [start task](/dotnet/api/microsoft.azure.batch.starttask), [job preparation task](/dotnet/api/microsoft.azure.batch.cloudjob.jobpreparationtask), and [job release task](/dotnet/api/microsoft.azure.batch.cloudjob.jobreleasetask) do not require container settings (that is, they can run within a container context or directly on the node).
230
234
231
235
### Container task command line
232
236
233
-
When you run a container task, Batch automatically uses the [docker create](https://docs.docker.com/engine/reference/commandline/create/) command to create a container using the image specified in the task. Batch then controls task execution in the container.
237
+
When you run a container task, Batch automatically uses the [docker create](https://docs.docker.com/engine/reference/commandline/create/) command to create a container using the image specified in the task. Batch then controls task execution in the container.
234
238
235
239
As with non-container Batch tasks, you set a command line for a container task. Because Batch automatically creates the container, the command line only specifies the command or commands that will run in the container.
236
240
237
-
If the container image for a Batch task is configured with an [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example) script, you can set your command line to either use the default ENTRYPOINT or override it:
241
+
If the container image for a Batch task is configured with an [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example) script, you can set your command line to either use the default ENTRYPOINT or override it:
238
242
239
243
* To use the default ENTRYPOINT of the container image, set the task command line to the empty string `""`.
A Batch container task executes in a working directory in the container that is very similar to the directory Batch sets up for a regular (non-container) task. Note that this working directory is different from the [WORKDIR](https://docs.docker.com/engine/reference/builder/#workdir) if configured in the image, or the default container working directory (`C:\` on a Windows container, or `/` on a Linux container).
251
+
A Batch container task executes in a working directory in the container that is very similar to the directory Batch sets up for a regular (non-container) task. Note that this working directory is different from the [WORKDIR](https://docs.docker.com/engine/reference/builder/#workdir) if configured in the image, or the default container working directory (`C:\` on a Windows container, or `/` on a Linux container).
248
252
249
253
For a Batch container task:
250
254
251
255
* All directories recursively below the `AZ_BATCH_NODE_ROOT_DIR` on the host node (the root of Azure Batch directories) are mapped into the container
252
256
* All task environment variables are mapped into the container
253
-
* The task working directory `AZ_BATCH_TASK_WORKING_DIR` on the node is set the same as for a regular task and mapped into the container.
257
+
* The task working directory `AZ_BATCH_TASK_WORKING_DIR` on the node is set the same as for a regular task and mapped into the container.
254
258
255
259
These mappings allow you to work with container tasks in much the same way as non-container tasks. For example, install applications using application packages, access resource files from Azure Storage, use task environment settings, and persist task output files after the container stops.
256
260
257
261
### Troubleshoot container tasks
258
262
259
-
If your container task doesn't run as expected, you might need to get information about the WORKDIR or ENTRYPOINT configuration of the container image. To see the configuration, run the [docker image inspect](https://docs.docker.com/engine/reference/commandline/image_inspect/) command.
263
+
If your container task doesn't run as expected, you might need to get information about the WORKDIR or ENTRYPOINT configuration of the container image. To see the configuration, run the [docker image inspect](https://docs.docker.com/engine/reference/commandline/image_inspect/) command.
260
264
261
265
If needed, adjust the settings of the container task based on the image:
262
266
@@ -266,7 +270,7 @@ If needed, adjust the settings of the container task based on the image:
266
270
267
271
## Container task examples
268
272
269
-
The following Python snippet shows a basic command line running in a container created from a fictitious image pulled from Docker Hub. Here, the `--rm` container option removes the container after the task finishes, and the `--workdir` option sets a working directory. The command line overrides the container ENTRYPOINT with a simple shell command that writes a small file to the task working directory on the host.
273
+
The following Python snippet shows a basic command line running in a container created from a fictitious image pulled from Docker Hub. Here, the `--rm` container option removes the container after the task finishes, and the `--workdir` option sets a working directory. The command line overrides the container ENTRYPOINT with a simple shell command that writes a small file to the task working directory on the host.
270
274
271
275
```python
272
276
task_id ='sampletask'
@@ -295,7 +299,7 @@ TaskContainerSettings cmdContainerSettings = new TaskContainerSettings (
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-synthesis-markup.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,7 @@ By default, the text-to-speech service synthesizes text using a neutral speaking
190
190
191
191
Currently, speaking style adjustments are supported for these neural voices:
192
192
*`en-US-JessaNeural`
193
+
*`pt-BR-FranciscaNeural`
193
194
*`zh-CN-XiaoxiaoNeural`
194
195
195
196
Changes are applied at the sentence level, and style vary by voice. If a style isn't supported, the service will return speech in the default neutral speaking style.
@@ -215,6 +216,7 @@ Use this table to determine which speaking styles are supported for each neural
215
216
||`type="chat"`| Speak in a casual, relaxed tone |
216
217
||`type="newscast"`| Expresses a formal tone, similar to news broadcasts |
217
218
||`type="customerservice"`| Speak in a friendly and patient way as customer service |
219
+
|`pt-BR-FranciscaNeural`|`type="cheerful"`| Expresses an emotion that is positive and happy |
218
220
|`zh-CN-XiaoxiaoNeural`|`type="newscast"`| Expresses a formal tone, similar to news broadcasts |
219
221
||`type="sentiment"`| Conveys a touching message or a story |
0 commit comments