Skip to content

Commit

Permalink
rename version/dir to preview and exclude examples
Browse files Browse the repository at this point in the history
  • Loading branch information
et1975 committed Jan 29, 2024
1 parent b097507 commit 0301346
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{

Check failure on line 1 in specification/eventgrid/data-plane/Microsoft.AVS/preview/2023-09-01-preview/PrivateCloud.json

View check run for this annotation

Azure Pipelines / TypeSpec Requirement

specification/eventgrid/data-plane/Microsoft.AVS/preview/2023-09-01-preview/PrivateCloud.json#L1

specification/eventgrid/data-plane/Microsoft.AVS/preview/2023-09-01-preview/PrivateCloud.json(1,1): error : OpenAPI was not generated from TypeSpec, and spec appears to be new
"swagger": "2.0",
"info": {
"version": "2023-09-01",
"version": "2023-09-01-preview",
"title": "Schema of Azure VMware Solution events published to Azure Event Grid",
"description": "Describes the schema of the Azure VMware Solution events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}",
"subject": "/clusters/{cluster_name}",
"type": "Microsoft.AVS.ClusterUpdated",
"time": "2023-12-09T16:50:19.9995668-05:00",
"id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"data": {
"added": [
"esx17-r04.p01.431cc…"
],
"removed": [
"esx15-r01.p01.431cc…"
],
"maintenance": [
"esx01-r03.p01.431cc…"
],
"operationId": "c8c0b304-2db3-402b-8a6b-06065e0e1755"
},
"specVersion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}",
"subject": "/scriptExecutions/{execution_name}",
"type": "Microsoft.AVS.ScriptExecutionFailed",
"time": "2023-12-09T16:50:19.9995668-05:00",
"id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"data": {
"operationId": "fe1cb595-71c8-47d7-b505-60d39a44d53d",
"failure": "05/04/2023 03:15:40 Get-SpbmStoragePolicy SpbmStoragePolicy with name ' RAID-5 FTT-1' was not found using the specified filter(s).",
"cmdletId": "[email protected]/Set-LocationStoragePolicy",
"output": []
},
"specVersion": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}",
"subject": "",
"type": "Microsoft.AVS.SddcUpdating",
"time": "2023-12-09T16:50:19.9995668-05:00",
"id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"data": {
"operationId": "6dcd7db8-0679-40d9-bb8a-6f2a684395e2"
},
"specVersion": "1.0"
}
6 changes: 3 additions & 3 deletions specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,14 @@ input-file:
- $(this-folder)/Microsoft.ResourceNotifications/stable/2018-01-01/common.json
- $(this-folder)/Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json
- $(this-folder)/Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json
- $(this-folder)/Microsoft.AVS/preview/2023-09-01/PrivateCloud.json
- $(this-folder)/Microsoft.AVS/preview/2023-09-01-preview/PrivateCloud.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
exclude-file:
- $(this-folder)/Microsoft.EventGrid/preview/2023-06-01-preview/examples
```

0 comments on commit 0301346

Please sign in to comment.