From e3752577c4ebe664a4b883a9064e429e05d96966 Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Mon, 7 Aug 2017 17:52:27 -0700 Subject: [PATCH 01/11] Copy from v0801 --- .../2017-07-14/analysisservices.json | 670 ++++++++++++++++++ .../examples/listSkusForExisting.json | 59 ++ .../2017-07-14/examples/listSkusForNew.json | 39 + 3 files changed, 768 insertions(+) create mode 100644 specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json create mode 100644 specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json create mode 100644 specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json new file mode 100644 index 000000000000..f786314721c7 --- /dev/null +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -0,0 +1,670 @@ +{ + "swagger": "2.0", + "info": { + "version": "2017-08-01-beta", + "title": "AzureAnalysisServices", + "description": "The Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers", + "x-ms-code-generation-settings": { + "name": "AnalysisServicesManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ "https" ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}": { + "get": { + "description": "Gets details about the specified Analysis Services server.", + "tags": [ "Servers" ], + "operationId": "Servers_GetDetails", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The operation was successful.", + "schema": { "$ref": "#/definitions/AnalysisServicesServer" } + } + } + }, + "put": { + "description": "Provisions the specified Analysis Services server based on the configuration specified in the request.", + "tags": [ "Servers" ], + "operationId": "Servers_Create", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63." + }, + { + "name": "serverParameters", + "in": "body", + "required": true, + "schema": { "$ref": "#/definitions/AnalysisServicesServer" }, + "description": "Contains the information used to provision the Analysis Services server." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. The operation completed successfully.", + "schema": { "$ref": "#/definitions/AnalysisServicesServer" } + }, + "201": { + "description": "InProgress. The operation is still completing.", + "schema": { "$ref": "#/definitions/AnalysisServicesServer" } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "description": "Deletes the specified Analysis Services server.", + "tags": [ "Servers" ], + "operationId": "Servers_Delete", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "204": { + "description": "No Content." + }, + "202": { + "description": "Accepted." + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "description": "Updates the current state of the specified Analysis Services server.", + "tags": [ "Servers" ], + "operationId": "Servers_Update", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "name": "serverUpdateParameters", + "in": "body", + "required": true, + "schema": { "$ref": "#/definitions/AnalysisServicesServerUpdateParameters" }, + "description": "Request object that contains the updated information for the server." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/AnalysisServicesServer" } + }, + "202": { + "description": "Accepted", + "schema": { "$ref": "#/definitions/AnalysisServicesServer" } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/suspend": { + "post": { + "description": "Supends operation of the specified Analysis Services server instance.", + "tags": [ "Servers" ], + "operationId": "Servers_Suspend", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "202": { + "description": "Accepted." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/resume": { + "post": { + "description": "Resumes operation of the specified Analysis Services server instance.", + "tags": [ "Servers" ], + "operationId": "Servers_Resume", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers": { + "get": { + "description": "Gets all the Analysis Services servers for the given resource group.", + "tags": [ "Servers" ], + "operationId": "Servers_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/AnalysisServicesServers" } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers": { + "get": { + "description": "Lists all the Analysis Services servers for the given subscription.", + "tags": [ "Servers" ], + "operationId": "Servers_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/AnalysisServicesServers" } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/skus": { + "get": { + "description": "Lists eligible SKUs for Analysis Services resource provider.", + "x-ms-examples": { + "List eligible SKUs for a new server": { "$ref": "./examples/listSkusForNew.json" } + }, + "operationId": "Servers_ListSkusForNew", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/SkuEnumerationForNewResourceResult" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/skus": { + "get": { + "description": "Lists eligible SKUs for an Analysis Services resource.", + "x-ms-examples": { + "List eligible SKUs for an existing server": { "$ref": "./examples/listSkusForExisting.json" } + }, + "tags": [ "Servers" ], + "operationId": "Servers_ListSkusForExisting", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/SkuEnumerationForExistingResourceResult" } + } + } + } + } + }, + "definitions": { + "Resource": { + "description": "Represents an instance of an Analysis Services resource.", + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "An identifier that represents the Analysis Services resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the Analysis Services resource." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the Analysis Services resource." + }, + "location": { + "type": "string", + "description": "Location of the Analysis Services resource." + }, + "sku": { + "$ref": "#/definitions/ResourceSku", + "description": "The SKU of the Analysis Services resource." + }, + "tags": { + "type": "object", + "additionalProperties": { "type": "string" }, + "description": "Key-value pairs of additional resource provisioning properties." + } + }, + "required": [ + "location", + "sku" + ], + "x-ms-azure-resource": true + }, + "AnalysisServicesServer": { + "description": "Represents an instance of an Analysis Services resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AnalysisServicesServerProperties", + "description": "Properties of the provision operation request." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "AnalysisServicesServers": { + "description": "An array of Analysis Services resources.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { "$ref": "#/definitions/AnalysisServicesServer" }, + "description": "An array of Analysis Services resources." + } + }, + "required": [ + "value" + ] + }, + "AnalysisServicesServerUpdateParameters": { + "description": "Provision request specification", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/ResourceSku", + "description": "The SKU of the Analysis Services resource." + }, + "tags": { + "type": "object", + "additionalProperties": { "type": "string" }, + "description": "Key-value pairs of additional provisioning properties." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AnalysisServicesServerMutableProperties", + "description": "Properties of the provision operation request." + } + } + }, + "AnalysisServicesServerProperties": { + "description": "Properties of Analysis Services resource.", + "type": "object", + "properties": { + "state": { + "type": "string", + "enum": [ + "Deleting", + "Succeeded", + "Failed", + "Paused", + "Suspended", + "Provisioning", + "Updating", + "Suspending", + "Pausing", + "Resuming", + "Preparing", + "Scaling" + ], + "x-ms-enum": { + "name": "State", + "modelAsString": true + }, + "readOnly": true, + "description": "The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning." + }, + "provisioningState": { + "type": "string", + "enum": [ + "Deleting", + "Succeeded", + "Failed", + "Paused", + "Suspended", + "Provisioning", + "Updating", + "Suspending", + "Pausing", + "Resuming", + "Preparing", + "Scaling" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning." + }, + "serverFullName": { + "type": "string", + "readOnly": true, + "description": "The full name of the Analysis Services resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AnalysisServicesServerMutableProperties" + } + ] + }, + "ResourceSku": { + "description": "Represents the SKU name and Azure pricing tier for Analysis Services resource.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the SKU level." + }, + "tier": { + "type": "string", + "enum": [ + "Development", + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + }, + "description": "The name of the Azure pricing tier to which the SKU applies." + }, + "capacity": { + "type": "integer", + "minimum": 1, + "maximum": 8, + "default": 1, + "description": "The number of instances in the read only query pool." + } + }, + "required": [ + "name" + ] + }, + "AnalysisServicesServerMutableProperties": { + "description": "An object that represents a set of mutable Analysis Services resource properties.", + "type": "object", + "properties": { + "asAdministrators": { + "$ref": "#/definitions/ServerAdministrators", + "description": "A collection of AS server administrators" + }, + "backupBlobContainerUri": { + "type": "string", + "description": "The container URI of backup blob." + }, + "querypoolConnectionMode": { + "type":"string", + "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values: Specifying readOnly when capacity is 1 results in error.", + "enum": [ + "All", + "ReadOnly" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "ConnectionMode" + }, + "default": "All" + } + } + }, + "ServerAdministrators": { + "description": "An array of administrator user identities", + "type": "object", + "properties": { + "members": { + "type": "array", + "items": { + "type": "string", + "description": "The UPN of the user. For example: johnsmith@contoso.com." + }, + "description": "An array of administrator user identities." + } + } + }, + "SkuEnumerationForNewResourceResult": { + "description": "An object that represents enumerating SKUs for new resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { "$ref": "#/definitions/ResourceSku" }, + "description": "The collection of available SKUs for new resources" + } + } + }, + "SkuEnumerationForExistingResourceResult": { + "description": "An object that represents enumerating SKUs for existing resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { "$ref": "#/definitions/SkuDetailsForExistingResource" }, + "description": "The collection of available SKUs for existing resources" + } + } + }, + "SkuDetailsForExistingResource": { + "description": "An object that represents SKU details for existing resources", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/ResourceSku", + "description": "The SKU in SKU details for existing resources." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The client API version." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 , + "x-ms-parameter-location": "method", + "description": "The name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90." + } + } +} \ No newline at end of file diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json new file mode 100644 index 000000000000..577f4fcda20a --- /dev/null +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", + "resourceGroupName": "TestRG", + "serverName": "azsdktest", + "api-version": "2017-08-01-beta" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "sku": { + "name": "B1", + "tier": "Basic" + } + }, + { + "sku": { + "name": "B2", + "tier": "Basic" + } + }, + { + "sku": { + "name": "S0", + "tier": "Standard" + } + }, + { + "sku": { + "name": "S1", + "tier": "Standard" + } + }, + { + "sku": { + "name": "S2", + "tier": "Standard" + } + }, + { + "sku": { + "name": "S3", + "tier": "Standard" + } + }, + { + "sku": { + "name": "S4", + "tier": "Standard" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json new file mode 100644 index 000000000000..2447406cd928 --- /dev/null +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", + "api-version": "2017-08-01-beta" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "name": "B1" + }, + { + "name": "B2" + }, + { + "name": "D1" + }, + { + "name": "S0" + }, + { + "name": "S1" + }, + { + "name": "S2" + }, + { + "name": "S3" + }, + { + "name": "S4" + } + ] + } + } + } +} \ No newline at end of file From 38f0a903be5ac3a167e0050353b1e5169a8b2843 Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Wed, 9 Aug 2017 15:08:47 -0700 Subject: [PATCH 02/11] Add version 0714 --- .../2017-07-14/analysisservices.json | 2 +- .../examples/listSkusForExisting.json | 2 +- .../2017-07-14/examples/listSkusForNew.json | 2 +- .../resource-manager/readme.md | 20 ++++++++++++++++++- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index f786314721c7..4e5afa9a6238 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2017-08-01-beta", + "version": "2017-07-14", "title": "AzureAnalysisServices", "description": "The Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers", "x-ms-code-generation-settings": { diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json index 577f4fcda20a..35e7b314e759 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForExisting.json @@ -3,7 +3,7 @@ "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", "resourceGroupName": "TestRG", "serverName": "azsdktest", - "api-version": "2017-08-01-beta" + "api-version": "2017-07-14" }, "responses": { "200": { diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json index 2447406cd928..8baddfd4233c 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/examples/listSkusForNew.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", - "api-version": "2017-08-01-beta" + "api-version": "2017-07-14" }, "responses": { "200": { diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index ac8736a8a367..86cd7d460c41 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the AnalysisServices API. ``` yaml openapi-type: arm -tag: package-2016-05 +tag: package-2017-07 ``` @@ -39,6 +39,24 @@ input-file: - Microsoft.AnalysisServices/2016-05-16/analysisservices.json ``` +### Tag: package-2017-07 + +These settings apply only when `--tag=package-2017-07` is specified on the command line. + +``` yaml $(tag) == 'package-2017-07' +input-file: +- Microsoft.AnalysisServices/2017-07-14/analysisservices.json +``` + +### Tag: package-2017-08-beta + +These settings apply only when `--tag=package-2017-08-beta` is specified on the command line. + +``` yaml $(tag) == 'package-2017-08-beta' +input-file: +- Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +``` + --- # Code Generation From 5aad86b85dfd049a3bd58bce5b4da218993f4e3e Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Wed, 9 Aug 2017 15:23:43 -0700 Subject: [PATCH 03/11] Add gateway info to version 0714 and 0801beta update description --- .../2017-07-14/analysisservices.json | 100 ++++++++++++++++++ .../2017-08-01-beta/analysisservices.json | 100 ++++++++++++++++++ 2 files changed, 200 insertions(+) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index 4e5afa9a6238..d44982c32758 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -381,6 +381,48 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + "post": { + "description": "Return the gateway status of the specified Analysis Services server instance.", + "tags": [ "Servers" ], + "operationId": "Servers_ListGatewayStatus", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { "$ref": "#/definitions/GatewayListStatusLive" } + }, + "400": { + "description": "Gateway not live or not configured.", + "schema": { "$ref": "#/definitions/GatewayListStatusError" } + }, + "404": { + "description": "Server or Gateway not found.", + "schema": { "$ref": "#/definitions/GatewayListStatusError" } + } + } + } + }, "definitions": { "Resource": { "description": "Represents an instance of an Analysis Services resource.", @@ -578,6 +620,10 @@ "type": "string", "description": "The container URI of backup blob." }, + "gatewayDetails": { + "$ref": "#/definitions/GatewayDetails", + "description": "The gateway details configured for the AS server." + }, "querypoolConnectionMode": { "type":"string", "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values:
  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error.", @@ -607,6 +653,60 @@ } } }, + "GatewayDetails": { + "description": "The gateway details.", + "type": "object", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Gateway resource to be associated with the server. Only supported with api versions 2017-07-14 or higher." + }, + "gatewayObjectId": { + "type": "string", + "readOnly": true, + "description": "Gateway object id from in the DMTS cluster for the gateway resource. Only supported with api versions 2017-07-14 or higher." + }, + "dmtsClusterUri": { + "type": "string", + "readOnly": true, + "description": "Uri of the DMTS cluster. Only supported with api versions 2017-07-14 or higher." + } + } + }, + "GatewayListStatusLive": { + "description": "Status of gateway is live", + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "Live message of list gateway." + } + } + }, + "GatewayListStatusError": { + "description": "Status of gateway is error", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/GatewayErrors", + "description": "Error of the list gateway status." + } + } + }, + "GatewayErrors": { + "description": "Detail of gateway errors", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code of list gateway." + }, + "message": { + "type": "string", + "description": "Error message of list gateway." + } + } + }, "SkuEnumerationForNewResourceResult": { "description": "An object that represents enumerating SKUs for new resources", "type": "object", diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index f786314721c7..7e11831ab57e 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -381,6 +381,48 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + "post": { + "description": "Return the gateway status of the specified Analysis Services server instance.", + "tags": [ "Servers" ], + "operationId": "Servers_ListGatewayStatus", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { "$ref": "#/definitions/GatewayListStatusLive" } + }, + "400": { + "description": "Gateway not live or not configured.", + "schema": { "$ref": "#/definitions/GatewayListStatusError" } + }, + "404": { + "description": "Server or Gateway not found.", + "schema": { "$ref": "#/definitions/GatewayListStatusError" } + } + } + } + }, "definitions": { "Resource": { "description": "Represents an instance of an Analysis Services resource.", @@ -578,6 +620,10 @@ "type": "string", "description": "The container URI of backup blob." }, + "gatewayDetails": { + "$ref": "#/definitions/GatewayDetails", + "description": "The gateway details configured for the AS server." + }, "querypoolConnectionMode": { "type":"string", "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values:
  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error.", @@ -607,6 +653,60 @@ } } }, + "GatewayDetails": { + "description": "The gateway details.", + "type": "object", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Gateway resource to be associated with the server. Only supported with api versions 2017-07-14 or higher." + }, + "gatewayObjectId": { + "type": "string", + "readOnly": true, + "description": "Gateway object id from in the DMTS cluster for the gateway resource. Only supported with api versions 2017-07-14 or higher." + }, + "dmtsClusterUri": { + "type": "string", + "readOnly": true, + "description": "Uri of the DMTS cluster. Only supported with api versions 2017-07-14 or higher." + } + } + }, + "GatewayListStatusLive": { + "description": "Status of gateway is live", + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "Live message of list gateway." + } + } + }, + "GatewayListStatusError": { + "description": "Status of gateway is error", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/GatewayErrors", + "description": "Error of the list gateway status." + } + } + }, + "GatewayErrors": { + "description": "Detail of gateway errors", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code of list gateway." + }, + "message": { + "type": "string", + "description": "Error message of list gateway." + } + } + }, "SkuEnumerationForNewResourceResult": { "description": "An object that represents enumerating SKUs for new resources", "type": "object", From b507b935fd05910bf85b360dba7d6b857958fabc Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Thu, 10 Aug 2017 10:57:40 -0700 Subject: [PATCH 04/11] Copy v516 as base of v714 --- .../2017-07-14/analysisservices.json | 120 ------------------ 1 file changed, 120 deletions(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index d44982c32758..16a948cfc527 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -381,48 +381,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { - "post": { - "description": "Return the gateway status of the specified Analysis Services server instance.", - "tags": [ "Servers" ], - "operationId": "Servers_ListGatewayStatus", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "serverName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-z][a-z0-9]*$", - "minLength": 3, - "maxLength": 63, - "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { "$ref": "#/definitions/GatewayListStatusLive" } - }, - "400": { - "description": "Gateway not live or not configured.", - "schema": { "$ref": "#/definitions/GatewayListStatusError" } - }, - "404": { - "description": "Server or Gateway not found.", - "schema": { "$ref": "#/definitions/GatewayListStatusError" } - } - } - } - }, "definitions": { "Resource": { "description": "Represents an instance of an Analysis Services resource.", @@ -595,13 +553,6 @@ "modelAsString": true }, "description": "The name of the Azure pricing tier to which the SKU applies." - }, - "capacity": { - "type": "integer", - "minimum": 1, - "maximum": 8, - "default": 1, - "description": "The number of instances in the read only query pool." } }, "required": [ @@ -619,23 +570,6 @@ "backupBlobContainerUri": { "type": "string", "description": "The container URI of backup blob." - }, - "gatewayDetails": { - "$ref": "#/definitions/GatewayDetails", - "description": "The gateway details configured for the AS server." - }, - "querypoolConnectionMode": { - "type":"string", - "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values:
  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error.", - "enum": [ - "All", - "ReadOnly" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "ConnectionMode" - }, - "default": "All" } } }, @@ -653,60 +587,6 @@ } } }, - "GatewayDetails": { - "description": "The gateway details.", - "type": "object", - "properties": { - "gatewayResourceId": { - "type": "string", - "description": "Gateway resource to be associated with the server. Only supported with api versions 2017-07-14 or higher." - }, - "gatewayObjectId": { - "type": "string", - "readOnly": true, - "description": "Gateway object id from in the DMTS cluster for the gateway resource. Only supported with api versions 2017-07-14 or higher." - }, - "dmtsClusterUri": { - "type": "string", - "readOnly": true, - "description": "Uri of the DMTS cluster. Only supported with api versions 2017-07-14 or higher." - } - } - }, - "GatewayListStatusLive": { - "description": "Status of gateway is live", - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "Live message of list gateway." - } - } - }, - "GatewayListStatusError": { - "description": "Status of gateway is error", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/GatewayErrors", - "description": "Error of the list gateway status." - } - } - }, - "GatewayErrors": { - "description": "Detail of gateway errors", - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Error code of list gateway." - }, - "message": { - "type": "string", - "description": "Error message of list gateway." - } - } - }, "SkuEnumerationForNewResourceResult": { "description": "An object that represents enumerating SKUs for new resources", "type": "object", From f26227adce05d06d2999d039ada7f808dc3c080c Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Thu, 10 Aug 2017 11:43:13 -0700 Subject: [PATCH 05/11] Update gateway negative response. --- .../2017-07-14/analysisservices.json | 97 +++++++++++++++++++ .../2017-08-01-beta/analysisservices.json | 11 ++- .../resource-manager/readme.md | 16 +-- 3 files changed, 111 insertions(+), 13 deletions(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index 16a948cfc527..de5d9a2c05fd 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -381,6 +381,44 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + "post": { + "description": "Return the gateway status of the specified Analysis Services server instance.", + "tags": [ "Servers" ], + "operationId": "Servers_ListGatewayStatus", + "parameters": [ + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63, + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { "$ref": "#/definitions/GatewayListStatusLive" } + }, + "default": { + "description": "Default response as an error", + "schema": { "$ref": "#/definitions/GatewayListStatusError" } + } + } + } + }, "definitions": { "Resource": { "description": "Represents an instance of an Analysis Services resource.", @@ -570,6 +608,10 @@ "backupBlobContainerUri": { "type": "string", "description": "The container URI of backup blob." + }, + "gatewayDetails": { + "$ref": "#/definitions/GatewayDetails", + "description": "The gateway details configured for the AS server." } } }, @@ -587,6 +629,61 @@ } } }, + "GatewayDetails": { + "description": "The gateway details.", + "type": "object", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Gateway resource to be associated with the server." + }, + "gatewayObjectId": { + "type": "string", + "readOnly": true, + "description": "Gateway object id from in the DMTS cluster for the gateway resource." + }, + "dmtsClusterUri": { + "type": "string", + "readOnly": true, + "description": "Uri of the DMTS cluster." + } + } + }, + "GatewayListStatusLive": { + "description": "Status of gateway is live", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": ["Live"], + "description": "Live message of list gateway." + } + } + }, + "GatewayListStatusError": { + "description": "Status of gateway is error", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/GatewayError", + "description": "Error of the list gateway status." + } + } + }, + "GatewayError": { + "description": "Detail of gateway errors", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code of list gateway." + }, + "message": { + "type": "string", + "description": "Error message of list gateway." + } + } + }, "SkuEnumerationForNewResourceResult": { "description": "An object that represents enumerating SKUs for new resources", "type": "object", diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index 7e11831ab57e..52240e4913b7 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -659,17 +659,17 @@ "properties": { "gatewayResourceId": { "type": "string", - "description": "Gateway resource to be associated with the server. Only supported with api versions 2017-07-14 or higher." + "description": "Gateway resource to be associated with the server." }, "gatewayObjectId": { "type": "string", "readOnly": true, - "description": "Gateway object id from in the DMTS cluster for the gateway resource. Only supported with api versions 2017-07-14 or higher." + "description": "Gateway object id from in the DMTS cluster for the gateway resource." }, "dmtsClusterUri": { "type": "string", "readOnly": true, - "description": "Uri of the DMTS cluster. Only supported with api versions 2017-07-14 or higher." + "description": "Uri of the DMTS cluster." } } }, @@ -679,6 +679,7 @@ "properties": { "status": { "type": "string", + "enum": ["Live"], "description": "Live message of list gateway." } } @@ -688,12 +689,12 @@ "type": "object", "properties": { "error": { - "$ref": "#/definitions/GatewayErrors", + "$ref": "#/definitions/GatewayError", "description": "Error of the list gateway status." } } }, - "GatewayErrors": { + "GatewayError": { "description": "Detail of gateway errors", "type": "object", "properties": { diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 86cd7d460c41..6a79374b56df 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -30,13 +30,13 @@ tag: package-2017-07 ``` -### Tag: package-2016-05 +### Tag: package-2017-08-beta -These settings apply only when `--tag=package-2016-05` is specified on the command line. +These settings apply only when `--tag=package-2017-08-beta` is specified on the command line. -``` yaml $(tag) == 'package-2016-05' +``` yaml $(tag) == 'package-2017-08-beta' input-file: -- Microsoft.AnalysisServices/2016-05-16/analysisservices.json +- Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json ``` ### Tag: package-2017-07 @@ -48,13 +48,13 @@ input-file: - Microsoft.AnalysisServices/2017-07-14/analysisservices.json ``` -### Tag: package-2017-08-beta +### Tag: package-2016-05 -These settings apply only when `--tag=package-2017-08-beta` is specified on the command line. +These settings apply only when `--tag=package-2016-05` is specified on the command line. -``` yaml $(tag) == 'package-2017-08-beta' +``` yaml $(tag) == 'package-2016-05' input-file: -- Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +- Microsoft.AnalysisServices/2016-05-16/analysisservices.json ``` --- From 29f1c91a8a67135b352d1e58643fded2547e0dfd Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Thu, 10 Aug 2017 12:07:38 -0700 Subject: [PATCH 06/11] fix misplaced path --- .../2017-07-14/analysisservices.json | 10 ++++++---- .../2017-08-01-beta/analysisservices.json | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index de5d9a2c05fd..1aeb976af499 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -379,9 +379,8 @@ } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { "post": { "description": "Return the gateway status of the specified Analysis Services server instance.", "tags": [ "Servers" ], @@ -418,6 +417,7 @@ } } } + } }, "definitions": { "Resource": { @@ -655,7 +655,9 @@ "properties": { "status": { "type": "string", - "enum": ["Live"], + "enum": [ + "Live" + ], "description": "Live message of list gateway." } } diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index 52240e4913b7..11e80f31aa79 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -379,9 +379,8 @@ } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { "post": { "description": "Return the gateway status of the specified Analysis Services server instance.", "tags": [ "Servers" ], @@ -422,6 +421,7 @@ } } } + } }, "definitions": { "Resource": { @@ -679,7 +679,9 @@ "properties": { "status": { "type": "string", - "enum": ["Live"], + "enum": [ + "Live" + ], "description": "Live message of list gateway." } } From 4de4d710398ec6bf4000e39ccfb4c8cda7a8a8ed Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Thu, 10 Aug 2017 13:30:12 -0700 Subject: [PATCH 07/11] update negative response in v0801 --- .../2017-08-01-beta/analysisservices.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index 11e80f31aa79..4a2468ec3c18 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -411,12 +411,8 @@ "description": "OK.", "schema": { "$ref": "#/definitions/GatewayListStatusLive" } }, - "400": { - "description": "Gateway not live or not configured.", - "schema": { "$ref": "#/definitions/GatewayListStatusError" } - }, - "404": { - "description": "Server or Gateway not found.", + "default": { + "description": "Default response as an error", "schema": { "$ref": "#/definitions/GatewayListStatusError" } } } From 0dea1062800b4d356bad954b78c7dde9e1391cb7 Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Mon, 14 Aug 2017 12:06:10 -0700 Subject: [PATCH 08/11] add x-ms-enum --- .../2017-07-14/analysisservices.json | 4 ++++ .../2017-08-01-beta/analysisservices.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json index 1aeb976af499..b1eae3a5d591 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-07-14/analysisservices.json @@ -658,6 +658,10 @@ "enum": [ "Live" ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + }, "description": "Live message of list gateway." } } diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index 4a2468ec3c18..fba48f617474 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -678,6 +678,10 @@ "enum": [ "Live" ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + }, "description": "Live message of list gateway." } } From af9d1a84918b6e8edb44a08a9a87b7dc0542cf4f Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Tue, 15 Aug 2017 13:27:20 -0700 Subject: [PATCH 09/11] Update tag package version --- specification/analysisservices/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 6a79374b56df..a4ea84a98433 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the AnalysisServices API. ``` yaml openapi-type: arm -tag: package-2017-07 +tag: package-2017-07-08-beta ``` From e481cd4bfb8a0cf15d0daef9b0df51413b081f9d Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Tue, 15 Aug 2017 14:14:45 -0700 Subject: [PATCH 10/11] fix tag package version --- specification/analysisservices/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index a4ea84a98433..cc3b8cf4e09d 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the AnalysisServices API. ``` yaml openapi-type: arm -tag: package-2017-07-08-beta +tag: package-2017-08-beta ``` From c967ae3edc8c1934093bc2654401fb7a0bbb3c61 Mon Sep 17 00:00:00 2001 From: Tai-Yi Wu Date: Wed, 16 Aug 2017 10:20:20 -0700 Subject: [PATCH 11/11] remove restated part --- .../2017-08-01-beta/analysisservices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json index fba48f617474..a7da8bfb5ab8 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2017-08-01-beta/analysisservices.json @@ -397,7 +397,7 @@ "pattern": "^[a-z][a-z0-9]*$", "minLength": 3, "maxLength": 63, - "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63." + "description": "The name of the Analysis Services server." }, { "$ref": "#/parameters/ApiVersionParameter"