From 158361160b4d9fb8f3f26da9bdcf70cda5c86b0c Mon Sep 17 00:00:00 2001 From: swagger-automation Date: Thu, 19 May 2022 02:13:53 +0000 Subject: [PATCH 1/3] [AutoSync] d1e374536 Merged PR 6100432: fix: remove final-state-via option --- .../2022-05-01-preview/appplatform.json | 153 ------------------ .../stable/2022-04-01/appplatform.json | 111 ------------- .../resource-manager/readme.python.md | 21 +-- .../resource-management/v3/types.json | 46 +++++- 4 files changed, 52 insertions(+), 279 deletions(-) diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-05-01-preview/appplatform.json index 4fece1b50409..cffc31abb947 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-05-01-preview/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-05-01-preview/appplatform.json @@ -113,9 +113,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_CreateOrUpdate": { "$ref": "./examples/Services_CreateOrUpdate.json" @@ -166,9 +163,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Delete": { "$ref": "./examples/Services_Delete.json" @@ -225,9 +219,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Update": { "$ref": "./examples/Services_Update.json" @@ -450,9 +441,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Stop": { "$ref": "./examples/Services_Stop.json" @@ -501,9 +489,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Start": { "$ref": "./examples/Services_Start.json" @@ -602,9 +587,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigServers_UpdatePut": { "$ref": "./examples/ConfigServers_UpdatePut.json" @@ -661,9 +643,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigServers_UpdatePatch": { "$ref": "./examples/ConfigServers_UpdatePatch.json" @@ -829,9 +808,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigurationServices_CreateOrUpdate": { "$ref": "./examples/ConfigurationServices_CreateOrUpdate.json" @@ -879,9 +855,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigurationServices_Delete": { "$ref": "./examples/ConfigurationServices_Delete.json" @@ -1086,9 +1059,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ServiceRegistries_CreateOrUpdate": { "$ref": "./examples/ServiceRegistries_CreateOrUpdate.json" @@ -1136,9 +1106,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ServiceRegistries_Delete": { "$ref": "./examples/ServiceRegistries_Delete.json" @@ -1547,9 +1514,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildpackBinding_CreateOrUpdate": { "$ref": "./examples/BuildpackBinding_CreateOrUpdate.json" @@ -1603,9 +1567,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildpackBinding_Delete": { "$ref": "./examples/BuildpackBinding_Delete.json" @@ -1920,9 +1881,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceBuilder_CreateOrUpdate": { "$ref": "./examples/BuildServiceBuilder_CreateOrUpdate.json" @@ -1973,9 +1931,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceBuilder_Delete": { "$ref": "./examples/BuildServiceBuilder_Delete.json" @@ -2413,9 +2368,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceAgentPool_UpdatePut": { "$ref": "./examples/BuildServiceAgentPool_UpdatePut.json" @@ -2514,9 +2466,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "MonitoringSettings_UpdatePut": { "$ref": "./examples/MonitoringSettings_UpdatePut.json" @@ -2573,9 +2522,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "MonitoringSettings_UpdatePatch": { "$ref": "./examples/MonitoringSettings_UpdatePatch.json" @@ -2696,9 +2642,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_CreateOrUpdate": { "$ref": "./examples/Apps_CreateOrUpdate.json" @@ -2749,9 +2692,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_Delete": { "$ref": "./examples/Apps_Delete.json" @@ -2811,9 +2751,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_Update": { "$ref": "./examples/Apps_Update.json" @@ -2971,9 +2908,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_SetActiveDeployments": { "$ref": "./examples/Apps_SetActiveDeployments.json" @@ -3090,9 +3024,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_CreateOrUpdate": { "$ref": "./examples/Bindings_CreateOrUpdate.json" @@ -3143,9 +3074,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_Delete": { "$ref": "./examples/Bindings_Delete.json" @@ -3208,9 +3136,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_Update": { "$ref": "./examples/Bindings_Update.json" @@ -3369,9 +3294,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Storages_CreateOrUpdate": { "$ref": "./examples/Storages_CreateOrUpdate.json" @@ -3419,9 +3341,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Storages_Delete": { "$ref": "./examples/Storages_Delete.json" @@ -3577,9 +3496,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Certificates_CreateOrUpdate": { "$ref": "./examples/Certificates_CreateOrUpdate.json" @@ -3627,9 +3543,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Certificates_Delete": { "$ref": "./examples/Certificates_Delete.json" @@ -3843,9 +3756,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_CreateOrUpdate": { "$ref": "./examples/CustomDomains_CreateOrUpdate.json" @@ -3896,9 +3806,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_Delete": { "$ref": "./examples/CustomDomains_Delete.json" @@ -3961,9 +3868,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_Update": { "$ref": "./examples/CustomDomains_Update.json" @@ -4185,9 +4089,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_CreateOrUpdate": { "$ref": "./examples/Deployments_CreateOrUpdate.json" @@ -4241,9 +4142,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Delete": { "$ref": "./examples/Deployments_Delete.json" @@ -4306,9 +4204,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Update": { "$ref": "./examples/Deployments_Update.json" @@ -4478,9 +4373,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Start": { "$ref": "./examples/Deployments_Start.json" @@ -4530,9 +4422,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Stop": { "$ref": "./examples/Deployments_Stop.json" @@ -4582,9 +4471,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Restart": { "$ref": "./examples/Deployments_Restart.json" @@ -4694,9 +4580,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_GenerateHeapDump": { "$ref": "./examples/Deployments_GenerateHeapDump.json" @@ -4755,9 +4638,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_GenerateHeapDump": { "$ref": "./examples/Deployments_GenerateThreadDump.json" @@ -4816,9 +4696,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_StartJFR": { "$ref": "./examples/Deployments_StartJFR.json" @@ -5112,9 +4989,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Gateways_CreateOrUpdate": { "$ref": "./examples/Gateways_CreateOrUpdate.json" @@ -5162,9 +5036,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Gateways_Delete": { "$ref": "./examples/Gateways_Delete.json" @@ -5320,9 +5191,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "GatewayRouteConfigs_CreateOrUpdate": { "$ref": "./examples/GatewayRouteConfigs_CreateOrUpdate.json" @@ -5373,9 +5241,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "GatewayRouteConfigs_Delete": { "$ref": "./examples/GatewayRouteConfigs_Delete.json" @@ -5534,9 +5399,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "GatewayCustomDomains_CreateOrUpdate": { "$ref": "./examples/GatewayCustomDomains_CreateOrUpdate.json" @@ -5587,9 +5449,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "GatewayCustomDomains_Delete": { "$ref": "./examples/GatewayCustomDomains_Delete.json" @@ -5796,9 +5655,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ApiPortals_CreateOrUpdate": { "$ref": "./examples/ApiPortals_CreateOrUpdate.json" @@ -5846,9 +5702,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ApiPortals_Delete": { "$ref": "./examples/ApiPortals_Delete.json" @@ -6004,9 +5857,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ApiPortalCustomDomains_CreateOrUpdate": { "$ref": "./examples/ApiPortalCustomDomains_CreateOrUpdate.json" @@ -6057,9 +5907,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ApiPortalCustomDomains_Delete": { "$ref": "./examples/ApiPortalCustomDomains_Delete.json" diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/appplatform.json index 84e88b4bb43e..f4c6c103e01a 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-04-01/appplatform.json @@ -113,9 +113,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_CreateOrUpdate": { "$ref": "./examples/Services_CreateOrUpdate.json" @@ -163,9 +160,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Delete": { "$ref": "./examples/Services_Delete.json" @@ -222,9 +216,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Services_Update": { "$ref": "./examples/Services_Update.json" @@ -497,9 +488,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigServers_UpdatePut": { "$ref": "./examples/ConfigServers_UpdatePut.json" @@ -556,9 +544,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigServers_UpdatePatch": { "$ref": "./examples/ConfigServers_UpdatePatch.json" @@ -724,9 +709,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigurationServices_CreateOrUpdate": { "$ref": "./examples/ConfigurationServices_CreateOrUpdate.json" @@ -774,9 +756,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConfigurationServices_Delete": { "$ref": "./examples/ConfigurationServices_Delete.json" @@ -981,9 +960,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ServiceRegistries_CreateOrUpdate": { "$ref": "./examples/ServiceRegistries_CreateOrUpdate.json" @@ -1031,9 +1007,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ServiceRegistries_Delete": { "$ref": "./examples/ServiceRegistries_Delete.json" @@ -1442,9 +1415,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildpackBinding_CreateOrUpdate": { "$ref": "./examples/BuildpackBinding_CreateOrUpdate.json" @@ -1498,9 +1468,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildpackBinding_Delete": { "$ref": "./examples/BuildpackBinding_Delete.json" @@ -1815,9 +1782,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceBuilder_CreateOrUpdate": { "$ref": "./examples/BuildServiceBuilder_CreateOrUpdate.json" @@ -1868,9 +1832,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceBuilder_Delete": { "$ref": "./examples/BuildServiceBuilder_Delete.json" @@ -2308,9 +2269,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "BuildServiceAgentPool_UpdatePut": { "$ref": "./examples/BuildServiceAgentPool_UpdatePut.json" @@ -2409,9 +2367,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "MonitoringSettings_UpdatePut": { "$ref": "./examples/MonitoringSettings_UpdatePut.json" @@ -2468,9 +2423,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "MonitoringSettings_UpdatePatch": { "$ref": "./examples/MonitoringSettings_UpdatePatch.json" @@ -2588,9 +2540,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_CreateOrUpdate": { "$ref": "./examples/Apps_CreateOrUpdate.json" @@ -2638,9 +2587,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_Delete": { "$ref": "./examples/Apps_Delete.json" @@ -2700,9 +2646,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_Update": { "$ref": "./examples/Apps_Update.json" @@ -2854,9 +2797,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Apps_SetActiveDeployments": { "$ref": "./examples/Apps_SetActiveDeployments.json" @@ -2973,9 +2913,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_CreateOrUpdate": { "$ref": "./examples/Bindings_CreateOrUpdate.json" @@ -3026,9 +2963,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_Delete": { "$ref": "./examples/Bindings_Delete.json" @@ -3091,9 +3025,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Bindings_Update": { "$ref": "./examples/Bindings_Update.json" @@ -3252,9 +3183,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Certificates_CreateOrUpdate": { "$ref": "./examples/Certificates_CreateOrUpdate.json" @@ -3302,9 +3230,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Certificates_Delete": { "$ref": "./examples/Certificates_Delete.json" @@ -3518,9 +3443,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_CreateOrUpdate": { "$ref": "./examples/CustomDomains_CreateOrUpdate.json" @@ -3571,9 +3493,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_Delete": { "$ref": "./examples/CustomDomains_Delete.json" @@ -3636,9 +3555,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "CustomDomains_Update": { "$ref": "./examples/CustomDomains_Update.json" @@ -3857,9 +3773,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_CreateOrUpdate": { "$ref": "./examples/Deployments_CreateOrUpdate.json" @@ -3910,9 +3823,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Delete": { "$ref": "./examples/Deployments_Delete.json" @@ -3975,9 +3885,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Update": { "$ref": "./examples/Deployments_Update.json" @@ -4144,9 +4051,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Start": { "$ref": "./examples/Deployments_Start.json" @@ -4196,9 +4100,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Stop": { "$ref": "./examples/Deployments_Stop.json" @@ -4248,9 +4149,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_Restart": { "$ref": "./examples/Deployments_Restart.json" @@ -4360,9 +4258,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_GenerateHeapDump": { "$ref": "./examples/Deployments_GenerateHeapDump.json" @@ -4421,9 +4316,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_GenerateHeapDump": { "$ref": "./examples/Deployments_GenerateThreadDump.json" @@ -4482,9 +4374,6 @@ } }, "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Deployments_StartJFR": { "$ref": "./examples/Deployments_StartJFR.json" diff --git a/specification/appplatform/resource-manager/readme.python.md b/specification/appplatform/resource-manager/readme.python.md index fc0620ffb913..7aa5dfdb95ff 100644 --- a/specification/appplatform/resource-manager/readme.python.md +++ b/specification/appplatform/resource-manager/readme.python.md @@ -4,7 +4,8 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) +``` yaml $(python) && $(track2) +python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-appplatform @@ -18,7 +19,7 @@ no-namespace-folders: true Generate all API versions currently shipped for this package -```yaml $(python) && $(multiapi) +```yaml $(python) && $(multiapi) && $(track2) clear-output-folder: true batch: - tag: package-preview-2022-05 @@ -42,7 +43,7 @@ perform-load: false These settings apply only when `--tag=package-preview-2022-05 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-05' && $(python) +``` yaml $(tag) == 'package-preview-2022-05' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2022_05_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_05_01_preview ``` @@ -52,7 +53,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-2022-04 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2022-04' && $(python) +``` yaml $(tag) == 'package-2022-04' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2022_04_01 output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_04_01 ``` @@ -62,7 +63,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2022-03 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-03' && $(python) +``` yaml $(tag) == 'package-preview-2022-03' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2022_03_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_03_01_preview ``` @@ -72,7 +73,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2022-01 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-01' && $(python) +``` yaml $(tag) == 'package-preview-2022-01' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2022_01_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_01_01_preview ``` @@ -82,7 +83,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2021-09 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2021-09' && $(python) +``` yaml $(tag) == 'package-preview-2021-09' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2021_09_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview ``` @@ -92,7 +93,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2021-06 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2021-06' && $(python) +``` yaml $(tag) == 'package-preview-2021-06' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2021_06_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview ``` @@ -102,7 +103,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2020-11 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2020-11' && $(python) +``` yaml $(tag) == 'package-preview-2020-11' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2020_11_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_11_01_preview ``` @@ -112,7 +113,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-2020-07 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-07' && $(python) +``` yaml $(tag) == 'package-2020-07' && $(python) && $(track2) namespace: azure.mgmt.appplatform.v2020_07_01 output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_07_01 ``` diff --git a/specification/common-types/resource-management/v3/types.json b/specification/common-types/resource-management/v3/types.json index 7885efc272b1..f7a519b41239 100644 --- a/specification/common-types/resource-management/v3/types.json +++ b/specification/common-types/resource-management/v3/types.json @@ -102,6 +102,35 @@ "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.", "type": "object", "properties": { + "id": { + "readOnly": true, + "type": "string", + "x-ms-mutability": [ + "read" + ], + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "x-ms-mutability": [ + "read" + ], + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + }, "managedBy": { "type": "string", "x-ms-mutability": [ @@ -125,6 +154,18 @@ "type": "string", "description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. " }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, "identity": { "allOf": [ { @@ -147,11 +188,6 @@ ] } }, - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], "x-ms-azure-resource": true }, "SkuTier": { From f824602c30e0c198a8729a4af51ba8ff3f8b7890 Mon Sep 17 00:00:00 2001 From: weiping Date: Thu, 19 May 2022 10:32:01 +0800 Subject: [PATCH 2/3] Revert change to readme.python.md --- .../resource-manager/readme.python.md | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/specification/appplatform/resource-manager/readme.python.md b/specification/appplatform/resource-manager/readme.python.md index 7aa5dfdb95ff..fc0620ffb913 100644 --- a/specification/appplatform/resource-manager/readme.python.md +++ b/specification/appplatform/resource-manager/readme.python.md @@ -4,8 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && $(track2) -python-mode: create +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-appplatform @@ -19,7 +18,7 @@ no-namespace-folders: true Generate all API versions currently shipped for this package -```yaml $(python) && $(multiapi) && $(track2) +```yaml $(python) && $(multiapi) clear-output-folder: true batch: - tag: package-preview-2022-05 @@ -43,7 +42,7 @@ perform-load: false These settings apply only when `--tag=package-preview-2022-05 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-05' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2022-05' && $(python) namespace: azure.mgmt.appplatform.v2022_05_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_05_01_preview ``` @@ -53,7 +52,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-2022-04 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2022-04' && $(python) && $(track2) +``` yaml $(tag) == 'package-2022-04' && $(python) namespace: azure.mgmt.appplatform.v2022_04_01 output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_04_01 ``` @@ -63,7 +62,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2022-03 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-03' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2022-03' && $(python) namespace: azure.mgmt.appplatform.v2022_03_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_03_01_preview ``` @@ -73,7 +72,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2022-01 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2022-01' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2022-01' && $(python) namespace: azure.mgmt.appplatform.v2022_01_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2022_01_01_preview ``` @@ -83,7 +82,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2021-09 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2021-09' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2021-09' && $(python) namespace: azure.mgmt.appplatform.v2021_09_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_09_01_preview ``` @@ -93,7 +92,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2021-06 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2021-06' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2021-06' && $(python) namespace: azure.mgmt.appplatform.v2021_06_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview ``` @@ -103,7 +102,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-preview-2020-11 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-preview-2020-11' && $(python) && $(track2) +``` yaml $(tag) == 'package-preview-2020-11' && $(python) namespace: azure.mgmt.appplatform.v2020_11_01_preview output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_11_01_preview ``` @@ -113,7 +112,7 @@ output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mg These settings apply only when `--tag=package-2020-07 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-07' && $(python) && $(track2) +``` yaml $(tag) == 'package-2020-07' && $(python) namespace: azure.mgmt.appplatform.v2020_07_01 output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_07_01 ``` From de750a1747e3d8cf33285bca60b9b9dbc0e40802 Mon Sep 17 00:00:00 2001 From: weiping Date: Thu, 19 May 2022 10:32:50 +0800 Subject: [PATCH 3/3] Revert change to types.json --- .../resource-management/v3/types.json | 46 ++----------------- 1 file changed, 5 insertions(+), 41 deletions(-) diff --git a/specification/common-types/resource-management/v3/types.json b/specification/common-types/resource-management/v3/types.json index f7a519b41239..7885efc272b1 100644 --- a/specification/common-types/resource-management/v3/types.json +++ b/specification/common-types/resource-management/v3/types.json @@ -102,35 +102,6 @@ "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.", "type": "object", "properties": { - "id": { - "readOnly": true, - "type": "string", - "x-ms-mutability": [ - "read" - ], - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" - }, - "type": { - "readOnly": true, - "type": "string", - "x-ms-mutability": [ - "read" - ], - "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - }, "managedBy": { "type": "string", "x-ms-mutability": [ @@ -154,18 +125,6 @@ "type": "string", "description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. " }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, "identity": { "allOf": [ { @@ -188,6 +147,11 @@ ] } }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], "x-ms-azure-resource": true }, "SkuTier": {