Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5867959
Moving to Public Repository
vivek-microsoft Sep 18, 2018
e8b72cf
moving inside preview folder
vivek67 Sep 19, 2018
bcc6b14
updating relative path
vivek67 Sep 19, 2018
4efef08
Updating readme with code generation instructions
vivek-microsoft Oct 5, 2018
e2e0ff3
Merge branch 'master' of https://github.com/vivek-microsoft/azure-res…
vivek-microsoft Oct 5, 2018
351b566
Merge branch 'master' into master
vivek-microsoft Oct 9, 2018
3441247
Updating tag
vivek-microsoft Oct 10, 2018
8ca2559
Merge branch 'master' of https://github.com/vivek-microsoft/azure-res…
vivek-microsoft Oct 10, 2018
a796b2d
adding PUT notificationSettings api
vivek67 Nov 12, 2018
8624501
Merge branch 'master' of https://github.com/vivek-microsoft/azure-res…
vivek67 Nov 12, 2018
6713eaa
adding example file
vivek67 Nov 12, 2018
d2181a4
Fix example format
vivek67 Nov 12, 2018
73fd95c
fix validation error
vivek67 Nov 12, 2018
da2f1ad
fix validation error
vivek67 Nov 12, 2018
93b0f7b
validation error fix
vivek67 Nov 13, 2018
3d1a976
fix validation error
vivek67 Nov 14, 2018
6a5df3d
fix example
vivek67 Nov 14, 2018
716875e
fix example
vivek67 Nov 14, 2018
5027a86
fix example
vivek67 Nov 14, 2018
949fa4f
fix example
vivek67 Nov 14, 2018
79c5c95
Removing python sdk instruction from readme.md
vivek67 Nov 14, 2018
703983c
Merge branch 'master' into master
vivek-microsoft Nov 19, 2018
73ae4f0
Review comments
vivek67 Nov 20, 2018
47e7e9f
Merge branch 'master' of https://github.com/vivek-microsoft/azure-res…
vivek67 Nov 20, 2018
afeeb38
Deleting temporary file.
vivek67 Nov 20, 2018
998f970
Adding examples
vivek-microsoft Nov 21, 2018
e8ce809
review comments
vivek67 Nov 26, 2018
a5f92e4
Merge branch 'master' of https://github.com/vivek-microsoft/azure-res…
vivek67 Nov 26, 2018
d086740
Updating response format
vivek67 Nov 27, 2018
a49a4bb
Fixing json format
vivek67 Nov 27, 2018
1592500
Restoring Python sdk in readme.md
vivek67 Nov 27, 2018
5465027
Updating id in response
vivek67 Nov 27, 2018
305f074
manual edit to refer to default parameter
vivek67 Nov 27, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,149 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.WorkloadMonitor/notificationSettings/{notificationSettingName}": {
"get": {
"tags": [
"WLIExtension"
],
"summary": "Get a of notification setting for a resource.",
"operationId": "NotificationSettings_Get",
"consumes": [],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "resourceNamespace",
"in": "path",
"description": "The Namespace of the resource.",
"required": true,
"type": "string"
},
{
"name": "resourceType",
"in": "path",
"description": "The type of the resource.",
"required": true,
"type": "string"
},
{
"name": "resourceName",
"in": "path",
"description": "Name of the resource.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/notificationSettingName"
},
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "OK. At least one component found.",
"schema": {
"$ref": "#/definitions/NotificationSetting"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"NotificationSettings_Get": {
"$ref": "./examples/NotificationSettings_Get.json"
}
}
},
"put": {
"tags": [
"WLIExtension"
],
"summary": "Update notification settings for a resource.",
"operationId": "NotificationSettings_Update",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"name": "resourceNamespace",
"in": "path",
"description": "The Namespace of the resource.",
"required": true,
"type": "string"
},
{
"name": "resourceType",
"in": "path",
"description": "The type of the resource.",
"required": true,
"type": "string"
},
{
"name": "resourceName",
"in": "path",
"description": "Name of the resource.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/notificationSettingName"
},
{
"$ref": "#/parameters/api-version"
},
{
"name": "body",
"in": "body",
"description": "Body of the NotificationSetting PUT object.",
"required": true,
"schema": {
"$ref": "#/definitions/NotificationSetting"
}
}
],
"responses": {
"200": {
"description": "OK. At least one component found.",
"schema": {
"$ref": "#/definitions/NotificationSetting"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"NotificationSettings_Update": {
"$ref": "./examples/NotificationSettings_Update.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.WorkloadMonitor/componentsSummary": {
"get": {
"tags": [
Expand Down Expand Up @@ -1446,23 +1589,22 @@
"description": "Model for collection of notificationSettings.",
"type": "object",
"properties": {
"nextLink": {
"description": "URL to the next set of results.",
"type": "string",
"readOnly": true
},
"value": {
"description": "Collection of components.",
"type": "array",
"items": {
"$ref": "#/definitions/NotificationSetting"
},
}
},
"nextLink": {
"description": "URL to the next set of results.",
"type": "string",
"readOnly": true
}
}
},
"x-ms-azure-resource": true
},
"NotificationSetting": {
"description": "Model for component.",
"description": "Model for NotificationSetting.",
"type": "object",
"allOf": [
{
Expand All @@ -1477,7 +1619,7 @@
},
"properties": {
"$ref": "#/definitions/NotificationSettingProperties",
"description": "Properties of the component.",
"description": "Properties of Notification Settings",
"readOnly": true,
"x-ms-client-flatten": true
}
Expand All @@ -1487,7 +1629,7 @@
"description": "Model for properties of a NotificationSetting.",
"type": "object",
"properties": {
"actionGroups": {
"actionGroupResourceIds": {
"description": "List of action group resource ids to be notified",
"type": "array",
"items": {
Expand Down Expand Up @@ -1696,6 +1838,17 @@
"type": "string",
"format": "uuid",
"x-ms-parameter-location": "method"
},
"notificationSettingName": {
"name": "notificationSettingName",
"in": "path",
"description": "Default string modeled as parameter for URL to work correctly.",
"required": true,
"type": "string",
"enum": [
"default"
],
"x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -111,7 +111,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'",
"name": "ComponentId='06400e6a-6bac-1717-1e0d-e28f31a2e88b'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -163,7 +163,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'",
"name": "ComponentId='804fc44e-c49d-58f0-3b03-bf24f7d11663'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -215,7 +215,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'",
"name": "ComponentId='1a526816-f757-7328-d0b2-7daf65fd919b'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -267,7 +267,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'",
"name": "ComponentId='767aea7b-2a28-8c7b-9a61-153eeced9466'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -319,7 +319,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'",
"name": "ComponentId='ebf38b50-d78a-817b-89ee-0e5870c643ef'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -371,7 +371,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='05a70c91-2163-d974-638d-2ddda2308153'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='05a70c91-2163-d974-638d-2ddda2308153'",
"name": "ComponentId='05a70c91-2163-d974-638d-2ddda2308153'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
},
Expand Down Expand Up @@ -423,7 +423,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/components/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/components/ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'",
"name": "ComponentId='3d945642-b98c-37b1-a75c-ee03cdb599ad'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/components"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
},
"etag": null,
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.WorkloadMonitor/workloadInsights/Canary-WLI-2/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'",
"id": "/subscriptions/a7f23fdb-e626-4f95-89aa-3a360a90861e/resourcegroups/viv_rg/providers/Microsoft.Compute/virtualMachines/Canary-WLI-2/providers/Microsoft.WorkloadMonitor/healthInstances/ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'",
"name": "ComponentId='d91ce384-b682-883a-d02b-129bf37f218b',MonitorId=052f9b7d-7bf0-7f61-966b-f372e207ef4e'",
"type": "Microsoft.WorkloadMonitor/workloadInsights/healthInstances"
}
Expand Down
Loading