From 5fc2588b2ce16a3af9beb7b9cb2cc0c3d55199f9 Mon Sep 17 00:00:00 2001 From: Raj <44002319+rajmusuku@users.noreply.github.com> Date: Thu, 11 Mar 2021 18:00:29 -0800 Subject: [PATCH] Deprecate arc data services resource types (#13304) * Deprecate arc data services resource types * Removing the package-preview-2020-09-08 * Making changes to python sdk md files * Updating python markdown file --- .../preview/2019-07-24-preview/azuredata.json | 1475 ------------- .../CreateOrUpdateDataController.json | 74 - .../CreateOrUpdatePostgresInstance.json | 57 - .../CreateOrUpdateSqlManagedInstance.json | 72 - .../CreateOrUpdateSqlServerInstance.json | 79 - .../examples/DeleteDataController.json | 12 - .../examples/DeletePostgresInstance.json | 12 - .../examples/DeleteSqlManagedInstance.json | 12 - .../examples/DeleteSqlServerInstance.json | 12 - .../examples/GetDataController.json | 36 - .../examples/GetPostgresInstance.json | 30 - .../examples/GetSqlManagedInstance.json | 35 - .../examples/GetSqlServerInstance.json | 38 - .../ListByResourceGroupDataController.json | 63 - .../ListByResourceGroupPostgresInstance.json | 51 - ...ListByResourceGroupSqlManagedInstance.json | 61 - .../ListByResourceGroupSqlServerInstance.json | 67 - .../ListSubscriptionDataController.json | 62 - .../ListSubscriptionPostgresInstance.json | 50 - .../ListSubscriptionSqlManagedInstance.json | 60 - .../ListSubscriptionSqlServerInstance.json | 66 - .../examples/UpdateDataController.json | 41 - .../examples/UpdatePostgresInstance.json | 35 - .../examples/UpdateSqlManagedInstance.json | 37 - .../examples/UpdateSqlServerInstance.json | 40 - .../preview/2020-09-08-preview/azuredata.json | 1890 ----------------- .../CreateOrUpdateDataController.json | 74 - .../CreateOrUpdatePostgresInstance.json | 133 -- .../CreateOrUpdateSqlManagedInstance.json | 72 - .../CreateOrUpdateSqlServerInstance.json | 79 - .../examples/DeleteDataController.json | 12 - .../examples/DeletePostgresInstance.json | 12 - .../examples/DeleteSqlManagedInstance.json | 12 - .../examples/DeleteSqlServerInstance.json | 12 - .../examples/GetDataController.json | 36 - .../examples/GetPostgresInstance.json | 30 - .../examples/GetSqlManagedInstance.json | 35 - .../examples/GetSqlServerInstance.json | 38 - .../ListByResourceGroupDataController.json | 63 - .../ListByResourceGroupPostgresInstance.json | 51 - ...ListByResourceGroupSqlManagedInstance.json | 61 - .../ListByResourceGroupSqlServerInstance.json | 67 - .../ListSubscriptionDataController.json | 62 - .../ListSubscriptionPostgresInstance.json | 50 - .../ListSubscriptionSqlManagedInstance.json | 60 - .../ListSubscriptionSqlServerInstance.json | 66 - .../examples/UpdateDataController.json | 41 - .../examples/UpdatePostgresInstance.json | 35 - .../examples/UpdateSqlManagedInstance.json | 37 - .../examples/UpdateSqlServerInstance.json | 40 - .../readme.azureresourceschema.md | 12 - .../azuredata/resource-manager/readme.md | 11 +- .../resource-manager/readme.python.md | 27 +- 53 files changed, 15 insertions(+), 5680 deletions(-) delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdatePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeletePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionPostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlServerInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateDataController.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdatePostgresInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlManagedInstance.json delete mode 100644 specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlServerInstance.json diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json index c8f01b22aae2..f9ef85967cab 100644 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json +++ b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json @@ -567,1144 +567,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_List", - "summary": "List sqlManagedInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_ListByResourceGroup", - "description": "Gets all sqlManagedInstances in a resource group.", - "summary": "List sqlManagedInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlManagedInstances/{sqlManagedInstanceName}": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Get", - "description": "Retrieves a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "Name of SQL Managed Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Instance tags.": { - "$ref": "./examples/GetSqlManagedInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Create", - "description": "Creates or replaces a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "The name of SQL Managed Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Managed Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Managed Instance tags.": { - "$ref": "./examples/CreateOrUpdateSqlManagedInstance.json" - } - } - }, - "delete": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Delete", - "description": "Deletes a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "The name of Sql Managed Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Managed Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Managed Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Instance.": { - "$ref": "./examples/DeleteSqlManagedInstance.json" - } - } - }, - "patch": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Update", - "description": "Updates a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "Name of sqlManagedInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Managed Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlManagedInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a sql Instance tags.": { - "$ref": "./examples/UpdateSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_List", - "summary": "List sqlServerInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_ListByResourceGroup", - "description": "Gets all sqlServerInstances in a resource group.", - "summary": "List sqlServerInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerInstances/{sqlServerInstanceName}": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Get", - "description": "Retrieves a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "Name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/GetSqlServerInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Create", - "description": "Creates or replaces a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "The name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/CreateOrUpdateSqlServerInstance.json" - } - } - }, - "delete": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Delete", - "description": "Deletes a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "The name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Server Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Server Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Server Instance.": { - "$ref": "./examples/DeleteSqlServerInstance.json" - } - } - }, - "patch": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Update", - "description": "Updates a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "Name of sqlServerInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/UpdateSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_List", - "summary": "List postgres Instance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all Postgres Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_ListByResourceGroup", - "description": "Get a postgres Instances list by Resource group name.", - "summary": "List postgres Instance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all postgres Instances in a resource group.": { - "$ref": "./examples/ListByResourceGroupPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances/{postgresInstanceName}": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Get", - "description": "Retrieves a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a postgres Instances.": { - "$ref": "./examples/GetPostgresInstance.json" - } - } - }, - "put": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Create", - "description": "Creates or replaces a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of PostgresInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Creates or updates a postgres Instance.": { - "$ref": "./examples/CreateOrUpdatePostgresInstance.json" - } - } - }, - "delete": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Delete", - "description": "Deletes a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the Postgres Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified Postgres Instance does not exist." - } - }, - "x-ms-examples": { - "Deletes a PostgresInstances.": { - "$ref": "./examples/DeletePostgresInstance.json" - } - } - }, - "patch": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Update", - "description": "Updates a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The Postgres Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/PostgresInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a postgres Instances tags.": { - "$ref": "./examples/UpdatePostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInSubscription", - "summary": "List dataController resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a subscription.": { - "$ref": "./examples/ListSubscriptionDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInGroup", - "summary": "List dataController resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a resource group.": { - "$ref": "./examples/ListByResourceGroupDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/dataControllers/{dataControllerName}": { - "put": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PutDataController", - "description": "Creates or replaces a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerResource", - "description": "desc", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a dataControllers tags.": { - "$ref": "./examples/CreateOrUpdateDataController.json" - } - } - }, - "delete": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_DeleteDataController", - "description": "Deletes a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the DataController." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified DataController does not exist." - } - }, - "x-ms-examples": { - "Delete a dataController.": { - "$ref": "./examples/DeleteDataController.json" - } - } - }, - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_GetDataController", - "description": "Retrieves a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a data controller.": { - "$ref": "./examples/GetDataController.json" - } - } - }, - "patch": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PatchDataController", - "description": "Updates a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "dataControllerResource", - "description": "The update data controller resource", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/DataControllerUpdate" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a dataController tags.": { - "$ref": "./examples/UpdateDataController.json" - } - } - } } }, "definitions": { @@ -2177,52 +1039,6 @@ } } }, - "PageOfDataControllerResource": { - "type": "object", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/DataControllerResource" - }, - "type": "array" - }, - "nextLink": { - "type": "string", - "description": "Link to retrieve next page of results." - } - } - }, - "DataControllerResource": { - "description": "Data controller resource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/DataControllerProperties", - "description": "The data controller's properties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ] - }, - "DataControllerUpdate": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "Used for updating a data controller resource." - }, "SystemData": { "description": "Read only system data", "type": "object", @@ -2290,273 +1106,6 @@ } } }, - "DataControllerProperties": { - "description": "The data controller properties.", - "type": "object", - "properties": { - "onPremiseProperty": { - "$ref": "#/definitions/OnPremiseProperty" - } - }, - "required": [ - "onPremiseProperty" - ] - }, - "OnPremiseProperty": { - "description": "Properties from the on premise data controller", - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "description": "A globally unique ID identifying the associated on premise cluster" - }, - "publicSigningKey": { - "type": "string", - "description": "Certificate that contains the on premise cluster public key used to verify signing" - }, - "signingCertificateThumbprint": { - "type": "string", - "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "required": [ - "id", - "publicSigningKey" - ] - }, - "PostgresInstanceProperties": { - "description": "Postgres Instance properties.", - "type": "object", - "properties": { - "hybridDataManagerId": { - "type": "string", - "description": "null" - } - } - }, - "PostgresInstance": { - "description": "A Postgres Instance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource", - "description": "null" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties", - "x-ms-client-flatten": true, - "description": "null" - } - } - }, - "PostgresInstanceUpdate": { - "description": "An update to a Postgres Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "hybridDataManagerId": { - "type": "string", - "description": "null" - } - } - }, - "PostgresInstanceListResult": { - "description": "A list of PostgresInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PostgresInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlManagedInstanceProperties": { - "description": "Properties of sqlManagedInstance.", - "type": "object", - "properties": { - "dataControllerId": { - "type": "string", - "description": "null" - }, - "instanceEndpoint": { - "type": "string", - "description": "The on premise instance endpoint" - }, - "admin": { - "type": "string", - "description": "The instance admin user" - }, - "startTime": { - "type": "string", - "description": "The instance start time" - }, - "endTime": { - "type": "string", - "description": "The instance end time" - }, - "vCore": { - "type": "string", - "description": "The instance vCore" - } - } - }, - "SqlManagedInstance": { - "description": "A SqlManagedInstance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlManagedInstanceProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "SqlManagedInstanceUpdate": { - "description": "An update to a SQL Managed Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlManagedInstanceListResult": { - "description": "A list of SqlManagedInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlManagedInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerInstanceProperties": { - "description": "Properties of SqlServerInstance.", - "type": "object", - "properties": { - "version": { - "type": "string", - "description": "SQL Server version." - }, - "edition": { - "type": "string", - "description": "SQL Server edition." - }, - "containerResourceId": { - "type": "string", - "description": "ARM Resource id of the container resource (Azure Arc for Servers)" - }, - "createTime": { - "type": "string", - "description": "The time when the resource was created.", - "readOnly": true - }, - "updateTime": { - "type": "string", - "description": "The time when the resource was last updated.", - "readOnly": true - }, - "vCore": { - "type": "string", - "description": "The number of logical processors used by the SQL Server instance." - }, - "status": { - "type": "string", - "description": "The cloud connectivity status." - } - }, - "required": [ - "version", - "edition", - "containerResourceId", - "vCore", - "status" - ] - }, - "SqlServerInstance": { - "description": "A SqlServerInstance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerInstanceProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "SqlServerInstanceUpdate": { - "description": "An update to a SQL Server Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlServerInstanceListResult": { - "description": "A list of SqlServerInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, "CloudError": { "x-ms-external": true, "properties": { @@ -2688,30 +1237,6 @@ "required": true, "type": "string", "x-ms-parameter-location": "method" - }, - "PostgresInstanceNameParameter": { - "in": "path", - "name": "postgresInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlManagedInstanceNameParameter": { - "in": "path", - "name": "sqlManagedInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlServerInstanceNameParameter": { - "in": "path", - "name": "sqlServerInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" } }, "securityDefinitions": { diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateDataController.json deleted file mode 100644 index 74731c2ddcff..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateDataController.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2017-07-24", - "dataControllerResource": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - }, - "201": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json deleted file mode 100644 index c9f3cbb98981..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlManagedInstance.json deleted file mode 100644 index 9c207564ec59..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlManagedInstance.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - }, - "201": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerInstance.json deleted file mode 100644 index a14c9add6e6d..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerInstance.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "vCore": "4", - "status": "Connected" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - }, - "201": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteDataController.json deleted file mode 100644 index 386d1034d97c..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteDataController.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json deleted file mode 100644 index c686a6df3ab0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlManagedInstance.json deleted file mode 100644 index 9bfc6d45587d..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlManagedInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerInstance.json deleted file mode 100644 index 25be3d7479ed..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetDataController.json deleted file mode 100644 index 8a13eb3d5b6e..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetDataController.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json deleted file mode 100644 index 11e754ce1bd2..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstances", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances", - "name": "testpostgresInstances", - "type": "Microsoft.AzureData/PostgresInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlManagedInstance.json deleted file mode 100644 index af96057ccab0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlManagedInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerInstance.json deleted file mode 100644 index 02bef61fa29c..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerInstance.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupDataController.json deleted file mode 100644 index 797b1fb81a31..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupDataController.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json deleted file mode 100644 index 6fedd5954dfc..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlManagedInstance.json deleted file mode 100644 index bb31e438e35a..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlManagedInstance.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureData/sqlManagedInstances" - }, - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerInstance.json deleted file mode 100644 index 0d50ea9bf3f9..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerInstance.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionDataController.json deleted file mode 100644 index a81869dfea05..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionDataController.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json deleted file mode 100644 index bd8e2e231a20..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlManagedInstance.json deleted file mode 100644 index 65f4485aebd5..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlManagedInstance.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureData/sqlManagedInstances" - }, - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerInstance.json deleted file mode 100644 index 4caeed41a65b..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerInstance.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateDataController.json deleted file mode 100644 index c6dc5166499a..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateDataController.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController1", - "api-version": "2019-07-24", - "dataControllerResource": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json deleted file mode 100644 index a2f30ef71877..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2019-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlManagedInstance.json deleted file mode 100644 index 11144061214c..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlManagedInstance.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2017-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerInstance.json deleted file mode 100644 index 38fad094b693..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerInstance.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2017-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json deleted file mode 100644 index ab1d98d88c50..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json +++ /dev/null @@ -1,1890 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2020-09-08-preview", - "title": "AzureDataManagementClient", - "description": "The AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_List", - "summary": "List sqlManagedInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_ListByResourceGroup", - "description": "Gets all sqlManagedInstances in a resource group.", - "summary": "List sqlManagedInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlManagedInstances/{sqlManagedInstanceName}": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Get", - "description": "Retrieves a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "Name of SQL Managed Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Instance tags.": { - "$ref": "./examples/GetSqlManagedInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Create", - "description": "Creates or replaces a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "The name of SQL Managed Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "sqlManagedInstance", - "in": "body", - "description": "The SQL Managed Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or update a SQL Managed Instance": { - "$ref": "./examples/CreateOrUpdateSqlManagedInstance.json" - } - } - }, - "delete": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Delete", - "description": "Deletes a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "The name of Sql Managed Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Managed Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Managed Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Instance.": { - "$ref": "./examples/DeleteSqlManagedInstance.json" - } - } - }, - "patch": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Update", - "description": "Updates a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlManagedInstanceName", - "description": "Name of sqlManagedInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Managed Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlManagedInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a sql Instance tags.": { - "$ref": "./examples/UpdateSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_List", - "summary": "List sqlServerInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_ListByResourceGroup", - "description": "Gets all sqlServerInstances in a resource group.", - "summary": "List sqlServerInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerInstances/{sqlServerInstanceName}": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Get", - "description": "Retrieves a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "Name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/GetSqlServerInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Create", - "description": "Creates or replaces a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "The name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "sqlServerInstance", - "in": "body", - "description": "The SQL Server Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/CreateOrUpdateSqlServerInstance.json" - } - } - }, - "delete": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Delete", - "description": "Deletes a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "The name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Server Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Server Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Server Instance.": { - "$ref": "./examples/DeleteSqlServerInstance.json" - } - } - }, - "patch": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Update", - "description": "Updates a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerInstanceName", - "description": "Name of sqlServerInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/UpdateSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_List", - "summary": "List postgres Instance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all Postgres Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_ListByResourceGroup", - "description": "Get a postgres Instances list by Resource group name.", - "summary": "List postgres Instance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all postgres Instances in a resource group.": { - "$ref": "./examples/ListByResourceGroupPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances/{postgresInstanceName}": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Get", - "description": "Retrieves a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a postgres Instances.": { - "$ref": "./examples/GetPostgresInstance.json" - } - } - }, - "put": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Create", - "description": "Creates or replaces a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of PostgresInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "resource", - "description": "The postgres instance", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or update a Postgres Instance.": { - "$ref": "./examples/CreateOrUpdatePostgresInstance.json" - } - } - }, - "delete": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Delete", - "description": "Deletes a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the Postgres Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified Postgres Instance does not exist." - } - }, - "x-ms-examples": { - "Deletes a PostgresInstances.": { - "$ref": "./examples/DeletePostgresInstance.json" - } - } - }, - "patch": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Update", - "description": "Updates a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The Postgres Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/PostgresInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a postgres Instances tags.": { - "$ref": "./examples/UpdatePostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInSubscription", - "summary": "List dataController resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a subscription.": { - "$ref": "./examples/ListSubscriptionDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInGroup", - "summary": "List dataController resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a resource group.": { - "$ref": "./examples/ListByResourceGroupDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/dataControllers/{dataControllerName}": { - "put": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PutDataController", - "description": "Creates or replaces a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerResource", - "description": "desc", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or update a Data Controller.": { - "$ref": "./examples/CreateOrUpdateDataController.json" - } - } - }, - "delete": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_DeleteDataController", - "description": "Deletes a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the DataController." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified DataController does not exist." - } - }, - "x-ms-examples": { - "Delete a dataController.": { - "$ref": "./examples/DeleteDataController.json" - } - } - }, - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_GetDataController", - "description": "Retrieves a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get a data controller.": { - "$ref": "./examples/GetDataController.json" - } - } - }, - "patch": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PatchDataController", - "description": "Updates a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "dataControllerResource", - "description": "The update data controller resource", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/DataControllerUpdate" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a dataController tags.": { - "$ref": "./examples/UpdateDataController.json" - } - } - } - } - }, - "definitions": { - "Sku": { - "description": "The resource model definition representing SKU", - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "tier": { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - }, - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - } - }, - "required": [ - "name" - ] - }, - "Identity": { - "description": "Identity for the resource.", - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - } - } - }, - "Plan": { - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "product": { - "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "description": "Plan for the resource.", - "required": [ - "name", - "publisher", - "product" - ] - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } - }, - "x-ms-azure-resource": true - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "readOnly": true - } - }, - "required": [ - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "PageOfDataControllerResource": { - "type": "object", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/DataControllerResource" - }, - "type": "array" - }, - "nextLink": { - "type": "string", - "description": "Link to retrieve next page of results." - } - } - }, - "DataControllerResource": { - "description": "Data controller resource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/DataControllerProperties", - "description": "The data controller's properties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ] - }, - "DataControllerUpdate": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "Used for updating a data controller resource." - }, - "SystemData": { - "description": "Read only system data", - "type": "object", - "properties": { - "createdBy": { - "type": "string", - "description": "An identifier for the identity that created the resource" - }, - "createdByType": { - "$ref": "#/definitions/IdentityType", - "description": "The type of identity that created the resource" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "An identifier for the identity that last modified the resource" - }, - "lastModifiedByType": { - "$ref": "#/definitions/IdentityType", - "description": "The type of identity that last modified the resource" - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - } - } - }, - "IdentityType": { - "description": "The type of identity that creates/modifies resources", - "type": "string", - "enum": [ - "user", - "application", - "managedIdentity", - "key" - ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": true - } - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "type": "integer", - "format": "int32" - }, - "family": { - "type": "string" - }, - "name": { - "type": "string" - }, - "size": { - "type": "string" - }, - "tier": { - "type": "string" - } - } - }, - "DataControllerProperties": { - "description": "The data controller properties.", - "type": "object", - "properties": { - "onPremiseProperty": { - "$ref": "#/definitions/OnPremiseProperty" - }, - "k8sRaw": { - "type": "object", - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from on premise cluster. Defaults to current date time" - } - }, - "required": [ - "onPremiseProperty" - ] - }, - "OnPremiseProperty": { - "description": "Properties from the on premise data controller", - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "description": "A globally unique ID identifying the associated on premise cluster" - }, - "publicSigningKey": { - "type": "string", - "description": "Certificate that contains the on premise cluster public key used to verify signing" - }, - "signingCertificateThumbprint": { - "type": "string", - "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "required": [ - "id", - "publicSigningKey" - ] - }, - "PostgresInstanceProperties": { - "description": "Postgres Instance properties.", - "type": "object", - "properties": { - "dataControllerId": { - "type": "string", - "description": "The data controller id" - }, - "admin": { - "type": "string", - "description": "The instance admin" - }, - "k8sRaw": { - "type": "object", - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from on premise cluster. Defaults to current date time" - } - } - }, - "PostgresInstance": { - "description": "A Postgres Instance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource", - "description": "null" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties", - "x-ms-client-flatten": true, - "description": "null" - } - } - }, - "PostgresInstanceUpdate": { - "description": "An update to a Postgres Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties" - } - } - }, - "PostgresInstanceListResult": { - "description": "A list of PostgresInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PostgresInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlManagedInstanceProperties": { - "description": "Properties of sqlManagedInstance.", - "type": "object", - "properties": { - "dataControllerId": { - "type": "string", - "description": "null" - }, - "instanceEndpoint": { - "type": "string", - "description": "The on premise instance endpoint" - }, - "admin": { - "type": "string", - "description": "The instance admin user" - }, - "startTime": { - "type": "string", - "description": "The instance start time" - }, - "endTime": { - "type": "string", - "description": "The instance end time" - }, - "vCore": { - "type": "string", - "description": "The instance vCore" - }, - "k8sRaw": { - "type": "object", - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from on premise cluster. Defaults to current date time" - } - } - }, - "SqlManagedInstance": { - "description": "A SqlManagedInstance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlManagedInstanceProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "SqlManagedInstanceUpdate": { - "description": "An update to a SQL Managed Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlManagedInstanceListResult": { - "description": "A list of SqlManagedInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlManagedInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerInstanceProperties": { - "description": "Properties of SqlServerInstance.", - "type": "object", - "properties": { - "version": { - "type": "string", - "description": "SQL Server version." - }, - "edition": { - "type": "string", - "description": "SQL Server edition." - }, - "containerResourceId": { - "type": "string", - "description": "ARM Resource id of the container resource (Azure Arc for Servers)" - }, - "createTime": { - "type": "string", - "description": "The time when the resource was created.", - "readOnly": true - }, - "updateTime": { - "type": "string", - "description": "The time when the resource was last updated.", - "readOnly": true - }, - "vCore": { - "type": "string", - "description": "The number of logical processors used by the SQL Server instance." - }, - "status": { - "type": "string", - "description": "The cloud connectivity status." - } - }, - "required": [ - "version", - "edition", - "containerResourceId", - "vCore", - "status" - ] - }, - "SqlServerInstance": { - "description": "A SqlServerInstance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerInstanceProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "SqlServerInstanceUpdate": { - "description": "An update to a SQL Server Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlServerInstanceListResult": { - "description": "A list of SqlServerInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody", - "description": "null" - } - }, - "description": "An error response from the Azure Data service." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Batch service." - }, - "ODataError": { - "properties": { - "code": { - "type": "string", - "description": "A language-independent error name." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error (for example, the name of the property in error)." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ODataError" - }, - "description": "The error details." - } - }, - "type": "object", - "description": "Information about an error." - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription" - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure resource group", - "x-ms-parameter-location": "method" - }, - "location": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure region to use for the request", - "x-ms-parameter-location": "method" - }, - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Subscription ID that identifies an Azure subscription.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API version to use for the request.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "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" - }, - "PostgresInstanceNameParameter": { - "in": "path", - "name": "postgresInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlManagedInstanceNameParameter": { - "in": "path", - "name": "sqlManagedInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlServerInstanceNameParameter": { - "in": "path", - "name": "sqlServerInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateDataController.json deleted file mode 100644 index 7e6f05d3d656..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateDataController.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2019-09-08-preview", - "dataControllerResource": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - }, - "201": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdatePostgresInstance.json deleted file mode 100644 index 814c5952a8a0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdatePostgresInstance.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2019-09-08-preview", - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "resource": { - "location": "eastus", - "properties": { - "dataControllerId": "dataControllerId", - "admin": "admin", - "k8sRaw": { - "apiVersion": "apiVersion", - "kind": "postgresql-12", - "metadata": { - "creationTimestamp": "2020-08-25T14:55:10Z", - "generation": 1, - "name": "pg1", - "namespace": "test", - "resourceVersion": "527780", - "selfLink": "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1", - "uid": "1111aaaa-ffff-ffff-ffff-99999aaaaaaa" - }, - "spec": { - "backups": { - "deltaMinutes": 3, - "fullMinutes": 10, - "tiers": [ - { - "retention": { - "maximums": [ - "6", - "512MB" - ], - "minimums": [ - "3" - ] - }, - "storage": { - "volumeSize": "1Gi" - } - } - ] - }, - "engine": { - "extensions": [ - { - "name": "citus" - } - ] - }, - "scale": { - "shards": 3 - }, - "scheduling": { - "default": { - "resources": { - "requests": { - "memory": "256Mi" - } - } - } - }, - "service": { - "type": "NodePort" - }, - "storage": { - "data": { - "className": "local-storage", - "size": "5Gi" - }, - "logs": { - "className": "local-storage", - "size": "5Gi" - } - } - }, - "status": { - "externalEndpoint": null, - "readyPods": "4/4", - "state": "Ready" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlManagedInstance.json deleted file mode 100644 index ada9ad6f92d1..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlManagedInstance.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2019-09-08-preview", - "sqlManagedInstance": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - }, - "201": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlServerInstance.json deleted file mode 100644 index d518665361be..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/CreateOrUpdateSqlServerInstance.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2019-09-08-preview", - "sqlServerInstance": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "vCore": "4", - "status": "Connected" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - }, - "201": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteDataController.json deleted file mode 100644 index ab58c52a18e2..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteDataController.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeletePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeletePostgresInstance.json deleted file mode 100644 index 9281c59efd2b..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeletePostgresInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlManagedInstance.json deleted file mode 100644 index f07d23d4e1b0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlManagedInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlServerInstance.json deleted file mode 100644 index 1574521ae769..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/DeleteSqlServerInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetDataController.json deleted file mode 100644 index 9f532d270068..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetDataController.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetPostgresInstance.json deleted file mode 100644 index 2a13138b39da..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetPostgresInstance.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstances", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances", - "name": "testpostgresInstances", - "type": "Microsoft.AzureData/PostgresInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlManagedInstance.json deleted file mode 100644 index c580ac6dd1d3..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlManagedInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlServerInstance.json deleted file mode 100644 index 053724bea5db..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/GetSqlServerInstance.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupDataController.json deleted file mode 100644 index 5328e05743ba..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupDataController.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupPostgresInstance.json deleted file mode 100644 index 765965efa0b1..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupPostgresInstance.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlManagedInstance.json deleted file mode 100644 index 24ec32460103..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlManagedInstance.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureData/sqlManagedInstances" - }, - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlServerInstance.json deleted file mode 100644 index fe367c20dab3..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListByResourceGroupSqlServerInstance.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionDataController.json deleted file mode 100644 index c5d30225fcf7..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionDataController.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionPostgresInstance.json deleted file mode 100644 index cf0d38b56205..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionPostgresInstance.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlManagedInstance.json deleted file mode 100644 index 3efaf7439792..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlManagedInstance.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureData/sqlManagedInstances" - }, - { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlServerInstance.json deleted file mode 100644 index 60074dcbba5b..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/ListSubscriptionSqlServerInstance.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-09-08-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateDataController.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateDataController.json deleted file mode 100644 index f7f27e678d4a..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateDataController.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController1", - "api-version": "2019-09-08-preview", - "dataControllerResource": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - } - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureData/dataControllers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdatePostgresInstance.json deleted file mode 100644 index f8164922b7d2..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdatePostgresInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2019-09-08-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlManagedInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlManagedInstance.json deleted file mode 100644 index 37b42b02040e..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlManagedInstance.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2019-09-08-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "instanceEndpoint": "The on premise instance endpoint", - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlServerInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlServerInstance.json deleted file mode 100644 index 5545f368b407..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2020-09-08-preview/examples/UpdateSqlServerInstance.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2019-09-08-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "updateTime": "01/01/2020 01:01:01", - "vCore": "4", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "user", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "user", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureData/SqlServerInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/readme.azureresourceschema.md b/specification/azuredata/resource-manager/readme.azureresourceschema.md index 25ab4f9115e8..9e9e3a071f7d 100644 --- a/specification/azuredata/resource-manager/readme.azureresourceschema.md +++ b/specification/azuredata/resource-manager/readme.azureresourceschema.md @@ -6,24 +6,12 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - - tag: schema-azuredata-2020-09-08-preview - tag: schema-azuredata-2019-07-24-preview ``` Please also specify `--azureresourceschema-folder=`. -### Tag: schema-azuredata-2020-09-08-preview and azureresourceschema - -``` yaml $(tag) == 'schema-azuredata-2020-09-08-preview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas - -# all the input files in this apiVersion -input-file: - - Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json - -``` - ### Tag: schema-azuredata-2019-07-24-preview and azureresourceschema ``` yaml $(tag) == 'schema-azuredata-2019-07-24-preview' && $(azureresourceschema) diff --git a/specification/azuredata/resource-manager/readme.md b/specification/azuredata/resource-manager/readme.md index c862cca522de..c2582d6cd618 100644 --- a/specification/azuredata/resource-manager/readme.md +++ b/specification/azuredata/resource-manager/readme.md @@ -29,15 +29,6 @@ openapi-type: arm tag: package-preview-2019-07 ``` -### Tag: package-preview-2020-09-08 - -These settings apply only when `--tag=package-preview-2020-09-08` is specified on the command line. - -```yaml $(tag) == 'package-preview-2020-09-08' -input-file: - - Microsoft.AzureData/preview/2020-09-08-preview/azuredata.json -``` - ### Tag: package-preview-2019-07 These settings apply only when `--tag=package-preview-2019-07` is specified on the command line. @@ -66,7 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/azuredata/resource-manager/readme.python.md b/specification/azuredata/resource-manager/readme.python.md index dfc534e650b1..13fbd1d77211 100644 --- a/specification/azuredata/resource-manager/readme.python.md +++ b/specification/azuredata/resource-manager/readme.python.md @@ -3,19 +3,20 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -```yaml $(python) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: Microsoft.AzureData - package-name: azuredata - package-version: 2019-07-24 - clear-output-folder: true +```yaml $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azuredata +no-namespace-folders: true +package-version: 1.0.0b1 ``` -```yaml $(python) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt/azuredata +``` yaml $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/azuredata/azure-mgmt-azuredata/azure/mgmt/azuredata +``` + +``` yaml $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/azuredata/azure-mgmt-azuredata ``` \ No newline at end of file