-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OperationalInsights] Added 201 return status to QueryPacks_CreateOrU…
…pdate (#19674) * added 201 return status to QueryPacks_CreateOrUpdate * update return contract for QP: QueryPacks_CreateOrUpdate * added queryPackName as empty string to examples * removed redundent name from 201 response example * update QP swagger
- Loading branch information
1 parent
cc2f5bd
commit 208c91d
Showing
3 changed files
with
107 additions
and
0 deletions.
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
33 changes: 33 additions & 0 deletions
33
...nager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackUpdateNoName.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-09-01", | ||
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", | ||
"resourceGroupName": "my-resource-group", | ||
"queryPackName": "", | ||
"LogAnalyticsQueryPackPayload": { | ||
"location": "South Central US", | ||
"tags": { | ||
"Tag1": "Value1" | ||
}, | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.operationalinsights/queryPacks", | ||
"type": "microsoft.operationalinsights/querypacks", | ||
"location": "South Central US", | ||
"tags": { | ||
"Tag1": "Value1" | ||
}, | ||
"properties": { | ||
"queryPackId": "aac8fc00-2b68-441e-8f9b-ded8748dc635", | ||
"timeCreated": "2019-06-04T12:37:56.8543652Z", | ||
"timeModified": "2019-08-04T12:37:56.8543652Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksCreateNoName.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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-09-01", | ||
"subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", | ||
"resourceGroupName": "my-resource-group", | ||
"queryPackName": "", | ||
"LogAnalyticsQueryPackPayload": { | ||
"location": "South Central US", | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.operationalinsights/queryPacks", | ||
"type": "microsoft.operationalinsights/querypacks", | ||
"location": "South Central US", | ||
"tags": {}, | ||
"properties": { | ||
"queryPackId": "d1c8fc00-2b68-441e-8f9b-ded8748dc635", | ||
"timeCreated": "2019-08-04T12:37:56.8543652Z", | ||
"timeModified": "2019-08-04T12:37:56.8543652Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |