forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding adding get ipAggregates API. (Azure#9038)
* Adding adding get ipAggregates API. * Adding 'extranet' and 'paginized' to the custom word file. * Adding Get IpAddressAggregateSettings. * Adding Patch IpAddressAggregateSettings. * Updated with PR comments. * Minor edit. * Minor change from 'Ip' to 'IP'. * Minor update. * Minor update. * Fixing test.
- Loading branch information
Showing
5 changed files
with
331 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...icrosoft.ADHybridHealthService/stable/2014-01-01/examples/IpAddressAggregateSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "sampleServiceName", | ||
"api-version": "2014-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "ipAddressAggregateSettings", | ||
"badPasswordAndExtranetLockoutCombinedDailyThreshold": 11, | ||
"badPasswordAndExtranetLockoutCombinedHourlyThreshold": 7, | ||
"extranetLockoutDailyThreshold": 7, | ||
"extranetLockoutHourlyThreshold": 8, | ||
"emailNotificationEnabled": true | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ft.ADHybridHealthService/stable/2014-01-01/examples/IpAddressAggregateSettingsUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "sampleServiceName", | ||
"IPAddressAggregateSetting": { | ||
"id": "ipAddressAggregateSettings", | ||
"badPasswordAndExtranetLockoutCombinedDailyThreshold": 11, | ||
"badPasswordAndExtranetLockoutCombinedHourlyThreshold": 7, | ||
"extranetLockoutDailyThreshold": 7, | ||
"extranetLockoutHourlyThreshold": 8, | ||
"emailNotificationEnabled": true | ||
}, | ||
"api-version": "2014-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "ipAddressAggregateSettings", | ||
"badPasswordAndExtranetLockoutCombinedDailyThreshold": 11, | ||
"badPasswordAndExtranetLockoutCombinedHourlyThreshold": 7, | ||
"extranetLockoutDailyThreshold": 7, | ||
"extranetLockoutHourlyThreshold": 8, | ||
"emailNotificationEnabled": true | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...nager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/IpAddressAggregates.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "sampleServiceName", | ||
"skiptoken": "someSkipToken", | ||
"api-version": "2014-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "MjE1MjI4L2hvdXIvRXh0cmFuZXQvLS8wL1RydWU=", | ||
"tenantId": "22fbe147-e69f-40a3-b5ee-578e52b73640", | ||
"serviceId": "1b322937-1795-43d7-988c-cdb238ff906f", | ||
"ipAddress": "-", | ||
"timestamp": "2020-02-20T23:00:00Z", | ||
"firstAuditTimestamp": "2020-02-27T23:01:12.015Z", | ||
"lastAuditTimestamp": "2020-02-26T23:44:45Z", | ||
"extranetLockoutErrorCount": 4, | ||
"badPasswordErrorCount": 24, | ||
"uniqueUsernamesAttemptedCount": 19, | ||
"attemptCountThresholdIsExceeded": true, | ||
"timeSpan": "hour", | ||
"isWhitelistedIpAddress": true, | ||
"networkLocation": "Extranet", | ||
"attemptCountThresholdOnTrigger": 0, | ||
"attemptThresholdTypeOnTrigger": "NotSet", | ||
"geographicLocation": null | ||
} | ||
], | ||
"nextLink": null, | ||
"totalCount": 1, | ||
"continuationToken": null | ||
} | ||
} | ||
} | ||
} |