Skip to content

Commit 39dc764

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into work01
2 parents 0579a12 + 5c9ddd9 commit 39dc764

18 files changed

+31
-265
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51144,6 +51144,11 @@
5114451144
"source_path": "articles/healthcare-apis/configure-local-rbac.md",
5114551145
"redirect_url": "/azure/healthcare-apis/azure-api-for-fhir-additional-settings",
5114651146
"redirect_document_id": false
51147+
},
51148+
{
51149+
"source_path": "articles/media-services/previous/media-services-configure-tricaster-live-encoder.md",
51150+
"redirect_url": "/azure/media-services",
51151+
"redirect_document_id": false
5114751152
}
5114851153
]
5114951154
}

articles/active-directory/managed-identities-azure-resources/overview.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@ There are two types of managed identities:
4848
- A **user-assigned managed identity** is created as a standalone Azure resource. Through a create process, Azure creates an identity in the Azure AD tenant that's trusted by the subscription in use. After the identity is created, the identity can be assigned to one or more Azure service instances. The lifecycle of a user-assigned identity is managed separately from the lifecycle of the Azure service instances to which it's assigned.
4949

5050
Internally, managed identities are service principals of a special type, which are locked to only be used with Azure resources. When the managed identity is deleted, the corresponding service principal is automatically removed.
51+
Also, when a User-Assigned or System-Assigned Identity is created, the Managed Identity Resource Provider (MSRP) issues a certificate internally to that identity.
5152

52-
Your code can use a managed identity to request access tokens for services that support Azure AD authentication. Azure takes care of rolling the credentials that are used by the service instance.
53+
Your code can use a managed identity to request access tokens for services that support Azure AD authentication. Azure takes care of rolling the credentials that are used by the service instance.
54+
55+
## Credential Rotation
56+
Credential rotation is controlled by the resource provider that hosts the Azure resource. The default rotation of the credential occurs every 46 days. It's up to the resource provider to call for new credentials, so the resource provider could wait longer than 46 days.
5357

5458
The following diagram shows how managed service identities work with Azure virtual machines (VMs):
5559

articles/cognitive-services/text-analytics/includes/quickstarts/java-sdk.md

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.reviewer: tasharm, assafi, sumeh
1313

1414
<a name="HOLTop"></a>
1515

16-
[Reference documentation](https://aka.ms/azsdk-java-textanalytics-ref-docs) | [Library source code](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/1.0.0-beta.3) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics)
16+
[Reference documentation](https://aka.ms/azsdk-java-textanalytics-ref-docs) | [Library source code](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/1.0.0-beta.4) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics)
1717

1818
## Prerequisites
1919

@@ -27,14 +27,14 @@ ms.reviewer: tasharm, assafi, sumeh
2727

2828
### Add the client library
2929

30-
Create a Maven project in your preferred IDE or development environment. Then add the following dependency to your project's *pom.xml* file. You can find the implementation syntax [for other build tools](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/1.0.0-beta.3) online.
30+
Create a Maven project in your preferred IDE or development environment. Then add the following dependency to your project's *pom.xml* file. You can find the implementation syntax [for other build tools](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/1.0.0-beta.4) online.
3131

3232
```xml
3333
<dependencies>
3434
<dependency>
3535
<groupId>com.azure</groupId>
3636
<artifactId>azure-ai-textanalytics</artifactId>
37-
<version>1.0.0-beta.3</version>
37+
<version>1.0.0-beta.4</version>
3838
</dependency>
3939
</dependencies>
4040
```
@@ -45,6 +45,7 @@ Create a Maven project in your preferred IDE or development environment. Then ad
4545
Create a Java file named `TextAnalyticsSamples.java`. Open the file and add the following `import` statements:
4646

4747
```java
48+
import com.azure.core.credential.AzureKeyCredential;
4849
import com.azure.ai.textanalytics.models.*;
4950
import com.azure.ai.textanalytics.TextAnalyticsClientBuilder;
5051
import com.azure.ai.textanalytics.TextAnalyticsClient;
@@ -71,7 +72,6 @@ public static void main(String[] args) {
7172
sentimentAnalysisExample(client);
7273
detectLanguageExample(client);
7374
recognizeEntitiesExample(client);
74-
recognizePIIEntitiesExample(client);
7575
recognizeLinkedEntitiesExample(client);
7676
extractKeyPhrasesExample(client);
7777
}
@@ -97,7 +97,7 @@ Create a method to instantiate the `TextAnalyticsClient` object with the key and
9797
```java
9898
static TextAnalyticsClient authenticateClient(String key, String endpoint) {
9999
return new TextAnalyticsClientBuilder()
100-
.apiKey(new TextAnalyticsApiKeyCredential(key))
100+
.apiKey(new AzureKeyCredential(key))
101101
.endpoint(endpoint)
102102
.buildClient();
103103
}
@@ -201,34 +201,6 @@ Recognized entity: Seattle, entity category: Location, entity sub-category: GPE,
201201
Recognized entity: last week, entity category: DateTime, entity sub-category: DateRange, score: 0.8.
202202
```
203203

204-
## Using NER to recognize personal information
205-
206-
Create a new function called `recognizePIIEntitiesExample()` that takes the client that you created earlier, and call its `recognizePiiEntities()` function. The returned `RecognizePiiEntitiesResult` object will contain a list of `NamedEntity` if successful, or an `errorMessage` if not.
207-
208-
```java
209-
static void recognizePIIEntitiesExample(TextAnalyticsClient client)
210-
{
211-
// The text that need be analyzed.
212-
String text = "Insurance policy for SSN on file 123-12-1234 is here by approved.";
213-
214-
for (PiiEntity entity : client.recognizePiiEntities(text)) {
215-
System.out.printf(
216-
"Recognized personal identifiable information entity: %s, entity category: %s, %nentity sub-category: %s, score: %s.%n",
217-
entity.getText(),
218-
entity.getCategory(),
219-
entity.getSubCategory(),
220-
entity.getConfidenceScore());
221-
}
222-
}
223-
```
224-
225-
### Output
226-
227-
```console
228-
Recognized personal identifiable information entity: 123-12-1234, entity category: U.S. Social Security Number (SSN),
229-
entity sub-category: null, score: 0.85.
230-
```
231-
232204
## Entity linking
233205

234206
Create a new function called `recognizeLinkedEntitiesExample()` that takes the client that you created earlier, and call its `recognizeLinkedEntities()` function. The returned `RecognizeLinkedEntitiesResult` object will contain a list of `LinkedEntity` if successful, or an `errorMessage` if not. Since linked entities are uniquely identified, occurrences of the same entity are grouped under a `LinkedEntity` object as a list of `LinkedEntityMatch` objects.

articles/cognitive-services/text-analytics/includes/quickstarts/nodejs-sdk.md

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ npm init
5656
Install the `@azure/ai-text-analytics` NPM packages:
5757

5858
```console
59-
npm install --save @azure/[email protected].3
59+
npm install --save @azure/[email protected].4
6060
```
6161

6262
> [!TIP]
@@ -83,7 +83,7 @@ Create a file named `index.js` and add the following:
8383
```javascript
8484
"use strict";
8585

86-
const { TextAnalyticsClient, TextAnalyticsApiKeyCredential } = require("@azure/ai-text-analytics");
86+
const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics");
8787
```
8888

8989
#### [Version 2.1](#tab/version-2)
@@ -128,7 +128,7 @@ The response object is a list containing the analysis information for each docum
128128
Create a new `TextAnalyticsClient` object with your key and endpoint as parameters.
129129

130130
```javascript
131-
const textAnalyticsClient = new TextAnalyticsClient(endpoint, new TextAnalyticsApiKeyCredential(key));
131+
const textAnalyticsClient = new TextAnalyticsClient(endpoint, new AzureKeyCredential(key));
132132
```
133133

134134
#### [Version 2.1](#tab/version-2)
@@ -261,7 +261,6 @@ Document ID: 3 , Language: Chinese_Simplified
261261

262262
> [!NOTE]
263263
> In version `3.0-preview`:
264-
> * NER includes separate methods for detecting personal information.
265264
> * Entity linking is a separate request than NER.
266265
267266
Create an array of strings containing the document you want to analyze. Call the client's `recognizeEntities()` method and get the `RecognizeEntitiesResult` object. Iterate through the list of results, and print the entity name, type, subtype, offset, length, and score.
@@ -315,40 +314,6 @@ Document ID: 1
315314
Score: 0.31
316315
```
317316

318-
## Using NER to detect personal information
319-
320-
Create an array of strings containing the document you want to analyze. Call the client's `recognizePiiEntities()` method and get the `EntitiesBatchResult` object. Iterate through the list of results, and print the entity name, type, subtype, offset, length, and score.
321-
322-
323-
```javascript
324-
async function entityPiiRecognition(client){
325-
326-
const entityPiiInput = [
327-
"Insurance policy for SSN on file 123-12-1234 is here by approved."
328-
];
329-
const entityPiiResults = await client.recognizePiiEntities(entityPiiInput);
330-
331-
entityPiiResults.forEach(document => {
332-
console.log(`Document ID: ${document.id}`);
333-
document.entities.forEach(entity => {
334-
console.log(`\tName: ${entity.text} \tCategory: ${entity.category} \tSubcategory: ${entity.subCategory ? entity.subCategory : "N/A"}`);
335-
console.log(`\tScore: ${entity.score}`);
336-
});
337-
});
338-
}
339-
entityPiiRecognition(textAnalyticsClient);
340-
```
341-
342-
Run your code with `node index.js` in your console window.
343-
344-
### Output
345-
346-
```console
347-
Document ID: 0
348-
Name: 123-12-1234 Category: U.S. Social Security Number (SSN) Subcategory: N/A
349-
Score: 0.85
350-
```
351-
352317
## Entity Linking
353318

354319
Create an array of strings containing the document you want to analyze. Call the client's `recognizeLinkedEntities()` method and get the `RecognizeLinkedEntitiesResult` object. Iterate through the list of results, and print the entity name, ID, data source, url, and matches. Every object in `matches` array will contain offset, length, and score for that match.

articles/lab-services/devtest-lab-manage-formulas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: na
1313
ms.tgt_pltfrm: na
1414
ms.devlang: na
1515
ms.topic: article
16-
ms.date: 01/24/2020
16+
ms.date: 04/17/2020
1717
ms.author: spelluru
1818

1919
---
@@ -126,7 +126,7 @@ To delete a formula, follow these steps:
126126
[!INCLUDE [devtest-lab-try-it-out](../../includes/devtest-lab-try-it-out.md)]
127127

128128
## Related blog posts
129-
* [Custom images or formulas?](https://blogs.msdn.microsoft.com/devtestlab/2016/04/06/custom-images-or-formulas/)
129+
* [Custom images or formulas?](devtest-lab-faq.md#what-is-the-difference-between-a-custom-image-and-a-formula)
130130

131131
## Next steps
132132
Once you have created a formula for use when creating a VM, the next step is to [add a VM to your lab](devtest-lab-add-vm.md).

articles/media-services/latest/recommended-on-premises-live-encoders.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ When streaming via RTMPS, check firewall and/or proxy settings to confirm that o
6363
- Telestream Wirecast (version 13.0.2 or higher due to the TLS 1.2 requirement)
6464
- Telestream Wirecast S (only RTMP is supported)
6565
- Teradek Slice 756
66-
- TriCaster 8000
6766
- VMIX
6867
- xStream
6968
- [Ffmpeg](https://www.ffmpeg.org)

articles/media-services/previous/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@
257257
items:
258258
- name: Haivision KB encoder
259259
href: media-services-configure-kb-live-encoder.md
260-
- name: NewTek TriCaster encoder
261-
href: media-services-configure-tricaster-live-encoder.md
262260
- name: Wirecast encoder
263261
href: media-services-configure-wirecast-live-encoder.md
264262
- name: Handle long-running operations

articles/media-services/previous/media-services-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ For information about supported encoders, see [Encoders](media-services-encode-a
107107
## Live Streaming
108108
In Azure Media Services, a Channel represents a pipeline for processing live streaming content. A Channel receives live input streams in one of two ways:
109109

110-
* An on-premises live encoder sends multi-bitrate RTMP or Smooth Streaming (Fragmented MP4) to the Channel. You can use the following live encoders that output multi-bitrate Smooth Streaming: MediaExcel, Ateme, Imagine Communications, Envivio, Cisco and Elemental. The following live encoders output RTMP: Adobe Flash Live Encoder, [Telestream Wirecast](media-services-configure-wirecast-live-encoder.md), Teradek, Haivision and Tricaster encoders. The ingested streams pass through Channels without any further transcoding and encoding. When requested, Media Services delivers the stream to customers.
110+
* An on-premises live encoder sends multi-bitrate RTMP or Smooth Streaming (Fragmented MP4) to the Channel. You can use the following live encoders that output multi-bitrate Smooth Streaming: MediaExcel, Ateme, Imagine Communications, Envivio, Cisco and Elemental. The following live encoders output RTMP: Adobe Flash Live Encoder, [Telestream Wirecast](media-services-configure-wirecast-live-encoder.md), Teradek, Haivision encoders. The ingested streams pass through Channels without any further transcoding and encoding. When requested, Media Services delivers the stream to customers.
111111
* A single bitrate stream (in one of the following formats: RTMP, or Smooth Streaming (Fragmented MP4)) is sent to the Channel that is enabled to perform live encoding with Media Services. The Channel then performs live encoding of the incoming single bitrate stream to a multi-bitrate (adaptive) video stream. When requested, Media Services delivers the stream to customers.
112112

113113
### Channel

articles/media-services/previous/media-services-configure-kb-live-encoder.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ms.author: juliako
1919
# Use the Haivision KB live encoder to send a single bitrate live stream
2020
> [!div class="op_single_selector"]
2121
> * [Haivision](media-services-configure-kb-live-encoder.md)
22-
> * [Tricaster](media-services-configure-tricaster-live-encoder.md)
2322
> * [Wirecast](media-services-configure-wirecast-live-encoder.md)
2423
2524
This topic shows how to configure the [Havision KB live encoder](https://www.haivision.com/products/kb-series/) encoder to send a single bitrate stream to AMS channels that are enabled for live encoding. For more information, see [Working with Channels that are Enabled to Perform Live Encoding with Azure Media Services](media-services-manage-live-encoder-enabled-channels.md).

0 commit comments

Comments
 (0)