diff --git a/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json index 68d9ce4944..ca851d19e3 100644 --- a/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json @@ -97,6 +97,14 @@ } } }, + "x-ms-examples": { + "Get applications by resource group": { + "$ref": "./examples/Applications_List.json" + }, + "Get applications by rootScope": { + "$ref": "./examples/Applications_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -139,6 +147,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get an application resource": { + "$ref": "./examples/Applications_Get.json" + } } }, "put": { @@ -192,6 +205,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create or update an application resource": { + "$ref": "./examples/Applications_CreateOrUpdate.json" + } } }, "patch": { @@ -239,6 +257,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Update (Patch) an application resource": { + "$ref": "./examples/Applications_Update.json" + } } }, "delete": { @@ -277,6 +300,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Delete an application resource": { + "$ref": "./examples/Applications_Delete.json" + } } } }, @@ -309,6 +337,14 @@ } } }, + "x-ms-examples": { + "List containers at resource group": { + "$ref": "./examples/Containers_List.json" + }, + "List containers at root scope": { + "$ref": "./examples/Containers_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -351,6 +387,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get an container resource": { + "$ref": "./examples/Containers_Get.json" + } } }, "put": { @@ -412,6 +453,14 @@ } } }, + "x-ms-examples": { + "Create or update an container resource": { + "$ref": "./examples/Containers_CreateOrUpdate.json" + }, + "Create or update an container resource with base manifest": { + "$ref": "./examples/Containers_CreateOrUpdate_BaseManifest.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -533,6 +582,11 @@ } } }, + "x-ms-examples": { + "Delete an container resource": { + "$ref": "./examples/Containers_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -568,6 +622,14 @@ } } }, + "x-ms-examples": { + "Get environments by resource group": { + "$ref": "./examples/Environments_List.json" + }, + "Get environments by rootScope": { + "$ref": "./examples/Environments_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -610,6 +672,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get an environment resource": { + "$ref": "./examples/Environments_GetEnv0.json" + } } }, "put": { @@ -663,6 +730,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create or Update an environment resource": { + "$ref": "./examples/Environments_CreateOrUpdate.json" + } } }, "patch": { @@ -710,6 +782,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Update an environment resource": { + "$ref": "./examples/Environments_PatchEnv0.json" + } } }, "delete": { @@ -748,6 +825,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Delete an environment resource": { + "$ref": "./examples/Environments_DeleteEnv0.json" + } } } }, @@ -797,6 +879,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get recipe metadata from environment": { + "$ref": "./examples/Environments_GetRecipeMetadata.json" + } } } }, @@ -829,6 +916,14 @@ } } }, + "x-ms-examples": { + "List extender resources by resource group": { + "$ref": "./examples/Extenders_List.json" + }, + "List extender resources by rootScope": { + "$ref": "./examples/Extenders_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -871,6 +966,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get an extender resource": { + "$ref": "./examples/Extenders_Get.json" + } } }, "put": { @@ -932,6 +1032,14 @@ } } }, + "x-ms-examples": { + "Create or Update an extender resource": { + "$ref": "./examples/Extenders_CreateOrUpdate.json" + }, + "Create or Update an extender resource with recipe": { + "$ref": "./examples/Extenders_CreateOrUpdateWithRecipe.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -997,6 +1105,11 @@ } } }, + "x-ms-examples": { + "Update an extender resource": { + "$ref": "./examples/Extenders_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1053,6 +1166,11 @@ } } }, + "x-ms-examples": { + "Delete an extender resource": { + "$ref": "./examples/Extenders_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1106,6 +1224,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "List the secrets from extender resources": { + "$ref": "./examples/Extenders_ListSecrets.json" + } } } }, @@ -1138,6 +1261,14 @@ } } }, + "x-ms-examples": { + "List gateway resources": { + "$ref": "./examples/Gateways_List.json" + }, + "List gateway resources by rootScope": { + "$ref": "./examples/Gateways_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1180,6 +1311,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get an gateway resource": { + "$ref": "./examples/Gateways_Get.json" + } } }, "put": { @@ -1306,6 +1442,11 @@ } } }, + "x-ms-examples": { + "Create or update a gateway resource": { + "$ref": "./examples/Gateways_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1362,6 +1503,11 @@ } } }, + "x-ms-examples": { + "Delete an gateway resource": { + "$ref": "./examples/Gateways_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1397,6 +1543,14 @@ } } }, + "x-ms-examples": { + "List httpRoutes resources by resource group": { + "$ref": "./examples/HttpRoutes_List.json" + }, + "List httpRoutes resources by rootScope": { + "$ref": "./examples/HttpRoutes_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1439,6 +1593,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a httpRoutes resource": { + "$ref": "./examples/HttpRoutes_Get.json" + } } }, "put": { @@ -1500,6 +1659,11 @@ } } }, + "x-ms-examples": { + "Create or Update httpRoutes resources": { + "$ref": "./examples/HttpRoutes_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1565,6 +1729,11 @@ } } }, + "x-ms-examples": { + "Update a httpRoutes resource": { + "$ref": "./examples/HttpRoutes_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1621,6 +1790,11 @@ } } }, + "x-ms-examples": { + "Delete a httpRoutes resource": { + "$ref": "./examples/HttpRoutes_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1656,6 +1830,11 @@ } } }, + "x-ms-examples": { + "List secret stores": { + "$ref": "./examples/SecretStores_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1698,6 +1877,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a secret store": { + "$ref": "./examples/SecretStores_Get.json" + }, + "Get a secret store for Azure Keyvault": { + "$ref": "./examples/SecretStores_Get_AzureKeyVault.json" + } } }, "put": { @@ -1759,6 +1946,14 @@ } } }, + "x-ms-examples": { + "Create or Update a secret store resource with azure keyvault": { + "$ref": "./examples/SecretStores_CreateOrUpdate.json" + }, + "Create or Update a secret store resource with valueFrom": { + "$ref": "./examples/SecretStores_CreateOrUpdateValueFrom.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1824,6 +2019,14 @@ } } }, + "x-ms-examples": { + "Update a secret store resource": { + "$ref": "./examples/SecretStores_Delete.json" + }, + "Update a secret store": { + "$ref": "./examples/SecretStores_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1933,6 +2136,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "List secret stores": { + "$ref": "./examples/SecretStores_ListSecrets.json" + } } } }, @@ -1965,6 +2173,14 @@ } } }, + "x-ms-examples": { + "List volumes by resource group": { + "$ref": "./examples/Volumes_List.json" + }, + "List volumes by rootScope": { + "$ref": "./examples/Volumes_ListByScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -2007,6 +2223,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a volume": { + "$ref": "./examples/Volumes_Get.json" + } } }, "put": { @@ -2068,6 +2289,11 @@ } } }, + "x-ms-examples": { + "Create or update a volume": { + "$ref": "./examples/Volumes_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -2133,6 +2359,11 @@ } } }, + "x-ms-examples": { + "Update a volume": { + "$ref": "./examples/Volumes_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2189,6 +2420,11 @@ } } }, + "x-ms-examples": { + "Delete a volume": { + "$ref": "./examples/Volumes_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2221,6 +2457,11 @@ } } }, + "x-ms-examples": { + "Get the operations for the Applications.Core resource provider": { + "$ref": "./examples/Operations_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json index 9450e76f59..69eeb0d50f 100644 --- a/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json @@ -82,6 +82,14 @@ } } }, + "x-ms-examples": { + "List a PubSubBroker resource by resource group": { + "$ref": "./examples/PubSubBrokers_List.json" + }, + "List a PubSubBroker resource by rootScope": { + "$ref": "./examples/PubSubBrokers_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -124,6 +132,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a PubSubBroker resource": { + "$ref": "./examples/PubSubBrokers_Get.json" + } } }, "put": { @@ -185,6 +198,14 @@ } } }, + "x-ms-examples": { + "Create or update a PubSubBroker resource": { + "$ref": "./examples/PubSubBrokers_CreateOrUpdate.json" + }, + "Create or update a PubSubBroker resource with recipe": { + "$ref": "./examples/PubSubBrokers_CreateOrUpdateWithRecipe.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -250,6 +271,11 @@ } } }, + "x-ms-examples": { + "Update a PubSubBroker resource": { + "$ref": "./examples/PubSubBrokers_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -306,6 +332,11 @@ } } }, + "x-ms-examples": { + "Delete a PubSubBroker resource": { + "$ref": "./examples/PubSubBrokers_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -341,6 +372,14 @@ } } }, + "x-ms-examples": { + "List SecretStore resources by resource group": { + "$ref": "./examples/SecretStores_List.json" + }, + "List SecretStore resources by rootScope": { + "$ref": "./examples/SecretStores_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -383,6 +422,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a SecretStore resource": { + "$ref": "./examples/SecretStores_Get.json" + } } }, "put": { @@ -444,6 +488,11 @@ } } }, + "x-ms-examples": { + "Create or update an SecretStore resource": { + "$ref": "./examples/SecretStores_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -509,6 +558,11 @@ } } }, + "x-ms-examples": { + "Update an SecretStore resource": { + "$ref": "./examples/SecretStores_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -565,6 +619,11 @@ } } }, + "x-ms-examples": { + "Delete a SecretStore resource": { + "$ref": "./examples/SecretStores_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -600,6 +659,14 @@ } } }, + "x-ms-examples": { + "List StateStore resources by resource group": { + "$ref": "./examples/StateStores_List.json" + }, + "List StateStore resources by rootScope": { + "$ref": "./examples/StateStores_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -642,6 +709,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a StateStore resource": { + "$ref": "./examples/StateStores_Get.json" + } } }, "put": { @@ -703,6 +775,14 @@ } } }, + "x-ms-examples": { + "Create or update a StateStore resource": { + "$ref": "./examples/StateStores_CreateOrUpdate.json" + }, + "Create or update a StateStore resource with recipe": { + "$ref": "./examples/StateStores_CreateOrUpdateWithRecipe.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -768,6 +848,11 @@ } } }, + "x-ms-examples": { + "Update a StateStore resource": { + "$ref": "./examples/StateStores_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -824,6 +909,11 @@ } } }, + "x-ms-examples": { + "Delete a StateStore resource": { + "$ref": "./examples/StateStores_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, diff --git a/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json index 1d2e7bdadb..1dc9632980 100644 --- a/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json @@ -82,6 +82,14 @@ } } }, + "x-ms-examples": { + "List MongoDatabase resources by resource group": { + "$ref": "./examples/MongoDatabases_List.json" + }, + "List MongoDatabase resources by rootScope": { + "$ref": "./examples/MongoDatabases_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -124,6 +132,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a MongoDatabase resource": { + "$ref": "./examples/MongoDatabases_Get.json" + } } }, "put": { @@ -185,6 +198,14 @@ } } }, + "x-ms-examples": { + "Create or update a MongoDatabase resource with recipe": { + "$ref": "./examples/MongoDatabases_CreateOrUpdateRecipe.json" + }, + "Create or update a MongoDatabase resource": { + "$ref": "./examples/MongoDatabases_CreateOrUpdateValues.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -306,6 +327,11 @@ } } }, + "x-ms-examples": { + "Delete a MongoDatabase resource": { + "$ref": "./examples/MongoDatabases_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -359,6 +385,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "List the secrets of a MongoDatabase resource": { + "$ref": "./examples/MongoDatabases_ListSecrets.json" + } } } }, @@ -391,6 +422,14 @@ } } }, + "x-ms-examples": { + "List RedisCache resources by resource group": { + "$ref": "./examples/RedisCaches_List.json" + }, + "List RedisCache resources by rootScope": { + "$ref": "./examples/RedisCaches_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -433,6 +472,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a RedisCache resource": { + "$ref": "./examples/RedisCaches_Get.json" + } } }, "put": { @@ -494,6 +538,17 @@ } } }, + "x-ms-examples": { + "Create or update a RedisCache resource": { + "$ref": "./examples/RedisCaches_CreateOrUpdate.json" + }, + "Create or update a RedisCache resource with recipe": { + "$ref": "./examples/RedisCaches_CreateOrUpdateRecipe.json" + }, + "Create or update a RedisCache resource with values": { + "$ref": "./examples/RedisCaches_CreateOrUpdateValues.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -559,6 +614,11 @@ } } }, + "x-ms-examples": { + "Update a RedisCache resource": { + "$ref": "./examples/RedisCaches_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -615,6 +675,11 @@ } } }, + "x-ms-examples": { + "Delete a RedisCache resource": { + "$ref": "./examples/RedisCaches_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -668,6 +733,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "List the secrets of a RedisCaches resource": { + "$ref": "./examples/RedisCaches_ListSecrets.json" + } } } }, @@ -700,6 +770,14 @@ } } }, + "x-ms-examples": { + "List SqlDatabases resources by resource group": { + "$ref": "./examples/SQLDatabases_List.json" + }, + "List SqlDatabases resources by rootScope": { + "$ref": "./examples/SQLDatabases_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -742,6 +820,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a SqlDatabase resource": { + "$ref": "./examples/SQLDatabases_Get.json" + } } }, "put": { @@ -803,6 +886,11 @@ } } }, + "x-ms-examples": { + "Create or update a SqlDatabase resource": { + "$ref": "./examples/SQLDatabases_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -868,6 +956,11 @@ } } }, + "x-ms-examples": { + "Update a SqlDatabase resource": { + "$ref": "./examples/SQLDatabases_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -924,6 +1017,11 @@ } } }, + "x-ms-examples": { + "Delete a SqlDatabase resource": { + "$ref": "./examples/SQLDatabases_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, diff --git a/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json index fa618cf40c..c8fea81d01 100644 --- a/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json @@ -76,6 +76,14 @@ } } }, + "x-ms-examples": { + "List RabbitMQQueue resources by resource group": { + "$ref": "./examples/RabbitMQQueues_List.json" + }, + "List RabbitMQQueue resources by rootScope": { + "$ref": "./examples/RabbitMQQueues_ListByRootScope.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -118,6 +126,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a RabbitMQQueue resource": { + "$ref": "./examples/RabbitMQQueues_Get.json" + } } }, "put": { @@ -179,6 +192,11 @@ } } }, + "x-ms-examples": { + "Create Or Update a RabbitMQQueue resource": { + "$ref": "./examples/RabbitMQQueues_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -244,6 +262,11 @@ } } }, + "x-ms-examples": { + "Update a RabbitMQQueue resource": { + "$ref": "./examples/RabbitMQQueues_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -300,6 +323,11 @@ } } }, + "x-ms-examples": { + "Delete a RabbitMQQueue resource": { + "$ref": "./examples/RabbitMQQueues_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -353,6 +381,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "List the secrets of a RabbitMQQueue resource": { + "$ref": "./examples/RabbitMQQueues_ListSecrets.json" + } } } }, diff --git a/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json b/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json index ebfe0776f9..8a5ea79c48 100644 --- a/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json @@ -82,6 +82,11 @@ } } }, + "x-ms-examples": { + "List planes": { + "$ref": "./examples/Planes_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -120,6 +125,11 @@ } } }, + "x-ms-examples": { + "List planes by planeType": { + "$ref": "./examples/Planes_ListPlanesByType.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -160,6 +170,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a plane": { + "$ref": "./examples/Planes_GetPlaneLocal.json" + } } }, "put": { @@ -219,6 +234,11 @@ } } }, + "x-ms-examples": { + "Create or update a plane": { + "$ref": "./examples/Planes_CreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -282,6 +302,11 @@ } } }, + "x-ms-examples": { + "Update a plane": { + "$ref": "./examples/Planes_Update.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -336,6 +361,11 @@ } } }, + "x-ms-examples": { + "Delete a plane": { + "$ref": "./examples/Planes_Delete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -378,6 +408,11 @@ } } }, + "x-ms-examples": { + "List resource groups": { + "$ref": "./examples/ResourceGroups_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -427,6 +462,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a resource group": { + "$ref": "./examples/ResourceGroups_Get.json" + } } }, "put": { @@ -487,6 +527,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create or update a resource group": { + "$ref": "./examples/ResourceGroups_CreateOrUpdate.json" + } } }, "patch": { @@ -541,6 +586,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Update a resource group": { + "$ref": "./examples/ResourceGroups_Update.json" + } } }, "delete": { @@ -586,6 +636,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Delete a resource group": { + "$ref": "./examples/ResourceGroups_Delete.json" + } } } }, @@ -634,6 +689,11 @@ } } }, + "x-ms-examples": { + "List resources in a resource group.": { + "$ref": "./examples/Resources_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -668,6 +728,11 @@ } } }, + "x-ms-examples": { + "List AWS credentials": { + "$ref": "./examples/AWSCredential_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -710,6 +775,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a AWS credential": { + "$ref": "./examples/AWSCredential_Get.json" + } } }, "put": { @@ -763,6 +833,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create or update a AWS credential": { + "$ref": "./examples/AWSCredential_CreateOrUpdate.json" + } } }, "patch": { @@ -810,6 +885,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Update a AWS credential": { + "$ref": "./examples/AWSCredential_Update.json" + } } }, "delete": { @@ -848,6 +928,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Delete a AWS credential": { + "$ref": "./examples/AWSCredential_Delete.json" + } } } }, @@ -880,6 +965,11 @@ } } }, + "x-ms-examples": { + "List Azure credentials": { + "$ref": "./examples/AzureCredential_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -922,6 +1012,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get a Azure credential": { + "$ref": "./examples/AzureCredential_Get.json" + } } }, "put": { @@ -975,6 +1070,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create or update a Azure credential": { + "$ref": "./examples/AzureCredential_CreateOrUpdate.json" + } } }, "patch": { @@ -1022,6 +1122,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Update a Azure credential": { + "$ref": "./examples/AzureCredential_Update.json" + } } }, "delete": { @@ -1060,6 +1165,11 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Delete a Azure credential": { + "$ref": "./examples/AzureCredential_Delete.json" + } } } }