{"openapi":"3.0.0","info":{"description":"REST API for Azure Spring Cloud","title":"AppPlatformManagementClient","version":"2019-05-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"appplatform","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.AppPlatform/operations":{"get":{"description":"Lists all of the available REST API operations of the Microsoft.AppPlatform provider.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Success. The response describes the list of operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailableOperations"},"examples":{"Operations_List":{"$ref":"#/components/examples/Operations_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/Spring":{"get":{"description":"Handles requests to list all resources in a subscription.","operationId":"Services_ListBySubscription","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"Success. The response describes the list of Services in the subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResourceList"},"examples":{"Services_ListBySubscription":{"$ref":"#/components/examples/Services_ListBySubscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability":{"post":{"description":"Checks that the resource name is valid and is not already in use.","operationId":"Services_CheckNameAvailability","parameters":[{"description":"the region","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"Services_CheckNameAvailability":{"value":"eastus"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailabilityParameters"}}},"description":"Parameters supplied to the operation.","required":true},"responses":{"200":{"description":"Success. The response describes the name availability.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NameAvailability"},"examples":{"Services_CheckNameAvailability":{"$ref":"#/components/examples/Services_CheckNameAvailability"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring":{"get":{"description":"Handles requests to list all resources in a resource group.","operationId":"Services_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"}],"responses":{"200":{"description":"Success. The response describes the list of Services in the resource group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResourceList"},"examples":{"Services_List":{"$ref":"#/components/examples/Services_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}":{"delete":{"description":"Operation to delete a Service.","operationId":"Services_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}},"get":{"description":"Get a Service and its properties.","operationId":"Services_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success. The response describes the corresponding Service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Services_Get":{"$ref":"#/components/examples/Services_Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"patch":{"description":"Operation to update an exiting Service.","operationId":"Services_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"}}},"description":"Parameters for the update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated Service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Services_Update":{"$ref":"#/components/examples/Services_Update"}}}}},"202":{"description":"Accepted. The response indicates the exiting Service is now updating and contains a Location header to query the operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Services_Update":{"$ref":"#/components/examples/Services_Update"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}},"put":{"description":"Create a new Service or update an exiting Service.","operationId":"Services_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"}}},"description":"Parameters for the create or update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated Service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Services_CreateOrUpdate":{"$ref":"#/components/examples/Services_CreateOrUpdate"}}}}},"201":{"description":"Created. The response describes the new Service and contains a Location header to query the operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceResource"},"examples":{"Services_CreateOrUpdate":{"$ref":"#/components/examples/Services_CreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps":{"get":{"description":"Handles requests to list all resources in a Service.","operationId":"Apps_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success. The response describes the list of Apps in the Service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResourceCollection"},"examples":{"Apps_List":{"$ref":"#/components/examples/Apps_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}":{"delete":{"description":"Operation to delete an App.","operationId":"Apps_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"get":{"description":"Get an App and its properties.","operationId":"Apps_Get","parameters":[{"description":"Indicates whether sync status","in":"query","name":"syncStatus","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"responses":{"200":{"description":"Success. The response describes the corresponding App.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"},"examples":{"Apps_Get":{"$ref":"#/components/examples/Apps_Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"patch":{"description":"Operation to update an exiting App.","operationId":"Apps_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"}}},"description":"Parameters for the update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated App.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"},"examples":{"Apps_Update":{"$ref":"#/components/examples/Apps_Update"}}}}},"202":{"description":"Accepted. The response indicates the exiting App is now updating and contains a Location header to query the operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"},"examples":{"Apps_Update":{"$ref":"#/components/examples/Apps_Update"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}},"put":{"description":"Create a new App or update an exiting App.","operationId":"Apps_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"}}},"description":"Parameters for the create or update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated App.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"},"examples":{"Apps_CreateOrUpdate":{"$ref":"#/components/examples/Apps_CreateOrUpdate"}}}}},"201":{"description":"Created. The response describes the new App and contains a Location header to query the operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppResource"},"examples":{"Apps_CreateOrUpdate":{"$ref":"#/components/examples/Apps_CreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings":{"get":{"description":"Handles requests to list all resources in an App.","operationId":"Bindings_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"responses":{"200":{"description":"Success. The response describes the list of Bindings in the App.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResourceCollection"},"examples":{"Bindings_List":{"$ref":"#/components/examples/Bindings_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/bindings/{bindingName}":{"delete":{"description":"Operation to delete a Binding.","operationId":"Bindings_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/BindingNameParameter"}],"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"get":{"description":"Get a Binding and its properties.","operationId":"Bindings_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/BindingNameParameter"}],"responses":{"200":{"description":"Success. The response describes the corresponding Binding.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResource"},"examples":{"Bindings_Get":{"$ref":"#/components/examples/Bindings_Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"patch":{"description":"Operation to update an exiting Binding.","operationId":"Bindings_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/BindingNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResource"}}},"description":"Parameters for the update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated Binding.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResource"},"examples":{"Bindings_Update":{"$ref":"#/components/examples/Bindings_Update"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"put":{"description":"Create a new Binding or update an exiting Binding.","operationId":"Bindings_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/BindingNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResource"}}},"description":"Parameters for the create or update operation","required":true},"responses":{"200":{"description":"Success. The response describes the created or updated Binding.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingResource"},"examples":{"Bindings_CreateOrUpdate":{"$ref":"#/components/examples/Bindings_CreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments":{"get":{"description":"Handles requests to list all resources in an App.","operationId":"Deployments_List","parameters":[{"description":"Version of the deployments to be listed","in":"query","name":"version","required":false,"explode":true,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":false}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"responses":{"200":{"description":"Success. The response describes the list of Deployments in the App.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResourceCollection"},"examples":{"Deployments_List":{"$ref":"#/components/examples/Deployments_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}":{"delete":{"description":"Operation to delete a Deployment.","operationId":"Deployments_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"get":{"description":"Get a Deployment and its properties.","operationId":"Deployments_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/DeploymentNameParameter"}],"responses":{"200":{"description":"Success. The response describes the corresponding Deployment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"},"examples":{"Deployments_Get":{"$ref":"#/components/examples/Deployments_Get"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]},"patch":{"description":"Operation to update an exiting Deployment.","operationId":"Deployments_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/DeploymentNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"}}},"description":"Parameters for the update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated Deployment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"},"examples":{"Deployments_Update":{"$ref":"#/components/examples/Deployments_Update"}}}}},"202":{"description":"Accepted. The response indicates the exiting Deployment is now updating and contains a Location\r\nheader to query the operation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"},"examples":{"Deployments_Update":{"$ref":"#/components/examples/Deployments_Update"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}},"put":{"description":"Create a new Deployment or update an exiting Deployment.","operationId":"Deployments_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/DeploymentNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"}}},"description":"Parameters for the create or update operation","required":true},"responses":{"200":{"description":"Success. The response describes the updated Deployment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"},"examples":{"Deployments_CreateOrUpdate":{"$ref":"#/components/examples/Deployments_CreateOrUpdate"}}}}},"201":{"description":"Created. The response describes the new Deployment and contains a Location header to query the\r\noperation result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResource"},"examples":{"Deployments_CreateOrUpdate":{"$ref":"#/components/examples/Deployments_CreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/getLogFileUrl":{"post":{"description":"Get deployment log file URL","operationId":"Deployments_GetLogFileUrl","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/parameters/DeploymentNameParameter"}],"responses":{"200":{"description":"Success. The response contains the log file URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogFileUrlResponse"},"examples":{"Deployments_GetLogFileUrl":{"$ref":"#/components/examples/Deployments_GetLogFileUrl"}}}}},"204":{"description":"Success. The deployment does not have log file."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/restart":{"post":{"description":"Restart the deployment.","operationId":"Deployments_Restart","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/start":{"post":{"description":"Start the deployment.","operationId":"Deployments_Start","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/deployments/{deploymentName}/stop":{"post":{"description":"Stop the deployment.","operationId":"Deployments_Stop","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"},{"$ref":"#/components/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/getResourceUploadUrl":{"post":{"description":"Get an resource upload URL for an App, which may be artifacts or source archive.","operationId":"Apps_GetResourceUploadUrl","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"},{"$ref":"#/components/parameters/AppNameParameter"}],"responses":{"200":{"description":"Success. The response describes the resource upload URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceUploadDefinition"},"examples":{"Apps_GetResourceUploadUrl":{"$ref":"#/components/examples/Apps_GetResourceUploadUrl"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/deployments":{"get":{"description":"List deployments for a certain service","operationId":"Deployments_ListClusterAllDeployments","parameters":[{"description":"Version of the deployments to be listed","in":"query","name":"version","required":false,"explode":true,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":false}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResourceCollection"},"examples":{"Deployments_ListClusterAllDeployments":{"$ref":"#/components/examples/Deployments_ListClusterAllDeployments"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/disableTestEndpoint":{"post":{"operationId":"Services_DisableTestEndpoint","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/enableTestEndpoint":{"post":{"operationId":"Services_EnableTestEndpoint","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestKeys"},"examples":{"Services_EnableTestEndpoint":{"$ref":"#/components/examples/Services_EnableTestEndpoint"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/listTestKeys":{"post":{"description":"List test keys for a Service.","operationId":"Services_ListTestKeys","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"responses":{"200":{"description":"Success. The response describes the test keys.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestKeys"},"examples":{"Services_ListTestKeys":{"$ref":"#/components/examples/Services_ListTestKeys"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey":{"post":{"description":"Regenerate a test key for a Service.","operationId":"Services_RegenerateTestKey","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ServiceNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateTestKeyRequestPayload"}}},"description":"Parameters for the operation","required":true},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestKeys"},"examples":{"Services_RegenerateTestKey":{"$ref":"#/components/examples/Services_RegenerateTestKey"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AppPlatform"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Operations_List":{"value":{"nextLink":"providers/Microsoft.AppPlatform?$skipToken={opaqueString}","value":[{"dataAction":false,"display":{"description":"Create or Update Managed Applications","operation":"Create or Update Managed Applications","provider":"Microsoft Azure Distributed Managed Service for Spring","resource":"Managed Applications"},"name":"Microsoft.AppPlatform/Spring/read","origin":"user,system","properties":{}}]}},"Services_ListBySubscription":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice","location":"eastus","name":"myservice","properties":{"configServerProperties":{"configServer":{"gitProperty":{"label":"master","searchPaths":["/"],"uri":"https://github.com/fake-user/fake-repository.git"}},"state":"Succeeded"},"provisioningState":"Succeeded","serviceId":"12345678abcd1234abcd12345678abcd","trace":{"appInsightInstrumentationKey":"00000000-0000-0000-0000-000000000000","enabled":true,"state":"Succeeded"}},"tags":{"key1":"value1"},"type":"Microsoft.AppPlatform/Spring"}]}},"Services_CheckNameAvailability":{"value":{"message":"The name is already used.","nameAvailable":false,"reason":"AlreadyExists"}},"Services_List":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice","location":"eastus","name":"myservice","properties":{"configServerProperties":{"configServer":{"gitProperty":{"label":"master","searchPaths":["/"],"uri":"https://github.com/fake-user/fake-repository.git"}},"state":"Succeeded"},"provisioningState":"Succeeded","serviceId":"12345678abcd1234abcd12345678abcd","trace":{"appInsightInstrumentationKey":"00000000-0000-0000-0000-000000000000","enabled":true,"state":"Succeeded"}},"tags":{"key1":"value1"},"type":"Microsoft.AppPlatform/Spring"}]}},"Services_Get":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice","location":"eastus","name":"myservice","properties":{"configServerProperties":{"configServer":{"gitProperty":{"label":"master","searchPaths":["/"],"uri":"https://github.com/fake-user/fake-repository.git"}},"state":"Succeeded"},"provisioningState":"Succeeded","serviceId":"12345678abcd1234abcd12345678abcd","trace":{"appInsightInstrumentationKey":"00000000-0000-0000-0000-000000000000","enabled":true,"state":"Succeeded"}},"tags":{"key1":"value1"},"type":"Microsoft.AppPlatform/Spring"}},"Services_Update":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice","location":"eastus","name":"myservice","properties":{"configServerProperties":{"configServer":{"gitProperty":{"label":"master","searchPaths":["/"],"uri":"https://github.com/fake-user/fake-repository.git"}},"state":"Succeeded"},"provisioningState":"Updating","serviceId":"12345678abcd1234abcd12345678abcd","trace":{"appInsightInstrumentationKey":"00000000-0000-0000-0000-000000000000","enabled":true,"state":"Succeeded"}},"tags":{"key1":"value1"},"type":"Microsoft.AppPlatform/Spring"}},"Services_CreateOrUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice","location":"eastus","name":"myservice","properties":{"configServerProperties":{"configServer":{"gitProperty":{"label":"master","searchPaths":["/"],"uri":"https://github.com/fake-user/fake-repository.git"}},"state":"Succeeded"},"provisioningState":"Creating","serviceId":"12345678abcd1234abcd12345678abcd","trace":{"appInsightInstrumentationKey":"00000000-0000-0000-0000-000000000000","enabled":true,"state":"Succeeded"}},"tags":{"key1":"value1"},"type":"Microsoft.AppPlatform/Spring"}},"Apps_List":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp","name":"myapp","properties":{"activeDeploymentName":"mydeployment1","persistentDisk":{"mountPath":"mypersistentdisk","sizeInGB":2,"usedInGB":1},"provisioningState":"Succeeded","public":true,"temporaryDisk":{"mountPath":"mytemporarydisk","sizeInGB":2},"url":"myapp.myservice.azuremicroservices.io"},"type":"Microsoft.AppPlatform/Spring/apps"}]}},"Apps_Get":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp","name":"myapp","properties":{"activeDeploymentName":"mydeployment1","persistentDisk":{"mountPath":"mypersistentdisk","sizeInGB":2,"usedInGB":1},"provisioningState":"Succeeded","public":true,"temporaryDisk":{"mountPath":"mytemporarydisk","sizeInGB":2},"url":"myapp.myservice.azuremicroservices.io"},"type":"Microsoft.AppPlatform/Spring/apps"}},"Apps_Update":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp","name":"myapp","properties":{"activeDeploymentName":"mydeployment1","persistentDisk":{"mountPath":"mypersistentdisk","sizeInGB":2,"usedInGB":1},"provisioningState":"Updating","public":true,"temporaryDisk":{"mountPath":"mytemporarydisk","sizeInGB":2},"url":"myapp.myservice.azuremicroservices.io"},"type":"Microsoft.AppPlatform/Spring/apps"}},"Apps_CreateOrUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp","name":"myapp","properties":{"activeDeploymentName":"mydeployment1","persistentDisk":{"mountPath":"mypersistentdisk","sizeInGB":2,"usedInGB":1},"provisioningState":"Creating","public":true,"temporaryDisk":{"mountPath":"mytemporarydisk","sizeInGB":2},"url":"myapp.myservice.azuremicroservices.io"},"type":"Microsoft.AppPlatform/Spring/apps"}},"Bindings_List":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding","name":"mybinding","properties":{"bindingParameters":{"apiType":"SQL","databaseName":"db1"},"createdAt":"2019-01-01T12:34:56.000Z","generatedProperties":"spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1","resourceName":"my-cosmosdb-1","resourceType":"Microsoft.DocumentDB","updatedAt":"2019-01-01T12:34:56.000Z"},"type":"Microsoft.AppPlatform/Spring/apps/bindings"}]}},"Bindings_Get":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding","name":"mybinding","properties":{"bindingParameters":{"apiType":"SQL","databaseName":"db1"},"createdAt":"2019-01-01T12:34:56.000Z","generatedProperties":"spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1","resourceName":"my-cosmosdb-1","resourceType":"Microsoft.DocumentDB","updatedAt":"2019-01-01T12:34:56.000Z"},"type":"Microsoft.AppPlatform/Spring/apps/bindings"}},"Bindings_Update":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding","name":"mybinding","properties":{"bindingParameters":{"apiType":"SQL","databaseName":"db1"},"createdAt":"2019-01-01T12:34:56.000Z","generatedProperties":"spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1","resourceName":"my-cosmosdb-1","resourceType":"Microsoft.DocumentDB","updatedAt":"2019-01-01T12:34:56.000Z"},"type":"Microsoft.AppPlatform/Spring/apps/bindings"}},"Bindings_CreateOrUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding","name":"mybinding","properties":{"bindingParameters":{"apiType":"SQL","databaseName":"db1"},"createdAt":"2019-01-01T12:34:56.000Z","generatedProperties":"spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1","resourceName":"my-cosmosdb-1","resourceType":"Microsoft.DocumentDB","updatedAt":"2019-01-01T12:34:56.000Z"},"type":"Microsoft.AppPlatform/Spring/apps/bindings"}},"Deployments_List":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment","name":"mydeployment","properties":{"active":false,"appName":"myapp","deploymentSettings":{"cpu":1,"environmentVariables":{"env":"test"},"instanceCount":1,"jvmOptions":"-Xms1G -Xmx3G","memoryInGB":3,"runtimeVersion":"Java_8"},"instances":[{"discoveryStatus":"pending","name":"instance1","status":"Running"}],"provisioningState":"Succeeded","source":{"artifactSelector":"sub-module-1","relativePath":"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc","type":"Source","version":"1.0"},"status":"Running"},"type":"Microsoft.AppPlatform/Spring/apps/deployments"}]}},"Deployments_Get":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment","name":"mydeployment","properties":{"active":false,"appName":"myapp","deploymentSettings":{"cpu":1,"environmentVariables":{"env":"test"},"instanceCount":1,"jvmOptions":"-Xms1G -Xmx3G","memoryInGB":3,"runtimeVersion":"Java_8"},"instances":[{"discoveryStatus":"pending","name":"instance1","status":"Running"}],"provisioningState":"Succeeded","source":{"artifactSelector":"sub-module-1","relativePath":"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc","type":"Source","version":"1.0"},"status":"Running"},"type":"Microsoft.AppPlatform/Spring/apps/deployments"}},"Deployments_Update":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment","name":"mydeployment","properties":{"active":false,"appName":"myapp","deploymentSettings":{"cpu":1,"environmentVariables":{"env":"test"},"instanceCount":1,"jvmOptions":"-Xms1G -Xmx3G","memoryInGB":3,"runtimeVersion":"Java_8"},"instances":[{"discoveryStatus":"pending","name":"instance1","status":"Running"}],"provisioningState":"Updating","source":{"artifactSelector":"sub-module-1","relativePath":"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc","type":"Source","version":"1.0"},"status":"Running"},"type":"Microsoft.AppPlatform/Spring/apps/deployments"}},"Deployments_CreateOrUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment","name":"mydeployment","properties":{"active":false,"appName":"myapp","deploymentSettings":{"cpu":1,"environmentVariables":{"env":"test"},"instanceCount":1,"jvmOptions":"-Xms1G -Xmx3G","memoryInGB":3,"runtimeVersion":"Java_8"},"instances":[{"discoveryStatus":"pending","name":"instance1","status":"Running"}],"provisioningState":"Updating","source":{"artifactSelector":"sub-module-1","relativePath":"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc","type":"Source","version":"1.0"},"status":"Compiling"},"type":"Microsoft.AppPlatform/Spring/apps/deployments"}},"Deployments_GetLogFileUrl":{"value":{"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"}},"Apps_GetResourceUploadUrl":{"value":{"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"}},"Deployments_ListClusterAllDeployments":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment","name":"mydeployment","properties":{"active":false,"appName":"myapp","deploymentSettings":{"cpu":1,"environmentVariables":{"env":"test"},"instanceCount":1,"jvmOptions":"-Xms1G -Xmx3G","memoryInGB":3,"runtimeVersion":"Java_8"},"instances":[{"discoveryStatus":"pending","name":"instance1","status":"Running"}],"provisioningState":"Succeeded","source":{"artifactSelector":"sub-module-1","relativePath":"resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc","type":"Source","version":"1.0"},"status":"Running"},"type":"Microsoft.AppPlatform/Spring/apps/deployments"}]}},"Services_EnableTestEndpoint":{"value":{"enabled":true,"primaryKey":"key1","primaryTestEndpoint":"key1@TestEndpoint","secondaryKey":"key2","secondaryTestEndpoint":"key2@TestEndpoint"}},"Services_ListTestKeys":{"value":{"enabled":true,"primaryKey":"key1","primaryTestEndpoint":"key1@TestEndpoint","secondaryKey":"key2","secondaryTestEndpoint":"key2@TestEndpoint"}},"Services_RegenerateTestKey":{"value":{"enabled":true,"primaryKey":"key1","primaryTestEndpoint":"key1@TestEndpoint","secondaryKey":"key2","secondaryTestEndpoint":"key2@TestEndpoint"}}},"parameters":{"ApiVersionParameter":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string","enum":["2019-05-01-preview"]},"examples":{"Operations_List":{"value":"2019-05-01-preview"},"Services_ListBySubscription":{"value":"2019-05-01-preview"},"Services_CheckNameAvailability":{"value":"2019-05-01-preview"},"Services_List":{"value":"2019-05-01-preview"},"Services_Delete":{"value":"2019-05-01-preview"},"Services_Get":{"value":"2019-05-01-preview"},"Services_Update":{"value":"2019-05-01-preview"},"Services_CreateOrUpdate":{"value":"2019-05-01-preview"},"Apps_List":{"value":"2019-05-01-preview"},"Apps_Delete":{"value":"2019-05-01-preview"},"Apps_Get":{"value":"2019-05-01-preview"},"Apps_Update":{"value":"2019-05-01-preview"},"Apps_CreateOrUpdate":{"value":"2019-05-01-preview"},"Bindings_List":{"value":"2019-05-01-preview"},"Bindings_Delete":{"value":"2019-05-01-preview"},"Bindings_Get":{"value":"2019-05-01-preview"},"Bindings_Update":{"value":"2019-05-01-preview"},"Bindings_CreateOrUpdate":{"value":"2019-05-01-preview"},"Deployments_List":{"value":"2019-05-01-preview"},"Deployments_Delete":{"value":"2019-05-01-preview"},"Deployments_Get":{"value":"2019-05-01-preview"},"Deployments_Update":{"value":"2019-05-01-preview"},"Deployments_CreateOrUpdate":{"value":"2019-05-01-preview"},"Deployments_GetLogFileUrl":{"value":"2019-05-01-preview"},"Deployments_Restart":{"value":"2019-05-01-preview"},"Deployments_Start":{"value":"2019-05-01-preview"},"Deployments_Stop":{"value":"2019-05-01-preview"},"Apps_GetResourceUploadUrl":{"value":"2019-05-01-preview"},"Deployments_ListClusterAllDeployments":{"value":"2019-05-01-preview"},"Services_DisableTestEndpoint":{"value":"2019-05-01-preview"},"Services_EnableTestEndpoint":{"value":"2019-05-01-preview"},"Services_ListTestKeys":{"value":"2019-05-01-preview"},"Services_RegenerateTestKey":{"value":"2019-05-01-preview"}}},"AppNameParameter":{"description":"The name of the App resource.","in":"path","name":"appName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Apps_Delete":{"value":"myapp"},"Apps_Get":{"value":"myapp"},"Apps_Update":{"value":"myapp"},"Apps_CreateOrUpdate":{"value":"myapp"},"Bindings_List":{"value":"myapp"},"Bindings_Delete":{"value":"myapp"},"Bindings_Get":{"value":"myapp"},"Bindings_Update":{"value":"myapp"},"Bindings_CreateOrUpdate":{"value":"myapp"},"Deployments_List":{"value":"myapp"},"Deployments_Delete":{"value":"myapp"},"Deployments_Get":{"value":"myapp"},"Deployments_Update":{"value":"myapp"},"Deployments_CreateOrUpdate":{"value":"myapp"},"Deployments_GetLogFileUrl":{"value":"myapp"},"Deployments_Restart":{"value":"myapp"},"Deployments_Start":{"value":"myapp"},"Deployments_Stop":{"value":"myapp"},"Apps_GetResourceUploadUrl":{"value":"myapp"}}},"BindingNameParameter":{"description":"The name of the Binding resource.","in":"path","name":"bindingName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Bindings_Delete":{"value":"mybinding"},"Bindings_Get":{"value":"mybinding"},"Bindings_Update":{"value":"mybinding"},"Bindings_CreateOrUpdate":{"value":"mybinding"}}},"DeploymentNameParameter":{"description":"The name of the Deployment resource.","in":"path","name":"deploymentName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Deployments_Delete":{"value":"mydeployment"},"Deployments_Get":{"value":"mydeployment"},"Deployments_Update":{"value":"mydeployment"},"Deployments_CreateOrUpdate":{"value":"mydeployment"},"Deployments_GetLogFileUrl":{"value":"mydeployment"},"Deployments_Restart":{"value":"mydeployment"},"Deployments_Start":{"value":"mydeployment"},"Deployments_Stop":{"value":"mydeployment"}}},"ResourceGroupNameParameter":{"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.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Services_List":{"value":"myResourceGroup"},"Services_Delete":{"value":"myResourceGroup"},"Services_Get":{"value":"myResourceGroup"},"Services_Update":{"value":"myResourceGroup"},"Services_CreateOrUpdate":{"value":"myResourceGroup"},"Apps_List":{"value":"myResourceGroup"},"Apps_Delete":{"value":"myResourceGroup"},"Apps_Get":{"value":"myResourceGroup"},"Apps_Update":{"value":"myResourceGroup"},"Apps_CreateOrUpdate":{"value":"myResourceGroup"},"Bindings_List":{"value":"myResourceGroup"},"Bindings_Delete":{"value":"myResourceGroup"},"Bindings_Get":{"value":"myResourceGroup"},"Bindings_Update":{"value":"myResourceGroup"},"Bindings_CreateOrUpdate":{"value":"myResourceGroup"},"Deployments_List":{"value":"myResourceGroup"},"Deployments_Delete":{"value":"myResourceGroup"},"Deployments_Get":{"value":"myResourceGroup"},"Deployments_Update":{"value":"myResourceGroup"},"Deployments_CreateOrUpdate":{"value":"myResourceGroup"},"Deployments_GetLogFileUrl":{"value":"myResourceGroup"},"Deployments_Restart":{"value":"myResourceGroup"},"Deployments_Start":{"value":"myResourceGroup"},"Deployments_Stop":{"value":"myResourceGroup"},"Apps_GetResourceUploadUrl":{"value":"myResourceGroup"},"Deployments_ListClusterAllDeployments":{"value":"myResourceGroup"},"Services_DisableTestEndpoint":{"value":"myResourceGroup"},"Services_EnableTestEndpoint":{"value":"myResourceGroup"},"Services_ListTestKeys":{"value":"myResourceGroup"},"Services_RegenerateTestKey":{"value":"myResourceGroup"}}},"ServiceNameParameter":{"description":"The name of the Service resource.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Services_Delete":{"value":"myservice"},"Services_Get":{"value":"myservice"},"Services_Update":{"value":"myservice"},"Services_CreateOrUpdate":{"value":"myservice"},"Apps_List":{"value":"myservice"},"Apps_Delete":{"value":"myservice"},"Apps_Get":{"value":"myservice"},"Apps_Update":{"value":"myservice"},"Apps_CreateOrUpdate":{"value":"myservice"},"Bindings_List":{"value":"myservice"},"Bindings_Delete":{"value":"myservice"},"Bindings_Get":{"value":"myservice"},"Bindings_Update":{"value":"myservice"},"Bindings_CreateOrUpdate":{"value":"myservice"},"Deployments_List":{"value":"myservice"},"Deployments_Delete":{"value":"myservice"},"Deployments_Get":{"value":"myservice"},"Deployments_Update":{"value":"myservice"},"Deployments_CreateOrUpdate":{"value":"myservice"},"Deployments_GetLogFileUrl":{"value":"myservice"},"Deployments_Restart":{"value":"myservice"},"Deployments_Start":{"value":"myservice"},"Deployments_Stop":{"value":"myservice"},"Apps_GetResourceUploadUrl":{"value":"myservice"},"Deployments_ListClusterAllDeployments":{"value":"myservice"},"Services_DisableTestEndpoint":{"value":"myservice"},"Services_EnableTestEndpoint":{"value":"myservice"},"Services_ListTestKeys":{"value":"myservice"},"Services_RegenerateTestKey":{"value":"myservice"}}},"SubscriptionIdParameter":{"description":"Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Services_ListBySubscription":{"value":"00000000-0000-0000-0000-000000000000"},"Services_CheckNameAvailability":{"value":"00000000-0000-0000-0000-000000000000"},"Services_List":{"value":"00000000-0000-0000-0000-000000000000"},"Services_Delete":{"value":"00000000-0000-0000-0000-000000000000"},"Services_Get":{"value":"00000000-0000-0000-0000-000000000000"},"Services_Update":{"value":"00000000-0000-0000-0000-000000000000"},"Services_CreateOrUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_List":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_Delete":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_Get":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_Update":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_CreateOrUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"Bindings_List":{"value":"00000000-0000-0000-0000-000000000000"},"Bindings_Delete":{"value":"00000000-0000-0000-0000-000000000000"},"Bindings_Get":{"value":"00000000-0000-0000-0000-000000000000"},"Bindings_Update":{"value":"00000000-0000-0000-0000-000000000000"},"Bindings_CreateOrUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_List":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Delete":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Get":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Update":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_CreateOrUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_GetLogFileUrl":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Restart":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Start":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_Stop":{"value":"00000000-0000-0000-0000-000000000000"},"Apps_GetResourceUploadUrl":{"value":"00000000-0000-0000-0000-000000000000"},"Deployments_ListClusterAllDeployments":{"value":"00000000-0000-0000-0000-000000000000"},"Services_DisableTestEndpoint":{"value":"00000000-0000-0000-0000-000000000000"},"Services_EnableTestEndpoint":{"value":"00000000-0000-0000-0000-000000000000"},"Services_ListTestKeys":{"value":"00000000-0000-0000-0000-000000000000"},"Services_RegenerateTestKey":{"value":"00000000-0000-0000-0000-000000000000"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AppResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"App resource payload","properties":{"properties":{"$ref":"#/components/schemas/AppResourceProperties"}},"type":"object"},"AppResourceCollection":{"description":"Object that includes an array of App resources and a possible link for next set","properties":{"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"},"value":{"description":"Collection of App resources","items":{"$ref":"#/components/schemas/AppResource"},"type":"array","uniqueItems":false}},"type":"object"},"AppResourceProperties":{"description":"App resource properties payload","properties":{"activeDeploymentName":{"description":"Name of the active deployment of the App","type":"string"},"createdTime":{"description":"Date time when the resource is created","format":"date-time","readOnly":true,"type":"string"},"persistentDisk":{"$ref":"#/components/schemas/PersistentDisk"},"provisioningState":{"description":"Provisioning state of the App","enum":["Succeeded","Failed","Creating","Updating"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"AppResourceProvisioningState"}},"public":{"description":"Indicates whether the App exposes public endpoint","type":"boolean"},"temporaryDisk":{"$ref":"#/components/schemas/TemporaryDisk"},"url":{"description":"URL of the App","readOnly":true,"type":"string"}},"type":"object"},"AvailableOperations":{"description":"Available operations of the service","properties":{"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"},"value":{"description":"Collection of available operation details","items":{"$ref":"#/components/schemas/OperationDetail"},"type":"array","uniqueItems":false}},"type":"object"},"BindingResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Binding resource payload","properties":{"properties":{"$ref":"#/components/schemas/BindingResourceProperties"}},"type":"object"},"BindingResourceCollection":{"description":"Object that includes an array of Binding resources and a possible link for next set","properties":{"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"},"value":{"description":"Collection of Binding resources","items":{"$ref":"#/components/schemas/BindingResource"},"type":"array","uniqueItems":false}},"type":"object"},"BindingResourceProperties":{"description":"Binding resource properties payload","properties":{"bindingParameters":{"additionalProperties":{"type":"object"},"description":"Binding parameters of the Binding resource","type":"object"},"createdAt":{"description":"Creation time of the Binding resource","readOnly":true,"type":"string"},"generatedProperties":{"description":"The generated Spring Boot property file for this binding. The secret will be deducted.","readOnly":true,"type":"string"},"key":{"description":"The key of the bound resource","type":"string"},"resourceId":{"description":"The Azure resource id of the bound resource","type":"string"},"resourceName":{"description":"The name of the bound resource","type":"string"},"resourceType":{"description":"The standard Azure resource type of the bound resource","type":"string"},"updatedAt":{"description":"Update time of the Binding resource","readOnly":true,"type":"string"}},"type":"object"},"CloudError":{"description":"An error response from the service.","properties":{"error":{"$ref":"#/components/schemas/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"},"details":{"description":"A list of additional details about the error.","items":{"$ref":"#/components/schemas/CloudErrorBody"},"type":"array"},"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"}},"x-ms-external":true},"ClusterResourceProperties":{"description":"Service properties payload","properties":{"configServerProperties":{"$ref":"#/components/schemas/ConfigServerProperties"},"provisioningState":{"description":"Provisioning state of the Service","enum":["Creating","Updating","Deleting","Deleted","Succeeded","Failed","Moving","Moved","MoveFailed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"serviceId":{"description":"ServiceInstanceEntity GUID which uniquely identifies a created resource","readOnly":true,"type":"string"},"trace":{"$ref":"#/components/schemas/TraceProperties"},"version":{"description":"Version of the Service","format":"int32","readOnly":true,"type":"integer"}},"type":"object"},"ConfigServerGitProperty":{"description":"Property of git.","properties":{"hostKey":{"description":"Public sshKey of git repository.","type":"string"},"hostKeyAlgorithm":{"description":"SshKey algorithm of git repository.","type":"string"},"label":{"description":"Label of the repository","type":"string"},"password":{"description":"Password of git repository basic auth.","type":"string"},"privateKey":{"description":"Private sshKey algorithm of git repository.","type":"string"},"repositories":{"description":"Repositories of git.","items":{"$ref":"#/components/schemas/GitPatternRepository"},"type":"array","uniqueItems":false},"searchPaths":{"description":"Searching path of the repository","items":{"type":"string"},"type":"array","uniqueItems":false},"strictHostKeyChecking":{"description":"Strict host key checking or not.","type":"boolean"},"uri":{"description":"URI of the repository","type":"string"},"username":{"description":"Username of git repository basic auth.","type":"string"}},"required":["uri"],"type":"object"},"ConfigServerProperties":{"description":"Config server git properties payload","properties":{"configServer":{"$ref":"#/components/schemas/ConfigServerSettings"},"error":{"$ref":"#/components/schemas/Error"},"state":{"description":"State of the config server.","enum":["NotAvailable","Deleted","Failed","Succeeded","Updating"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ConfigServerState"}}},"type":"object"},"ConfigServerSettings":{"description":"The settings of config server.","properties":{"gitProperty":{"$ref":"#/components/schemas/ConfigServerGitProperty"}},"type":"object"},"DeploymentInstance":{"description":"Deployment instance payload","properties":{"discoveryStatus":{"description":"Discovery status of the deployment instance","readOnly":true,"type":"string"},"name":{"description":"Name of the deployment instance","readOnly":true,"type":"string"},"reason":{"description":"Failed reason of the deployment instance","readOnly":true,"type":"string"},"status":{"description":"Status of the deployment instance","readOnly":true,"type":"string"}},"type":"object"},"DeploymentResource":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Deployment resource payload","properties":{"properties":{"$ref":"#/components/schemas/DeploymentResourceProperties"}},"type":"object"},"DeploymentResourceCollection":{"description":"Object that includes an array of App resources and a possible link for next set","properties":{"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"},"value":{"description":"Collection of Deployment resources","items":{"$ref":"#/components/schemas/DeploymentResource"},"type":"array","uniqueItems":false}},"type":"object"},"DeploymentResourceProperties":{"description":"Deployment resource properties payload","properties":{"active":{"description":"Indicates whether the Deployment is active","readOnly":true,"type":"boolean"},"appName":{"description":"App name of the deployment","readOnly":true,"type":"string"},"createdTime":{"description":"Date time when the resource is created","format":"date-time","readOnly":true,"type":"string"},"deploymentSettings":{"$ref":"#/components/schemas/DeploymentSettings"},"instances":{"description":"Collection of instances belong to the Deployment","items":{"$ref":"#/components/schemas/DeploymentInstance"},"readOnly":true,"type":"array","uniqueItems":false},"provisioningState":{"description":"Provisioning state of the Deployment","enum":["Creating","Updating","Succeeded","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"DeploymentResourceProvisioningState"}},"source":{"$ref":"#/components/schemas/UserSourceInfo"},"status":{"description":"Status of the Deployment","enum":["Unknown","Stopped","Running","Failed","Allocating","Upgrading","Compiling"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"DeploymentResourceStatus"}}},"type":"object"},"DeploymentSettings":{"description":"Deployment settings payload","properties":{"cpu":{"default":1,"description":"Required CPU","format":"int32","maximum":4,"minimum":1,"type":"integer"},"environmentVariables":{"additionalProperties":{"type":"string"},"description":"Collection of environment variables","type":"object"},"instanceCount":{"default":1,"description":"Instance count","format":"int32","maximum":20,"minimum":1,"type":"integer"},"jvmOptions":{"description":"JVM parameter","type":"string"},"memoryInGB":{"default":1,"description":"Required Memory size in GB","format":"int32","maximum":8,"minimum":1,"type":"integer"},"runtimeVersion":{"description":"Runtime version","enum":["Java_8","Java_11"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"RuntimeVersion"}}},"type":"object"},"Error":{"description":"The error code compose of code and message.","properties":{"code":{"description":"The code of error.","type":"string"},"message":{"description":"The message of error.","type":"string"}},"type":"object"},"GitPatternRepository":{"description":"Git repository property payload","properties":{"hostKey":{"description":"Public sshKey of git repository.","type":"string"},"hostKeyAlgorithm":{"description":"SshKey algorithm of git repository.","type":"string"},"label":{"description":"Label of the repository","type":"string"},"name":{"description":"Name of the repository","type":"string"},"password":{"description":"Password of git repository basic auth.","type":"string"},"pattern":{"description":"Collection of pattern of the repository","items":{"type":"string"},"type":"array","uniqueItems":false},"privateKey":{"description":"Private sshKey algorithm of git repository.","type":"string"},"searchPaths":{"description":"Searching path of the repository","items":{"type":"string"},"type":"array","uniqueItems":false},"strictHostKeyChecking":{"description":"Strict host key checking or not.","type":"boolean"},"uri":{"description":"URI of the repository","type":"string"},"username":{"description":"Username of git repository basic auth.","type":"string"}},"required":["name","uri"],"type":"object"},"LogFileUrlResponse":{"description":"Log file URL payload","properties":{"url":{"description":"URL of the log file","type":"string"}},"required":["url"],"type":"object"},"LogSpecification":{"description":"Specifications of the Log for Azure Monitoring","properties":{"blobDuration":{"description":"Blob duration of the log","type":"string"},"displayName":{"description":"Localized friendly display name of the log","type":"string"},"name":{"description":"Name of the log","type":"string"}},"type":"object"},"MetricDimension":{"description":"Specifications of the Dimension of metrics","properties":{"displayName":{"description":"Localized friendly display name of the dimension","type":"string"},"name":{"description":"Name of the dimension","type":"string"}},"type":"object"},"MetricSpecification":{"description":"Specifications of the Metrics for Azure Monitoring","properties":{"aggregationType":{"description":"Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.","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"},"dimensions":{"description":"Dimensions of the metric","items":{"$ref":"#/components/schemas/MetricDimension"},"type":"array","uniqueItems":false},"displayDescription":{"description":"Localized friendly description of the metric","type":"string"},"displayName":{"description":"Localized friendly display name of the metric","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"},"name":{"description":"Name of the metric","type":"string"},"supportedAggregationTypes":{"description":"Supported aggregation types","items":{"type":"string"},"type":"array","uniqueItems":false},"supportedTimeGrainTypes":{"description":"Supported time grain types","items":{"type":"string"},"type":"array","uniqueItems":false},"unit":{"description":"Unit that makes sense for the metric","type":"string"}},"type":"object"},"NameAvailability":{"description":"Name availability result payload","properties":{"message":{"description":"Message why the name is not available","type":"string"},"nameAvailable":{"description":"Indicates whether the name is available","type":"boolean"},"reason":{"description":"Reason why the name is not available","type":"string"}},"readOnly":true,"type":"object"},"NameAvailabilityParameters":{"description":"Name availability parameters payload","properties":{"name":{"description":"Name to be checked","type":"string"},"type":{"description":"Type of the resource to check name availability","type":"string"}},"required":["type","name"],"type":"object"},"OperationDetail":{"description":"Operation detail payload","properties":{"dataAction":{"description":"Indicates whether the operation is a data action","type":"boolean"},"display":{"$ref":"#/components/schemas/OperationDisplay"},"name":{"description":"Name of the operation","type":"string"},"origin":{"description":"Origin of the operation","type":"string"},"properties":{"$ref":"#/components/schemas/OperationProperties"}},"type":"object"},"OperationDisplay":{"description":"Operation display payload","properties":{"description":{"description":"Localized friendly description for the operation","type":"string"},"operation":{"description":"Localized friendly name for the operation","type":"string"},"provider":{"description":"Resource provider of the operation","type":"string"},"resource":{"description":"Resource of the operation","type":"string"}},"type":"object"},"OperationProperties":{"description":"Extra Operation properties","properties":{"serviceSpecification":{"$ref":"#/components/schemas/ServiceSpecification"}},"type":"object"},"PersistentDisk":{"description":"Persistent disk payload","properties":{"mountPath":{"description":"Mount path of the persistent disk","type":"string"},"sizeInGB":{"description":"Size of the persistent disk in GB","format":"int32","maximum":50,"minimum":0,"type":"integer"},"usedInGB":{"description":"Size of the used persistent disk in GB","format":"int32","maximum":50,"minimum":0,"readOnly":true,"type":"integer"}},"type":"object"},"ProxyResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.","properties":{},"type":"object"},"RegenerateTestKeyRequestPayload":{"description":"Regenerate test key request payload","properties":{"keyType":{"description":"Type of the test key","enum":["Primary","Secondary"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TestKeyType"}}},"required":["keyType"],"type":"object"},"Resource":{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource Id for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true},"ResourceUploadDefinition":{"description":"Resource upload definition payload","properties":{"relativePath":{"description":"Source relative path","type":"string"},"uploadUrl":{"description":"Upload URL","type":"string"}},"type":"object"},"ServiceResource":{"allOf":[{"$ref":"#/components/schemas/TrackedResource"}],"description":"Service resource","properties":{"properties":{"$ref":"#/components/schemas/ClusterResourceProperties"}},"type":"object"},"ServiceResourceList":{"description":"Object that includes an array of Service resources and a possible link for next set","properties":{"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"},"value":{"description":"Collection of Service resources","items":{"$ref":"#/components/schemas/ServiceResource"},"type":"array","uniqueItems":false}},"type":"object"},"ServiceSpecification":{"description":"Service specification payload","properties":{"logSpecifications":{"description":"Specifications of the Log for Azure Monitoring","items":{"$ref":"#/components/schemas/LogSpecification"},"type":"array","uniqueItems":false},"metricSpecifications":{"description":"Specifications of the Metrics for Azure Monitoring","items":{"$ref":"#/components/schemas/MetricSpecification"},"type":"array","uniqueItems":false}},"type":"object"},"TemporaryDisk":{"description":"Temporary disk payload","properties":{"mountPath":{"description":"Mount path of the temporary disk","type":"string"},"sizeInGB":{"description":"Size of the temporary disk in GB","format":"int32","maximum":5,"minimum":0,"type":"integer"}},"type":"object"},"TestKeys":{"description":"Test keys payload","properties":{"enabled":{"description":"Indicates whether the test endpoint feature enabled or not","type":"boolean"},"primaryKey":{"description":"Primary key","type":"string"},"primaryTestEndpoint":{"description":"Primary test endpoint","type":"string"},"secondaryKey":{"description":"Secondary key","type":"string"},"secondaryTestEndpoint":{"description":"Secondary test endpoint","type":"string"}},"type":"object"},"TraceProperties":{"description":"Trace properties payload","properties":{"appInsightInstrumentationKey":{"description":"Target application insight instrumentation key","type":"string"},"enabled":{"description":"Indicates whether enable the tracing functionality","type":"boolean"},"error":{"$ref":"#/components/schemas/Error"},"state":{"description":"State of the trace proxy.","enum":["NotAvailable","Failed","Succeeded","Updating"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"TraceProxyState"}}},"type":"object"},"TrackedResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"The resource model definition for a ARM tracked top level resource.","properties":{"location":{"description":"The GEO location of the resource.","type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Tags of the service which is a list of key value pairs that describe the resource.","type":"object"}},"type":"object"},"UserSourceInfo":{"description":"Source information for a deployment","properties":{"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"},"relativePath":{"description":"Relative path of the storage which stores the source","type":"string"},"type":{"description":"Type of the source uploaded","enum":["Jar","Source"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"UserSourceType"}},"version":{"description":"Version of the source","type":"string"}},"type":"object"}}}}