Skip to content

Commit

Permalink
Update ARM Specs (#525)
Browse files Browse the repository at this point in the history
Automated PR generated by the ARM Spec Updater action
  • Loading branch information
lawrencegripper authored Oct 3, 2023
2 parents 8456d82 + f2956d5 commit 2048e06
Show file tree
Hide file tree
Showing 15 changed files with 3,033 additions and 865 deletions.
144 changes: 96 additions & 48 deletions internal/pkg/expanders/swagger-armspecs.generated.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7907,6 +7907,10 @@
"description": "WebHook activity properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/WebHookActivityTypeProperties"
},
"policy": {
"$ref": "#/definitions/SecureInputOutputPolicy",
"description": "Activity policy."
}
},
"required": [
Expand Down
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"
}
}
}
}
}
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"
}
}
}
}
}
2 changes: 1 addition & 1 deletion swagger-specs/eventgrid/data-plane/api-set.json
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"}
Loading

0 comments on commit 2048e06

Please sign in to comment.