Skip to content

Commit

Permalink
Added separate version for getUploadToken endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Truong committed Dec 3, 2024
1 parent ee964eb commit 1384db1
Show file tree
Hide file tree
Showing 50 changed files with 4,232 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"title": "Connectors_CreateOrUpdate",
"operationId": "Connectors_CreateOrUpdate",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "74f5e23f-d4d9-410a-bb4d-8f0608adb10d",
"connectorName": "testconnector1",
"resource": {
"properties": {
"connectorType": "AzureMonitor"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"connectorId": "430a444e-6a84-4a6f-8c50-124843ca7cd4",
"tenantId": "23a8d1da-a7e9-4443-9797-4cd3e3aeb8f8",
"connectorType": "AzureMonitor",
"lastRunTimeStamp": "2024-03-19T06:23:56.238Z"
},
"id": "/subscriptions/74f5e23f-d4d9-410a-bb4d-8f0608adb10d/providers/Microsoft.Impact/connectors/testconnector1",
"name": "testconnector1",
"type": "microsoft.impact/connectors",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-03-07T06:19:01.6431721Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-03-15T08:29:20.8549373Z"
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
},
"body": {
"properties": {
"provisioningState": "Succeeded",
"connectorId": "430a444e-6a84-4a6f-8c50-124843ca7cd4",
"tenantId": "23a8d1da-a7e9-4443-9797-4cd3e3aeb8f8",
"connectorType": "AzureMonitor",
"lastRunTimeStamp": "2024-03-19T06:23:56.238Z"
},
"id": "/subscriptions/74f5e23f-d4d9-410a-bb4d-8f0608adb10d/providers/Microsoft.Impact/connectors/testconnector1",
"name": "testconnector1",
"type": "microsoft.impact/connectors",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-03-07T06:19:01.6431721Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-03-15T08:29:20.8549373Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "Connectors_Delete",
"operationId": "Connectors_Delete",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "8F74B371-8573-4773-9BDA-D546505BDB3A",
"connectorName": "testconnector1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Connectors_Get",
"operationId": "Connectors_Get",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "74f5e23f-d4d9-410a-bb4d-8f0608adb10d",
"connectorName": "testconnector1"
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"connectorId": "430a444e-6a84-4a6f-8c50-124843ca7cd4",
"tenantId": "23a8d1da-a7e9-4443-9797-4cd3e3aeb8f8",
"connectorType": "AzureMonitor",
"lastRunTimeStamp": "2024-03-19T06:23:56.238Z"
},
"id": "/subscriptions/74f5e23f-d4d9-410a-bb4d-8f0608adb10d/providers/Microsoft.Impact/connectors/testconnector1",
"name": "testconnector1",
"type": "microsoft.impact/connectors",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-03-07T06:19:01.6431721Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-03-15T08:29:20.8549373Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "Connectors_ListBySubscription",
"operationId": "Connectors_ListBySubscription",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "74f5e23f-d4d9-410a-bb4d-8f0608adb10d"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"provisioningState": "Succeeded",
"connectorId": "430a444e-6a84-4a6f-8c50-124843ca7cd4",
"tenantId": "23a8d1da-a7e9-4443-9797-4cd3e3aeb8f8",
"connectorType": "AzureMonitor",
"lastRunTimeStamp": "2024-03-19T06:23:56.238Z"
},
"id": "/subscriptions/74f5e23f-d4d9-410a-bb4d-8f0608adb10d/providers/Microsoft.Impact/connectors/testconnector1",
"name": "testconnector1",
"type": "microsoft.impact/connectors",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-03-07T06:19:01.6431721Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-03-15T08:29:20.8549373Z"
}
}
],
"nextLink": "https://microsoft.com/a"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"title": "Connectors_Update",
"operationId": "Connectors_Update",
"parameters": {
"api-version": "2024-05-01-preview",
"subscriptionId": "74f5e23f-d4d9-410a-bb4d-8f0608adb10d",
"connectorName": "testconnector1",
"properties": {
"properties": {
"connectorType": "AzureMonitor"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"connectorId": "430a444e-6a84-4a6f-8c50-124843ca7cd4",
"tenantId": "23a8d1da-a7e9-4443-9797-4cd3e3aeb8f8",
"connectorType": "AzureMonitor",
"lastRunTimeStamp": "2024-03-19T06:23:56.238Z"
},
"id": "/subscriptions/74f5e23f-d4d9-410a-bb4d-8f0608adb10d/providers/Microsoft.Impact/connectors/testconnector1",
"name": "testconnector1",
"type": "microsoft.impact/connectors",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2024-03-07T06:19:01.6431721Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-03-15T08:29:20.8549373Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"operationId": "ImpactCategories_Get",
"title": "Get WorkloadImpact Resource by name",
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"impactCategoryName": "ARMOperation.Create"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/ARMOperation.Create",
"name": "ARMOperation.Create",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report problems related to creating a new azure virtual machine such as provisioning or allocation failures.",
"categoryId": "778f815b-6576-4a36-bea9-bffb3d26d7f4",
"parentCategoryId": "36266d25-9c53-40b3-af41-27418b11851e",
"requiredImpactProperties": [
{
"name": "armCorrelations"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"operationId": "ImpactCategories_ListBySubscription",
"title": "Get ImpactCategories list by subscription",
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceType": "microsoft.compute/virtualmachines",
"api-version": "2024-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/ARMOperation.Create",
"name": "ARMOperation.Create",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report problems related to creating a new azure virtual machine such as provisioning or allocation failures.",
"categoryId": "778f815b-6576-4a36-bea9-bffb3d26d7f4",
"parentCategoryId": "36266d25-9c53-40b3-af41-27418b11851e",
"requiredImpactProperties": [
{
"name": "armCorrelations"
}
]
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/ARMOperation.Delete",
"name": "ARMOperation.Delete",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report failures in deleting VMs.",
"categoryId": "a9a0c6e2-1208-406f-8f4f-1ccc13fb75d5",
"parentCategoryId": "36266d25-9c53-40b3-af41-27418b11851e",
"requiredImpactProperties": [
{
"name": "armCorrelations"
}
]
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/ARMOperation.Other",
"name": "ARMOperation.Other",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report Control Plane operation failures that don't fall into other ARMOperation categories",
"categoryId": "7b71f937-9344-499c-bfbe-d86fb755d891",
"parentCategoryId": "36266d25-9c53-40b3-af41-27418b11851e",
"requiredImpactProperties": [
{
"name": "armCorrelations"
}
]
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/Resource.Connectivity",
"name": "Resource.Connectivity",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report connectivity issues to or from a VM.",
"categoryId": "95903644-3a15-4e37-b4be-a2ae8651f27b",
"parentCategoryId": "a8d1c1ae-5fcb-4a8b-a647-fd0a911e8667"
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/ImpactCategories/Resource.Connectivity.Inbound",
"name": "Resource.Connectivity.Inbound",
"type": "Microsoft.Impact/impactCategories",
"properties": {
"description": "Use this to report inbound connectivity issues to a VM.",
"categoryId": "940fb706-8586-4a0e-bb18-2e2d0ef0708d",
"parentCategoryId": "95903644-3a15-4e37-b4be-a2ae8651f27b"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"operationId": "Insights_Create",
"title": "Creating an insight",
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"workloadImpactName": "impactid22",
"insightName": "insightId12",
"resource": {
"properties": {
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"eventTime": "2023-06-15T04:00:00.009223Z",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22/insights/insightId12",
"name": "insightId12",
"type": "Microsoft.Impact/insights",
"properties": {
"eventTime": "2023-06-15T04:00:00.009223Z",
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22/insights/insightId12",
"name": "insightId12",
"type": "Microsoft.Impact/insights",
"properties": {
"eventTime": "2023-06-15T04:00:00.009223Z",
"content": {
"title": "Impact Has been correlated to an outage",
"description": "At 2018-11-08T00:00:00Z UTC, your services dependent on these resources <link href=”…”>VM1</link> may have experienced an issue. <br/><div>We have identified an outage that affected these resources(s). You can look at outage information on <link href=\"https:// portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues/trackingId/NL2W-VCZ\">NL2W-VCZ</link> link.<div>"
},
"category": "repair",
"status": "resolved",
"insightUniqueId": "00000000-0000-0000-0000-000000000000",
"impact": {
"impactedResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-rg/providers/Microsoft.Sql/sqlserver/dbservername",
"startTime": "2023-06-15T01:00:00.009223Z",
"impactId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.Impact/workloadImpacts/impactid22"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"operationId": "Insights_Delete",
"title": "Delete an Insight",
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2024-05-01-preview",
"workloadImpactName": "impactid22",
"insightName": "insightId12"
},
"responses": {
"200": {},
"204": {}
}
}
Loading

0 comments on commit 1384db1

Please sign in to comment.