From 453e314509cb8f9187dcf24f846ab2ca1f0b5f24 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:04:44 -0700 Subject: [PATCH 01/14] Adding few more functions to ADHybridHealth Swagger spec --- .../2014-01-01/ADHybridHealthService.json | 806 +++++++++++++++--- 1 file changed, 698 insertions(+), 108 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 57c8011e7965..d9ae1d9762b5 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -6,9 +6,9 @@ "description": "REST APIs for Azure Active Drectory Connect Health" }, "host": "management.azure.com", - "schemes": [ "https" ], - "consumes": [ "application/json" ], - "produces": [ "application/json" ], + "schemes": ["https"], + "consumes": ["application/json"], + "produces": ["application/json"], "paths": { "/providers/Microsoft.ADHybridHealthService/addsservices": { "get": { @@ -436,8 +436,8 @@ "description": "The next partition key to query for.", "required": true, "type": "string", - "enum": [" "], - "x-ms-enum": { + "enum": [ " " ], + "x-ms-enum": { "name": "nextPartitionKey", "modelAsString": true } @@ -478,6 +478,122 @@ } } }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/features/{featureName}/userpreference": { + "get": { + "tags": [ "Adds" ], + "description": "Gets the user preferences for a given feature.", + "x-ms-examples": { + "addsServices_getUserPreference": { + "$ref": "./examples/UserPreference.json" + } + }, + "operationId": "addsServices_getUserPreference", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "featureName", + "in": "path", + "description": "The name of the feature.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/UserPreference" + } + } + } + }, + "delete": { + "tags": [ "Adds" ], + "description": "Deletes the user preferences for a given feature.", + "x-ms-examples": { + "addsServices_deleteUserPreference": { + "$ref": "./examples/DeleteUserPreference.json" + } + }, + "operationId": "addsServices_deleteUserPreference", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "featureName", + "in": "path", + "description": "The name of the feature.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " " + } + } + }, + "post": { + "tags": [ "Adds" ], + "description": "Adds the user preferences for a given feature.", + "x-ms-examples": { + "addsServices_addUserPreference": { + "$ref": "./examples/AddUserPreference.json" + } + }, + "operationId": "addsServices_addUserPreference", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "featureName", + "in": "path", + "description": "The name of the feature.", + "required": true, + "type": "string" + }, + { + "name": "setting", + "in": "body", + "description": "The user preference setting.", + "required": true, + "schema": { + "$ref": "#/definitions/UserPreference" + } + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " " + } + } + } + }, "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/forestsummary": { "get": { "tags": [ "Adds" ], @@ -510,6 +626,75 @@ } } }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metrics/{metricName}/groups/{groupName}": { + "get": { + "tags": [ "Adds" ], + "description": "Gets the server related metrics for a given metric and group combination.", + "x-ms-examples": { + "addsService_listMetrics": { + "$ref": "./examples/Service_MetricSets.json" + } + }, + "operationId": "addsService_listMetrics", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "metricName", + "in": "path", + "description": "The metric name", + "required": true, + "type": "string" + }, + { + "name": "groupName", + "in": "path", + "description": "The group name", + "required": true, + "type": "string" + }, + { + "name": "groupKey", + "in": "query", + "description": "The group key", + "required": false, + "type": "string" + }, + { + "name": "fromDate", + "in": "query", + "description": "The start date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "toDate", + "in": "query", + "description": "The end date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/MetricSets" + } + } + } + } + }, "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metrics/{metricName}/groups/{groupName}/average": { "get": { "tags": [ "Adds" ], @@ -736,20 +921,283 @@ "type": "string" }, { - "name": "fromDate", - "in": "query", - "description": "The start date.", - "required": false, - "type": "string", - "format": "date-time" + "name": "fromDate", + "in": "query", + "description": "The start date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "toDate", + "in": "query", + "description": "The end date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/MetricSets" + } + } + } + } + }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationdetails": { + "get": { + "tags": [ "Adds" ], + "description": "Gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", + "x-ms-examples": { + "addsServices_listReplicationDetails": { + "$ref": "./examples/ReplicationDetails.json" + } + }, + "operationId": "addsServices_listReplicationDetails", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "The server property filter to apply.", + "required": false, + "type": "string" + }, + { + "name": "withDetails", + "in": "query", + "description": "Indicates if InboundReplicationNeighbor details are required or not.", + "required": false, + "type": "boolean" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/ReplicationSummaryList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationstatus": { + "get": { + "tags": [ "Adds" ], + "description": "Gets Replication status for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", + "x-ms-examples": { + "addsServices_getReplicationStatus": { + "$ref": "./examples/ReplicationStatus.json" + } + }, + "operationId": "addsServices_getReplicationStatus", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/ReplicationStatus" + } + } + } + } + }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationsummary": { + "get": { + "tags": [ "Adds" ], + "description": "Gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", + "x-ms-examples": { + "addsServices_listReplicationSummary": { + "$ref": "./examples/ReplicationSummary.json" + } + }, + "operationId": "addsServices_listReplicationSummary", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "The server property filter to apply.", + "required": false, + "type": "string" + }, + { + "name": "isGroupbySite", + "in": "query", + "description": "Indicates if the result should be grouped by site or not.", + "required": true, + "type": "boolean" + }, + { + "name": "query", + "in": "query", + "description": "The custom query.", + "required": true, + "type": "string" + }, + { + "name": "nextPartitionKey", + "in": "query", + "description": "The next partition key to query for.", + "required": true, + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextPartitionKey", + "modelAsString": true + } + }, + { + "name": "nextRowKey", + "in": "query", + "description": "The next row key to query for.", + "required": true, + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextRowKey", + "modelAsString": true + } + }, + { + "name": "takeCount", + "in": "query", + "description": "The take count , which specifies the number of elements that can be returned from a sequence.", + "required": false, + "type": "integer" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/ReplicationSummaryList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers": { + "get": { + "tags": [ "Adds" ], + "description": "Gets the details of the servers, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service.", + "x-ms-examples": { + "addsServiceMembers_list": { + "$ref": "./examples/ServiceMembers.json" + } + }, + "operationId": "addsServiceMembers_list", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "The server property filter to apply.", + "required": false, + "type": "string" + }, + { + "name": "dimensionType", + "in": "query", + "description": "The server specific dimension.", + "required": false, + "type": "string" + }, + { + "name": "dimensionSignature", + "in": "query", + "description": "The value of the dimension.", + "required": false, + "type": "string" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/ServiceMembers" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + }, + "post": { + "tags": [ "Adds" ], + "description": "Onboards a server, for a given Active Directory Domain Controller service, to Azure Active Directory Connect Health Service.", + "x-ms-examples": { + "addsServiceMembers_add": { + "$ref": "./examples/AddServiceMembers.json" + } + }, + "operationId": "addsServiceMembers_add", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service under which the server is to be onboarded.", + "required": true, + "type": "string" }, { - "name": "toDate", - "in": "query", - "description": "The end date.", - "required": false, - "type": "string", - "format": "date-time" + "name": "serviceMember", + "in": "body", + "description": "The server object.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceMember" + } }, { "$ref": "#/parameters/apiVersionParameter" @@ -759,22 +1207,22 @@ "200": { "description": " ", "schema": { - "$ref": "#/definitions/MetricSets" + "$ref": "#/definitions/ServiceMember" } } } } }, - "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationstatus": { + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers/{serviceMemberId}": { "get": { "tags": [ "Adds" ], - "description": "Gets Replication status for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", + "description": "Gets the details of a server, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service.", "x-ms-examples": { - "addsServices_getReplicationStatus": { - "$ref": "./examples/ReplicationStatus.json" + "addsServiceMembers_get": { + "$ref": "./examples/ServiceMember.json" } }, - "operationId": "addsServices_getReplicationStatus", + "operationId": "addsServiceMembers_get", "parameters": [ { "name": "serviceName", @@ -783,6 +1231,14 @@ "required": true, "type": "string" }, + { + "name": "serviceMemberId", + "in": "path", + "description": "The server Id.", + "required": true, + "type": "string", + "format": "uuid" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -791,22 +1247,20 @@ "200": { "description": " ", "schema": { - "$ref": "#/definitions/ReplicationStatus" + "$ref": "#/definitions/ServiceMember" } } } - } - }, - "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationsummary": { - "get": { + }, + "delete": { "tags": [ "Adds" ], - "description": "Gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", + "description": "Deletes a Active Directory Domain Controller server that has been onboarded to Azure Active Directory Connect Health Service.", "x-ms-examples": { - "addsServices_listReplicationSummary": { - "$ref": "./examples/ReplicationSummary.json" + "addsServiceMembers_delete": { + "$ref": "./examples/DeleteServer.json" } }, - "operationId": "addsServices_listReplicationSummary", + "operationId": "addsServiceMembers_delete", "parameters": [ { "name": "serviceName", @@ -816,56 +1270,19 @@ "type": "string" }, { - "name": "$filter", - "in": "query", - "description": "The server property filter to apply.", - "required": false, - "type": "string" - }, - { - "name": "isGroupbySite", - "in": "query", - "description": "Indicates if the result should be grouped by site or not.", - "required": true, - "type": "boolean" - }, - { - "name": "query", - "in": "query", - "description": "The custom query.", - "required": true, - "type": "string" - }, - { - "name": "nextPartitionKey", - "in": "query", - "description": "The next partition key to query for.", - "required": true, - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextPartitionKey", - "modelAsString": true - } - }, - { - "name": "nextRowKey", - "in": "query", - "description": "The next row key to query for.", + "name": "serviceMemberId", + "in": "path", + "description": "The server Id.", "required": true, "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextRowKey", - "modelAsString": true - } + "format": "uuid" }, { - "name": "takeCount", + "name": "confirm", "in": "query", - "description": "The take count , which specifies the number of elements that can be returned from a sequence.", + "description": "Indicates if the server will be permanently deleted or disabled. True indicates that the server will be permanently deleted and False indicates that the server will be marked disabled and then deleted after 30 days, if it is not re-registered.", "required": false, - "type": "integer" + "type": "boolean" }, { "$ref": "#/parameters/apiVersionParameter" @@ -873,14 +1290,8 @@ ], "responses": { "200": { - "description": " ", - "schema": { - "$ref": "#/definitions/ReplicationSummaryList" - } + "description": " " } - }, - "x-ms-pageable": { - "nextLinkName": null } } }, @@ -957,6 +1368,56 @@ } } }, + "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers/{serviceMemberId}/credentials": { + "get": { + "tags": [ "Adds" ], + "description": "Gets the credentials of the server which is needed by the agent to connect to Azure Active Directory Connect Health Service.", + "x-ms-examples": { + "addsServiceMembers_listCredentials": { + "$ref": "./examples/Credentials.json" + } + }, + "operationId": "addsServiceMembers_listCredentials", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "The property filter to apply.", + "required": false, + "type": "string" + }, + { + "name": "serviceMemberId", + "in": "path", + "description": "The server Id.", + "required": true, + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/Credentials" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, "/providers/Microsoft.ADHybridHealthService/addsservices/premiumCheck": { "get": { "tags": [ "Services" ], @@ -1123,6 +1584,31 @@ } } }, + "/providers/Microsoft.ADHybridHealthService/reports/DevOps/IsDevOps": { + "get": { + "tags": [ "DevOps" ], + "description": "Checks if the user is enabled for Dev Ops access.", + "x-ms-examples": { + "reports_getDevOps": { + "$ref": "./examples/DevOps.json" + } + }, + "operationId": "reports_getDevOps", + "parameters": [ + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/Result" + } + } + } + } + }, "/providers/Microsoft.ADHybridHealthService/services": { "get": { "tags": [ "Services" ], @@ -1671,6 +2157,75 @@ } } }, + "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}": { + "get": { + "tags": [ "Metrics" ], + "description": "Gets the server related metrics for a given metric and group combination.", + "x-ms-examples": { + "service_listMetrics": { + "$ref": "./examples/Service_MetricSets.json" + } + }, + "operationId": "service_listMetrics", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "The name of the service.", + "required": true, + "type": "string" + }, + { + "name": "metricName", + "in": "path", + "description": "The metric name", + "required": true, + "type": "string" + }, + { + "name": "groupName", + "in": "path", + "description": "The group name", + "required": true, + "type": "string" + }, + { + "name": "groupKey", + "in": "query", + "description": "The group key", + "required": false, + "type": "string" + }, + { + "name": "fromDate", + "in": "query", + "description": "The start date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "name": "toDate", + "in": "query", + "description": "The end date.", + "required": false, + "type": "string", + "format": "date-time" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": " ", + "schema": { + "$ref": "#/definitions/MetricSets" + } + } + } + } + }, "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}/average": { "get": { "tags": [ "Metrics" ], @@ -2330,7 +2885,7 @@ } }, "x-ms-pageable": { - "nextLinkName":null + "nextLinkName": null } } }, @@ -2819,7 +3374,8 @@ "type": "string" }, "createdDate": { - "description": "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", + "description": + "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, @@ -2874,14 +3430,16 @@ "type": "string" }, "monitoringConfigurationsComputed": { - "description": "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "array", "items": { "$ref": "#/definitions/Item" } }, "monitoringConfigurationsCustomized": { - "description": "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "array", "items": { "$ref": "#/definitions/Item" @@ -3789,7 +4347,8 @@ "type": "string" }, "type": { - "description": "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", + "description": + "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", "type": "string" } } @@ -4189,7 +4748,8 @@ "type": "integer" }, "monitoredDcCount": { - "description": "The number of domain controllers that are monitored by Azure Active Directory Connect Health.", + "description": + "The number of domain controllers that are monitored by Azure Active Directory Connect Health.", "type": "integer" }, "totalDcCount": { @@ -4685,7 +5245,8 @@ "type": "integer" }, "kind": { - "description": "Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.", + "description": + "Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.", "type": "string" }, "isDefault": { @@ -4728,7 +5289,8 @@ } }, "MetricSet": { - "description": " The set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1.", + "description": + " The set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1.", "type": "object", "properties": { "setName": { @@ -5294,12 +5856,14 @@ "type": "string" }, "createdDate": { - "description": "The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.", + "description": + "The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, "customNotificationEmails": { - "description": "The list of additional emails that are configured to recieve notifications about the service.", + "description": + "The list of additional emails that are configured to recieve notifications about the service.", "type": "array", "items": { "type": "string" @@ -5328,14 +5892,16 @@ "format": "date-time" }, "monitoringConfigurationsComputed": { - "description": "The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Items" } }, "monitoringConfigurationsCustomized": { - "description": "The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Items" @@ -5392,7 +5958,8 @@ "type": "string" }, "type": { - "description": "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", + "description": + "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", "type": "string" } } @@ -5447,7 +6014,8 @@ "type": "string" }, "createdDate": { - "description": "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", + "description": + "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, @@ -5464,7 +6032,7 @@ }, "disabledReason": { "description": "The reason for disabling the server.", - "type": "integer" + "type": "integer" }, "installedQfes": { "description": "The list of installed QFEs for the server.", @@ -5502,14 +6070,16 @@ "type": "string" }, "monitoringConfigurationsComputed": { - "description": "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Item" } }, "monitoringConfigurationsCustomized": { - "description": "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": + "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Item" @@ -5632,7 +6202,8 @@ }, "agentAutoUpdate": { "type": "boolean", - "description": "Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features." + "description": + "Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features." }, "alertSuppressionTimeInMins": { "type": "integer", @@ -5654,7 +6225,8 @@ "devOpsTtl": { "type": "string", "format": "date-time", - "description": "The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal." + "description": + "The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal." }, "disabled": { "type": "boolean", @@ -5678,12 +6250,14 @@ "lastDisabled": { "type": "string", "format": "date-time", - "description": "The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health." + "description": + "The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health." }, "lastVerified": { "type": "string", "format": "date-time", - "description": "The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified." + "description": + "The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified." }, "onboardingAllowed": { "type": "boolean", @@ -5695,11 +6269,13 @@ }, "pksCertificate": { "type": "object", - "description": "The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health." + "description": + "The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health." }, "privatePreviewTenant": { "type": "boolean", - "description": "Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features." + "description": + "Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features." }, "tenantInQuarantine": { "type": "boolean", @@ -5720,11 +6296,25 @@ "type": "boolean" }, "onboardingDisplayUrl": { - "description": "The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.", + "description": + "The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.", "type": "string" } } }, + "UserPreference": { + "description": " The user preference for a given feature.", + "type": "object", + "properties": { + "metricNames": { + "description": "The name of the metric.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "ValueDelta": { "description": "The value of the delta.", "type": "object", @@ -5772,7 +6362,7 @@ }, "security": [ { - "azure_auth": [ "user_impersonation" ] + "azure_auth": ["user_impersonation"] } ] } From 3ce556481ff25bc6cf035e57962afb0029702417 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:05:42 -0700 Subject: [PATCH 02/14] Adding few more Example files --- .../examples/AddUserPreference.json | 17 +++++ .../examples/DeleteUserPreference.json | 10 +++ .../stable/2014-01-01/examples/DevOps.json | 12 +++ .../examples/ReplicationDetails.json | 44 +++++++++++ .../examples/Service_MetricSets.json | 73 +++++++++++++++++++ .../2014-01-01/examples/UserPreference.json | 17 +++++ 6 files changed, 173 insertions(+) create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DeleteUserPreference.json create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DevOps.json create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ReplicationDetails.json create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Service_MetricSets.json create mode 100644 specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UserPreference.json diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json new file mode 100644 index 000000000000..58f6ea4553bb --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "serviceName": "sampleServiceName", + "setting": [ + { + "metricNames": [ + "UserPreference1", + "UserPreference2" + ] + } + ], + "api-version": "2014-01-01" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DeleteUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DeleteUserPreference.json new file mode 100644 index 000000000000..cea5b2d2a2bc --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DeleteUserPreference.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "serviceName": "sampleServiceName", + "featureName": "SampleFeatureName", + "api-version": "2014-01-01" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DevOps.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DevOps.json new file mode 100644 index 000000000000..1e16d8dd32e7 --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/DevOps.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2014-01-01" + }, + "responses": { + "200": { + "body": { + "value": true + } + } + } +} \ No newline at end of file diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ReplicationDetails.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ReplicationDetails.json new file mode 100644 index 000000000000..36568b3b4bc3 --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ReplicationDetails.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "serviceName": "SampleName", + "query": "SampleQuery", + "api-version": "2014-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "targetServer": "SampleTargetServerName", + "site": "Domain-Controllers", + "domain": "SampleDomainName", + "status": 0, + "lastAttemptedSync": "2018-04-30T21:40:10Z", + "lastSuccessfulSync": "2018-04-30T21:40:10Z", + "inboundNeighborCollection": [ + { + "sourceDomainController": "SampleSourceDomainName", + "consecutiveFailureCount": 0, + "namingContext": "SampleNamingContext", + "status": 0, + "lastAttemptedSync": "2018-04-30T21:39:45+00:00", + "lastSuccessfulSync": "2018-04-30T21:39:45+00:00", + "lastErrorCode": 0, + "lastErrorMessage": "The operation completed successfully.\r\n", + "errorTitle": "SampleErrorTitle", + "errorDescription": "SampleErrorDescription", + "fixLink": "SampleFixLink", + "fixDetails": "SampleFixDescription", + "additionalInfo": "SampleAdditionalInformation" + } + ] + } + ], + "nextLink": null, + "totalCount": 1, + "continuationToken": null + } + } + } +} + diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Service_MetricSets.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Service_MetricSets.json new file mode 100644 index 000000000000..75cff508869c --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Service_MetricSets.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "serviceName": "SampleName", + "groupName": "SampleGroupName", + "metricName": "SamplemetricName", + "serviceMemberId": "SampleServiceMemberId", + "api-version": "2014-01-01" + }, + "responses": { + "200": { + "body": { + "sets": [ + { + "setName": "SampleSetName", + "values": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 5.0, + 8.0, + 3.0, + 3.0, + 12.0, + 7.0, + 7.0, + 10.0, + null, + 1.0, + 1.0, + 2.0, + 2.0, + null + ] + } + ], + "timeStamps": [ + "2018-04-29T22:00:00Z", + "2018-04-29T23:00:00Z", + "2018-04-30T00:00:00Z", + "2018-04-30T01:00:00Z", + "2018-04-30T02:00:00Z", + "2018-04-30T03:00:00Z", + "2018-04-30T04:00:00Z", + "2018-04-30T05:00:00Z", + "2018-04-30T06:00:00Z", + "2018-04-30T07:00:00Z", + "2018-04-30T08:00:00Z", + "2018-04-30T09:00:00Z", + "2018-04-30T10:00:00Z", + "2018-04-30T11:00:00Z", + "2018-04-30T12:00:00Z", + "2018-04-30T13:00:00Z", + "2018-04-30T14:00:00Z", + "2018-04-30T15:00:00Z", + "2018-04-30T16:00:00Z", + "2018-04-30T17:00:00Z", + "2018-04-30T18:00:00Z", + "2018-04-30T19:00:00Z", + "2018-04-30T20:00:00Z", + "2018-04-30T21:00:00Z" + ] + } + } + } +} + diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UserPreference.json new file mode 100644 index 000000000000..b71769319512 --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UserPreference.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "serviceName": "sampleServiceName", + "featureName": "SampleFeatureName", + "api-version": "2014-01-01" + }, + "responses": { + "200": { + "body": { + "metricNames": [ + "UserPreference1", + "UserPreference2" + ] + } + } + } +} \ No newline at end of file From 96812db0866b9269bec7d31232ff48e0bee46425 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:24:26 -0700 Subject: [PATCH 03/14] Update ADHybridHealthService.json --- .../2014-01-01/ADHybridHealthService.json | 95 +++++++++---------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index d9ae1d9762b5..827047ffdd1d 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -1123,11 +1123,11 @@ "tags": [ "Adds" ], "description": "Gets the details of the servers, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service.", "x-ms-examples": { - "addsServiceMembers_list": { + "addsServicesServiceMembers_list": { "$ref": "./examples/ServiceMembers.json" } }, - "operationId": "addsServiceMembers_list", + "operationId": "addsServicesServiceMembers_list", "parameters": [ { "name": "serviceName", @@ -1177,11 +1177,11 @@ "tags": [ "Adds" ], "description": "Onboards a server, for a given Active Directory Domain Controller service, to Azure Active Directory Connect Health Service.", "x-ms-examples": { - "addsServiceMembers_add": { + "addsServicesServiceMembers_add": { "$ref": "./examples/AddServiceMembers.json" } }, - "operationId": "addsServiceMembers_add", + "operationId": "addsServicesServiceMembers_add", "parameters": [ { "name": "serviceName", @@ -3374,8 +3374,7 @@ "type": "string" }, "createdDate": { - "description": - "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", + "description": "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, @@ -3430,16 +3429,14 @@ "type": "string" }, "monitoringConfigurationsComputed": { - "description": - "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "array", "items": { "$ref": "#/definitions/Item" } }, "monitoringConfigurationsCustomized": { - "description": - "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "array", "items": { "$ref": "#/definitions/Item" @@ -4347,8 +4344,7 @@ "type": "string" }, "type": { - "description": - "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", + "description": "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", "type": "string" } } @@ -4748,8 +4744,7 @@ "type": "integer" }, "monitoredDcCount": { - "description": - "The number of domain controllers that are monitored by Azure Active Directory Connect Health.", + "description": "The number of domain controllers that are monitored by Azure Active Directory Connect Health.", "type": "integer" }, "totalDcCount": { @@ -5245,8 +5240,7 @@ "type": "integer" }, "kind": { - "description": - "Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.", + "description": "Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.", "type": "string" }, "isDefault": { @@ -5289,8 +5283,7 @@ } }, "MetricSet": { - "description": - " The set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1.", + "description": " The set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1.", "type": "object", "properties": { "setName": { @@ -5623,6 +5616,27 @@ } } }, + "ReplicationDetailsList": { + "description": "The list of replication details.", + "type": "object", + "properties": { + "value": { + "description": "The value returned by the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationSummary" + } + }, + "totalCount": { + "description": "The total count of replication detail elements.", + "type": "integer" + }, + "continuationToken": { + "description": "The continuation token for paginated calls.", + "type": "string" + } + } + }, "ReplicationStatus": { "description": " Replication summary for a domain controller.", "type": "object", @@ -5856,14 +5870,12 @@ "type": "string" }, "createdDate": { - "description": - "The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.", + "description": "The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, "customNotificationEmails": { - "description": - "The list of additional emails that are configured to recieve notifications about the service.", + "description": "The list of additional emails that are configured to recieve notifications about the service.", "type": "array", "items": { "type": "string" @@ -5892,16 +5904,14 @@ "format": "date-time" }, "monitoringConfigurationsComputed": { - "description": - "The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Items" } }, "monitoringConfigurationsCustomized": { - "description": - "The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Items" @@ -5958,8 +5968,7 @@ "type": "string" }, "type": { - "description": - "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", + "description": "The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.", "type": "string" } } @@ -6014,8 +6023,7 @@ "type": "string" }, "createdDate": { - "description": - "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", + "description": "The date time , in UTC, when the server was onboaraded to Azure Active Directory Connect Health.", "type": "string", "format": "date-time" }, @@ -6070,16 +6078,14 @@ "type": "string" }, "monitoringConfigurationsComputed": { - "description": - "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Item" } }, "monitoringConfigurationsCustomized": { - "description": - "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", + "description": "The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.", "type": "object", "items": { "$ref": "#/definitions/Item" @@ -6202,8 +6208,7 @@ }, "agentAutoUpdate": { "type": "boolean", - "description": - "Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features." + "description": "Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features." }, "alertSuppressionTimeInMins": { "type": "integer", @@ -6225,8 +6230,7 @@ "devOpsTtl": { "type": "string", "format": "date-time", - "description": - "The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal." + "description": "The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal." }, "disabled": { "type": "boolean", @@ -6250,14 +6254,12 @@ "lastDisabled": { "type": "string", "format": "date-time", - "description": - "The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health." + "description": "The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health." }, "lastVerified": { "type": "string", "format": "date-time", - "description": - "The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified." + "description": "The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified." }, "onboardingAllowed": { "type": "boolean", @@ -6269,13 +6271,11 @@ }, "pksCertificate": { "type": "object", - "description": - "The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health." + "description": "The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health." }, "privatePreviewTenant": { "type": "boolean", - "description": - "Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features." + "description": "Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features." }, "tenantInQuarantine": { "type": "boolean", @@ -6296,8 +6296,7 @@ "type": "boolean" }, "onboardingDisplayUrl": { - "description": - "The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.", + "description": "The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.", "type": "string" } } From 811c961864ae94703cdb8af480fd80cb48676480 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:36:17 -0700 Subject: [PATCH 04/14] Update ADHybridHealthService.json From 9b476516f9ba84183288e65df0397f3c7b9eef5d Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:50:41 -0700 Subject: [PATCH 05/14] Update ADHybridHealthService.json --- .../stable/2014-01-01/ADHybridHealthService.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 827047ffdd1d..b1b7f3f63cf6 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -990,7 +990,7 @@ "200": { "description": " ", "schema": { - "$ref": "#/definitions/ReplicationSummaryList" + "$ref": "#/definitions/ReplicationDetailsList" } } }, From d24ed7bcdef74434658e449875fd7858974bbcdf Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:51:22 -0700 Subject: [PATCH 06/14] Update AddUserPreference.json --- .../stable/2014-01-01/examples/AddUserPreference.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json index 58f6ea4553bb..b3fcd7919dbc 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json @@ -1,6 +1,7 @@ { "parameters": { "serviceName": "sampleServiceName", + "featureName": "SampleFeatureName", "setting": [ { "metricNames": [ @@ -14,4 +15,4 @@ "responses": { "200": {} } -} \ No newline at end of file +} From 17f6d329d73839ba4245f18d54bddf2fbc084756 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:51:38 -0700 Subject: [PATCH 07/14] Update AddUserPreference.json --- .../stable/2014-01-01/examples/AddUserPreference.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json index b3fcd7919dbc..24fcb7eeba6f 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json @@ -1,7 +1,7 @@ { "parameters": { "serviceName": "sampleServiceName", - "featureName": "SampleFeatureName", + "featureName": "SampleFeatureName", "setting": [ { "metricNames": [ From 81b67e5e7f65b192f1d96b8af75606e977915ba6 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Thu, 7 Jun 2018 15:14:43 -0700 Subject: [PATCH 08/14] Update ADHybridHealthService.json --- .../2014-01-01/ADHybridHealthService.json | 165 +++++++++--------- 1 file changed, 84 insertions(+), 81 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index b1b7f3f63cf6..94100e185d59 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -55,7 +55,7 @@ ], "responses": { "200": { - "description": " ", + "description": " The list of Active Directory Domain Controller services.", "schema": { "$ref": "#/definitions/Services" } @@ -90,7 +90,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Adds the Active Directory Domain Controller Services.", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -122,7 +122,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The Active Directory Domain Controller service as specified by the serviceName property. ", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -159,7 +159,7 @@ ], "responses": { "204": { - "description": " " + "description": "Successfully deleted the service." } } }, @@ -195,7 +195,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Sucessfully updated service.", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -257,7 +257,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of alerts for the given service.", "schema": { "$ref": "#/definitions/Alerts" } @@ -296,7 +296,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The Active Directory Domain Controller service configuration. ", "schema": { "$ref": "#/definitions/AddsConfiguration" } @@ -338,7 +338,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of dimensions for a server. ", "schema": { "$ref": "#/definitions/Dimensions" } @@ -380,7 +380,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of Active Directory Domain Servers. ", "schema": { "$ref": "#/definitions/AddsServiceMembers" } @@ -467,7 +467,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of Active Directory Domain Servers.", "schema": { "$ref": "#/definitions/AddsServiceMembers" } @@ -483,11 +483,11 @@ "tags": [ "Adds" ], "description": "Gets the user preferences for a given feature.", "x-ms-examples": { - "addsServices_getUserPreference": { + "addsServicesUserPreference_get": { "$ref": "./examples/UserPreference.json" } }, - "operationId": "addsServices_getUserPreference", + "operationId": "addsServicesUserPreference_get", "parameters": [ { "name": "serviceName", @@ -509,7 +509,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The user preference settings. ", "schema": { "$ref": "#/definitions/UserPreference" } @@ -520,11 +520,11 @@ "tags": [ "Adds" ], "description": "Deletes the user preferences for a given feature.", "x-ms-examples": { - "addsServices_deleteUserPreference": { + "addsServicesUserPreference_delete": { "$ref": "./examples/DeleteUserPreference.json" } }, - "operationId": "addsServices_deleteUserPreference", + "operationId": "addsServicesUserPreference_delete", "parameters": [ { "name": "serviceName", @@ -546,7 +546,7 @@ ], "responses": { "200": { - "description": " " + "description": "Successfully deleted the user preference settings. " } } }, @@ -554,11 +554,11 @@ "tags": [ "Adds" ], "description": "Adds the user preferences for a given feature.", "x-ms-examples": { - "addsServices_addUserPreference": { + "addsServicesUserPreference_add": { "$ref": "./examples/AddUserPreference.json" } }, - "operationId": "addsServices_addUserPreference", + "operationId": "addsServicesUserPreference_add", "parameters": [ { "name": "serviceName", @@ -589,7 +589,7 @@ ], "responses": { "200": { - "description": " " + "description": " Successfully added the user preference settings. " } } } @@ -618,7 +618,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of forest summary for the service. ", "schema": { "$ref": "#/definitions/ForestSummary" } @@ -687,11 +687,14 @@ ], "responses": { "200": { - "description": " ", + "description": "The metric sets for the service. ", "schema": { "$ref": "#/definitions/MetricSets" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -733,7 +736,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of metrics. ", "schema": { "$ref": "#/definitions/Metrics" } @@ -782,7 +785,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of aum of the metric values for a given service. ", "schema": { "$ref": "#/definitions/Metrics" } @@ -831,7 +834,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of metric metadata for a service. ", "schema": { "$ref": "#/definitions/MetricMetadataList" } @@ -873,7 +876,7 @@ ], "responses": { "200": { - "description": " ", + "description": " The metric metadata for the service.", "schema": { "$ref": "#/definitions/MetricMetadata" } @@ -942,7 +945,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The metric sets for a given service and group. ", "schema": { "$ref": "#/definitions/MetricSets" } @@ -988,7 +991,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of replication details for a service. ", "schema": { "$ref": "#/definitions/ReplicationDetailsList" } @@ -1004,11 +1007,11 @@ "tags": [ "Adds" ], "description": "Gets Replication status for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.", "x-ms-examples": { - "addsServices_getReplicationStatus": { + "addsServicesReplicationStatus_get": { "$ref": "./examples/ReplicationStatus.json" } }, - "operationId": "addsServices_getReplicationStatus", + "operationId": "addsServicesReplicationStatus_get", "parameters": [ { "name": "serviceName", @@ -1023,7 +1026,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The replication status for a service. ", "schema": { "$ref": "#/definitions/ReplicationStatus" } @@ -1107,7 +1110,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of replication summary for a service. ", "schema": { "$ref": "#/definitions/ReplicationSummaryList" } @@ -1163,7 +1166,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of service members for a given service.", "schema": { "$ref": "#/definitions/ServiceMembers" } @@ -1205,7 +1208,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully added the service member.", "schema": { "$ref": "#/definitions/ServiceMember" } @@ -1245,7 +1248,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The service member details for a given service. ", "schema": { "$ref": "#/definitions/ServiceMember" } @@ -1290,7 +1293,7 @@ ], "responses": { "200": { - "description": " " + "description": "Successfully deleted the service member." } } } @@ -1357,7 +1360,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of server alerts.", "schema": { "$ref": "#/definitions/Alerts" } @@ -1407,7 +1410,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of server credentials.", "schema": { "$ref": "#/definitions/Credentials" } @@ -1463,7 +1466,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of premium services.", "schema": { "$ref": "#/definitions/Services" } @@ -1493,7 +1496,7 @@ ], "responses": { "200": { - "description": "OK.", + "description": "The list of operations.", "schema": { "$ref": "#/definitions/OperationListResponse" } @@ -1521,7 +1524,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully added the tenant.", "schema": { "$ref": "#/definitions/Tenant" } @@ -1544,7 +1547,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The tenant details.", "schema": { "$ref": "#/definitions/Tenant" } @@ -1576,7 +1579,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully updated the tenant.", "schema": { "$ref": "#/definitions/Tenant" } @@ -1601,7 +1604,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Indicates if the user is Dev Ops or not.", "schema": { "$ref": "#/definitions/Result" } @@ -1654,7 +1657,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of services.", "schema": { "$ref": "#/definitions/Services" } @@ -1689,7 +1692,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully added the service.", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -1742,7 +1745,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of premium services.", "schema": { "$ref": "#/definitions/Services" } @@ -1777,7 +1780,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of services.", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -1814,7 +1817,7 @@ ], "responses": { "204": { - "description": " " + "description": "Successfully deleted the service." } } }, @@ -1850,7 +1853,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully updated the service.", "schema": { "$ref": "#/definitions/ServiceProperties" } @@ -1912,7 +1915,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of alerts.", "schema": { "$ref": "#/definitions/Alerts" } @@ -1954,7 +1957,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Indicates if the feature is available or not.", "schema": { "$ref": "#/definitions/Result" } @@ -1986,7 +1989,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of export errors.", "schema": { "$ref": "#/definitions/ErrorCounts" } @@ -2028,7 +2031,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of merged export errors.", "schema": { "$ref": "#/definitions/MergedExportErrors" } @@ -2063,7 +2066,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of export statuses.", "schema": { "$ref": "#/definitions/ExportStatuses" } @@ -2107,7 +2110,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully added alert feedback.", "schema": { "$ref": "#/definitions/AlertFeedback" } @@ -2146,7 +2149,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of alert feedback.", "schema": { "$ref": "#/definitions/AlertFeedbacks" } @@ -2162,11 +2165,11 @@ "tags": [ "Metrics" ], "description": "Gets the server related metrics for a given metric and group combination.", "x-ms-examples": { - "service_listMetrics": { + "metrics_list": { "$ref": "./examples/Service_MetricSets.json" } }, - "operationId": "service_listMetrics", + "operationId": "metrics_list", "parameters": [ { "name": "serviceName", @@ -2218,7 +2221,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The metric sets for a given service.", "schema": { "$ref": "#/definitions/MetricSets" } @@ -2264,7 +2267,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of average metrics for a given service.", "schema": { "$ref": "#/definitions/Metrics" } @@ -2313,7 +2316,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of metrics for a given service.", "schema": { "$ref": "#/definitions/Metrics" } @@ -2362,7 +2365,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of metric metadata for a given service.", "schema": { "$ref": "#/definitions/MetricMetadataList" } @@ -2404,7 +2407,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The metric metadata for a given metric.", "schema": { "$ref": "#/definitions/MetricMetadata" } @@ -2473,7 +2476,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The metric sets for a given service and group.", "schema": { "$ref": "#/definitions/MetricSets" } @@ -2514,7 +2517,7 @@ ], "responses": { "200": { - "description": " " + "description": "Successfully updated the monitoring configuration." } } } @@ -2543,7 +2546,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of monitoring configurations.", "schema": { "$ref": "#/definitions/Items" } @@ -2585,7 +2588,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of bad password login attempts.", "schema": { "$ref": "#/definitions/ErrorReportUsersEntries" } @@ -2641,7 +2644,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of service members.", "schema": { "$ref": "#/definitions/ServiceMembers" } @@ -2683,7 +2686,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Successfully added the service member.", "schema": { "$ref": "#/definitions/ServiceMember" } @@ -2723,7 +2726,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The specific service member.", "schema": { "$ref": "#/definitions/ServiceMember" } @@ -2768,7 +2771,7 @@ ], "responses": { "200": { - "description": " " + "description": "Successfully deleted the service member." } } } @@ -2835,7 +2838,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of alerts.", "schema": { "$ref": "#/definitions/Alerts" } @@ -2878,7 +2881,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of connector details.", "schema": { "$ref": "#/definitions/Connectors" } @@ -2928,7 +2931,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of service member credentials.", "schema": { "$ref": "#/definitions/Credentials" } @@ -2971,7 +2974,7 @@ ], "responses": { "200": { - "description": " " + "description": "Successfully deleted the service member." } } } @@ -3008,7 +3011,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of datafreshness details for a server.", "schema": { "$ref": "#/definitions/DataFreshnessDetails" } @@ -3051,7 +3054,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of export statuses.", "schema": { "$ref": "#/definitions/ExportStatuses" } @@ -3093,7 +3096,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of global configurations.", "schema": { "$ref": "#/definitions/GlobalConfigurations" } @@ -3173,7 +3176,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The list of metric sets for a given metric.", "schema": { "$ref": "#/definitions/MetricSets" } @@ -3212,7 +3215,7 @@ ], "responses": { "200": { - "description": " ", + "description": "The service configuration.", "schema": { "$ref": "#/definitions/ServiceConfiguration" } @@ -3251,7 +3254,7 @@ ], "responses": { "200": { - "description": " ", + "description": "Indicates if a tenant is whitelisted for a feature or not.", "schema": { "$ref": "#/definitions/Result" } From a8de2d9192a3efa7b8015692f26027b74cd65f40 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Thu, 7 Jun 2018 16:03:15 -0700 Subject: [PATCH 09/14] Update ADHybridHealthService.json --- .../stable/2014-01-01/ADHybridHealthService.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 94100e185d59..71d7eeb2a56c 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -5637,6 +5637,10 @@ "continuationToken": { "description": "The continuation token for paginated calls.", "type": "string" + }, + "nextLink": { + "description": "The link used to get the next page of operations.", + "type": "string" } } }, From 7d11f51d6fdb0b10432b5e9e25c6e8baa94d0ed5 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Thu, 7 Jun 2018 18:21:00 -0700 Subject: [PATCH 10/14] Update ADHybridHealthService.json --- .../2014-01-01/ADHybridHealthService.json | 43 ++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 71d7eeb2a56c..0f7d4d829ed7 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -631,11 +631,11 @@ "tags": [ "Adds" ], "description": "Gets the server related metrics for a given metric and group combination.", "x-ms-examples": { - "addsService_listMetrics": { + "addsService_getMetrics": { "$ref": "./examples/Service_MetricSets.json" } }, - "operationId": "addsService_listMetrics", + "operationId": "addsService_getMetrics", "parameters": [ { "name": "serviceName", @@ -692,9 +692,6 @@ "$ref": "#/definitions/MetricSets" } } - }, - "x-ms-pageable": { - "nextLinkName": null } } }, @@ -1078,23 +1075,17 @@ "in": "query", "description": "The next partition key to query for.", "required": true, - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextPartitionKey", - "modelAsString": true - } + "schema": { + "$ref": "#/definitions/NextPartitionKey" + } }, { "name": "nextRowKey", "in": "query", "description": "The next row key to query for.", "required": true, - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextRowKey", - "modelAsString": true + "schema": { + "$ref": "#/definitions/NextRowKey" } }, { @@ -2165,11 +2156,11 @@ "tags": [ "Metrics" ], "description": "Gets the server related metrics for a given metric and group combination.", "x-ms-examples": { - "metrics_list": { + "service_getMetrics": { "$ref": "./examples/Service_MetricSets.json" } }, - "operationId": "metrics_list", + "operationId": "service_getMetrics", "parameters": [ { "name": "serviceName", @@ -3112,11 +3103,11 @@ "tags": [ "Metrics" ], "description": "Gets the server related metrics for a given metric and group combination.", "x-ms-examples": { - "serviceMembers_listMetrics": { + "serviceMembers_getMetrics": { "$ref": "./examples/Server_MetricSets.json" } }, - "operationId": "serviceMembers_listMetrics", + "operationId": "serviceMembers_getMetrics", "parameters": [ { "name": "serviceName", @@ -5050,6 +5041,18 @@ } } }, + "NextPartitionKey": { + "description": "The enum to represents next partition key value.", + "schema": { + "$ref": "#/definitions/NextPartitionKey" + } + }, + "NextRowKey": { + "description": "The enum to represents next row key values.", + "schema": { + "$ref": "#/definitions/NextRowKey" + } + }, "MergedExportError": { "description": "The merged export error.", "type": "object", From 9d1ccb4e400dd0736dc6dc26cb856766e81eb0e5 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Thu, 7 Jun 2018 22:47:16 -0700 Subject: [PATCH 11/14] Update ADHybridHealthService.json --- .../2014-01-01/ADHybridHealthService.json | 44 ++++++++----------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 0f7d4d829ed7..f021081d7f7d 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -434,25 +434,15 @@ "name": "nextPartitionKey", "in": "query", "description": "The next partition key to query for.", - "required": true, - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextPartitionKey", - "modelAsString": true - } + "schema": { "$ref": "#/definitions/NextPartitionKey" }, + "required": true }, { "name": "nextRowKey", "in": "query", "description": "The next row key to query for.", - "required": true, - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextRowKey", - "modelAsString": true - } + "schema": { "$ref": "#/definitions/NextRowKey" }, + "required": true }, { "name": "takeCount", @@ -1074,19 +1064,15 @@ "name": "nextPartitionKey", "in": "query", "description": "The next partition key to query for.", - "required": true, - "schema": { - "$ref": "#/definitions/NextPartitionKey" - } + "schema": { "$ref": "#/definitions/NextPartitionKey" }, + "required": true }, { "name": "nextRowKey", "in": "query", "description": "The next row key to query for.", - "required": true, - "schema": { - "$ref": "#/definitions/NextRowKey" - } + "schema": { "$ref": "#/definitions/NextRowKey" }, + "required": true }, { "name": "takeCount", @@ -5043,14 +5029,20 @@ }, "NextPartitionKey": { "description": "The enum to represents next partition key value.", - "schema": { - "$ref": "#/definitions/NextPartitionKey" + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextPartitionKey", + "modelAsString": true } }, "NextRowKey": { "description": "The enum to represents next row key values.", - "schema": { - "$ref": "#/definitions/NextRowKey" + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextRowKey", + "modelAsString": true } }, "MergedExportError": { From 2a54361a7c0494d57032e05021eb5b7e84c53983 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Fri, 8 Jun 2018 13:17:08 -0700 Subject: [PATCH 12/14] Update ADHybridHealthService.json --- .../stable/2014-01-01/ADHybridHealthService.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index f021081d7f7d..0138b61865ef 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -434,6 +434,7 @@ "name": "nextPartitionKey", "in": "query", "description": "The next partition key to query for.", + "type": "string", "schema": { "$ref": "#/definitions/NextPartitionKey" }, "required": true }, @@ -441,6 +442,7 @@ "name": "nextRowKey", "in": "query", "description": "The next row key to query for.", + "type": "string", "schema": { "$ref": "#/definitions/NextRowKey" }, "required": true }, @@ -1063,13 +1065,15 @@ { "name": "nextPartitionKey", "in": "query", + "type": "string", "description": "The next partition key to query for.", - "schema": { "$ref": "#/definitions/NextPartitionKey" }, - "required": true + "required": true, + "schema": { "$ref": "#/definitions/NextPartitionKey" } }, { "name": "nextRowKey", "in": "query", + "type": "string", "description": "The next row key to query for.", "schema": { "$ref": "#/definitions/NextRowKey" }, "required": true From 3af8f278300c02d9936fd492a3a06baa50cbb3bf Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Fri, 8 Jun 2018 15:49:07 -0700 Subject: [PATCH 13/14] Update ADHybridHealthService.json --- .../2014-01-01/ADHybridHealthService.json | 52 +++++++++---------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 0138b61865ef..1deb0f41a8c5 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -434,17 +434,25 @@ "name": "nextPartitionKey", "in": "query", "description": "The next partition key to query for.", + "required": true, "type": "string", - "schema": { "$ref": "#/definitions/NextPartitionKey" }, - "required": true + "enum": [ " " ], + "x-ms-enum": { + "name": "nextPartitionKey", + "modelAsString": true + } }, { "name": "nextRowKey", "in": "query", "description": "The next row key to query for.", + "required": true, "type": "string", - "schema": { "$ref": "#/definitions/NextRowKey" }, - "required": true + "enum": [ " " ], + "x-ms-enum": { + "name": "nextRowKey", + "modelAsString": true, + } }, { "name": "takeCount", @@ -1065,18 +1073,26 @@ { "name": "nextPartitionKey", "in": "query", - "type": "string", "description": "The next partition key to query for.", "required": true, - "schema": { "$ref": "#/definitions/NextPartitionKey" } + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextPartitionKey", + "modelAsString": true + } }, { "name": "nextRowKey", "in": "query", - "type": "string", "description": "The next row key to query for.", - "schema": { "$ref": "#/definitions/NextRowKey" }, - "required": true + "required": true, + "type": "string", + "enum": [ " " ], + "x-ms-enum": { + "name": "nextRowKey", + "modelAsString": true + } }, { "name": "takeCount", @@ -5031,24 +5047,6 @@ } } }, - "NextPartitionKey": { - "description": "The enum to represents next partition key value.", - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextPartitionKey", - "modelAsString": true - } - }, - "NextRowKey": { - "description": "The enum to represents next row key values.", - "type": "string", - "enum": [ " " ], - "x-ms-enum": { - "name": "nextRowKey", - "modelAsString": true - } - }, "MergedExportError": { "description": "The merged export error.", "type": "object", From f10a2443ebfdd3cdb44d0b346c6bad845a4b8cf4 Mon Sep 17 00:00:00 2001 From: gamitra <38512970+gamitra@users.noreply.github.com> Date: Fri, 8 Jun 2018 16:25:03 -0700 Subject: [PATCH 14/14] Update ADHybridHealthService.json --- .../stable/2014-01-01/ADHybridHealthService.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json index 1deb0f41a8c5..4bccf7719005 100644 --- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json +++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json @@ -6,9 +6,9 @@ "description": "REST APIs for Azure Active Drectory Connect Health" }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], + "schemes": [ "https" ], + "consumes": [ "application/json" ], + "produces": [ "application/json" ], "paths": { "/providers/Microsoft.ADHybridHealthService/addsservices": { "get": { @@ -451,7 +451,7 @@ "enum": [ " " ], "x-ms-enum": { "name": "nextRowKey", - "modelAsString": true, + "modelAsString": true } }, { @@ -6365,7 +6365,7 @@ }, "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ "user_impersonation" ] } ] }