diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json deleted file mode 100644 index b3cd5eda5095..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json +++ /dev/null @@ -1,4100 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-05-01-preview", - "title": "AppPlatformManagementClient", - "description": "REST API for Azure Spring Cloud" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get a Service and its properties.", - "operationId": "Services_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the corresponding Service.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_Get": { - "$ref": "./examples/Services_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create a new Service or update an exiting Service.", - "operationId": "Services_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "name": "resource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceResource" - } - } - ], - "responses": { - "201": { - "description": "Created. The response describes the new Service and contains a Location header to query the\r\noperation result.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "200": { - "description": "Success. The response describes the updated Service.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - }, - "Services_CreateOrUpdate_VNetInjection": { - "$ref": "./examples/Services_CreateOrUpdate_VNetInjection.json" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to delete a Service.", - "operationId": "Services_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "202": { - "description": "Accepted. The response indicates the delete operation is performed in the background." - }, - "204": { - "description": "Success. The response indicates the resource is already deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - }, - "patch": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to update an exiting Service.", - "operationId": "Services_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "name": "resource", - "in": "body", - "description": "Parameters for the update operation", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the updated Service.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "202": { - "description": "Accepted. The response indicates the exiting Service is now updating and contains a Location\r\nheader to query the operation result.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/listTestKeys": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "List test keys for a Service.", - "operationId": "Services_ListTestKeys", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the test keys.", - "schema": { - "$ref": "#/definitions/TestKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_ListTestKeys": { - "$ref": "./examples/Services_ListTestKeys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Regenerate a test key for a Service.", - "operationId": "Services_RegenerateTestKey", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "name": "regenerateTestKeyRequest", - "in": "body", - "description": "Parameters for the operation", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateTestKeyRequestPayload" - } - } - ], - "responses": { - "200": { - "description": "Success.", - "schema": { - "$ref": "#/definitions/TestKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_RegenerateTestKey": { - "$ref": "./examples/Services_RegenerateTestKey.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/disableTestEndpoint": { - "post": { - "tags": [ - "AppPlatform" - ], - "operationId": "Services_DisableTestEndpoint", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_DisableTestEndpoint": { - "$ref": "./examples/Services_DisableTestEndpoint.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/enableTestEndpoint": { - "post": { - "tags": [ - "AppPlatform" - ], - "operationId": "Services_EnableTestEndpoint", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/TestKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_EnableTestEndpoint": { - "$ref": "./examples/Services_EnableTestEndpoint.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get an App and its properties.", - "operationId": "Apps_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "name": "syncStatus", - "in": "query", - "description": "Indicates whether sync status", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the corresponding App.", - "schema": { - "$ref": "#/definitions/AppResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Apps_Get": { - "$ref": "./examples/Apps_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create a new App or update an exiting App.", - "operationId": "Apps_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "name": "appResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/AppResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the updated App.", - "schema": { - "$ref": "#/definitions/AppResource" - } - }, - "201": { - "description": "Created. The response describes the new App and contains a Location header to query the operation result.", - "schema": { - "$ref": "#/definitions/AppResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to delete an App.", - "operationId": "Apps_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - } - ], - "responses": { - "204": { - "description": "Success. The response indicates the resource doesn't exist." - }, - "200": { - "description": "Success. The response indicates the resource is deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Apps_Delete": { - "$ref": "./examples/Apps_Delete.json" - } - } - }, - "patch": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to update an exiting App.", - "operationId": "Apps_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "name": "appResource", - "in": "body", - "description": "Parameters for the update operation", - "required": true, - "schema": { - "$ref": "#/definitions/AppResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the updated App.", - "schema": { - "$ref": "#/definitions/AppResource" - } - }, - "202": { - "description": "Accepted. The response indicates the exiting App is now updating and contains a Location header to query the operation result.", - "schema": { - "$ref": "#/definitions/AppResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Handles requests to list all resources in a Service.", - "operationId": "Apps_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of Apps in the Service.", - "schema": { - "$ref": "#/definitions/AppResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Apps_List": { - "$ref": "./examples/Apps_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/getResourceUploadUrl": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Get an resource upload URL for an App, which may be artifacts or source archive.", - "operationId": "Apps_GetResourceUploadUrl", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the resource upload URL.", - "schema": { - "$ref": "#/definitions/ResourceUploadDefinition" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Apps_GetResourceUploadUrl": { - "$ref": "./examples/Apps_GetResourceUploadUrl.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get a Binding and its properties.", - "operationId": "Bindings_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/BindingNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the corresponding Binding.", - "schema": { - "$ref": "#/definitions/BindingResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Bindings_Get": { - "$ref": "./examples/Bindings_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create a new Binding or update an exiting Binding.", - "operationId": "Bindings_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/BindingNameParameter" - }, - { - "name": "bindingResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/BindingResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the created or updated Binding.", - "schema": { - "$ref": "#/definitions/BindingResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Bindings_CreateOrUpdate": { - "$ref": "./examples/Bindings_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to delete a Binding.", - "operationId": "Bindings_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/BindingNameParameter" - } - ], - "responses": { - "204": { - "description": "Success. The response indicates the resource doesn't exist." - }, - "200": { - "description": "Success. The response indicates the resource is deleted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Bindings_Delete": { - "$ref": "./examples/Bindings_Delete.json" - } - } - }, - "patch": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to update an exiting Binding.", - "operationId": "Bindings_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/BindingNameParameter" - }, - { - "name": "bindingResource", - "in": "body", - "description": "Parameters for the update operation", - "required": true, - "schema": { - "$ref": "#/definitions/BindingResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the updated Binding.", - "schema": { - "$ref": "#/definitions/BindingResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Bindings_Update": { - "$ref": "./examples/Bindings_Update.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Handles requests to list all resources in an App.", - "operationId": "Bindings_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of Bindings in the App.", - "schema": { - "$ref": "#/definitions/BindingResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Bindings_List": { - "$ref": "./examples/Bindings_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates/{certificateName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get the certificate resource.", - "operationId": "Certificates_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describe the certificate.", - "schema": { - "$ref": "#/definitions/CertificateResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Certificates_Get": { - "$ref": "./examples/Certificates_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create or update certificate resource.", - "operationId": "Certificates_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "name": "certificateResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/CertificateResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describe the existed certificate updated.", - "schema": { - "$ref": "#/definitions/CertificateResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Certificates_CreateOrUpdate": { - "$ref": "./examples/Certificates_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Delete the certificate resource.", - "operationId": "Certificates_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response indicates the certificate deleted." - }, - "204": { - "description": "No content. The response indicates the certificate doesn't exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Certificates_Delete": { - "$ref": "./examples/Certificates_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/certificates": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "List all the certificates of one user.", - "operationId": "Certificates_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describe the custom domain resource list of one application.", - "schema": { - "$ref": "#/definitions/CertificateResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Certificates_List": { - "$ref": "./examples/Certificates_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Checks that the resource name is valid and is not already in use.", - "operationId": "Services_CheckNameAvailability", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "description": "the region", - "required": true, - "type": "string" - }, - { - "name": "availabilityParameters", - "in": "body", - "description": "Parameters supplied to the operation.", - "required": true, - "schema": { - "$ref": "#/definitions/NameAvailabilityParameters" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes the name availability.", - "schema": { - "$ref": "#/definitions/NameAvailability" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Services_CheckNameAvailability": { - "$ref": "./examples/Services_CheckNameAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/{domainName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get the custom domain of one lifecycle application.", - "operationId": "CustomDomains_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/CustomDomainNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describe the custom domain.", - "schema": { - "$ref": "#/definitions/CustomDomainResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CustomDomains_Get": { - "$ref": "./examples/CustomDomains_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create or update custom domain of one lifecycle application.", - "operationId": "CustomDomains_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/CustomDomainNameParameter" - }, - { - "name": "domainResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/CustomDomainResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describe the existed custom domain updated.", - "schema": { - "$ref": "#/definitions/CustomDomainResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CustomDomains_CreateOrUpdate": { - "$ref": "./examples/CustomDomains_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Delete the custom domain of one lifecycle application.", - "operationId": "CustomDomains_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/CustomDomainNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response indicates the custom domain deleted." - }, - "204": { - "description": "No content. The response indicates the custom domain doesn't exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CustomDomains_Delete": { - "$ref": "./examples/CustomDomains_Delete.json" - } - } - }, - "patch": { - "tags": [ - "AppPlatform" - ], - "description": "Update custom domain of one lifecycle application.", - "operationId": "CustomDomains_Patch", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/CustomDomainNameParameter" - }, - { - "name": "domainResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/CustomDomainResource" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describe the existed custom domain updated.", - "schema": { - "$ref": "#/definitions/CustomDomainResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CustomDomains_Patch": { - "$ref": "./examples/CustomDomains_Patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "List the custom domains of one lifecycle application.", - "operationId": "CustomDomains_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describe the custom domain resource list of one application.", - "schema": { - "$ref": "#/definitions/CustomDomainResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "CustomDomains_List": { - "$ref": "./examples/CustomDomains_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/domains/validate": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Check the resource name is valid as well as not in use.", - "operationId": "CustomDomains_Validate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "name": "validatePayload", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CustomDomainValidatePayload" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describe the name is available.", - "schema": { - "$ref": "#/definitions/CustomDomainValidateResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "CustomDomains_Validate": { - "$ref": "./examples/CustomDomains_Validate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Get a Deployment and its properties.", - "operationId": "Deployments_Get", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the corresponding Deployment.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deployments_Get": { - "$ref": "./examples/Deployments_Get.json" - } - } - }, - "put": { - "tags": [ - "AppPlatform" - ], - "description": "Create a new Deployment or update an exiting Deployment.", - "operationId": "Deployments_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - }, - { - "name": "deploymentResource", - "in": "body", - "description": "Parameters for the create or update operation", - "required": true, - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - } - ], - "responses": { - "201": { - "description": "Created. The response describes the new Deployment and contains a Location header to query the\r\noperation result.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "202": { - "description": "Accepted. The response describes the create or update Deployment request is accepted.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "200": { - "description": "Success. The response describes the updated Deployment.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - }, - "delete": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to delete a Deployment.", - "operationId": "Deployments_Delete", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response indicates the resource is deleted." - }, - "204": { - "description": "Success. The response indicates the resource doesn't exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deployments_Delete": { - "$ref": "./examples/Deployments_Delete.json" - } - } - }, - "patch": { - "tags": [ - "AppPlatform" - ], - "description": "Operation to update an exiting Deployment.", - "operationId": "Deployments_Update", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - }, - { - "name": "deploymentResource", - "in": "body", - "description": "Parameters for the update operation", - "required": true, - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - } - ], - "responses": { - "202": { - "description": "Accepted. The response indicates the exiting Deployment is now updating and contains a Location\r\nheader to query the operation result.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "200": { - "description": "Success. The response describes the updated Deployment.", - "schema": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Handles requests to list all resources in an App.", - "operationId": "Deployments_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "name": "version", - "in": "query", - "description": "Version of the deployments to be listed", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi", - "uniqueItems": false - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of Deployments in the App.", - "schema": { - "$ref": "#/definitions/DeploymentResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Deployments_List": { - "$ref": "./examples/Deployments_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/deployments": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "List deployments for a certain service", - "operationId": "Deployments_ListClusterAllDeployments", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "name": "version", - "in": "query", - "description": "Version of the deployments to be listed", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi", - "uniqueItems": false - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DeploymentResourceCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Deployments_ListClusterAllDeployments": { - "$ref": "./examples/Deployments_ListClusterAllDeployments.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Start the deployment.", - "operationId": "Deployments_Start", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success." - }, - "202": { - "description": "Accepted. The response indicates the Deployment is now starting and contains a Location header to\r\nquery the operation result." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Stop the deployment.", - "operationId": "Deployments_Stop", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success." - }, - "202": { - "description": "Accepted. The response indicates the Deployment is now stopping and contains a Location header to\r\nquery the operation result." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Restart the deployment.", - "operationId": "Deployments_Restart", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success." - }, - "202": { - "description": "Accepted. The response indicates the Deployment is now restarting and contains a Location header\r\nto query the operation result." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "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" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl": { - "post": { - "tags": [ - "AppPlatform" - ], - "description": "Get deployment log file URL", - "operationId": "Deployments_GetLogFileUrl", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ServiceNameParameter" - }, - { - "$ref": "#/parameters/AppNameParameter" - }, - { - "$ref": "#/parameters/DeploymentNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response contains the log file URL.", - "schema": { - "$ref": "#/definitions/LogFileUrlResponse" - } - }, - "204": { - "description": "Success. The deployment does not have log file." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deployments_GetLogFileUrl": { - "$ref": "./examples/Deployments_GetLogFileUrl.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Handles requests to list all resources in a subscription.", - "operationId": "Services_ListBySubscription", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of Services in the subscription.", - "schema": { - "$ref": "#/definitions/ServiceResourceList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Services_ListBySubscription": { - "$ref": "./examples/Services_ListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Handles requests to list all resources in a resource group.", - "operationId": "Services_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of Services in the resource group.", - "schema": { - "$ref": "#/definitions/ServiceResourceList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Services_List": { - "$ref": "./examples/Services_List.json" - } - } - } - }, - "/providers/Microsoft.AppPlatform/operations": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Lists all of the available REST API operations of the Microsoft.AppPlatform provider.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the list of operations.", - "schema": { - "$ref": "#/definitions/AvailableOperations" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - } - } - }, - "/providers/Microsoft.AppPlatform/runtimeVersions": { - "get": { - "tags": [ - "AppPlatform" - ], - "description": "Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.", - "operationId": "RuntimeVersions_ListRuntimeVersions", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success. The response describes the details of all supported deployment runtime versions.", - "schema": { - "$ref": "#/definitions/AvailableRuntimeVersions" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "RuntimeVersions_ListRuntimeVersions": { - "$ref": "./examples/RuntimeVersions_ListRuntimeVersions.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/skus": { - "get": { - "tags": [ - "AppPlatform" - ], - "operationId": "Sku_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ResourceSkuCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Sku_List": { - "$ref": "./examples/Sku_List.json" - } - } - } - } - }, - "definitions": { - "ServiceResource": { - "description": "Service resource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ClusterResourceProperties", - "description": "Properties of the Service resource", - "x-ms-client-flatten": false - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "Sku of the Service resource" - } - } - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "location": { - "description": "The GEO location of the resource.", - "type": "string" - }, - "tags": { - "description": "Tags of the service which is a list of key value pairs that describe the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "Resource": { - "description": "The core properties of ARM resources.", - "type": "object", - "properties": { - "id": { - "description": "Fully qualified resource Id for the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "ClusterResourceProperties": { - "description": "Service properties payload", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the Service", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Deleted", - "Succeeded", - "Failed", - "Moving", - "Moved", - "MoveFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "configServerProperties": { - "$ref": "#/definitions/ConfigServerProperties", - "description": "Config server git properties of the Service" - }, - "trace": { - "$ref": "#/definitions/TraceProperties", - "description": "Trace properties of the Service" - }, - "networkProfile": { - "$ref": "#/definitions/NetworkProfile", - "description": "Network profile of the Service" - }, - "version": { - "format": "int32", - "description": "Version of the Service", - "type": "integer", - "readOnly": true - }, - "serviceId": { - "description": "ServiceInstanceEntity GUID which uniquely identifies a created resource", - "type": "string", - "readOnly": true - } - } - }, - "ManagedIdentityProperties": { - "description": "Managed identity properties retrieved from ARM request headers.", - "type": "object", - "properties": { - "type": { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedIdentityType", - "modelAsString": true - } - }, - "principalId": { - "type": "string" - }, - "tenantId": { - "type": "string" - } - } - }, - "Sku": { - "description": "Sku of Azure Spring Cloud", - "type": "object", - "properties": { - "name": { - "description": "Name of the Sku", - "type": "string", - "default": "S0" - }, - "tier": { - "description": "Tier of the Sku", - "type": "string", - "default": "Standard" - }, - "capacity": { - "format": "int32", - "description": "Current capacity of the target resource", - "type": "integer" - } - } - }, - "ConfigServerProperties": { - "description": "Config server git properties payload", - "type": "object", - "properties": { - "state": { - "description": "State of the config server.", - "enum": [ - "NotAvailable", - "Deleted", - "Failed", - "Succeeded", - "Updating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ConfigServerState", - "modelAsString": true - } - }, - "error": { - "$ref": "#/definitions/Error", - "description": "Error when apply config server settings." - }, - "configServer": { - "$ref": "#/definitions/ConfigServerSettings", - "description": "Settings of config server." - } - } - }, - "TraceProperties": { - "description": "Trace properties payload", - "type": "object", - "properties": { - "state": { - "description": "State of the trace proxy.", - "enum": [ - "NotAvailable", - "Failed", - "Succeeded", - "Updating" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "TraceProxyState", - "modelAsString": true - } - }, - "error": { - "$ref": "#/definitions/Error", - "description": "Error when apply trace proxy changes." - }, - "enabled": { - "description": "Indicates whether enable the tracing functionality", - "type": "boolean" - }, - "appInsightInstrumentationKey": { - "description": "Target application insight instrumentation key", - "type": "string" - } - } - }, - "NetworkProfile": { - "description": "Service network profile payload", - "type": "object", - "properties": { - "serviceRuntimeSubnetId": { - "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "appSubnetId": { - "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "serviceCidr": { - "description": "Azure Spring Cloud service reserved CIDR", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "serviceRuntimeNetworkResourceGroup": { - "description": "Name of the resource group containing network resources of Azure Spring Cloud Service Runtime", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "appNetworkResourceGroup": { - "description": "Name of the resource group containing network resources of Azure Spring Cloud Apps", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "outboundIPs": { - "description": "Desired outbound IP resources for Azure Spring Cloud instance.", - "type": "object", - "readOnly": true, - "properties": { - "publicIPs": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" - }, - "description": "A list of public IP addresses." - } - } - }, - "requiredTraffics": { - "description": "Required inbound or outbound traffics for Azure Spring Cloud instance.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/RequiredTraffic" - } - } - } - }, - "RequiredTraffic": { - "description": "Required inbound or outbound traffic for Azure Spring Cloud instance.", - "type": "object", - "properties": { - "protocol": { - "description": "The protocol of required traffic", - "type": "string", - "readOnly": true - }, - "port": { - "description": "The port of required traffic", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "ips": { - "description": "The ip list of required traffic", - "type": "array", - "readOnly": true, - "items": { - "type": "string" - } - }, - "fqdns": { - "description": "The FQDN list of required traffic", - "type": "array", - "readOnly": true, - "items": { - "type": "string" - } - }, - "direction": { - "description": "The direction of required traffic", - "type": "string", - "readOnly": true, - "enum": [ - "Inbound", - "Outbound" - ], - "x-ms-enum": { - "name": "trafficDirection", - "modelAsString": true - } - } - } - }, - "Error": { - "description": "The error code compose of code and message.", - "type": "object", - "properties": { - "code": { - "description": "The code of error.", - "type": "string" - }, - "message": { - "description": "The message of error.", - "type": "string" - } - } - }, - "ConfigServerSettings": { - "description": "The settings of config server.", - "type": "object", - "properties": { - "gitProperty": { - "$ref": "#/definitions/ConfigServerGitProperty", - "description": "Property of git environment." - } - } - }, - "ConfigServerGitProperty": { - "description": "Property of git.", - "required": [ - "uri" - ], - "type": "object", - "properties": { - "repositories": { - "description": "Repositories of git.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/GitPatternRepository" - } - }, - "uri": { - "description": "URI of the repository", - "type": "string" - }, - "label": { - "description": "Label of the repository", - "type": "string" - }, - "searchPaths": { - "description": "Searching path of the repository", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "username": { - "description": "Username of git repository basic auth.", - "type": "string" - }, - "password": { - "description": "Password of git repository basic auth.", - "type": "string" - }, - "hostKey": { - "description": "Public sshKey of git repository.", - "type": "string" - }, - "hostKeyAlgorithm": { - "description": "SshKey algorithm of git repository.", - "type": "string" - }, - "privateKey": { - "description": "Private sshKey algorithm of git repository.", - "type": "string" - }, - "strictHostKeyChecking": { - "description": "Strict host key checking or not.", - "type": "boolean" - } - } - }, - "GitPatternRepository": { - "description": "Git repository property payload", - "required": [ - "name", - "uri" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the repository", - "type": "string" - }, - "pattern": { - "description": "Collection of pattern of the repository", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "uri": { - "description": "URI of the repository", - "type": "string" - }, - "label": { - "description": "Label of the repository", - "type": "string" - }, - "searchPaths": { - "description": "Searching path of the repository", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "username": { - "description": "Username of git repository basic auth.", - "type": "string" - }, - "password": { - "description": "Password of git repository basic auth.", - "type": "string" - }, - "hostKey": { - "description": "Public sshKey of git repository.", - "type": "string" - }, - "hostKeyAlgorithm": { - "description": "SshKey algorithm of git repository.", - "type": "string" - }, - "privateKey": { - "description": "Private sshKey algorithm of git repository.", - "type": "string" - }, - "strictHostKeyChecking": { - "description": "Strict host key checking or not.", - "type": "boolean" - } - } - }, - "TestKeys": { - "description": "Test keys payload", - "type": "object", - "properties": { - "primaryKey": { - "description": "Primary key", - "type": "string" - }, - "secondaryKey": { - "description": "Secondary key", - "type": "string" - }, - "primaryTestEndpoint": { - "description": "Primary test endpoint", - "type": "string" - }, - "secondaryTestEndpoint": { - "description": "Secondary test endpoint", - "type": "string" - }, - "enabled": { - "description": "Indicates whether the test endpoint feature enabled or not", - "type": "boolean" - } - } - }, - "RegenerateTestKeyRequestPayload": { - "description": "Regenerate test key request payload", - "required": [ - "keyType" - ], - "type": "object", - "properties": { - "keyType": { - "description": "Type of the test key", - "enum": [ - "Primary", - "Secondary" - ], - "type": "string", - "x-ms-enum": { - "name": "TestKeyType", - "modelAsString": true - } - } - } - }, - "AppResource": { - "description": "App resource payload", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AppResourceProperties", - "description": "Properties of the App resource", - "x-ms-client-flatten": false - }, - "identity": { - "$ref": "#/definitions/ManagedIdentityProperties", - "description": "The Managed Identity type of the app resource" - }, - "location": { - "description": "The GEO location of the application, always the same with its parent resource", - "type": "string" - } - } - }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": {} - }, - "AppResourceProperties": { - "description": "App resource properties payload", - "type": "object", - "properties": { - "public": { - "description": "Indicates whether the App exposes public endpoint", - "type": "boolean" - }, - "url": { - "description": "URL of the App", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the App", - "enum": [ - "Succeeded", - "Failed", - "Creating", - "Updating", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AppResourceProvisioningState", - "modelAsString": true - } - }, - "activeDeploymentName": { - "description": "Name of the active deployment of the App", - "type": "string" - }, - "fqdn": { - "description": "Fully qualified dns Name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "httpsOnly": { - "description": "Indicate if only https is allowed.", - "type": "boolean", - "default": false - }, - "createdTime": { - "format": "date-time", - "description": "Date time when the resource is created", - "type": "string", - "readOnly": true - }, - "temporaryDisk": { - "$ref": "#/definitions/TemporaryDisk", - "description": "Temporary disk settings" - }, - "persistentDisk": { - "$ref": "#/definitions/PersistentDisk", - "description": "Persistent disk settings" - } - } - }, - "TemporaryDisk": { - "description": "Temporary disk payload", - "type": "object", - "properties": { - "sizeInGB": { - "format": "int32", - "description": "Size of the temporary disk in GB", - "maximum": 5.0, - "minimum": 0.0, - "type": "integer" - }, - "mountPath": { - "description": "Mount path of the temporary disk", - "type": "string", - "default": "/tmp" - } - } - }, - "PersistentDisk": { - "description": "Persistent disk payload", - "type": "object", - "properties": { - "sizeInGB": { - "format": "int32", - "description": "Size of the persistent disk in GB", - "maximum": 50.0, - "minimum": 0.0, - "type": "integer" - }, - "usedInGB": { - "format": "int32", - "description": "Size of the used persistent disk in GB", - "maximum": 50.0, - "minimum": 0.0, - "type": "integer", - "readOnly": true - }, - "mountPath": { - "description": "Mount path of the persistent disk", - "type": "string" - } - } - }, - "AppResourceCollection": { - "description": "Object that includes an array of App resources and a possible link for next set", - "type": "object", - "properties": { - "value": { - "description": "Collection of App resources", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/AppResource" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "ResourceUploadDefinition": { - "description": "Resource upload definition payload", - "type": "object", - "properties": { - "relativePath": { - "description": "Source relative path", - "type": "string" - }, - "uploadUrl": { - "description": "Upload URL", - "type": "string" - } - } - }, - "BindingResource": { - "description": "Binding resource payload", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/BindingResourceProperties", - "description": "Properties of the Binding resource", - "x-ms-client-flatten": false - } - } - }, - "BindingResourceProperties": { - "description": "Binding resource properties payload", - "type": "object", - "properties": { - "resourceName": { - "description": "The name of the bound resource", - "type": "string", - "readOnly": true - }, - "resourceType": { - "description": "The standard Azure resource type of the bound resource", - "type": "string", - "readOnly": true - }, - "resourceId": { - "description": "The Azure resource id of the bound resource", - "type": "string" - }, - "key": { - "description": "The key of the bound resource", - "type": "string" - }, - "bindingParameters": { - "description": "Binding parameters of the Binding resource", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "generatedProperties": { - "description": "The generated Spring Boot property file for this binding. The secret will be deducted.", - "type": "string", - "readOnly": true - }, - "createdAt": { - "description": "Creation time of the Binding resource", - "type": "string", - "readOnly": true - }, - "updatedAt": { - "description": "Update time of the Binding resource", - "type": "string", - "readOnly": true - } - } - }, - "BindingResourceCollection": { - "description": "Object that includes an array of Binding resources and a possible link for next set", - "type": "object", - "properties": { - "value": { - "description": "Collection of Binding resources", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/BindingResource" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "CertificateResource": { - "description": "Certificate resource payload.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/CertificateProperties", - "description": "Properties of the certificate resource payload.", - "x-ms-client-flatten": false - } - } - }, - "CertificateProperties": { - "description": "Certificate resource payload.", - "required": [ - "vaultUri", - "keyVaultCertName" - ], - "type": "object", - "properties": { - "thumbprint": { - "description": "The thumbprint of certificate.", - "type": "string", - "readOnly": true - }, - "vaultUri": { - "description": "The vault uri of user key vault.", - "type": "string" - }, - "keyVaultCertName": { - "description": "The certificate name of key vault.", - "type": "string" - }, - "certVersion": { - "description": "The certificate version of key vault.", - "type": "string" - }, - "issuer": { - "description": "The issuer of certificate.", - "type": "string", - "readOnly": true - }, - "issuedDate": { - "description": "The issue date of certificate.", - "type": "string", - "readOnly": true - }, - "expirationDate": { - "description": "The expiration date of certificate.", - "type": "string", - "readOnly": true - }, - "activateDate": { - "description": "The activate date of certificate.", - "type": "string", - "readOnly": true - }, - "subjectName": { - "description": "The subject name of certificate.", - "type": "string", - "readOnly": true - }, - "dnsNames": { - "description": "The domain list of certificate.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - } - } - }, - "CertificateResourceCollection": { - "description": "Collection compose of certificate resources list and a possible link for next page.", - "type": "object", - "properties": { - "value": { - "description": "The certificate resources list.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/CertificateResource" - } - }, - "nextLink": { - "description": "The link to next page of certificate list.", - "type": "string" - } - } - }, - "NameAvailabilityParameters": { - "description": "Name availability parameters payload", - "required": [ - "type", - "name" - ], - "type": "object", - "properties": { - "type": { - "description": "Type of the resource to check name availability", - "type": "string" - }, - "name": { - "description": "Name to be checked", - "type": "string" - } - } - }, - "NameAvailability": { - "description": "Name availability result payload", - "type": "object", - "properties": { - "nameAvailable": { - "description": "Indicates whether the name is available", - "type": "boolean" - }, - "reason": { - "description": "Reason why the name is not available", - "type": "string" - }, - "message": { - "description": "Message why the name is not available", - "type": "string" - } - }, - "readOnly": true - }, - "CustomDomainResource": { - "description": "Custom domain resource payload.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/CustomDomainProperties", - "description": "Properties of the custom domain resource.", - "x-ms-client-flatten": false - } - } - }, - "CustomDomainProperties": { - "description": "Custom domain of app resource payload.", - "type": "object", - "properties": { - "thumbprint": { - "description": "The thumbprint of bound certificate.", - "type": "string" - }, - "appName": { - "description": "The app name of domain.", - "type": "string", - "readOnly": true - }, - "certName": { - "description": "The bound certificate name of domain.", - "type": "string" - } - } - }, - "CustomDomainResourceCollection": { - "description": "Collection compose of a custom domain resources list and a possible link for next page.", - "type": "object", - "properties": { - "value": { - "description": "The custom domain resources list.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/CustomDomainResource" - } - }, - "nextLink": { - "description": "The link to next page of custom domain list.", - "type": "string" - } - } - }, - "CustomDomainValidatePayload": { - "description": "Custom domain validate payload.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "Name to be validated", - "type": "string" - } - } - }, - "CustomDomainValidateResult": { - "description": "Validation result for custom domain.", - "type": "object", - "properties": { - "isValid": { - "description": "Indicates if domain name is valid.", - "type": "boolean" - }, - "message": { - "description": "Message of why domain name is invalid.", - "type": "string" - } - } - }, - "DeploymentResource": { - "description": "Deployment resource payload", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/DeploymentResourceProperties", - "description": "Properties of the Deployment resource", - "x-ms-client-flatten": false - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "Sku of the Deployment resource" - } - } - }, - "DeploymentResourceProperties": { - "description": "Deployment resource properties payload", - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/UserSourceInfo", - "description": "Uploaded source information of the deployment." - }, - "appName": { - "description": "App name of the deployment", - "type": "string", - "readOnly": true - }, - "deploymentSettings": { - "$ref": "#/definitions/DeploymentSettings", - "description": "Deployment settings of the Deployment" - }, - "provisioningState": { - "description": "Provisioning state of the Deployment", - "enum": [ - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DeploymentResourceProvisioningState", - "modelAsString": true - } - }, - "status": { - "description": "Status of the Deployment", - "enum": [ - "Unknown", - "Stopped", - "Running", - "Failed", - "Allocating", - "Upgrading", - "Compiling" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DeploymentResourceStatus", - "modelAsString": true - } - }, - "active": { - "description": "Indicates whether the Deployment is active", - "type": "boolean", - "readOnly": true - }, - "createdTime": { - "format": "date-time", - "description": "Date time when the resource is created", - "type": "string", - "readOnly": true - }, - "instances": { - "description": "Collection of instances belong to the Deployment", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/DeploymentInstance" - }, - "readOnly": true - } - } - }, - "UserSourceInfo": { - "description": "Source information for a deployment", - "type": "object", - "properties": { - "type": { - "description": "Type of the source uploaded", - "enum": [ - "Jar", - "NetCoreZip", - "Source" - ], - "type": "string", - "x-ms-enum": { - "name": "UserSourceType", - "modelAsString": true - } - }, - "relativePath": { - "description": "Relative path of the storage which stores the source", - "type": "string" - }, - "version": { - "description": "Version of the source", - "type": "string" - }, - "artifactSelector": { - "description": "Selector for the artifact to be used for the deployment for multi-module projects. This should be\r\nthe relative path to the target module/project.", - "type": "string" - } - } - }, - "DeploymentSettings": { - "description": "Deployment settings payload", - "type": "object", - "properties": { - "cpu": { - "format": "int32", - "description": "Required CPU, basic tier should be 1, standard tier should be in range (1, 4)", - "default": 1, - "type": "integer" - }, - "memoryInGB": { - "format": "int32", - "description": "Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)", - "default": 1, - "type": "integer" - }, - "jvmOptions": { - "description": "JVM parameter", - "type": "string" - }, - "netCoreMainEntryPath": { - "description": "The path to the .NET executable relative to zip root", - "type": "string" - }, - "instanceCount": { - "format": "int32", - "description": "Instance count, basic tier should be in range (1, 25), standard tier should be in range (1, 500)", - "default": 1, - "type": "integer" - }, - "environmentVariables": { - "description": "Collection of environment variables", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "runtimeVersion": { - "description": "Runtime version", - "default": "Java_8", - "enum": [ - "Java_8", - "Java_11", - "NetCore_31" - ], - "type": "string", - "x-ms-enum": { - "name": "RuntimeVersion", - "modelAsString": true - } - } - } - }, - "DeploymentInstance": { - "description": "Deployment instance payload", - "type": "object", - "properties": { - "name": { - "description": "Name of the deployment instance", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Status of the deployment instance", - "type": "string", - "readOnly": true - }, - "reason": { - "description": "Failed reason of the deployment instance", - "type": "string", - "readOnly": true - }, - "discoveryStatus": { - "description": "Discovery status of the deployment instance", - "type": "string", - "readOnly": true - }, - "startTime": { - "description": "Start time of the deployment instance", - "type": "string", - "readOnly": true - } - } - }, - "DeploymentResourceCollection": { - "description": "Object that includes an array of App resources and a possible link for next set", - "type": "object", - "properties": { - "value": { - "description": "Collection of Deployment resources", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/DeploymentResource" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "LogFileUrlResponse": { - "description": "Log file URL payload", - "required": [ - "url" - ], - "type": "object", - "properties": { - "url": { - "description": "URL of the log file", - "type": "string" - } - } - }, - "ServiceResourceList": { - "description": "Object that includes an array of Service resources and a possible link for next set", - "type": "object", - "properties": { - "value": { - "description": "Collection of Service resources", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ServiceResource" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "AvailableOperations": { - "description": "Available operations of the service", - "type": "object", - "properties": { - "value": { - "description": "Collection of available operation details", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/OperationDetail" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "OperationDetail": { - "description": "Operation detail payload", - "type": "object", - "properties": { - "name": { - "description": "Name of the operation", - "type": "string" - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "Display of the operation" - }, - "actionType": { - "description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", - "type": "string", - "readOnly": true, - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "modelAsString": true - } - }, - "origin": { - "description": "Origin of the operation", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/OperationProperties", - "description": "Properties of the operation" - } - } - }, - "OperationDisplay": { - "description": "Operation display payload", - "type": "object", - "properties": { - "provider": { - "description": "Resource provider of the operation", - "type": "string" - }, - "resource": { - "description": "Resource of the operation", - "type": "string" - }, - "operation": { - "description": "Localized friendly name for the operation", - "type": "string" - }, - "description": { - "description": "Localized friendly description for the operation", - "type": "string" - } - } - }, - "OperationProperties": { - "description": "Extra Operation properties", - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification", - "description": "Service specifications of the operation" - } - } - }, - "ServiceSpecification": { - "description": "Service specification payload", - "type": "object", - "properties": { - "logSpecifications": { - "description": "Specifications of the Log for Azure Monitoring", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/LogSpecification" - } - }, - "metricSpecifications": { - "description": "Specifications of the Metrics for Azure Monitoring", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - } - } - } - }, - "LogSpecification": { - "description": "Specifications of the Log for Azure Monitoring", - "type": "object", - "properties": { - "name": { - "description": "Name of the log", - "type": "string" - }, - "displayName": { - "description": "Localized friendly display name of the log", - "type": "string" - }, - "blobDuration": { - "description": "Blob duration of the log", - "type": "string" - } - } - }, - "MetricSpecification": { - "description": "Specifications of the Metrics for Azure Monitoring", - "type": "object", - "properties": { - "name": { - "description": "Name of the metric", - "type": "string" - }, - "displayName": { - "description": "Localized friendly display name of the metric", - "type": "string" - }, - "displayDescription": { - "description": "Localized friendly description of the metric", - "type": "string" - }, - "unit": { - "description": "Unit that makes sense for the metric", - "type": "string" - }, - "category": { - "description": "Name of the metric category that the metric belongs to. A metric can only belong to a single category.", - "type": "string" - }, - "aggregationType": { - "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", - "type": "string" - }, - "supportedAggregationTypes": { - "description": "Supported aggregation types", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "supportedTimeGrainTypes": { - "description": "Supported time grain types", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "fillGapWithZero": { - "description": "Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.", - "type": "boolean" - }, - "dimensions": { - "description": "Dimensions of the metric", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/MetricDimension" - } - }, - "sourceMdmNamespace": { - "description": "Name of the MDM namespace. Optional.", - "type": "string" - } - } - }, - "MetricDimension": { - "description": "Specifications of the Dimension of metrics", - "type": "object", - "properties": { - "name": { - "description": "Name of the dimension", - "type": "string" - }, - "displayName": { - "description": "Localized friendly display name of the dimension", - "type": "string" - }, - "toBeExportedForShoebox": { - "description": "Whether this dimension should be included for the Shoebox export scenario", - "type": "boolean" - } - } - }, - "ResourceSkuCollection": { - "type": "object", - "properties": { - "value": { - "description": "Collection of resource SKU", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSku" - } - }, - "nextLink": { - "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", - "type": "string" - } - } - }, - "ResourceSku": { - "description": "Describes an available Azure Spring Cloud SKU.", - "type": "object", - "properties": { - "resourceType": { - "description": "Gets the type of resource the SKU applies to.", - "type": "string" - }, - "name": { - "description": "Gets the name of SKU.", - "type": "string" - }, - "tier": { - "description": "Gets the tier of SKU.", - "type": "string" - }, - "capacity": { - "$ref": "#/definitions/SkuCapacity", - "description": "Gets the capacity of SKU." - }, - "locations": { - "description": "Gets the set of locations that the SKU is available.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "locationInfo": { - "description": "Gets a list of locations and availability zones in those locations where the SKU is available.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSkuLocationInfo" - } - }, - "restrictions": { - "description": "Gets the restrictions because of which SKU cannot be used. This is\r\nempty if there are no restrictions.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSkuRestrictions" - } - } - } - }, - "SkuCapacity": { - "description": "The SKU capacity", - "required": [ - "minimum" - ], - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Gets or sets the minimum.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Gets or sets the maximum.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Gets or sets the default.", - "type": "integer" - }, - "scaleType": { - "description": "Gets or sets the type of the scale.", - "enum": [ - "None", - "Manual", - "Automatic" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuScaleType", - "modelAsString": true - } - } - } - }, - "ResourceSkuLocationInfo": { - "type": "object", - "properties": { - "location": { - "description": "Gets location of the SKU", - "type": "string" - }, - "zones": { - "description": "Gets list of availability zones where the SKU is supported.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "zoneDetails": { - "description": "Gets details of capabilities available to a SKU in specific zones.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSkuZoneDetails" - } - } - } - }, - "ResourceSkuRestrictions": { - "type": "object", - "properties": { - "type": { - "description": "Gets the type of restrictions. Possible values include: 'Location', 'Zone'", - "enum": [ - "Location", - "Zone" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceSkuRestrictionsType", - "modelAsString": true - } - }, - "values": { - "description": "Gets the value of restrictions. If the restriction type is set to\r\nlocation. This would be different locations where the SKU is restricted.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "restrictionInfo": { - "$ref": "#/definitions/ResourceSkuRestrictionInfo", - "description": "Gets the information about the restriction where the SKU cannot be used." - }, - "reasonCode": { - "description": "Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'", - "enum": [ - "QuotaId", - "NotAvailableForSubscription" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceSkuRestrictionsReasonCode", - "modelAsString": true - } - } - } - }, - "ResourceSkuZoneDetails": { - "type": "object", - "properties": { - "name": { - "description": "Gets the set of zones that the SKU is available in with the\r\nspecified capabilities.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Gets a list of capabilities that are available for the SKU in the\r\nspecified list of zones.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSkuCapabilities" - } - } - } - }, - "ResourceSkuRestrictionInfo": { - "type": "object", - "properties": { - "locations": { - "description": "Gets locations where the SKU is restricted", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - }, - "zones": { - "description": "Gets list of availability zones where the SKU is restricted.", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ResourceSkuCapabilities": { - "type": "object", - "properties": { - "name": { - "description": "Gets an invariant to describe the feature.", - "type": "string" - }, - "value": { - "description": "Gets an invariant if the feature is measured by quantity.", - "type": "string" - } - } - }, - "CloudError": { - "description": "An error response from the service.", - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody" - } - }, - "x-ms-external": true - }, - "CloudErrorBody": { - "description": "An error response from the service.", - "properties": { - "code": { - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.", - "type": "string" - }, - "message": { - "description": "A message describing the error, intended to be suitable for display in a user interface.", - "type": "string" - }, - "target": { - "description": "The target of the particular error. For example, the name of the property in error.", - "type": "string" - }, - "details": { - "description": "A list of additional details about the error.", - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - } - } - }, - "x-ms-external": true - }, - "AvailableRuntimeVersions": { - "type": "object", - "properties": { - "value": { - "description": "A list of all supported runtime versions.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/SupportedRuntimeVersion" - }, - "readOnly": true - } - }, - "readOnly": true - }, - "SupportedRuntimeVersion": { - "description": "Supported deployment runtime version descriptor.", - "type": "object", - "properties": { - "value": { - "description": "The raw value which could be passed to deployment CRUD operations.", - "enum": [ - "Java_8", - "Java_11", - "NetCore_31" - ], - "type": "string", - "x-ms-enum": { - "name": "SupportedRuntimeValue", - "modelAsString": true - } - }, - "platform": { - "description": "The platform of this runtime version (possible values: \"Java\" or \".NET\").", - "enum": [ - "Java", - ".NET Core" - ], - "type": "string", - "x-ms-enum": { - "name": "SupportedRuntimePlatform", - "modelAsString": true - } - }, - "version": { - "description": "The detailed version (major.minor) of the platform.", - "type": "string" - } - }, - "readOnly": true - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "Client Api Version.", - "required": true, - "type": "string", - "enum": [ - "2019-05-01-preview" - ] - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", - "required": true, - "type": "string" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ServiceNameParameter": { - "name": "serviceName", - "in": "path", - "description": "The name of the Service resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "AppNameParameter": { - "name": "appName", - "in": "path", - "description": "The name of the App resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "DeploymentNameParameter": { - "name": "deploymentName", - "in": "path", - "description": "The name of the Deployment resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "BindingNameParameter": { - "name": "bindingName", - "in": "path", - "description": "The name of the Binding resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "CustomDomainNameParameter": { - "name": "domainName", - "in": "path", - "description": "The name of the custom domain resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "CertificateNameParameter": { - "name": "certificateName", - "in": "path", - "description": "The name of the certificate resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json deleted file mode 100644 index c8a2405e888e..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "appResource": { - "properties": { - "public": true, - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "mountPath": "/mypersistentdisk" - } - }, - "identity": null, - "location": "eastus" - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Succeeded", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - }, - "201": { - "body": { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Creating", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Delete.json deleted file mode 100644 index 46c4674f7148..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Get.json deleted file mode 100644 index 0406834aeb98..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Succeeded", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_GetResourceUploadUrl.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_GetResourceUploadUrl.json deleted file mode 100644 index 29f68c5bd49d..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_GetResourceUploadUrl.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "relativePath": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20190801-3ed9f4a2-986b-4bbd-b833-a42dccb2f777", - "uploadUrl": "https://springcloudstorageaccount.file.core.windows.net/bd172614181f42e2853f6fd90029cda8/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20190801-3ed9f4a2-986b-4bbd-b833-a42dccb2f777?sv=2018-03-28&sr=f&sig=SampleSignature&se=2019-08-01T10%3A42%3A21Z&sp=w" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_List.json deleted file mode 100644 index d8a6e46355c2..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_List.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Succeeded", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json deleted file mode 100644 index 6fbd8627778f..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "parameters": { - "appResource": { - "properties": { - "public": true, - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "mountPath": "/mypersistentdisk" - } - }, - "identity": { - "type": "SystemAssigned", - "principalId": null, - "tenantId": null - }, - "location": "eastus" - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Succeeded", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2019-05-01-preview" - }, - "body": { - "properties": { - "public": true, - "url": "myapp.myservice.azuremicroservices.io", - "provisioningState": "Updating", - "activeDeploymentName": "mydeployment1", - "fqdn": "myapp.mydomain.com", - "httpsOnly": false, - "temporaryDisk": { - "sizeInGB": 2, - "mountPath": "/mytemporarydisk" - }, - "persistentDisk": { - "sizeInGB": 2, - "usedInGB": 1, - "mountPath": "/mypersistentdisk" - } - }, - "type": "Microsoft.AppPlatform/Spring/apps", - "identity": { - "type": "SystemAssigned", - "principalId": "principalid", - "tenantId": "tenantid" - }, - "location": "eastus", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", - "name": "myapp" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_CreateOrUpdate.json deleted file mode 100644 index b989e5a57739..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_CreateOrUpdate.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "bindingResource": { - "properties": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1", - "key": "xxxx", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": null, - "createdAt": null, - "updatedAt": null - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "bindingName": "mybinding" - }, - "responses": { - "200": { - "body": { - "properties": { - "resourceName": "my-cosmosdb-1", - "resourceType": "Microsoft.DocumentDB", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6", - "createdAt": "2019-01-01T12:34:56.000Z", - "updatedAt": "2019-01-01T12:34:56.000Z" - }, - "type": "Microsoft.AppPlatform/Spring/apps/bindings", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding", - "name": "mybinding" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Delete.json deleted file mode 100644 index 8427ab4132e5..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "bindingName": "mybinding" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Get.json deleted file mode 100644 index 3caed4f063e5..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Get.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "bindingName": "mybinding" - }, - "responses": { - "200": { - "body": { - "properties": { - "resourceName": "my-cosmosdb-1", - "resourceType": "Microsoft.DocumentDB", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6", - "createdAt": "2019-01-01T12:34:56.000Z", - "updatedAt": "2019-01-01T12:34:56.000Z" - }, - "type": "Microsoft.AppPlatform/Spring/apps/bindings", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding", - "name": "mybinding" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_List.json deleted file mode 100644 index 5478de479483..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_List.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "resourceName": "my-cosmosdb-1", - "resourceType": "Microsoft.DocumentDB", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6", - "createdAt": "2019-01-01T12:34:56.000Z", - "updatedAt": "2019-01-01T12:34:56.000Z" - }, - "type": "Microsoft.AppPlatform/Spring/apps/bindings", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding", - "name": "mybinding" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Update.json deleted file mode 100644 index 0d7889bef1de..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Update.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "bindingResource": { - "properties": { - "key": "xxxx", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": null, - "createdAt": null, - "updatedAt": null - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "bindingName": "mybinding" - }, - "responses": { - "200": { - "body": { - "properties": { - "resourceName": "my-cosmosdb-1", - "resourceType": "Microsoft.DocumentDB", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1", - "bindingParameters": { - "databaseName": "db1", - "apiType": "SQL" - }, - "generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6", - "createdAt": "2019-01-01T12:34:56.000Z", - "updatedAt": "2019-01-01T12:34:56.000Z" - }, - "type": "Microsoft.AppPlatform/Spring/apps/bindings", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding", - "name": "mybinding" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_CreateOrUpdate.json deleted file mode 100644 index b25bf2082651..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_CreateOrUpdate.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "certificateResource": { - "properties": { - "vaultUri": "https://myvault.vault.azure.net", - "keyVaultCertName": "mycert", - "certVersion": "08a219d06d874795a96db47e06fbb01e" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "certificateName": "mycertificate" - }, - "responses": { - "200": { - "body": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "vaultUri": "https://myvault.vault.azure.net", - "keyVaultCertName": "mycert", - "certVersion": "08a219d06d874795a96db47e06fbb01e", - "issuer": "mydomain.com", - "issuedDate": "2019-02-20T07:40:42Z", - "expirationDate": "2019-02-21T07:40:42Z", - "activateDate": "2019-02-22T07:40:42Z", - "subjectName": "mysubjectname", - "dnsNames": [ - "mydomain.com", - "mydomain.net", - "mydomain.io" - ] - }, - "type": "Microsoft.AppPlatform/Spring/certificates", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycertificate", - "name": "mycertificate" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Delete.json deleted file mode 100644 index 6c22ffd192b4..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "certificateName": "mycertificate" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Get.json deleted file mode 100644 index 7b39fefc11bf..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_Get.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "certificateName": "mycertificate" - }, - "responses": { - "200": { - "body": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "vaultUri": "https://myvault.vault.azure.net", - "keyVaultCertName": "mycert", - "certVersion": "08a219d06d874795a96db47e06fbb01e", - "issuer": "mydomain.com", - "issuedDate": "2019-02-20T07:40:42Z", - "expirationDate": "2019-02-21T07:40:42Z", - "activateDate": "2019-02-22T07:40:42Z", - "subjectName": "mysubjectname", - "dnsNames": [ - "mydomain.com", - "mydomain.net", - "mydomain.io" - ] - }, - "type": "Microsoft.AppPlatform/Spring/certificates", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycertificate", - "name": "mycertificate" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_List.json deleted file mode 100644 index 7e234639163e..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Certificates_List.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myService" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "vaultUri": "https://myvault.vault.azure.net", - "keyVaultCertName": "mycert", - "certVersion": "08a219d06d874795a96db47e06fbb01e", - "issuer": "mydomain.com", - "issuedDate": "2019-02-20T07:40:42Z", - "expirationDate": "2019-02-21T07:40:42Z", - "activateDate": "2019-02-22T07:40:42Z", - "subjectName": "mysubjectname", - "dnsNames": [ - "mydomain.com", - "mydomain.net", - "mydomain.io" - ] - }, - "type": "Microsoft.AppPlatform/Spring/certificates", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycertificate", - "name": "mycertificate" - } - ], - "nextLink": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates?$page=2" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_CreateOrUpdate.json deleted file mode 100644 index 4d2893ff6ad2..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_CreateOrUpdate.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "domainResource": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "certName": "mycert" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "domainName": "mydomain.com" - }, - "responses": { - "200": { - "body": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "appName": "myapp", - "certName": "mycert" - }, - "type": "Microsoft.AppPlatform/Spring/apps/domains", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/domains/mydomain.com", - "name": "mydomain.com" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Delete.json deleted file mode 100644 index 3aa0a88d3b06..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "domainName": "mydomain.com" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Get.json deleted file mode 100644 index 767c3f6ab672..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Get.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "domainName": "mydomain.com" - }, - "responses": { - "200": { - "body": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "appName": "myapp", - "certName": "mycert" - }, - "type": "Microsoft.AppPlatform/Spring/apps/domains", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/domains/mydomain.com", - "name": "mydomain.com" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_List.json deleted file mode 100644 index 5bce55c10283..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "appName": "myapp", - "certName": "mycert" - }, - "type": "Microsoft.AppPlatform/Spring/apps/domains", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/domains/mydomain.com", - "name": "mydomain.com" - } - ], - "nextLink": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/domains?$page=2" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Patch.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Patch.json deleted file mode 100644 index 4d2893ff6ad2..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Patch.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "domainResource": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "certName": "mycert" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "domainName": "mydomain.com" - }, - "responses": { - "200": { - "body": { - "properties": { - "thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133", - "appName": "myapp", - "certName": "mycert" - }, - "type": "Microsoft.AppPlatform/Spring/apps/domains", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/domains/mydomain.com", - "name": "mydomain.com" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Validate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Validate.json deleted file mode 100644 index ee7e015c7316..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Validate.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "validatePayload": { - "name": "mydomain.io" - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "isValid": false, - "message": "Certificate is invalid, please check if it is a self signed cert or if it contains a suitable dns name" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json deleted file mode 100644 index d28fe2682385..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "parameters": { - "deploymentResource": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "instances": null - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "201": { - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Creating", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - }, - "202": { - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Creating", - "status": "Starting", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Starting", - "discoveryStatus": "pending" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - }, - "200": { - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Succeeded", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Delete.json deleted file mode 100644 index c260ed30f700..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json deleted file mode 100644 index 4ce5b4b15915..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": { - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Succeeded", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_GetLogFileUrl.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_GetLogFileUrl.json deleted file mode 100644 index 0c89d5cd6ecc..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_GetLogFileUrl.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": { - "body": { - "url": "https://spring.blob.core.windows.net/logs/110ec0c337154d45b1f01daf2196c0bf/b58b0cb4ecdea3c65311b4ca8833fe47b6ae0a7500f87a8eb31e8379d3fe48f1-2019081312-42b7b90c-f108-4c09-b33d-1ea134f57f23?sv=2018-03-28&sr=b&sig=example-signature&se=2019-08-14T09%3A43%3A52Z&sp=r" - } - }, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json deleted file mode 100644 index ec7146bf5480..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Succeeded", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json deleted file mode 100644 index ec7146bf5480..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Succeeded", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Restart.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Restart.json deleted file mode 100644 index b986701d7eb4..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Restart.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.AppPlatform/...pathToOperationResult..." - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Start.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Start.json deleted file mode 100644 index b986701d7eb4..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Start.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.AppPlatform/...pathToOperationResult..." - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Stop.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Stop.json deleted file mode 100644 index b986701d7eb4..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Stop.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.AppPlatform/...pathToOperationResult..." - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json deleted file mode 100644 index dcacd01d6bb5..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "parameters": { - "deploymentResource": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "instances": null - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice", - "appName": "myapp", - "deploymentName": "mydeployment" - }, - "responses": { - "200": { - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Succeeded", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2019-05-01-preview" - }, - "body": { - "properties": { - "source": { - "type": "Source", - "relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc", - "version": "1.0", - "artifactSelector": "sub-module-1" - }, - "appName": "myapp", - "deploymentSettings": { - "cpu": 1, - "memoryInGB": 3, - "jvmOptions": "-Xms1G -Xmx3G", - "instanceCount": 1, - "environmentVariables": { - "env": "test" - }, - "runtimeVersion": "Java_8" - }, - "provisioningState": "Updating", - "status": "Running", - "active": false, - "instances": [ - { - "name": "instance1", - "status": "Running", - "discoveryStatus": "pending", - "startTime": "2020-08-26T01:55:02Z" - } - ] - }, - "sku": { - "name": "S0", - "tier": "Standard", - "capacity": 1 - }, - "type": "Microsoft.AppPlatform/Spring/apps/deployments", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment", - "name": "mydeployment" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Operations_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Operations_List.json deleted file mode 100644 index bc83e3c0e539..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.AppPlatform/Spring/read", - "isDataAction": false, - "display": { - "provider": "Microsoft Azure Distributed Managed Service for Spring", - "resource": "Managed Applications", - "operation": "Create or Update Managed Applications", - "description": "Create or Update Managed Applications" - }, - "origin": "user,system", - "properties": { - "serviceSpecification": null - } - } - ], - "nextLink": "providers/Microsoft.AppPlatform?$skipToken={opaqueString}" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/RuntimeVersions_ListRuntimeVersions.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/RuntimeVersions_ListRuntimeVersions.json deleted file mode 100644 index 051d4085549f..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/RuntimeVersions_ListRuntimeVersions.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "value": "Java_8", - "platform": "Java", - "version": "8" - }, - { - "value": "Java_11", - "platform": "Java", - "version": "11" - }, - { - "value": "NetCore_31", - "platform": ".NET Core", - "version": "3.1" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CheckNameAvailability.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CheckNameAvailability.json deleted file mode 100644 index 4b1d5badd988..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CheckNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "location": "eastus", - "availabilityParameters": { - "type": "Microsoft.AppPlatform/Spring", - "name": "myservice" - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "The name is already used." - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate.json deleted file mode 100644 index f23faf17d18f..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "parameters": { - "resource": { - "properties": { - "configServerProperties": { - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - } - }, - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "201": { - "body": { - "properties": { - "provisioningState": "Creating", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - }, - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate_VNetInjection.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate_VNetInjection.json deleted file mode 100644 index 7762df63108c..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate_VNetInjection.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "parameters": { - "resource": { - "properties": { - "networkProfile": { - "serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", - "appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps", - "serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16", - "serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg", - "appNetworkResourceGroup": "my-app-network-rg" - } - }, - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "201": { - "body": { - "properties": { - "provisioningState": "Creating", - "networkProfile": { - "serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", - "appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps", - "serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16", - "serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg", - "appNetworkResourceGroup": "my-app-network-rg", - "outboundIPs": { - "publicIPs": [ - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - }, - "serviceId": "12345678abcd1234abcd12345678abcd" - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - }, - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "networkProfile": { - "serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", - "appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps", - "serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16", - "serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg", - "appNetworkResourceGroup": "my-app-network-rg", - "outboundIPs": { - "publicIPs": [ - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - }, - "serviceId": "12345678abcd1234abcd12345678abcd" - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Delete.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Delete.json deleted file mode 100644 index 848e5b21604d..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Delete.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.AppPlatform/...pathToOperationResult..." - } - }, - "204": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_DisableTestEndpoint.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_DisableTestEndpoint.json deleted file mode 100644 index 8386336ce586..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_DisableTestEndpoint.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": {} - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_EnableTestEndpoint.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_EnableTestEndpoint.json deleted file mode 100644 index 215f1a0db65c..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_EnableTestEndpoint.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": { - "body": { - "primaryKey": "", - "secondaryKey": "", - "primaryTestEndpoint": "key1@TestEndpoint", - "secondaryTestEndpoint": "key2@TestEndpoint", - "enabled": true - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Get.json deleted file mode 100644 index e6013df7d991..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Get.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_List.json deleted file mode 100644 index 22af4c2f85c8..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_List.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListBySubscription.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListBySubscription.json deleted file mode 100644 index 7015dfdb8768..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListBySubscription.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListTestKeys.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListTestKeys.json deleted file mode 100644 index 215f1a0db65c..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_ListTestKeys.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": { - "body": { - "primaryKey": "", - "secondaryKey": "", - "primaryTestEndpoint": "key1@TestEndpoint", - "secondaryTestEndpoint": "key2@TestEndpoint", - "enabled": true - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_RegenerateTestKey.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_RegenerateTestKey.json deleted file mode 100644 index e6f71f89f208..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_RegenerateTestKey.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "regenerateTestKeyRequest": { - "keyType": "Primary" - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "200": { - "body": { - "primaryKey": "", - "secondaryKey": "", - "primaryTestEndpoint": "key1@TestEndpoint", - "secondaryTestEndpoint": "key2@TestEndpoint", - "enabled": true - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Update.json deleted file mode 100644 index 4b0dec5e6ff5..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Services_Update.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "parameters": { - "resource": { - "properties": { - "configServerProperties": { - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - } - }, - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - } - }, - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "serviceName": "myservice" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2019-05-01-preview" - }, - "body": { - "properties": { - "provisioningState": "Updating", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - }, - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "configServerProperties": { - "state": "Succeeded", - "configServer": { - "gitProperty": { - "uri": "https://github.com/fake-user/fake-repository.git", - "label": "master", - "searchPaths": [ - "/" - ] - } - } - }, - "trace": { - "state": "Succeeded", - "enabled": true, - "appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000" - }, - "serviceId": "12345678abcd1234abcd12345678abcd", - "networkProfile": { - "outboundIPs": { - "publicIPs": [ - "20.39.3.173", - "40.64.67.13" - ] - }, - "requiredTraffics": [ - { - "protocol": "TCP", - "port": 443, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "UDP", - "port": 1194, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - }, - { - "protocol": "TCP", - "port": 9000, - "ips": [ - "20.62.211.25", - "52.188.47.226" - ], - "direction": "Outbound" - } - ] - } - }, - "type": "Microsoft.AppPlatform/Spring", - "sku": { - "name": "S0", - "tier": "Standard" - }, - "location": "eastus", - "tags": { - "key1": "value1" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", - "name": "myservice" - } - } - } -} diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Sku_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Sku_List.json deleted file mode 100644 index 99c4c8efe8e7..000000000000 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Sku_List.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2019-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Spring", - "name": "B0", - "tier": "Basic", - "capacity": { - "minimum": 1, - "maximum": 20, - "default": 1, - "scaleType": "Automatic" - }, - "locations": [ - "eastus" - ], - "locationInfo": [ - { - "location": "eastus", - "zones": [], - "zoneDetails": [] - } - ], - "restrictions": [] - } - ] - } - } - } -} diff --git a/specification/appplatform/resource-manager/readme.go.md b/specification/appplatform/resource-manager/readme.go.md index 3f549834c025..9e5af4408aff 100644 --- a/specification/appplatform/resource-manager/readme.go.md +++ b/specification/appplatform/resource-manager/readme.go.md @@ -26,7 +26,6 @@ batch: - tag: package-preview-2021-06 - tag: package-preview-2020-11 - tag: package-2020-07 - - tag: package-2019-05-01-preview ``` ### Tag: package-preview-2022-01 and go @@ -73,12 +72,3 @@ Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2019-05-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-05-01-preview/$(namespace) -``` diff --git a/specification/appplatform/resource-manager/readme.java.md b/specification/appplatform/resource-manager/readme.java.md index 39f2936f8b11..e5df4d6c15b2 100644 --- a/specification/appplatform/resource-manager/readme.java.md +++ b/specification/appplatform/resource-manager/readme.java.md @@ -21,7 +21,6 @@ batch: - tag: package-preview-2021-06 - tag: package-preview-2020-11 - tag: package-2020-07 - - tag: package-2019-05-01-preview ``` ### Tag: package-preview-2022-01 and java @@ -88,16 +87,3 @@ java: regenerate-manager: true generate-interface: true ``` - -### Tag: package-2019-05-01-preview and java - -These settings apply only when `--tag=package-2019-05-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2019-05-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.appplatform.v2019_05_01_preview - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2019_05_01_preview -regenerate-manager: true -generate-interface: true -``` diff --git a/specification/appplatform/resource-manager/readme.md b/specification/appplatform/resource-manager/readme.md index 627780d8358b..f3bc7dd23b34 100644 --- a/specification/appplatform/resource-manager/readme.md +++ b/specification/appplatform/resource-manager/readme.md @@ -93,15 +93,6 @@ input-file: - Microsoft.AppPlatform/stable/2020-07-01/appplatform.json ``` -### Tag: package-2019-05-01-preview - -These settings apply only when `--tag=package-2019-05-01-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2019-05-01-preview' -input-file: -- Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json -``` - --- # Code Generation diff --git a/specification/appplatform/resource-manager/readme.python.md b/specification/appplatform/resource-manager/readme.python.md index 830cf351635c..acecfba49663 100644 --- a/specification/appplatform/resource-manager/readme.python.md +++ b/specification/appplatform/resource-manager/readme.python.md @@ -27,13 +27,11 @@ batch: - tag: package-preview-2021-06 - tag: package-preview-2020-11 - tag: package-2020-07 - - tag: package-2019-05-01-preview - multiapiscript: true ``` ``` yaml $(multiapiscript) output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/ -clear-output-folder: false perform-load: false ``` @@ -86,14 +84,3 @@ Please also specify `--python-sdks-folder=`. - - -``` yaml $(tag) == 'package-2019-05-01-preview' && $(python) && $(track2) -namespace: azure.mgmt.appplatform.v2019_05_01_preview -output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2019_05_01_preview -``` diff --git a/specification/appplatform/resource-manager/readme.ruby.md b/specification/appplatform/resource-manager/readme.ruby.md index c614a1db3b56..f51470c66306 100644 --- a/specification/appplatform/resource-manager/readme.ruby.md +++ b/specification/appplatform/resource-manager/readme.ruby.md @@ -17,7 +17,6 @@ batch: - tag: package-preview-2021-06 - tag: package-preview-2020-11 - tag: package-2020-07 - - tag: package-2019-05-01-preview ``` ### Tag: package-preview-2022-01 and ruby @@ -69,13 +68,3 @@ Please also specify `--ruby-sdks-folder=`. - -``` yaml $(tag) == 'package-2019-05-01-preview' && $(ruby) -namespace: "Azure::AppPlatform::Mgmt::V2019_05_01_preview" -output-folder: $(ruby-sdks-folder)/management/azure_mgmt_appplatform/lib -```