Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.ResourceHealth to add version preview/2023-07-01-preview #25447

Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,17 @@
"modelAsString": true
}
},
"eventSubType": {
"type": "string",
"description": "Sub type of the event. Currently used to determine retirement communications for health advisory events",
"enum": [
"Retirement"
],
"x-ms-enum": {
"name": "EventSubTypeValues",
"modelAsString": true
}
},
"eventSource": {
"type": "string",
"description": "Source of event.",
Expand Down Expand Up @@ -1356,6 +1367,18 @@
"impactType": {
"type": "string",
"description": "The type of the impact"
},
"maintenanceId": {
"type": "string",
"description": "Unique identifier for planned maintenance event."
},
"maintenanceType": {
"type": "string",
"description": "The type of planned maintenance event."
},
"argQuery": {
"type": "string",
"description": "Azure Resource Graph query to fetch the affected resources from their existing Azure Resource Graph locations."
}
}
}
Expand Down Expand Up @@ -2048,6 +2071,31 @@
"type": "string",
"description": "Impacted resource region name."
},
"resourceName": {
"readOnly": true,
"type": "string",
"description": "Resource name of the impacted resource."
},
"resourceGroup": {
"readOnly": true,
"type": "string",
"description": "Resource group name of the impacted resource."
},
"maintenanceStatus": {
mkatkam marked this conversation as resolved.
Show resolved Hide resolved
"readOnly": true,
"type": "string",
"description": "Status of maintenance for the impacted resource."
},
"maintenanceStartTime": {
"readOnly": true,
"type": "string",
"description": "Start time of maintenance for the impacted resource."
},
"maintenanceEndTime": {
"readOnly": true,
"type": "string",
"description": "End time of maintenance for the impacted resource."
},
"info": {
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@
"enableChatWithUs": false,
"priority": 2,
"lastUpdateTime": "2018-11-08T00:00:00Z",
"hirStage": "resolved"
"hirStage": "resolved",
"maintenanceId": "{maintenanceId}",
"maintenanceType": "{maintenanceType}",
"argQuery": "{argQuery}"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
"enableChatWithUs": false,
"priority": 2,
"lastUpdateTime": "2018-11-08T00:00:00Z",
"hirStage": "resolved"
"hirStage": "resolved",
"maintenanceId": "{maintenanceId}",
"maintenanceType": "{maintenanceType}",
"argQuery": "{argQuery}"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,50 @@
"enableChatWithUs": false,
"priority": 2,
"lastUpdateTime": "2018-11-08T00:00:00Z",
"hirStage": "resolved"
"hirStage": "resolved",
"maintenanceId": "{maintenanceId}",
"maintenanceType": "{maintenanceType}",
"argQuery": "{argQuery}"
}
},
{
"id": "Microsoft.ResourceHealth/events/ABH3-RET",
"name": "ABH3-RET",
"type": "Microsoft.ResourceHealth/events",
"properties": {
"eventType": "HealthAdvisory",
"eventSubType": "Retirement",
"eventSource": "ServiceHealth",
"status": "Active",
"title": "retirement test",
"summary": "retirement test",
"description": "retirement test",
"platformInitiated": true,
"header": "retirement test",
"level": "Warning",
"eventLevel": "Warning",
"impactStartTime": "2023-08-14T19:10:00Z",
"impactMitigationTime": "2023-08-14T20:10:00Z",
"impact": [
{
"impactedService": "Virtual Machines",
"impactedRegions": [
{
"impactedRegion": "West US",
"status": "Active",
"impactedSubscriptions": [
"{subscriptionId}"
],
"impactedTenants": [],
"lastUpdateTime": "2023-08-14T20:10:00Z"
}
]
}
],
"recommendedActions": {},
"isHIR": false,
"priority": 22,
"lastUpdateTime": "2023-08-14T20:10:00Z"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"properties": {
"targetResourceType": "Microsoft.Compute/VirtualMachines",
"targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/TEST/providers/Microsoft.Compute/virtualMachines/testvm",
"targetRegion": "westus"
"targetRegion": "westus",
"resourceName": "testvm",
"resourceGroup": "TEST",
"maintenanceStatus": "Pending",
"maintenanceStartTime": "2023-08-15T23:32:39.76Z",
"maintenanceEndTime": "2023-08-30T00:00:00.00Z"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
"properties": {
"targetResourceType": "Microsoft.Compute/VirtualMachines",
"targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/TEST/providers/Microsoft.Compute/virtualMachines/testvm",
"targetRegion": "westus"
"targetRegion": "westus",
"resourceName": "testvm",
"resourceGroup": "TEST",
"maintenanceStatus": "Pending",
"maintenanceStartTime": "2023-08-15T23:32:39.76Z",
"maintenanceEndTime": "2023-08-30T00:00:00.00Z"
}
},
{
Expand Down Expand Up @@ -51,7 +56,12 @@
"properties": {
"targetResourceType": "Microsoft.Compute/VirtualMachines",
"targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/Dev2/providers/Microsoft.Compute/virtualMachines/testvm2",
"targetRegion": "westus"
"targetRegion": "westus",
"resourceName": "testvm",
"resourceGroup": "TEST",
mkatkam marked this conversation as resolved.
Show resolved Hide resolved
"maintenanceStatus": "Pending",
"maintenanceStartTime": "2023-08-15T23:32:39.76Z",
"maintenanceEndTime": "2023-08-30T00:00:00.00Z"
}
}
],
Expand Down