From 2a1cd10f00ad4c156090ee6f6dd9aafee3a3cb3d Mon Sep 17 00:00:00 2001 From: Donald Date: Fri, 15 Jan 2021 14:30:48 -0800 Subject: [PATCH] Removing SapMonitor API Version v20171103 --- .../examples/SapMonitors_Create.json | 77 ---- .../examples/SapMonitors_Delete.json | 13 - .../examples/SapMonitors_Get.json | 34 -- .../examples/SapMonitors_List.json | 58 --- .../examples/SapMonitors_PatchTags.json | 39 -- .../SapMonitors_PatchTags_Delete.json | 35 -- .../2017-11-03-preview/hanaonazure.json | 357 ------------------ 7 files changed, 613 deletions(-) delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json delete mode 100644 specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json deleted file mode 100644 index 4d1b6c50fb5c..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "sapMonitorName": "mySapMonitor", - "sapMonitorParameter": { - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPassword": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "enableCustomerAnalytics": true, - "logAnalyticsWorkspaceArmId": "", - "logAnalyticsWorkspaceId": "", - "logAnalyticsWorkspaceSharedKey": "", - "provisioningState": "Succeeded" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", - "name": "myHanaInstance", - "type": "Microsoft.HanaOnAzure/hanaInstances", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "enableCustomerAnalytics": true, - "logAnalyticsWorkspaceArmId": "", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance", - "name": "myHanaInstance", - "type": "Microsoft.HanaOnAzure/hanaInstances", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "enableCustomerAnalytics": true, - "logAnalyticsWorkspaceArmId": "", - "provisioningState": "Accepted" - } - } - } - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json deleted file mode 100644 index 4b82a98dfefc..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "sapMonitorName": "mySapMonitor" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json deleted file mode 100644 index 25a8cbc41f9f..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "sapMonitorName": "mySapMonitor" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", - "name": "mySapMonitor", - "type": "Microsoft.HanaOnAzure/sapMonitors", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "managedResourceGroupName": "testManagedRg", - "logAnalyticsWorkspaceArmId": "", - "keyVaultId": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json deleted file mode 100644 index c24117fd378f..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor1", - "name": "mySapMonitor1", - "type": "Microsoft.HanaOnAzure/sapMonitors", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "managedResourceGroupName": "testManagedRg", - "logAnalyticsWorkspaceArmId": "", - "keyVaultId": "", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor2", - "name": "mySapMonitor2", - "type": "Microsoft.HanaOnAzure/sapMonitors", - "location": "westus", - "tags": { - "key": "value" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "managedResourceGroupName": "testManagedRg", - "logAnalyticsWorkspaceArmId": "", - "keyVaultId": "", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json deleted file mode 100644 index 448423990c2c..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "sapMonitorName": "mySapMonitor", - "tagsParameter": { - "tags": { - "testkey": "testvalue" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", - "name": "mySapMonitor", - "type": "Microsoft.HanaOnAzure/sapMonitors", - "location": "westus", - "tags": { - "testkey": "testvalue" - }, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "managedResourceGroupName": "testManagedRg", - "logAnalyticsWorkspaceArmId": "", - "keyVaultId": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json deleted file mode 100644 index b30452d0cc35..000000000000 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2017-11-03-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "sapMonitorName": "mySapMonitor", - "tagsParameter": { - "tags": {} - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor", - "name": "mySapMonitor", - "type": "Microsoft.HanaOnAzure/sapMonitors", - "location": "westus", - "tags": {}, - "properties": { - "hanaSubnet": "", - "hanaHostname": "", - "hanaDbName": "", - "hanaDbSqlPort": 1234, - "hanaDbUsername": "", - "hanaDbPasswordKeyVaultUrl": "", - "hanaDbCredentialsMsiId": "", - "managedResourceGroupName": "testManagedRg", - "logAnalyticsWorkspaceArmId": "", - "keyVaultId": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index af82ab2381d1..30a83a6712aa 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -484,235 +484,6 @@ } } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors": { - "get": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "SapMonitors_List", - "summary": "Gets a list of SAP monitors in the specified subscription.", - "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.", - "x-ms-examples": { - "List all SAP Monitors in a subscription": { - "$ref": "./examples/SapMonitors_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SapMonitorListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/sapMonitors/{sapMonitorName}": { - "get": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "SapMonitors_Get", - "summary": "Gets properties of a SAP monitor.", - "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.", - "x-ms-examples": { - "Get properties of a SAP monitor": { - "$ref": "./examples/SapMonitors_Get.json" - } - }, - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SapMonitorNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SapMonitor" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "SapMonitors_Create", - "x-ms-long-running-operation": true, - "summary": "Creates a SAP monitor.", - "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.", - "x-ms-examples": { - "Create a SAP Monitor": { - "$ref": "./examples/SapMonitors_Create.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SapMonitorNameParameter" - }, - { - "$ref": "#/parameters/SapMonitorParameter" - } - ], - "responses": { - "200": { - "description": "Created SapMonitor", - "schema": { - "$ref": "#/definitions/SapMonitor" - } - }, - "201": { - "description": "Creating SapMonitor", - "schema": { - "$ref": "#/definitions/SapMonitor" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "SapMonitors_Delete", - "x-ms-long-running-operation": true, - "summary": "Deletes a SAP monitor.", - "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name.", - "x-ms-examples": { - "Deletes a SAP monitor": { - "$ref": "./examples/SapMonitors_Delete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SapMonitorNameParameter" - } - ], - "responses": { - "200": { - "description": "Deleted SapMonitor" - }, - "202": { - "description": "Deleting SapMonitor" - }, - "204": { - "description": "No SapMonitor to delete" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "HanaOnAzure" - ], - "operationId": "SapMonitors_Update", - "summary": "Patches the Tags field of a SAP monitor.", - "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name.", - "x-ms-examples": { - "Update Tags field of a SAP monitor": { - "$ref": "./examples/SapMonitors_PatchTags.json" - }, - "Delete Tags field of a SAP monitor": { - "$ref": "./examples/SapMonitors_PatchTags_Delete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/SapMonitorNameParameter" - }, - { - "$ref": "#/parameters/TagsParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SapMonitor" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } } }, "definitions": { @@ -1124,116 +895,6 @@ } }, "description": "Details needed to monitor a Hana Instance" - }, - "SapMonitorListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SapMonitor" - }, - "description": "The list of SAP monitors." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of SAP monitors." - } - }, - "description": "The response from the List SAP monitors operation." - }, - "SapMonitor": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SapMonitorProperties", - "description": "SAP monitor properties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)" - }, - "SapMonitorProperties": { - "properties": { - "hanaSubnet": { - "type": "string", - "description": "Specifies the SAP monitor unique ID." - }, - "hanaHostname": { - "type": "string", - "description": "Hostname of the HANA instance." - }, - "hanaDbName": { - "type": "string", - "description": "Database name of the HANA instance." - }, - "hanaDbSqlPort": { - "type": "integer", - "description": "Database port of the HANA instance." - }, - "hanaDbUsername": { - "type": "string", - "description": "Database username of the HANA instance." - }, - "hanaDbPassword": { - "type": "string", - "description": "Database password of the HANA instance." - }, - "hanaDbPasswordKeyVaultUrl": { - "type": "string", - "description": "KeyVault URL link to the password for the HANA database." - }, - "hanaDbCredentialsMsiId": { - "type": "string", - "description": "MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM." - }, - "keyVaultId": { - "type": "string", - "description": "Key Vault ID containing customer's HANA credentials." - }, - "provisioningState": { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Failed", - "Succeeded", - "Deleting", - "Migrating" - ], - "x-ms-enum": { - "name": "HanaProvisioningStatesEnum", - "modelAsString": true - }, - "description": "State of provisioning of the HanaInstance" - }, - "managedResourceGroupName": { - "readOnly": true, - "type": "string", - "description": "The name of the resource group the SAP Monitor resources get deployed into." - }, - "logAnalyticsWorkspaceArmId": { - "type": "string", - "description": "The ARM ID of the Log Analytics Workspace that is used for monitoring" - }, - "enableCustomerAnalytics": { - "type": "boolean", - "description": "The value indicating whether to send analytics to Microsoft" - }, - "logAnalyticsWorkspaceId": { - "type": "string", - "description": "The workspace ID of the log analytics workspace to be used for monitoring" - }, - "logAnalyticsWorkspaceSharedKey": { - "type": "string", - "description": "The shared key of the log analytics workspace that is used for monitoring" - } - }, - "description": "Describes the properties of a SAP monitor." } }, "parameters": { @@ -1260,14 +921,6 @@ "description": "Name of the SAP HANA on Azure instance.", "x-ms-parameter-location": "method" }, - "SapMonitorNameParameter": { - "name": "sapMonitorName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the SAP monitor resource.", - "x-ms-parameter-location": "method" - }, "ApiVersionParameter": { "name": "api-version", "in": "query", @@ -1304,16 +957,6 @@ }, "description": "Request body representing a HanaInstance", "x-ms-parameter-location": "method" - }, - "SapMonitorParameter": { - "name": "sapMonitorParameter", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SapMonitor" - }, - "description": "Request body representing a SAP Monitor", - "x-ms-parameter-location": "method" } } }