-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Compare TSP conversion of Microsoft.AzureSphere #26895
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
base: main
Are you sure you want to change the base?
Conversation
PR validation pipeline restarted successfully. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛. |
Swagger Generation Artifacts
|
Rule | Message |
---|---|
RestBuild error |
"logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=405992&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b", "detail":"Run.ps1 failed with exit code 1 " |
️❌
SDK Breaking Change Tracking failed [Detail]
Breaking Changes Tracking
❌
azure-sdk-for-go - sdk/resourcemanager/sphere/armsphere - 0.3.0+ Function `*CatalogsClient.CountDevices` parameter(s) have been changed from `(context.Context, string, string, *CatalogsClientCountDevicesOptions)` to `(context.Context, string, string, any, *CatalogsClientCountDevicesOptions)` + Function `*CatalogsClient.NewListDeploymentsPager` parameter(s) have been changed from `(string, string, *CatalogsClientListDeploymentsOptions)` to `(string, string, any, *CatalogsClientListDeploymentsOptions)` + Function `*CatalogsClient.NewListDeviceInsightsPager` parameter(s) have been changed from `(string, string, *CatalogsClientListDeviceInsightsOptions)` to `(string, string, any, *CatalogsClientListDeviceInsightsOptions)` + Function `*CatalogsClient.NewListDevicesPager` parameter(s) have been changed from `(string, string, *CatalogsClientListDevicesOptions)` to `(string, string, any, *CatalogsClientListDevicesOptions)` + Function `*CatalogsClient.Update` parameter(s) have been changed from `(context.Context, string, string, CatalogUpdate, *CatalogsClientUpdateOptions)` to `(context.Context, string, string, CatalogTagsUpdate, *CatalogsClientUpdateOptions)` + Function `*CertificatesClient.RetrieveCertChain` parameter(s) have been changed from `(context.Context, string, string, string, *CertificatesClientRetrieveCertChainOptions)` to `(context.Context, string, string, string, any, *CertificatesClientRetrieveCertChainOptions)` + Function `*DeviceGroupsClient.CountDevices` parameter(s) have been changed from `(context.Context, string, string, string, string, *DeviceGroupsClientCountDevicesOptions)` to `(context.Context, string, string, string, string, any, *DeviceGroupsClientCountDevicesOptions)` + Function `*DevicesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, string, string, DeviceUpdate, *DevicesClientBeginUpdateOptions)` to `(context.Context, string, string, string, string, string, any, *DevicesClientBeginUpdateOptions)` + Function `*ProductsClient.CountDevices` parameter(s) have been changed from `(context.Context, string, string, string, *ProductsClientCountDevicesOptions)` to `(context.Context, string, string, string, any, *ProductsClientCountDevicesOptions)` + Function `*ProductsClient.NewGenerateDefaultDeviceGroupsPager` parameter(s) have been changed from `(string, string, string, *ProductsClientGenerateDefaultDeviceGroupsOptions)` to `(string, string, string, any, *ProductsClientGenerateDefaultDeviceGroupsOptions)` + Struct `CatalogUpdate` has been removed + Struct `DeviceUpdateProperties` has been removed + Struct `DeviceUpdate` has been removed
❌
azure-sdk-for-python - track2_azure-mgmt-sphere - 1.0.0b1+ Operation CatalogsOperations.count_devices has a new required parameter body + Operation CatalogsOperations.list_deployments has a new required parameter body + Operation CatalogsOperations.list_device_groups has a new required parameter body + Operation CatalogsOperations.list_device_groups no longer has parameter list_device_groups_request + Operation CatalogsOperations.list_device_insights has a new required parameter body + Operation CatalogsOperations.list_devices has a new required parameter body + Operation CertificatesOperations.retrieve_cert_chain has a new required parameter body + Operation CertificatesOperations.retrieve_proof_of_possession_nonce has a new required parameter body + Operation CertificatesOperations.retrieve_proof_of_possession_nonce no longer has parameter proof_of_possession_nonce_request + Operation DeviceGroupsOperations.begin_claim_devices has a new required parameter body + Operation DeviceGroupsOperations.begin_claim_devices no longer has parameter claim_devices_request + Operation DeviceGroupsOperations.count_devices has a new required parameter body + Operation DevicesOperations.begin_generate_capability_image has a new required parameter body + Operation DevicesOperations.begin_generate_capability_image no longer has parameter generate_device_capability_request + Operation ProductsOperations.count_devices has a new required parameter body + Operation ProductsOperations.generate_default_device_groups has a new required parameter body
❌
azure-sdk-for-js - @azure/arm-sphere - 1.0.0-beta.2+ Interface Catalog has a new required parameter name + Interface Device has a new required parameter name + Interface DeviceGroup has a new required parameter name + Interface DeviceGroupUpdate no longer has parameter allowCrashDumpsCollection + Interface DeviceGroupUpdate no longer has parameter description + Interface DeviceGroupUpdate no longer has parameter osFeedType + Interface DeviceGroupUpdate no longer has parameter regionalDataBoundary + Interface DeviceGroupUpdate no longer has parameter updatePolicy + Interface DeviceUpdate no longer has parameter deviceGroupId + Interface Product has a new required parameter name + Interface ProductUpdate no longer has parameter description
️❌
azure-sdk-for-net-track2 failed [Detail]
command pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json warn specification/sphere/Sphere.Management/tspconfig.yaml skipped due to azure-sdk-for-net-track2 not found in tspconfig.yaml command pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714 cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1mLine | cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m 714 | �[0m �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m … cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m | �[31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m | �[31;1mFailed to generate sdk. exit code: False cmderr [Invoke-GenerateAndBuildV2.ps1] �[0m cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807 cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1mLine | cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m 807 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m … cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m | �[31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m | �[31;1mCannot find path cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m | �[31;1mit does not exist. cmderr [Invoke-GenerateAndBuildV2.ps1] �[0m cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714 cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1mLine | cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m 714 | �[0m �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m … cmderr [Invoke-GenerateAndBuildV2.ps1] �[36;1m | �[31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmderr [Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m | �[31;1mFailed to generate sdk artifact cmderr [Invoke-GenerateAndBuildV2.ps1] �[0m
❌
Azure.ResourceManager.Sphere [View full logs] [Preview SDK Changes]info [Changelog]
️❌
azure-sdk-for-python failed [Detail]
command sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json cmderr [automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools' cmderr [automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools' cmderr [automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed. warn specification/sphere/Sphere.Management/tspconfig.yaml skipped due to azure-sdk-for-python not found in tspconfig.yaml command sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json cmderr [automation_generate.sh] cmderr [automation_generate.sh] New patch version of npm available! 10.2.3 -> 10.2.5 cmderr [automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5> cmderr [automation_generate.sh] npm notice Run `npm install -g [email protected]` to update! cmderr [automation_generate.sh] npm notice cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclaration | Schema 'DeviceGroup' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\s]{1,48}[A-Za-z0-9]$|^\.default$|^\.unassigned$'] cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'Image' has a property 'name' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from Image cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclaration | Schema 'Product' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[\w][\w\s]{1,48}[\w]$|^\.default$|^\.unassigned$'] cmdout [automation_generate.sh] [Autorest] fatal | Error: 1 errors occured -- cannot continue. cmdout [automation_generate.sh] [Autorest] fatal | Process() cancelled due to failure cmdout [automation_generate.sh] [Autorest] error | Error: Plugin prechecker reported failure. cmdout [automation_generate.sh] [Autorest] error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing. cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclaration | Schema 'DeviceGroup' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\s]{1,48}[A-Za-z0-9]$|^\.default$|^\.unassigned$'] cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'Image' has a property 'name' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from Image cmdout [automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclaration | Schema 'Product' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[\w][\w\s]{1,48}[\w]$|^\.default$|^\.unassigned$'] cmdout [automation_generate.sh] [Autorest] fatal | Error: 1 errors occured -- cannot continue. cmdout [automation_generate.sh] [Autorest] fatal | Process() cancelled due to failure cmdout [automation_generate.sh] [Autorest] error | Error: Plugin prechecker reported failure. cmdout [automation_generate.sh] [Autorest] error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing. cmdout [automation_generate.sh] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen error Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh warn Skip package processing as generation is failed
️⚠️
azure-sdk-for-java warning [Detail]
command ./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json cmderr [init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.2 cmderr [init.sh] [notice] To update, run: pip install --upgrade pip cmderr [init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.2 cmderr [init.sh] [notice] To update, run: pip install --upgrade pip cmderr [init.sh] rrent cmderr [init.sh] Dload Upload Total Spent Left Speed cmderr [init.sh] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 cmderr [init.sh] Downloading https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz... cmderr [init.sh] ######################## 100.0% cmderr [init.sh] Computing checksum with sha256sum cmderr [init.sh] Checksums matched! command ./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
️✔️
azure-resourcemanager-sphere [View full logs] [Preview SDK Changes]
️❌
azure-sdk-for-go failed [Detail]
command sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json warn specification/sphere/Sphere.Management/tspconfig.yaml skipped due to azure-sdk-for-go not found in tspconfig.yaml command generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json cmderr [generator automation-v2] [ERROR] total 1 error(s): cmderr [generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sphere/armsphere�[0m cmderr [generator automation-v2] [ERROR] Cannot find go module under resourcemanager/sphere/armsphere, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sphere/armsphere cmderr [generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sphere/armsphere cmderr [generator automation-v2] [ERROR] ##[command]Executing autorest.go in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sphere/armsphere cmderr [generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sphere/armsphere --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=false --remove-unreferenced-types=true ./autorest.md cmderr [generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v18.19.0] cmderr [generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation. cmderr [generator automation-v2] [ERROR] https://aka.ms/autorest cmderr [generator automation-v2] [ERROR] There is a new version of AutoRest available (3.7.1). cmderr [generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest cmderr [generator automation-v2] [ERROR] info | Loading AutoRest core '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.10.1) cmderr [generator automation-v2] [ERROR] info | Installing AutoRest extension '@autorest/go' (4.0.0-preview.60 -> 4.0.0-preview.60) cmderr [generator automation-v2] [ERROR] info | Installed AutoRest extension '@autorest/go' (4.0.0-preview.60->4.0.0-preview.60) cmderr [generator automation-v2] [ERROR] info | Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2) cmderr [generator automation-v2] [ERROR] info | Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2) cmderr [generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > Resource > properties > systemData) cmderr [generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ] cmderr [generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail. cmderr [generator automation-v2] [ERROR] error | PreCheck/DuplicateSchema | Duplicate Schema named 'Resource' (3 differences): cmderr [generator automation-v2] [ERROR] - properties.systemData.type: <none> => "object" cmderr [generator automation-v2] [ERROR] - title: <none> => "Resource" cmderr [generator automation-v2] [ERROR] - x-ms-azure-resource: <none> => true; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that. cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclaration | Schema 'Catalog' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[A-Za-z0-9_-]{1,50}$'] cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'Certificate' has a property 'name' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from Certificate cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'Deployment' has a property 'name' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from Deployment cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclaration | Schema 'Device' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[a-zA-Z0-9-]{128}$'] cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclaration | Schema 'DeviceGroup' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\s]{1,48}[A-Za-z0-9]$|^\.default$|^\.unassigned$'] cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'Image' has a property 'name' that is already declared the parent schema 'Resource' but isn't significantly different. The property has been removed from Image cmderr [generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclaration | Schema 'Product' has a property 'name' that is conflicting with a property in the parent schema 'Resource' differs more than just description : [pattern => '^[\w][\w\s]{1,48}[\w]$|^\.default$|^\.unassigned$'] cmderr [generator automation-v2] [ERROR] fatal | Error: 1 errors occured -- cannot continue. cmderr [generator automation-v2] [ERROR] fatal | Process() cancelled due to failure cmderr [generator automation-v2] [ERROR] error | Error: Plugin prechecker reported failure. cmderr [generator automation-v2] [ERROR] error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing. cmderr [generator automation-v2] [ERROR] ##[error]Error running autorest.go cmderr [generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1 cmderr [generator automation-v2] [ERROR] ': exit status 1 error Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2 warn Skip package processing as generation is failed
️️✔️
azure-sdk-for-js succeeded [Detail] [Expand]
command sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json warn File azure-sdk-for-js_tmp/initOutput.json not found to read command sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
️✔️
@azure/arm-sphere [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] **Features** info [Changelog] info [Changelog] - Added Interface DeviceGroupUpdateProperties info [Changelog] - Added Interface DeviceUpdateProperties info [Changelog] - Added Interface ProductUpdateProperties info [Changelog] - Added Interface ResourceAutoGenerated info [Changelog] - Added Type Alias Versions info [Changelog] - Interface DeviceGroupsClaimDevicesHeaders has a new optional parameter location info [Changelog] - Interface DeviceGroupUpdate has a new optional parameter properties info [Changelog] - Interface DevicesGenerateCapabilityImageHeaders has a new optional parameter location info [Changelog] - Interface DevicesUpdateHeaders has a new optional parameter location info [Changelog] - Interface DeviceUpdate has a new optional parameter properties info [Changelog] - Interface ProductUpdate has a new optional parameter properties info [Changelog] - Added Enum KnownVersions info [Changelog] info [Changelog] **Breaking Changes** info [Changelog] info [Changelog] - Interface DeviceGroupUpdate no longer has parameter allowCrashDumpsCollection info [Changelog] - Interface DeviceGroupUpdate no longer has parameter description info [Changelog] - Interface DeviceGroupUpdate no longer has parameter osFeedType info [Changelog] - Interface DeviceGroupUpdate no longer has parameter regionalDataBoundary info [Changelog] - Interface DeviceGroupUpdate no longer has parameter updatePolicy info [Changelog] - Interface DeviceUpdate no longer has parameter deviceGroupId info [Changelog] - Interface ProductUpdate no longer has parameter description info [Changelog] - Interface Catalog has a new required parameter name info [Changelog] - Interface Device has a new required parameter name info [Changelog] - Interface DeviceGroup has a new required parameter name info [Changelog] - Interface Product has a new required parameter name
️⚠️
azure-resource-manager-schemas warning [Detail]
command .sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json cmderr [initScript.sh] notice cmderr [initScript.sh] npm notice New patch version of npm available! 10.2.3 -> 10.2.5 cmderr [initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5> cmderr [initScript.sh] npm notice Run `npm install -g [email protected]` to update! cmderr [initScript.sh] npm notice warn File azure-resource-manager-schemas_tmp/initOutput.json not found to read command .sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json warn No file changes detected after generation
️✔️
sphere [View full logs]
Generated ApiView
|
namespace Microsoft.AzureSphere; | ||
|
||
@doc("The available API versions.") | ||
enum Versions { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- enum Versions
"x-ms-examples": { | ||
"Catalogs_Get": { | ||
"$ref": "./examples/GetCatalog.json" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- x-ms-examples removed
...on/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
Outdated
Show resolved
Hide resolved
"name": "$filter", | ||
"in": "query", | ||
"description": "Filter the result list using the given expression", | ||
"required": false, | ||
"type": "string", | ||
"x-ms-client-name": "filter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
"name": "$top", | ||
"in": "query", | ||
"description": "The number of result items to return.", | ||
"required": false, | ||
"type": "integer", | ||
"format": "int32", | ||
"x-ms-client-name": "top" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
"name": "$skip", | ||
"in": "query", | ||
"description": "The number of result items to skip.", | ||
"required": false, | ||
"type": "integer", | ||
"format": "int32", | ||
"x-ms-client-name": "skip" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
"name": "$maxpagesize", | ||
"in": "query", | ||
"description": "The maximum number of result items per page.", | ||
"required": false, | ||
"type": "integer", | ||
"format": "int32", | ||
"x-ms-client-name": "maxpagesize" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- paramters
in:query
is expanded
...on/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
Show resolved
Hide resolved
...on/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
Outdated
Show resolved
Hide resolved
"Versions": { | ||
"type": "string", | ||
"description": "The available API versions.", | ||
"enum": [ | ||
"2022-09-01-preview" | ||
], | ||
"x-ms-enum": { | ||
"name": "Versions", | ||
"modelAsString": true, | ||
"values": [ | ||
{ | ||
"name": "v2022_09_01_preview", | ||
"value": "2022-09-01-preview" | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add definitions:
Versions
"Origin": { | ||
"type": "string", | ||
"enum": [ | ||
"user", | ||
"system", | ||
"user,system" | ||
], | ||
"x-ms-enum": { | ||
"name": "Origin", | ||
"modelAsString": true | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add definitions:
Origin
"CreatedByType": { | ||
"type": "string", | ||
"enum": [ | ||
"User", | ||
"Application", | ||
"ManagedIdentity", | ||
"Key" | ||
], | ||
"x-ms-enum": { | ||
"name": "CreatedByType", | ||
"modelAsString": true | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add definitions:
CreatedByType
"ActionType": { | ||
"type": "string", | ||
"enum": [ | ||
"Internal" | ||
], | ||
"x-ms-enum": { | ||
"name": "ActionType", | ||
"modelAsString": true | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add definitions:
ActionType
@doc("List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.") | ||
list is ArmResourceListByParent< | ||
TResource, | ||
ListQueryParameters & BaseParameters<TResource> | ||
>; | ||
@doc("Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.") | ||
createOrUpdate is ArmResourceCreateOrUpdateAsync<Deployment>; | ||
@doc("Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.") | ||
delete is ArmResourceDeleteAsync<Deployment>; | ||
} | ||
|
||
@armResourceOperations | ||
interface Deployments extends ProxyResourceOperationsDeployments<Deployment> {} | ||
|
||
@doc("The properties of deployment") | ||
model DeploymentProperties { | ||
@visibility("create", "read") | ||
@doc("Deployment ID") | ||
deploymentId?: string; | ||
|
||
@doc("Images deployed") | ||
@visibility("create", "read") | ||
deployedImages?: Image[]; | ||
|
||
@doc("Deployment date UTC") | ||
@visibility("read") | ||
deploymentDateUtc?: utcDateTime; | ||
|
||
@visibility("read") | ||
@doc("The status of the last operation.") | ||
provisioningState?: ProvisioningState; | ||
@doc("List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.") | ||
listByDeviceGroup is ArmResourceListByParent< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list operation renamed to listByXxx
"name": "claimDevicesRequest", | ||
"name": "body", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in: body
name renamed to "body"
...on/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json
Outdated
Show resolved
Hide resolved
@doc("Common fields that are returned in the response for all Azure Resource Manager resources") | ||
model Resource { | ||
@doc("Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}") | ||
@visibility("read") | ||
id?: string; | ||
|
||
@doc("The name of the resource") | ||
@visibility("read") | ||
name?: string; | ||
|
||
@doc("The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"") | ||
@visibility("read") | ||
type?: string; | ||
|
||
@doc("Azure Resource Manager metadata containing createdBy and modifiedBy information.") | ||
@visibility("read") | ||
systemData?: SystemData; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model Resource
was added but not used
"name": { | ||
"type": "string", | ||
"description": "Name of catalog", | ||
"pattern": "^[A-Za-z0-9_-]{1,50}$", | ||
"readOnly": true | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add name
properties is readOnly
and required
?
add model @path
"properties": { | ||
"$ref": "#/definitions/DeviceGroupUpdateProperties", | ||
"x-ms-client-flatten": true | ||
"description": "The updatable properties of the DeviceGroup." | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"x-ms-client-flatten": true
is removed and description
is added
Swagger to TSP:
is ArmResourceActionAsync
TSP to Swagger:
in: body
name renamed to "body"in:query
is expandedLocation
DeviceUpdate
are deletedActionType
,CreateByType
,Origin
,Versions
command