Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
73d0c3c
add Swagger spec for Bing Local Search API. (#4349)
davidbargeron Oct 30, 2018
29b57c9
Add example with nested segmentation, fix number types, remove extran…
alexeldeib Oct 31, 2018
8ad0bc4
Changed the descriptions of multiple items to bring more clarity for …
ananthradhakrishnan Oct 31, 2018
86f0601
Fixed non-existent extra parameter (bug) (#4364)
wawon-msft Oct 31, 2018
4769596
[DO NOT MERGE] VA List Api version edit (#4257)
t-robalt Oct 31, 2018
eae1345
Add Devtestlabs/2018-09-15 (#4357)
Oct 31, 2018
d4365e6
Add list and get software to GuestConfiguration (#4343)
abhinav-ghai Oct 31, 2018
018cd1a
Move parameter to keep order in SDK (#4376)
EvgenyAgafonchikov Nov 1, 2018
bc29ad1
adding property ignoreMissingVNetServiceEndpoint to VirtualNetworkRul…
shurd Nov 1, 2018
6cf0272
Update openapi-authoring-automated-guidelines.md (#4369)
mozehgir Nov 1, 2018
47a559d
Fix network trace API bugs (Retake) (#4363)
michimune Nov 1, 2018
ffc3493
Update swagger with DNSConfig and GPU (#4373)
Nov 2, 2018
97f8b3a
Move version 2018-01-01 to stable folder (#4384)
solankisamir Nov 2, 2018
4769aa2
Revert Software List and GET from GuestConfig RP (private preview onl…
abhinav-ghai Nov 2, 2018
301939d
Explicitly add MongoDbTasks.json to 2018-07-15 (#4358)
vchske Nov 2, 2018
1492026
Update openapi-authoring-automated-guidelines.md (#4381)
mozehgir Nov 2, 2018
4e6184d
Reservations RP 2018-06-01 Preview: Add new reserved resource enum ty…
luluRagdoll Nov 2, 2018
9ddc1f7
fix Go SDK regex (#4388)
jhendrixMSFT Nov 2, 2018
83b9a56
Added patch API to swagger doc in Visual studio RP (#4368)
deepakabburi Nov 2, 2018
85131ef
ACR: Add contextAccessToken to Task step (#4389)
jaysterp Nov 2, 2018
7035a40
partial commit
seyedfayaz Nov 7, 2018
0a11bc8
tmp
seyedfayaz Nov 9, 2018
1ea5387
ddosPolicyCustomization swagger swagger -- no examples
seyedfayaz Nov 9, 2018
1b80ff6
swagger spec for pulic ip resource and ddos custom policy to support …
seyedfayaz Nov 9, 2018
17c33de
examples added for ddos custom policy swagger spec
seyedfayaz Nov 9, 2018
221efd9
swagger spec for ddos policy customization
seyedfayaz Nov 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
282 changes: 141 additions & 141 deletions documentation/openapi-authoring-automated-guidelines.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"version": "2018-05-05",
"title": "Azure Alerts Management Service Resource Provider",
"description": "Azure Alerts Management Service provides a single pane of glass of alerts borne from Azure Monitor."
"description": "Azure Alerts Management Service provides a single pane of glass of alerts across Azure Monitor."
},
"schemes": [
"https"
Expand Down Expand Up @@ -54,7 +54,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts": {
"get": {
"operationId": "Alerts_GetAll",
"description": "List all the existing alerts, where the results can be selective by passing multiple filter parameters including time range and sorted on specific fields. ",
"description": "List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime. ",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand Down Expand Up @@ -184,7 +184,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate": {
"post": {
"operationId": "Alerts_ChangeState",
"description": "Change the state of the alert.",
"description": "Change the state of an alert.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand Down Expand Up @@ -223,7 +223,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history": {
"get": {
"operationId": "Alerts_GetHistory",
"description": "Get the history of the changes of an alert.",
"description": "Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand All @@ -237,7 +237,7 @@
],
"responses": {
"200": {
"description": "OK. Returns the list of changes of alert.",
"description": "OK. Returns the history of the specified alert.",
"schema": {
"$ref": "#/definitions/alertModification"
}
Expand All @@ -259,7 +259,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary": {
"get": {
"operationId": "Alerts_GetSummary",
"description": "Summary of alerts with the count each severity.",
"description": "Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand Down Expand Up @@ -328,8 +328,8 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups": {
"get": {
"operationId": "SmartGroups_GetAll",
"summary": "Get all smartGroups within the subscription",
"description": "List all the smartGroups within the specified subscription. ",
"summary": "Get all Smart Groups within a specified subscription",
"description": "List all the Smart Groups within a specified subscription. ",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand Down Expand Up @@ -399,8 +399,8 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}": {
"get": {
"operationId": "SmartGroups_GetById",
"summary": "Get information of smart alerts group.",
"description": "Get details of smart group.",
"summary": "Get information related to a specific Smart Group.",
"description": "Get information related to a specific Smart Group.",
"produces": [
"application/json"
],
Expand Down Expand Up @@ -445,7 +445,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState": {
"post": {
"operationId": "SmartGroups_ChangeState",
"description": "Change the state from unresolved to resolved and all the alerts within the smart group will also be resolved.",
"description": "Change the state of a Smart Group.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand All @@ -462,7 +462,7 @@
],
"responses": {
"200": {
"description": "OK. Alert state updated.",
"description": "OK. Smart Group state updated.",
"headers": {
"x-ms-request-id": {
"type": "string",
Expand Down Expand Up @@ -490,7 +490,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history": {
"get": {
"operationId": "SmartGroups_GetHistory",
"description": "Get the history of the changes of smart group.",
"description": "Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
Expand Down Expand Up @@ -579,7 +579,7 @@
"x-ms-parameter-location": "method"
},
"monitorService": {
"description": "Filter by monitor service which is the source of the alert instance. Default value is select all.",
"description": "Filter by monitor service which generates the alert instance. Default value is select all.",
"name": "monitorService",
"type": "string",
"in": "query",
Expand Down Expand Up @@ -693,7 +693,7 @@
}
},
"monitorCondition": {
"description": "Filter by monitor condition which is the state of the monitor(alertRule) at monitor service. Default value is to select all.",
"description": "Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.",
"name": "monitorCondition",
"type": "string",
"in": "query",
Expand All @@ -709,7 +709,7 @@
}
},
"alertRule": {
"description": "Filter by alert rule(monitor) which fired alert instance. Default value is to select all.",
"description": "Filter by specific alert rule. Default value is to select all.",
"name": "alertRule",
"type": "string",
"in": "query",
Expand Down Expand Up @@ -743,7 +743,7 @@
"x-ms-parameter-location": "method"
},
"includeContext": {
"description": "Include context which has data contextual to the monitor service. Default value is false'",
"description": "Include context which has contextual data specific to the monitor service. Default value is false'",
"name": "includeContext",
"type": "boolean",
"in": "query",
Expand Down Expand Up @@ -799,7 +799,7 @@
}
},
"alertsSummaryGroupBy": {
"description": "This parameter allows the result set to be aggregated by input fields. For example, groupby=severity,alertstate.",
"description": "This parameter allows the result set to be grouped by input fields. For example, groupby=severity,alertstate.",
"name": "groupby",
"type": "string",
"in": "query",
Expand All @@ -819,7 +819,7 @@
}
},
"smartGroupsSortBy": {
"description": "Sort the query results by input field Default value is sort by 'lastModifiedDateTime'.",
"description": "Sort the query results by input field. Default value is sort by 'lastModifiedDateTime'.",
"name": "sortBy",
"type": "string",
"in": "query",
Expand Down Expand Up @@ -1015,16 +1015,16 @@
},
"alertContext": {
"type": "object",
"description": "More details which are contextual to the monitor service.",
"description": "Information specific to the monitor service that gives more contextual details about the alert.",
"readOnly": true
},
"essentials": {
"type": "object",
"description": "This object contains normalized fields across different monitor service and also contains state related fields.",
"description": "This object contains consistent fields across different monitor services.",
"properties": {
"severity": {
"type": "string",
"description": "Severity of alert Sev0 being highest and Sev3 being lowest.",
"description": "Severity of alert Sev0 being highest and Sev4 being lowest.",
"readOnly": true,
"enum": [
"Sev0",
Expand All @@ -1040,7 +1040,7 @@
},
"signalType": {
"type": "string",
"description": "Log based alert or metric based alert",
"description": "The type of signal the alert is based on, which could be metrics, logs or activity logs.",
"readOnly": true,
"enum": [
"Metric",
Expand All @@ -1054,7 +1054,7 @@
},
"alertState": {
"type": "string",
"description": "Alert object state, which is modified by the user.",
"description": "Alert object state, which can be modified by the user.",
"readOnly": true,
"enum": [
"New",
Expand All @@ -1068,7 +1068,7 @@
},
"monitorCondition": {
"type": "string",
"description": "Represents rule condition(Fired/Resolved) maintained by monitor service depending on the state of the state.",
"description": "Can be 'Fired' or 'Resolved', which represents whether the underlying conditions have crossed the defined alert rule thresholds.",
"readOnly": true,
"enum": [
"Fired",
Expand Down Expand Up @@ -1155,7 +1155,7 @@
"monitorConditionResolvedDateTime": {
"type": "string",
"format": "date-time",
"description": "Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because of the rule condition is not met.",
"description": "Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met.",
"readOnly": true
},
"lastModifiedUserName": {
Expand Down Expand Up @@ -1531,4 +1531,4 @@
}
}
}
}
}
12 changes: 6 additions & 6 deletions specification/alertsmanagement/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ go:
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-05-preview
- tag: package-2018-05
```

### Tag: package-2018-05-preview and go
### Tag: package-2018-05 and go

These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line.
These settings apply only when `--tag=package-2018-05 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-05-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-05-05-preview/$(namespace)
```
``` yaml $(tag) == 'package-2018-05' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-05-05/$(namespace)
```
Loading