Skip to content

Commit 5571604

Browse files
committed
2 parents 334e357 + a964da8 commit 5571604

File tree

95 files changed

+1356
-1773
lines changed

Some content is hidden

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

95 files changed

+1356
-1773
lines changed

.openpublishing.redirection.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7556,6 +7556,46 @@
75567556
"redirect_url": "/azure/azure-monitor/app/java-get-started",
75577557
"redirect_document_id": false
75587558
},
7559+
{
7560+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-disable-instrumentation-engine.md",
7561+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7562+
"redirect_document_id": false
7563+
},
7564+
{
7565+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-disable-monitoring.md",
7566+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7567+
"redirect_document_id": false
7568+
},
7569+
{
7570+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-enable-instrumentation-engine.md",
7571+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7572+
"redirect_document_id": false
7573+
},
7574+
{
7575+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-enable-monitoring.md",
7576+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7577+
"redirect_document_id": false
7578+
},
7579+
{
7580+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-get-config.md",
7581+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7582+
"redirect_document_id": false
7583+
},
7584+
{
7585+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-get-status.md",
7586+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7587+
"redirect_document_id": false
7588+
},
7589+
{
7590+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-set-config.md",
7591+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7592+
"redirect_document_id": false
7593+
},
7594+
{
7595+
"source_path": "articles/azure-monitor/app/status-monitor-v2-api-start-trace.md",
7596+
"redirect_url": "/azure/azure-monitor/app/status-monitor-v2-api-reference.md",
7597+
"redirect_document_id": false
7598+
},
75597599
{
75607600
"source_path": "articles/application-insights/app-insights-mobile-hockeyapp.md",
75617601
"redirect_url": "/azure/azure-monitor/app/hockeyapp-bridge-app",

articles/active-directory-b2c/claim-resolver-overview.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 03/30/2020
12+
ms.date: 04/21/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---
@@ -86,7 +86,14 @@ The following sections list available claim resolvers.
8686
| {Context:IPAddress} | The user IP address. | 11.111.111.11 |
8787
| {Context:KMSI} | Indicates whether [Keep me signed in](custom-policy-keep-me-signed-in.md) checkbox is selected. | true |
8888

89-
### Non-protocol parameters
89+
### Claims
90+
91+
| Claim | Description | Example |
92+
| ----- | ----------- | --------|
93+
| {Claim:claim type} | An identifier of a claim type already defined in the ClaimsSchema section in the policy file or parent policy file. For example: `{Claim:displayName}`, or `{Claim:objectId}`. | A claim type value.|
94+
95+
96+
### OAuth2 key-value parameters
9097

9198
Any parameter name included as part of an OIDC or OAuth2 request can be mapped to a claim in the user journey. For example, the request from the application might include a query string parameter with a name of `app_session`, `loyalty_number`, or any custom query string.
9299

@@ -114,6 +121,7 @@ Any parameter name included as part of an OIDC or OAuth2 request can be mapped t
114121
| {SAML:AllowCreate} | The `AllowCreate` attribute value, from the `NameIDPolicy` element of the SAML request. | True |
115122
| {SAML:ForceAuthn} | The `ForceAuthN` attribute value, from the `AuthnRequest` element of the SAML request. | True |
116123
| {SAML:ProviderName} | The `ProviderName` attribute value, from the `AuthnRequest` element of the SAML request.| Contoso.com |
124+
| {SAML:RelayState} | The `RelayState` query string parameter.|
117125

118126
## Using claim resolvers
119127

articles/active-directory-b2c/string-transformations.md

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 03/16/2020
12+
ms.date: 04/21/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---
@@ -365,7 +365,7 @@ Copies localized strings into claims.
365365

366366
| Item | TransformationClaimType | Data Type | Notes |
367367
| ---- | ----------------------- | --------- | ----- |
368-
| OutputClaim | The name of the localized string | string | List of claim types that is produced after this claims transformation has been invoked. |
368+
| OutputClaim | The name of the localized string | string | List of claim types that are produced after this claims transformation has been invoked. |
369369

370370
To use the GetLocalizedStringsTransformation claims transformation:
371371

@@ -611,13 +611,17 @@ Checks that a string claim `claimToMatch` and `matchTo` input parameter are equa
611611
| inputClaim | claimToMatch | string | The claim type, which is to be compared. |
612612
| InputParameter | matchTo | string | The regular expression to match. |
613613
| InputParameter | outputClaimIfMatched | string | The value to be set if strings are equal. |
614+
| InputParameter | extractGroups | boolean | [Optional] Specifies whether the Regex match should extract groups values. Possible values: `true`, or `false` (default). |
614615
| OutputClaim | outputClaim | string | If regular expression is match, this output claim contains the value of `outputClaimIfMatched` input parameter. Or null, if no match. |
615616
| OutputClaim | regexCompareResultClaim | boolean | The regular expression match result output claim type, which is to be set as `true` or `false` based on the result of matching. |
617+
| OutputClaim| The name of the claim| string | If the extractGroups input parameter set to true, list of claim types that are produced after this claims transformation has been invoked. The name of the claimType must match the Regex group name. |
616618

617-
For example, checks whether the provided phone number is valid, based on phone number regular expression pattern.
619+
### Example 1
620+
621+
Checks whether the provided phone number is valid, based on phone number regular expression pattern.
618622

619623
```XML
620-
<ClaimsTransformation Id="SetIsPhoneRegex" TransformationMethod="setClaimsIfRegexMatch">
624+
<ClaimsTransformation Id="SetIsPhoneRegex" TransformationMethod="SetClaimsIfRegexMatch">
621625
<InputClaims>
622626
<InputClaim ClaimTypeReferenceId="phone" TransformationClaimType="claimToMatch" />
623627
</InputClaims>
@@ -632,8 +636,6 @@ For example, checks whether the provided phone number is valid, based on phone n
632636
</ClaimsTransformation>
633637
```
634638

635-
### Example
636-
637639
- Input claims:
638640
- **claimToMatch**: "64854114520"
639641
- Input parameters:
@@ -643,6 +645,39 @@ For example, checks whether the provided phone number is valid, based on phone n
643645
- **outputClaim**: "isPhone"
644646
- **regexCompareResultClaim**: true
645647

648+
### Example 2
649+
650+
Checks whether the provided email address is valid, and return the email alias.
651+
652+
```XML
653+
<ClaimsTransformation Id="GetAliasFromEmail" TransformationMethod="SetClaimsIfRegexMatch">
654+
<InputClaims>
655+
<InputClaim ClaimTypeReferenceId="email" TransformationClaimType="claimToMatch" />
656+
</InputClaims>
657+
<InputParameters>
658+
<InputParameter Id="matchTo" DataType="string" Value="(?&lt;mailAlias&gt;.*)@(.*)$" />
659+
<InputParameter Id="outputClaimIfMatched" DataType="string" Value="isEmail" />
660+
<InputParameter Id="extractGroups" DataType="boolean" Value="true" />
661+
</InputParameters>
662+
<OutputClaims>
663+
<OutputClaim ClaimTypeReferenceId="validationResult" TransformationClaimType="outputClaim" />
664+
<OutputClaim ClaimTypeReferenceId="isEmailString" TransformationClaimType="regexCompareResultClaim" />
665+
<OutputClaim ClaimTypeReferenceId="mailAlias" />
666+
</OutputClaims>
667+
</ClaimsTransformation>
668+
```
669+
670+
- Input claims:
671+
- **claimToMatch**: "[email protected]"
672+
- Input parameters:
673+
- **matchTo**: `(?&lt;mailAlias&gt;.*)@(.*)$`
674+
- **outputClaimIfMatched**: "isEmail"
675+
- **extractGroups**: true
676+
- Output claims:
677+
- **outputClaim**: "isEmail"
678+
- **regexCompareResultClaim**: true
679+
- **mailAlias**: emily
680+
646681
## SetClaimsIfStringsAreEqual
647682

648683
Checks that a string claim and `matchTo` input parameter are equal, and sets the output claims with the value present in `stringMatchMsg` and `stringMatchMsgCode` input parameters, along with compare result output claim, which is to be set as `true` or `false` based on the result of comparison.

articles/active-directory-b2c/stringcollection-transformations.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 02/27/2020
12+
ms.date: 04/21/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---
@@ -155,4 +155,38 @@ Following example checks whether the `roles` stringCollection claim type contain
155155
- Output claims:
156156
- **outputClaim**: "true"
157157

158+
## StringCollectionContainsClaim
158159

160+
Checks if a StringCollection claim type contains a claim value.
161+
162+
| Item | TransformationClaimType | Data Type | Notes |
163+
| ---- | ----------------------- | --------- | ----- |
164+
| InputClaim | collection | stringCollection | The claim type which is to be searched. |
165+
| InputClaim | item|string| The claim type that contains the value to search.|
166+
|InputParameter|ignoreCase|string|Specifies whether this comparison should ignore the case of the strings being compared.|
167+
| OutputClaim | outputClaim | boolean | The ClaimType that is produced after this ClaimsTransformation has been invoked. A boolean indicator if the collection contains such a string |
168+
169+
Following example checks whether the `roles` stringCollection claim type contains the value of the `role` claim type.
170+
171+
```XML
172+
<ClaimsTransformation Id="HasRequiredRole" TransformationMethod="StringCollectionContainsClaim">
173+
<InputClaims>
174+
<InputClaim ClaimTypeReferenceId="roles" TransformationClaimType="collection" />
175+
<InputClaim ClaimTypeReferenceId="role" TransformationClaimType="item" />
176+
</InputClaims>
177+
<InputParameters>
178+
<InputParameter Id="ignoreCase" DataType="string" Value="true" />
179+
</InputParameters>
180+
<OutputClaims>
181+
<OutputClaim ClaimTypeReferenceId="hasAccess" TransformationClaimType="outputClaim" />
182+
</OutputClaims>
183+
</ClaimsTransformation>
184+
```
185+
186+
- Input claims:
187+
- **collection**: ["reader", "author", "admin"]
188+
- **item**: "Admin"
189+
- Input parameters:
190+
- **ignoreCase**: "true"
191+
- Output claims:
192+
- **outputClaim**: "true"

articles/app-service/webjobs-sdk-get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ In this section, you set up console logging that uses the [ASP.NET Core logging
131131
* Disables [dashboard logging](https://github.com/Azure/azure-webjobs-sdk/wiki/Queues#logs). The dashboard is a legacy monitoring tool, and dashboard logging is not recommended for high-throughput production scenarios.
132132
* Adds the console provider with default [filtering](webjobs-sdk-how-to.md#log-filtering).
133133

134-
Now, you can add a function that is triggered by messages arriving in an [Azure Storage queue](../azure-functions/functions-bindings-storage-queue.md).
134+
Now, you can add a function that is triggered by messages arriving in an Azure Storage queue.
135135

136136
## Install the Storage binding extension
137137

@@ -181,7 +181,7 @@ Starting with version 3.x, you must explicitly install the Storage binding exten
181181

182182
The `QueueTrigger` attribute tells the runtime to call this function when a new message is written on an Azure Storage queue called `queue`. The contents of the queue message are provided to the method code in the `message` parameter. The body of the method is where you process the trigger data. In this example, the code just logs the message.
183183

184-
The `message` parameter doesn't have to be a string. You can also bind to a JSON object, a byte array, or a [CloudQueueMessage](https://docs.microsoft.com/dotnet/api/microsoft.azure.storage.queue.cloudqueuemessage) object. [See Queue trigger usage](../azure-functions/functions-bindings-storage-queue-trigger.md#usage). Each binding type (such as queues, blobs, or tables) has a different set of parameter types that you can bind to.
184+
The `message` parameter doesn't have to be a string. You can also bind to a JSON object, a byte array, or a [CloudQueueMessage](https://docs.microsoft.com/dotnet/api/microsoft.azure.storage.queue.cloudqueuemessage) object. [See Queue trigger usage](/azure/azure-functions/functions-bindings-storage-queue-trigger?tabs=csharp#usage). Each binding type (such as queues, blobs, or tables) has a different set of parameter types that you can bind to.
185185

186186
## Create a storage account
187187

@@ -277,7 +277,7 @@ In this section, you build and run the project locally and trigger the function
277277

278278
Because you used the `QueueTrigger` attribute in the `ProcessQueueMessage` function, the WeJobs SDK runtime listens for queue messages when it starts up. It finds a new queue message in the queue named *queue* and calls the function.
279279

280-
Due to [queue polling exponential backoff](../azure-functions/functions-bindings-storage-queue-trigger.md#polling-algorithm), it might take as long as 2 minutes for the runtime to find the message and invoke the function. This wait time can be reduced by running in [development mode](webjobs-sdk-how-to.md#host-development-settings).
280+
Due to [queue polling exponential backoff](/azure/azure-functions/functions-bindings-storage-queue-trigger?tabs=csharp#polling-algorithm), it might take as long as 2 minutes for the runtime to find the message and invoke the function. This wait time can be reduced by running in [development mode](webjobs-sdk-how-to.md#host-development-settings).
281281

282282
The console output looks like this:
283283

@@ -441,7 +441,7 @@ During deployment, you create an app service instance in which to run your funct
441441
1. Refresh the **Queue** page, and the new message disappears because it has been processed by the function running in Azure.
442442

443443
> [!TIP]
444-
> When you're testing in Azure, use [development mode](webjobs-sdk-how-to.md#host-development-settings) to ensure that a queue trigger function is invoked right away and avoid delays due to [queue polling exponential backoff](../azure-functions/functions-bindings-storage-queue-trigger.md#polling-algorithm).
444+
> When you're testing in Azure, use [development mode](webjobs-sdk-how-to.md#host-development-settings) to ensure that a queue trigger function is invoked right away and avoid delays due to [queue polling exponential backoff](/azure/azure-functions/functions-bindings-storage-queue-trigger?tabs=csharp#polling-algorithm).
445445

446446
### View logs in Application Insights
447447

articles/automation/TOC.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,35 @@
4444
items:
4545
- name: Automation Account
4646
items:
47-
- name: Create using Azure portal
47+
- name: Create Automation account using Azure portal
4848
href: automation-create-standalone-account.md
49-
- name: Create with Resource Manager template
49+
- name: Create Automation account with Resource Manager template
5050
href: automation-create-account-template.md
5151
- name: Manage an Automation Run As account
5252
href: manage-runas-account.md
53-
- name: Role permissions and security
53+
- name: Manage role permissions and security
5454
href: automation-role-based-access-control.md
55-
- name: Move Automation Account to another subscription
55+
- name: Move Automation account to another subscription
5656
href: how-to/move-account.md
5757
- name: Migrate from System Center Orchestrator
5858
href: automation-orchestrator-migration.md
59-
- name: Manage shared resources
59+
- name: Shared resources
6060
items:
61-
- name: Certificates
61+
- name: Manage certificates
6262
href: shared-resources/certificates.md
63-
- name: Connections
63+
- name: Manage connections
6464
href: automation-connections.md
65-
- name: Credentials
65+
- name: Manage credentials
6666
href: shared-resources/credentials.md
67-
- name: PowerShell modules
67+
- name: Manage PowerShell modules
6868
items:
6969
- name: Manage modules in Azure Automation
7070
href: shared-resources/modules.md
7171
- name: Update Azure PowerShell modules
7272
href: automation-update-azure-modules.md
73-
- name: Schedules
73+
- name: Manage schedules
7474
href: shared-resources/schedules.md
75-
- name: Variables
75+
- name: Manage variables
7676
href: shared-resources/variables.md
7777
- name: Manage Python 2 packages
7878
href: python-packages.md
@@ -104,13 +104,13 @@
104104
href: automation-webhooks.md
105105
- name: Track updated files with watcher task
106106
href: automation-watchers-tutorial.md
107-
- name: Working with the Graphical runbook SDK
107+
- name: Work with the Graphical runbook SDK
108108
href: graphical-runbook-sdk.md
109109
- name: Monitor runbooks
110110
items:
111-
- name: Runbook output
111+
- name: Monitor runbook output
112112
href: automation-runbook-output-and-messages.md
113-
- name: Handle errors in Graphical runbooks
113+
- name: Handle errors in graphical runbooks
114114
href: automation-runbook-graphical-error-handling.md
115115
- name: Forward job data to Azure Monitor Logs
116116
href: automation-manage-send-joblogs-log-analytics.md
@@ -120,7 +120,7 @@
120120
href: troubleshoot/runbooks.md
121121
- name: Data to collect before opening support case
122122
href: troubleshoot/collect-data-microsoft-azure-automation-case.md
123-
- name: Hybrid Runbook Worker
123+
- name: Work with a Hybrid Runbook Worker
124124
items:
125125
- name: Deploy Windows Hybrid Runbook Worker
126126
href: automation-windows-hrw-install.md
@@ -130,15 +130,15 @@
130130
href: automation-hrw-run-runbooks.md
131131
- name: Troubleshoot Hybrid Runbook Worker
132132
href: troubleshoot/hybrid-runbook-worker.md
133-
- name: Source control integration
133+
- name: Use source control integration
134134
href: source-control-integration.md
135135
- name: Configuration Management
136136
items:
137-
- name: State Configuration (DSC)
137+
- name: Manage State Configuration (DSC)
138138
items:
139139
- name: Overview
140140
href: automation-dsc-overview.md
141-
- name: Get started using DSC
141+
- name: Get started using State Configuration
142142
href: automation-dsc-getting-started.md
143143
- name: Onboard machines for management
144144
href: automation-dsc-onboarding.md
@@ -156,13 +156,13 @@
156156
href: automation-dsc-diagnostics.md
157157
- name: Troubleshoot issues with DSC
158158
href: troubleshoot/desired-state-configuration.md
159-
- name: Change Tracking and Inventory
159+
- name: Manage Change Tracking and Inventory
160160
items:
161161
- name: Overview
162162
href: change-tracking.md
163163
- name: Supported regions for linked Log Analytics workspace
164164
href: how-to/region-mappings.md
165-
- name: Enable
165+
- name: Enable Change Tracking and Inventory
166166
items:
167167
- name: Use Azure portal
168168
href: automation-onboard-solutions-from-browse.md

0 commit comments

Comments
 (0)