-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated PR generated by the ARM Spec Updater action
- Loading branch information
Showing
15 changed files
with
3,033 additions
and
865 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
45 changes: 45 additions & 0 deletions
45
...entgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.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,45 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2018-01-01", | ||
"title": "Schema of Health Resources events published to Azure Event Grid via Azure Resource Notifications", | ||
"description": "Describes the schema of the Health Resources events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent." | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged event.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "./common.json#/definitions/ResourceNotificationsResourceUpdatedEventData" | ||
} | ||
], | ||
"x-ms-examples": { | ||
"ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventGridSchema": { | ||
"$ref": "./examples/event-grid-schema/HealthResources_AvailabilityStatusChanged.json" | ||
}, | ||
"ResourceNotificationsHealthResourcesAvailabilityStatusChangedCloudEventsSchema": { | ||
"$ref": "./examples/cloud-events-schema/HealthResources_AvailabilityStatusChanged.json" | ||
} | ||
} | ||
}, | ||
"ResourceNotificationsHealthResourcesAnnotatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated event.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "./common.json#/definitions/ResourceNotificationsResourceUpdatedEventData" | ||
} | ||
], | ||
"x-ms-examples": { | ||
"ResourceNotificationsHealthResourcesAnnotatedEventGridSchema": { | ||
"$ref": "./examples/event-grid-schema/HealthResources_ResourceAnnotated.json" | ||
}, | ||
"ResourceNotificationsHealthResourcesAnnotatedCloudEventsSchema": { | ||
"$ref": "./examples/cloud-events-schema/HealthResources_ResourceAnnotated.json" | ||
} | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...-specs/eventgrid/data-plane/Microsoft.ResourceNotifications/stable/2018-01-01/common.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,75 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2018-01-01", | ||
"title": "Schema of the common properties for Azure Resource Notifications (ARN) System topics", | ||
"description": "Describes the schema of the the common properties across all topic types published by ARN to Azure Event Grid. This corresponds to the Data property of an EventGridEvent." | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ResourceNotificationsResourceUpdatedDetails": { | ||
"description": "Describes the schema of the properties under resource info which are common across all ARN system topic events", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description": "id of the resource for which the event is being emitted", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "name of the resource for which the event is being emitted", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"description": "the type of the resource for which the event is being emitted", | ||
"type": "string" | ||
}, | ||
"location": { | ||
"description": "the location of the resource for which the event is being emitted", | ||
"type": "string" | ||
}, | ||
"tags": { | ||
"description": "the tags on the resource for which the event is being emitted", | ||
"type": "string" | ||
}, | ||
"properties": { | ||
"description": "properties in the payload of the resource for which the event is being emitted", | ||
"type": "object", | ||
"additionalProperties": { | ||
"description": "properties in the payload of the resource for which the event is being emitted" | ||
} | ||
} | ||
} | ||
}, | ||
"ResourceNotificationsOperationalDetails": { | ||
"description": "details of operational info", | ||
"type": "object", | ||
"properties": { | ||
"resourceEventTime": { | ||
"description": "Date and Time when resource was updated", | ||
"type": "string", | ||
"format": "date-time" | ||
} | ||
} | ||
}, | ||
"ResourceNotificationsResourceUpdatedEventData": { | ||
"description": "Describes the schema of the common properties across all ARN system topic events", | ||
"type": "object", | ||
"properties": { | ||
"resourceInfo": { | ||
"description": "resourceInfo details for update event", | ||
"$ref": "#/definitions/ResourceNotificationsResourceUpdatedDetails", | ||
"x-ms-client-name": "resourceDetails" | ||
}, | ||
"operationalInfo": { | ||
"description": "details about operational info", | ||
"$ref": "#/definitions/ResourceNotificationsOperationalDetails", | ||
"x-ms-client-name": "operationalDetails" | ||
}, | ||
"apiVersion": { | ||
"description": "api version of the resource properties bag", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json"], "name": "package-2018-01"} | ||
{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "Microsoft.ResourceNotifications/stable/2018-01-01/common.json", "Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json"], "name": "package-2018-01"} |
Oops, something went wrong.