|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2023-06-01", |
| 4 | + "subscriptionId": "00000000-0000-0000-0000-000000000000", |
| 5 | + "resourceGroupName": "myResourceGroup", |
| 6 | + "monitorName": "myMonitor", |
| 7 | + "requestBody": { |
| 8 | + "name": "myMonitor", |
| 9 | + "sku": { |
| 10 | + "name": "free_Monthly" |
| 11 | + }, |
| 12 | + "properties": { |
| 13 | + "userInfo": { |
| 14 | + "firstName": "Alice", |
| 15 | + "lastName": "Bob", |
| 16 | + "companyName": "Microsoft", |
| 17 | + "emailAddress": "[email protected]", |
| 18 | + "companyInfo": { |
| 19 | + "domain": "microsoft.com", |
| 20 | + "business": "Technology", |
| 21 | + "employeeNumber": "10000", |
| 22 | + "state": "WA", |
| 23 | + "country": "US" |
| 24 | + } |
| 25 | + } |
| 26 | + }, |
| 27 | + "tags": { |
| 28 | + "Environment": "Dev" |
| 29 | + }, |
| 30 | + "location": "West US 2" |
| 31 | + } |
| 32 | + }, |
| 33 | + "responses": { |
| 34 | + "200": { |
| 35 | + "body": { |
| 36 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", |
| 37 | + "name": "myMonitor", |
| 38 | + "type": "Microsoft.Elastic/monitors", |
| 39 | + "sku": { |
| 40 | + "name": "free_Monthly" |
| 41 | + }, |
| 42 | + "properties": { |
| 43 | + "provisioningState": "Succeeded", |
| 44 | + "elasticProperties": { |
| 45 | + "elasticCloudUser": { |
| 46 | + "emailAddress": "[email protected]", |
| 47 | + "id": "myid123", |
| 48 | + "elasticCloudSsoDefaultUrl": "https://examplessourl.com" |
| 49 | + }, |
| 50 | + "elasticCloudDeployment": { |
| 51 | + "name": "deploymentname", |
| 52 | + "deploymentId": "deployment_id", |
| 53 | + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", |
| 54 | + "elasticsearchRegion": "azure-westus2", |
| 55 | + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", |
| 56 | + "kibanaServiceUrl": "https://kibanaserviceurl.com", |
| 57 | + "kibanaSsoUrl": "https://kibanssourl.com" |
| 58 | + } |
| 59 | + } |
| 60 | + }, |
| 61 | + "tags": { |
| 62 | + "Environment": "Dev" |
| 63 | + }, |
| 64 | + "location": "West US 2" |
| 65 | + } |
| 66 | + }, |
| 67 | + "201": { |
| 68 | + "body": { |
| 69 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", |
| 70 | + "name": "myMonitor", |
| 71 | + "type": "Microsoft.Elastic/monitors", |
| 72 | + "sku": { |
| 73 | + "name": "free_Monthly" |
| 74 | + }, |
| 75 | + "properties": { |
| 76 | + "provisioningState": "Accepted", |
| 77 | + "monitoringStatus": "Enabled", |
| 78 | + "elasticProperties": { |
| 79 | + "elasticCloudUser": { |
| 80 | + "emailAddress": "[email protected]", |
| 81 | + "id": "myid123", |
| 82 | + "elasticCloudSsoDefaultUrl": "https://examplessourl.com" |
| 83 | + }, |
| 84 | + "elasticCloudDeployment": { |
| 85 | + "name": "deploymentname", |
| 86 | + "deploymentId": "deployment_id", |
| 87 | + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", |
| 88 | + "elasticsearchRegion": "azure-westus2", |
| 89 | + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", |
| 90 | + "kibanaServiceUrl": "https://kibanaserviceurl.com", |
| 91 | + "kibanaSsoUrl": "https://kibanssourl.com" |
| 92 | + } |
| 93 | + }, |
| 94 | + "liftrResourceCategory": "MonitorLogs", |
| 95 | + "liftrResourcePreference": 0 |
| 96 | + }, |
| 97 | + "tags": { |
| 98 | + "Environment": "Dev" |
| 99 | + }, |
| 100 | + "location": "West US 2" |
| 101 | + } |
| 102 | + } |
| 103 | + } |
| 104 | +} |
0 commit comments