From 6a28518e4be7fbcd48d75f839d6530de79fa1c14 Mon Sep 17 00:00:00 2001 From: Sasank Chaganty Date: Tue, 1 Mar 2022 18:58:33 -0500 Subject: [PATCH] fixing linting warnings --- .../preview/2022-03-01-preview/common.json | 10 ++++++++++ .../preview/2022-03-01-preview/dataControllers.json | 10 ++++++++++ .../preview/2022-03-01-preview/operations.json | 10 ++++++++++ .../preview/2022-03-01-preview/postgresInstances.json | 6 ++++-- .../2022-03-01-preview/sqlManagedInstances.json | 10 ++++++++++ .../preview/2022-03-01-preview/sqlServerInstances.json | 10 ++++++++++ 6 files changed, 54 insertions(+), 2 deletions(-) diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/common.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/common.json index f7bcedc58c4e..3fd5b31316c0 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/common.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/common.json @@ -122,6 +122,16 @@ } } }, + "parameters": { + "apiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request", + "x-ms-parameter-location": "client" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/dataControllers.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/dataControllers.json index c723eeff8994..59f2ef201866 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/dataControllers.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/dataControllers.json @@ -224,6 +224,16 @@ } } }, + "parameters": { + "apiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request", + "x-ms-parameter-location": "client" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/operations.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/operations.json index 699136161edf..6402bfbf4644 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/operations.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/operations.json @@ -103,6 +103,16 @@ ] } }, + "parameters": { + "apiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request", + "x-ms-parameter-location": "client" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/postgresInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/postgresInstances.json index 2e2a891737a5..54762e0ec386 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/postgresInstances.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/postgresInstances.json @@ -57,7 +57,8 @@ }, "provisioningState": { "type": "string", - "readOnly": true + "readOnly": true, + "description": "The provisioning state of the Azure Arc-enabled PostgreSQL instance." } } }, @@ -100,7 +101,8 @@ } }, "properties": { - "$ref": "#/definitions/PostgresInstanceProperties" + "$ref": "#/definitions/PostgresInstanceProperties", + "x-ms-client-flatten": false } } }, diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlManagedInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlManagedInstances.json index 859ecc9f1ca5..424ded0f571b 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlManagedInstances.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlManagedInstances.json @@ -265,6 +265,16 @@ } } }, + "parameters": { + "apiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request", + "x-ms-parameter-location": "client" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlServerInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlServerInstances.json index 6b323ecce1d0..ce785275b874 100644 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlServerInstances.json +++ b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2022-03-01-preview/sqlServerInstances.json @@ -211,6 +211,16 @@ } } }, + "parameters": { + "apiVersion": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to use for the request", + "x-ms-parameter-location": "client" + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2",