diff --git a/specification/analysisservices/Analysisservices.Management/AnalysisServicesServer.tsp b/specification/analysisservices/Analysisservices.Management/AnalysisServicesServer.tsp new file mode 100644 index 000000000000..ba6954e19e81 --- /dev/null +++ b/specification/analysisservices/Analysisservices.Management/AnalysisServicesServer.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using TypeSpec.Http; + +namespace Microsoft.AnalysisServices; +@doc("Represents an instance of an Analysis Services resource.") +model AnalysisServicesServer + is TrackedResource { + @doc("The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.") + @maxLength(63) + @minLength(3) + @pattern("^[a-z][a-z0-9]*$") + @path + @key("serverName") + @segment("servers") + name: string; +} + +@armResourceOperations +interface AnalysisServicesServers { + @doc("Gets details about the specified Analysis Services server.") + getDetails is ArmResourceRead; + @doc("Provisions the specified Analysis Services server based on the configuration specified in the request.") + create is ArmResourceCreateOrUpdateAsync; + @doc("Updates the current state of the specified Analysis Services server.") + update is ArmResourcePatchAsync< + AnalysisServicesServer, + AnalysisServicesServerProperties + >; + @doc("Deletes the specified Analysis Services server.") + delete is ArmResourceDeleteAsync; + @doc("Gets all the Analysis Services servers for the given resource group.") + listByResourceGroup is ArmResourceListByParent; + // @doc("Lists all the Analysis Services servers for the given subscription.") + // list is ArmListBySubscription; + // @doc("Lists eligible SKUs for Analysis Services resource provider.") + // listSkusForNew is ArmListBySubscription; + @doc("Suspends operation of the specified Analysis Services server instance.") + suspend is ArmResourceActionAsync; + @doc("Resumes operation of the specified Analysis Services server instance.") + resume is ArmResourceActionAsync; + @doc("Return the gateway status of the specified Analysis Services server instance.") + listGatewayStatus is ArmResourceActionSync< + AnalysisServicesServer, + {}, + GatewayListStatusLive + >; + @doc("Dissociates a Unified Gateway associated with the server.") + dissociateGateway is ArmResourceActionSync; + @doc("Lists eligible SKUs for an Analysis Services resource.") + @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/skus") + @get + ListSkusForExisting is Azure.Core.Foundations.Operation< + { + @doc("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.") + @maxLength(90) + @minLength(1) + @pattern("^[-\\w\\._\\(\\)]+$") + @path + resourceGroupName: string; + + @doc("The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.") + @maxLength(63) + @minLength(3) + @pattern("^[a-z][a-z0-9]*$") + @path + serverName: string; + + @doc("A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.") + @path + subscriptionId: string; + }, + SkuEnumerationForExistingResourceResult + >; +} diff --git a/specification/analysisservices/Analysisservices.Management/main.tsp b/specification/analysisservices/Analysisservices.Management/main.tsp new file mode 100644 index 000000000000..395b24a60650 --- /dev/null +++ b/specification/analysisservices/Analysisservices.Management/main.tsp @@ -0,0 +1,27 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./AnalysisServicesServer.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +@armProviderNamespace +@service({ + title: "AzureAnalysisServices", +}) +@versioned(Versions) +@doc("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") +namespace Microsoft.AnalysisServices; + +@doc("The available API versions.") +enum Versions { + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2017_08_01: "2017-08-01", +} diff --git a/specification/analysisservices/Analysisservices.Management/models.tsp b/specification/analysisservices/Analysisservices.Management/models.tsp new file mode 100644 index 000000000000..27a3d95006a6 --- /dev/null +++ b/specification/analysisservices/Analysisservices.Management/models.tsp @@ -0,0 +1,218 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; + + +namespace Microsoft.AnalysisServices; + +interface Operations extends Azure.ResourceManager.Operations {} + + + enum State { + "Deleting", "Succeeded", "Failed", "Paused", "Suspended", "Provisioning", "Updating", "Suspending", "Pausing", "Resuming", "Preparing", "Scaling" + } + + enum ProvisioningState { + "Deleting", "Succeeded", "Failed", "Paused", "Suspended", "Provisioning", "Updating", "Suspending", "Pausing", "Resuming", "Preparing", "Scaling" + } + + enum SkuTier { + "Development", "Basic", "Standard" + } +@Azure.Core.fixed + enum ConnectionMode { + "All", "ReadOnly" + } +// @Azure.Core.fixed +// enum ManagedMode { +// 0: 0, 1: 1 +// } +// @Azure.Core.fixed +// enum ServerMonitorMode { +// 0: 0, 1: 1 +// } + + + +@doc("Properties of Analysis Services resource.") +model AnalysisServicesServerProperties { +// ...AnalysisServicesServerMutableProperties; +@doc("The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning.") +@visibility("read") +"state"?: State; +@doc("The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning.") +@visibility("read") +"provisioningState"?: ProvisioningState; +@doc("The full name of the Analysis Services resource.") +@visibility("read") +"serverFullName"?: string; +@doc("The SKU of the Analysis Services resource.") +"sku"?: ResourceSku; +} + +@doc("An array of administrator user identities.") +model ServerAdministrators { +@doc("An array of administrator user identities.") +"members"?: string[]; +} + +@doc("The gateway details.") +model GatewayDetails { +@doc("Gateway resource to be associated with the server.") +"gatewayResourceId"?: string; +@doc("Gateway object id from in the DMTS cluster for the gateway resource.") +@visibility("read") +"gatewayObjectId"?: string; +@doc("Uri of the DMTS cluster.") +@visibility("read") +"dmtsClusterUri"?: string; +} + +@doc("An array of firewall rules.") +model IPv4FirewallSettings { +@doc("An array of firewall rules.") +"firewallRules"?: IPv4FirewallRule[]; +@doc("The indicator of enabling PBI service.") +"enablePowerBIService"?: boolean; +} + +@doc("The detail of firewall rule.") +model IPv4FirewallRule { +@doc("The rule name.") +"firewallRuleName"?: string; +@doc("The start range of IPv4.") +"rangeStart"?: string; +@doc("The end range of IPv4.") +"rangeEnd"?: string; +} + +@doc("An object that represents enumerating SKUs for existing resources.") +model SkuEnumerationForExistingResourceResult { +@doc("The collection of available SKUs for existing resources.") +"value"?: SkuDetailsForExistingResource[]; +} + +@doc("An object that represents SKU details for existing resources.") +model SkuDetailsForExistingResource { +@doc("The SKU in SKU details for existing resources.") +"sku"?: ResourceSku; +@doc("The resource type.") +"resourceType"?: string; +} + +@doc("Status of gateway is live.") +model GatewayListStatusLive { +@doc("Live message of list gateway. Status: 0 - Live") +"status"?: 0; +} + +@doc("Status of gateway is error.") +@error +model GatewayListStatusError { +// @doc("Error of the list gateway status.") +// "error"?: ErrorDetail; +} + +@doc("Details of server name request body.") +model CheckServerNameAvailabilityParameters { +@doc("Name for checking availability.") +@maxLength(63) +@minLength(3) +@pattern("^[a-z][a-z0-9]*$") +"name"?: string; +@doc("The resource type of azure analysis services.") +"type"?: string; +} + +@doc("The checking result of server name availability.") +model CheckServerNameAvailabilityResult { +@doc("Indicator of available of the server name.") +"nameAvailable"?: boolean; +@doc("The reason of unavailability.") +"reason"?: string; +@doc("The detailed message of the request unavailability.") +"message"?: string; +} + +@doc("The status of operation.") +model OperationStatus { +@doc("The operation Id.") +"id"?: string; +@doc("The operation name.") +"name"?: string; +@doc("The start time of the operation.") +"startTime"?: string; +@doc("The end time of the operation.") +"endTime"?: string; +@doc("The status of the operation.") +"status"?: string; +// @doc("The error detail of the operation if any.") +// "error"?: ErrorDetail; +} + +@doc("Additional properties to expose performance metrics to shoebox.") +model OperationProperties { +@doc("Performance metrics to shoebox.") +"serviceSpecification"?: OperationPropertiesServiceSpecification; +} + +@doc("Performance metrics to shoebox.") +model OperationPropertiesServiceSpecification { +@doc("The metric specifications.") +@visibility("read") +"metricSpecifications"?: MetricSpecifications[]; +@doc("The log specifications.") +@visibility("read") +"logSpecifications"?: LogSpecifications[]; +} + +@doc("Available operation metric specification for exposing performance metrics to shoebox.") +model MetricSpecifications { +@doc("The name of metric.") +@visibility("read") +"name"?: string; +@doc("The displayed name of metric.") +@visibility("read") +"displayName"?: string; +@doc("The displayed description of metric.") +@visibility("read") +"displayDescription"?: string; +@doc("The unit of the metric.") +@visibility("read") +"unit"?: string; +@doc("The aggregation type of metric.") +@visibility("read") +"aggregationType"?: string; +@doc("The dimensions of metric.") +@visibility("read") +"dimensions"?: MetricDimensions[]; +} + +@doc("Metric dimension.") +model MetricDimensions { +@doc("Dimension name.") +@visibility("read") +"name"?: string; +@doc("Dimension display name.") +@visibility("read") +"displayName"?: string; +} + +@doc("The log metric specification for exposing performance metrics to shoebox.") +model LogSpecifications { +@doc("The name of metric.") +@visibility("read") +"name"?: string; +@doc("The displayed name of log.") +@visibility("read") +"displayName"?: string; +@doc("The blob duration for the log.") +@visibility("read") +"blobDuration"?: string; +} \ No newline at end of file diff --git a/specification/analysisservices/Analysisservices.Management/resources.json b/specification/analysisservices/Analysisservices.Management/resources.json new file mode 100644 index 000000000000..6666cf402e57 --- /dev/null +++ b/specification/analysisservices/Analysisservices.Management/resources.json @@ -0,0 +1 @@ +{ "Resources":{ "AnalysisServicesServer":{ "Name":"AnalysisServicesServer","GetOperations":[{ "Name":"Get","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}","Method":"GET","OperationID":"Servers_GetDetails","IsLongRunning":false,"PagingMetadata":null,"Description":"Gets details about the specified Analysis Services server."}],"CreateOperations":[{ "Name":"CreateOrUpdate","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}","Method":"PUT","OperationID":"Servers_Create","IsLongRunning":true,"PagingMetadata":null,"Description":"Provisions the specified Analysis Services server based on the configuration specified in the request."}],"UpdateOperations":[{ "Name":"Update","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}","Method":"PATCH","OperationID":"Servers_Update","IsLongRunning":true,"PagingMetadata":null,"Description":"Updates the current state of the specified Analysis Services server."}],"DeleteOperations":[{ "Name":"Delete","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}","Method":"DELETE","OperationID":"Servers_Delete","IsLongRunning":true,"PagingMetadata":null,"Description":"Deletes the specified Analysis Services server."}],"ListOperations":[{ "Name":"GetAll","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers","Method":"GET","OperationID":"Servers_ListByResourceGroup","IsLongRunning":false,"PagingMetadata":{ "Method":"ListByResourceGroup","NextPageMethod":null,"ItemName":"value","NextLinkName":null},"Description":"Gets all the Analysis Services servers for the given resource group."}],"OperationsFromResourceGroupExtension":[],"OperationsFromSubscriptionExtension":[{ "Name":"GetAnalysisServicesServers","Path":"/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers","Method":"GET","OperationID":"Servers_List","IsLongRunning":false,"PagingMetadata":{ "Method":"List","NextPageMethod":null,"ItemName":"value","NextLinkName":null},"Description":"Lists all the Analysis Services servers for the given subscription."},{ "Name":"GetSkusForNewServers","Path":"/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/skus","Method":"GET","OperationID":"Servers_ListSkusForNew","IsLongRunning":false,"PagingMetadata":{ "Method":"ListSkusForNew","NextPageMethod":null,"ItemName":"value","NextLinkName":null},"Description":"Lists eligible SKUs for Analysis Services resource provider."},{ "Name":"CheckNameAvailabilityServer","Path":"/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/checkNameAvailability","Method":"POST","OperationID":"Servers_CheckNameAvailability","IsLongRunning":false,"PagingMetadata":null,"Description":"Check the name availability in the target location."},{ "Name":"GetOperationResultsServer","Path":"/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationresults/{operationId}","Method":"GET","OperationID":"Servers_ListOperationResults","IsLongRunning":false,"PagingMetadata":null,"Description":"List the result of the specified operation."},{ "Name":"GetOperationStatusesServer","Path":"/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}","Method":"GET","OperationID":"Servers_ListOperationStatuses","IsLongRunning":false,"PagingMetadata":null,"Description":"List the status of operation."}],"OperationsFromManagementGroupExtension":[],"OperationsFromTenantExtension":[],"OtherOperations":[{ "Name":"Suspend","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/suspend","Method":"POST","OperationID":"Servers_Suspend","IsLongRunning":true,"PagingMetadata":null,"Description":"Suspends operation of the specified Analysis Services server instance."},{ "Name":"Resume","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/resume","Method":"POST","OperationID":"Servers_Resume","IsLongRunning":true,"PagingMetadata":null,"Description":"Resumes operation of the specified Analysis Services server instance."},{ "Name":"GetSkusForExisting","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/skus","Method":"GET","OperationID":"Servers_ListSkusForExisting","IsLongRunning":false,"PagingMetadata":{ "Method":"ListSkusForExisting","NextPageMethod":null,"ItemName":"value","NextLinkName":null},"Description":"Lists eligible SKUs for an Analysis Services resource."},{ "Name":"GetGatewayStatus","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus","Method":"POST","OperationID":"Servers_ListGatewayStatus","IsLongRunning":false,"PagingMetadata":null,"Description":"Return the gateway status of the specified Analysis Services server instance."},{ "Name":"DissociateGateway","Path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/dissociateGateway","Method":"POST","OperationID":"Servers_DissociateGateway","IsLongRunning":false,"PagingMetadata":null,"Description":"Dissociates a Unified Gateway associated with the server."}],"Parents":["ResourceGroupResource"],"SwaggerModelName":"AnalysisServicesServer","ResourceType":"Microsoft.AnalysisServices/servers","ResourceKey":"serverName","ResourceKeySegment":"servers","IsTrackedResource":true,"IsTenantResource":false,"IsSubscriptionResource":false,"IsManagementGroupResource":false,"IsExtensionResource":false,"IsSingletonResource":false} } } \ No newline at end of file diff --git a/specification/analysisservices/Analysisservices.Management/tspconfig.yaml b/specification/analysisservices/Analysisservices.Management/tspconfig.yaml new file mode 100644 index 000000000000..0f785c611ebf --- /dev/null +++ b/specification/analysisservices/Analysisservices.Management/tspconfig.yaml @@ -0,0 +1,11 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/analysisservices.json" + examples-directory: "{project-root}/examples" +linter: + extends: + - "@azure-tools/typespec-azure-resource-manager/all" diff --git a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json index ec94b0bb58c4..9afb062061f6 100644 --- a/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/stable/2017-08-01/analysisservices.json @@ -1,21 +1,23 @@ { "swagger": "2.0", "info": { - "version": "2017-08-01", "title": "AzureAnalysisServices", + "version": "2017-08-01", "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" - } + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -28,1259 +30,929 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "AnalysisServicesServers" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}": { + "/providers/Microsoft.AnalysisServices/operations": { "get": { - "description": "Gets details about the specified Analysis Services server.", - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/getServer.json" + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers": { + "get": { + "operationId": "AnalysisServicesServers_ListByResourceGroup", + "tags": [ + "AnalysisServicesServers" + ], + "description": "Gets all the Analysis Services servers for the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AnalysisServicesServerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}": { + "get": { + "operationId": "AnalysisServicesServers_GetDetails", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_GetDetails", + "description": "Gets details about the specified Analysis Services server.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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" + "pattern": "^[a-z][a-z0-9]*$" } ], "responses": { "200": { - "description": "OK. The operation was successful.", + "description": "ARM operation completed successfully.", "schema": { "$ref": "#/definitions/AnalysisServicesServer" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } }, "put": { - "description": "Provisions the specified Analysis Services server based on the configuration specified in the request.", - "x-ms-examples": { - "Create a server.": { - "$ref": "./examples/createServer.json" - } - }, + "operationId": "AnalysisServicesServers_Create", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_Create", + "description": "Provisions the specified Analysis Services server based on the configuration specified in the request.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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." + "pattern": "^[a-z][a-z0-9]*$" }, { - "name": "serverParameters", + "name": "resource", "in": "body", + "description": "Resource create parameters.", "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.", + "description": "Resource 'AnalysisServicesServer' update operation succeeded", "schema": { "$ref": "#/definitions/AnalysisServicesServer" } }, "201": { - "description": "InProgress. The operation is still completing.", - "schema": { - "$ref": "#/definitions/AnalysisServicesServer" - } - }, - "202": { - "description": "Preparing. The operation is still completing.", + "description": "Resource 'AnalysisServicesServer' create operation succeeded", "schema": { "$ref": "#/definitions/AnalysisServicesServer" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-long-running-operation": true }, - "delete": { - "description": "Deletes the specified Analysis Services server.", - "x-ms-examples": { - "Delete a server.": { - "$ref": "./examples/deleteServer.json" - } - }, + "patch": { + "operationId": "AnalysisServicesServers_Update", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_Delete", + "description": "Updates the current state of the specified Analysis Services server.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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." + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/AnalysisServicesServerUpdate" + } } ], "responses": { "200": { - "description": "OK." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AnalysisServicesServer" + } }, "202": { - "description": "Accepted." - }, - "204": { - "description": "No Content." + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-long-running-operation": true }, - "patch": { - "description": "Updates the current state of the specified Analysis Services server.", - "x-ms-examples": { - "Update a server.": { - "$ref": "./examples/updateServer.json" - } - }, + "delete": { + "operationId": "AnalysisServicesServers_Delete", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_Update", + "description": "Deletes the specified Analysis Services server.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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" + "pattern": "^[a-z][a-z0-9]*$" } ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AnalysisServicesServer" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/AnalysisServicesServer" + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/suspend": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/dissociateGateway": { "post": { - "description": "Suspends operation of the specified Analysis Services server instance.", - "x-ms-examples": { - "Suspend a server.": { - "$ref": "./examples/suspendServer.json" - } - }, + "operationId": "AnalysisServicesServers_DissociateGateway", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_Suspend", + "description": "Dissociates a Unified Gateway associated with the server.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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" + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "object" + } } ], "responses": { "200": { - "description": "OK." - }, - "202": { - "description": "Accepted." + "description": "ARM operation completed successfully.", + "schema": { + "type": "object" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/resume": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { "post": { - "description": "Resumes operation of the specified Analysis Services server instance.", - "x-ms-examples": { - "Resume a server.": { - "$ref": "./examples/resumeServer.json" - } - }, + "operationId": "AnalysisServicesServers_ListGatewayStatus", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_Resume", + "description": "Return the gateway status of the specified Analysis Services server instance.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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." + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "object" + } } ], "responses": { "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/GatewayListStatusLive" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "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.", - "x-ms-examples": { - "List existing servers in the resource group.": { - "$ref": "./examples/listServersInResourceGroup.json" - } - }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/resume": { + "post": { + "operationId": "AnalysisServicesServers_Resume", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_ListByResourceGroup", + "description": "Resumes operation of the specified Analysis Services server instance.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "serverName", + "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "object" + } } ], "responses": { "200": { - "description": "OK", + "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/AnalysisServicesServers" + "type": "object" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": null - } + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/skus/{resourceGroupName}/{serverName}/{subscriptionId}": { "get": { - "description": "Lists all the Analysis Services servers for the given subscription.", - "x-ms-examples": { - "List existing servers under the subscription.": { - "$ref": "./examples/listServers.json" - } - }, + "operationId": "AnalysisServicesServers_ListSkusForExisting", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_List", + "description": "Lists eligible SKUs for an Analysis Services resource.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "^[-\\w\\._\\(\\)]+$" + }, + { + "name": "serverName", + "in": "path", + "description": "The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "subscriptionId", + "in": "path", + "description": "A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/AnalysisServicesServers" + "$ref": "#/definitions/SkuEnumerationForExistingResourceResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "String error code indicating what went wrong." + } } } - }, - "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" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/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" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/suspend": { "post": { - "description": "Return the gateway status of the specified Analysis Services server instance.", - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/listGatewayStatus.json" - } - }, + "operationId": "AnalysisServicesServers_Suspend", "tags": [ - "Servers" + "AnalysisServicesServers" ], - "operationId": "Servers_ListGatewayStatus", + "description": "Suspends operation of the specified Analysis Services server instance.", "parameters": [ { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "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." + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/dissociateGateway": { - "post": { - "description": "Dissociates a Unified Gateway associated with the server.", - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/dissociateGateway.json" - } - }, - "tags": [ - "Servers" - ], - "operationId": "Servers_DissociateGateway", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "serverName", "in": "path", + "description": "The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.", "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" + "pattern": "^[a-z][a-z0-9]*$" }, { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/checkNameAvailability": { - "post": { - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/checkNameAvailability.json" - } - }, - "tags": [ - "Servers" - ], - "operationId": "Servers_CheckNameAvailability", - "description": "Check the name availability in the target location.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The region name which the operation will lookup into." - }, - { - "name": "serverParameters", + "name": "body", "in": "body", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/CheckServerNameAvailabilityParameters" - }, - "description": "Contains the information used to provision the Analysis Services server." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/CheckServerNameAvailabilityResult" + "type": "object" } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationresults/{operationId}": { - "get": { - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/operationResults.json" - } - }, - "tags": [ - "Servers" - ], - "operationId": "Servers_ListOperationResults", - "description": "List the result of the specified operation.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The region name which the operation will lookup into." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "The target operation Id." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "OK. The operation completed." - }, - "202": { - "description": "Accepted. The operation is ongoing." - }, - "default": { - "description": "Error response describing why the operation failed.", + "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}": { - "get": { - "x-ms-examples": { - "Get details of a server": { - "$ref": "./examples/operationStatuses.json" - } - }, - "tags": [ - "Servers" - ], - "operationId": "Servers_ListOperationStatuses", - "description": "List the status of operation.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The region name which the operation will lookup into." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "The target operation Id." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK. The operation completed.", - "schema": { - "$ref": "#/definitions/OperationStatus" + "type": "object" } }, "202": { - "description": "Accepted. The operation is ongoing.", - "schema": { - "$ref": "#/definitions/OperationStatus" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/providers/Microsoft.AnalysisServices/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists all of the available consumption REST API operations.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } } }, "definitions": { - "Operation": { - "description": "A Consumption REST API operation.", + "AnalysisServicesServer": { "type": "object", + "description": "Represents an instance of an Analysis Services resource.", "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string", - "readOnly": true - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft.Consumption.", - "type": "string", - "readOnly": true - }, - "resource": { - "description": "Resource on which the operation is performed: UsageDetail, etc.", - "type": "string", - "readOnly": true - }, - "operation": { - "description": "Operation type: Read, write, delete, etc.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "Description of the operation object.", - "type": "string", - "readOnly": true - } - } - }, - "origin": { - "description": "The origin", - "type": "string", - "readOnly": true - }, "properties": { - "description": "Additional properties to expose performance metrics to shoebox.", - "properties": { - "serviceSpecification": { - "description": "Performance metrics to shoebox.", - "properties": { - "metricSpecifications": { - "description": "The metric specifications.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/MetricSpecifications" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "description": "The log specifications.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/LogSpecifications" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - } - } + "$ref": "#/definitions/AnalysisServicesServerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] }, - "MetricSpecifications": { - "description": "Available operation metric specification for exposing performance metrics to shoebox.", + "AnalysisServicesServerListResult": { "type": "object", + "description": "The response of a AnalysisServicesServer list operation.", "properties": { - "name": { - "description": "The name of metric.", - "type": "string", - "readOnly": true - }, - "displayName": { - "description": "The displayed name of metric.", - "type": "string", - "readOnly": true - }, - "displayDescription": { - "description": "The displayed description of metric.", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "The unit of the metric.", - "type": "string", - "readOnly": true - }, - "aggregationType": { - "description": "The aggregation type of metric.", - "type": "string", - "readOnly": true - }, - "dimensions": { - "description": "The dimensions of metric.", + "value": { "type": "array", - "readOnly": true, + "description": "The AnalysisServicesServer items on this page", "items": { - "$ref": "#/definitions/MetricDimensions" - }, - "x-ms-identifiers": [ - "name" - ] + "$ref": "#/definitions/AnalysisServicesServer" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "LogSpecifications": { - "description": "The log metric specification for exposing performance metrics to shoebox.", + "AnalysisServicesServerProperties": { "type": "object", + "description": "Properties of Analysis Services resource.", "properties": { - "name": { - "description": "The name of metric.", - "type": "string", + "state": { + "$ref": "#/definitions/State", + "description": "The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning.", "readOnly": true }, - "displayName": { - "description": "The displayed name of log.", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning.", "readOnly": true }, - "blobDuration": { - "description": "The blob duration for the log.", + "serverFullName": { "type": "string", + "description": "The full name of the Analysis Services resource.", "readOnly": true + }, + "sku": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceSku", + "description": "The SKU of the Analysis Services resource." } } }, - "MetricDimensions": { - "description": "Metric dimension.", + "AnalysisServicesServerUpdate": { "type": "object", + "description": "The type used for update operations of the AnalysisServicesServer.", "properties": { - "name": { - "description": "Dimension name.", - "type": "string", - "readOnly": true + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, - "displayName": { - "description": "Dimension display name.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/AnalysisServicesServerUpdateProperties", + "x-ms-client-flatten": true } } }, - "OperationListResult": { - "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.", + "AnalysisServicesServerUpdateProperties": { + "type": "object", + "description": "The updatable properties of the AnalysisServicesServer.", "properties": { - "value": { - "description": "List of analysis services operations supported by the Microsoft.AnalysisServices resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "URL to get the next set of operation list results if there are any.", - "type": "string", - "readOnly": true + "sku": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceSkuUpdate", + "description": "The SKU of the Analysis Services resource." } } }, - "Resource": { - "description": "Represents an instance of an Analysis Services resource.", + "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { - "id": { + "code": { "type": "string", - "readOnly": true, - "description": "An identifier that represents the Analysis Services resource." + "description": "One of a server-defined set of error codes." }, - "name": { + "message": { "type": "string", - "readOnly": true, - "description": "The name of the Analysis Services resource." + "description": "A human-readable representation of the error." }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of the Analysis Services resource." - }, - "location": { + "target": { "type": "string", - "description": "Location of the Analysis Services resource.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sku": { - "$ref": "#/definitions/ResourceSku", - "description": "The SKU of the Analysis Services resource." + "description": "The target of the error." }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" + "details": { + "type": "array", + "description": "An array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "description": "Key-value pairs of additional resource provisioning properties." + "x-ms-identifiers": [] + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "An object containing more specific information than the current object about the error." } }, "required": [ - "location", - "sku" - ], - "x-ms-azure-resource": true + "code", + "message" + ] }, - "AnalysisServicesServer": { - "description": "Represents an instance of an Analysis Services resource.", + "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AnalysisServicesServerProperties", - "description": "Properties of the provision operation request." + "error": { + "$ref": "#/definitions/Azure.Core.Foundations.Error", + "description": "The error object." } }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } + "required": [ + "error" ] }, - "AnalysisServicesServers": { - "description": "An array of Analysis Services resources.", + "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AnalysisServicesServer" - }, - "description": "An array of Analysis Services resources." + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "Inner error." } - }, - "required": [ - "value" - ] + } }, - "AnalysisServicesServerUpdateParameters": { - "description": "Provision request specification", + "Azure.ResourceManager.ResourceSku": { "type": "object", + "description": "The SKU (Stock Keeping Unit) assigned to this resource.", "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." + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." } } }, - "AnalysisServicesServerProperties": { - "description": "Properties of Analysis Services resource.", + "Azure.ResourceManager.ResourceSkuUpdate": { "type": "object", + "description": "The SKU (Stock Keeping Unit) assigned to this resource.", "properties": { - "state": { + "sku": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "description": "The SKU (Stock Keeping Unit) assigned to this resource." + } + } + }, + "CheckServerNameAvailabilityParameters": { + "type": "object", + "description": "Details of server name request body.", + "properties": { + "name": { "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." + "description": "Name for checking availability.", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" }, - "provisioningState": { + "type": { "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." + "description": "The resource type of azure analysis services." + } + } + }, + "CheckServerNameAvailabilityResult": { + "type": "object", + "description": "The checking result of server name availability.", + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Indicator of available of the server name." }, - "serverFullName": { + "reason": { "type": "string", - "readOnly": true, - "description": "The full name of the Analysis Services resource." + "description": "The reason of unavailability." }, - "sku": { - "$ref": "#/definitions/ResourceSku", - "description": "The SKU of the Analysis Services resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/AnalysisServicesServerMutableProperties" + "message": { + "type": "string", + "description": "The detailed message of the request unavailability." } - ] + } }, - "ResourceSku": { - "description": "Represents the SKU name and Azure pricing tier for Analysis Services resource.", + "ConnectionMode": { + "type": "string", + "enum": [ + "All", + "ReadOnly" + ], + "x-ms-enum": { + "name": "ConnectionMode", + "modelAsString": false + } + }, + "GatewayDetails": { "type": "object", + "description": "The gateway details.", "properties": { - "name": { + "gatewayResourceId": { "type": "string", - "description": "Name of the SKU level." + "description": "Gateway resource to be associated with the server." }, - "tier": { + "gatewayObjectId": { "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." + "description": "Gateway object id from in the DMTS cluster for the gateway resource.", + "readOnly": true }, - "capacity": { - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 8, - "default": 1, - "description": "The number of instances in the read only query pool." + "dmtsClusterUri": { + "type": "string", + "description": "Uri of the DMTS cluster.", + "readOnly": true } - }, - "required": [ - "name" - ] + } + }, + "GatewayListStatusError": { + "type": "object", + "description": "Status of gateway is error." }, - "AnalysisServicesServerMutableProperties": { - "description": "An object that represents a set of mutable Analysis Services resource properties.", + "GatewayListStatusLive": { "type": "object", + "description": "Status of gateway is live.", "properties": { - "asAdministrators": { - "$ref": "#/definitions/ServerAdministrators", - "description": "A collection of AS server administrators" - }, - "backupBlobContainerUri": { - "type": "string", - "description": "The SAS container URI to the backup container." - }, - "gatewayDetails": { - "$ref": "#/definitions/GatewayDetails", - "description": "The gateway details configured for the AS server." - }, - "ipV4FirewallSettings": { - "$ref": "#/definitions/IPv4FirewallSettings", - "description": "The firewall settings 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" - }, - "managedMode": { - "type": "integer", - "format": "int32", - "enum": [ - 0, - 1 - ], - "x-ms-enum": { - "modelAsString": false, - "name": "ManagedMode" - }, - "default": 1, - "description": "The managed mode of the server (0 = not managed, 1 = managed)." - }, - "serverMonitorMode": { - "type": "integer", - "format": "int32", + "status": { + "type": "number", + "description": "Live message of list gateway. Status: 0 - Live", "enum": [ - 0, - 1 - ], - "x-ms-enum": { - "modelAsString": false, - "name": "ServerMonitorMode" - }, - "default": 1, - "description": "The server monitor mode for AS server" + 0 + ] } } }, - "ServerAdministrators": { - "description": "An array of administrator user identities.", + "IPv4FirewallRule": { "type": "object", + "description": "The detail of firewall rule.", "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." + "firewallRuleName": { + "type": "string", + "description": "The rule name." + }, + "rangeStart": { + "type": "string", + "description": "The start range of IPv4." + }, + "rangeEnd": { + "type": "string", + "description": "The end range of IPv4." } } }, "IPv4FirewallSettings": { - "description": "An array of firewall rules.", "type": "object", + "description": "An array of firewall rules.", "properties": { "firewallRules": { "type": "array", + "description": "An array of firewall rules.", "items": { - "$ref": "#/definitions/IPv4FirewallRule", - "description": "The content of firewall rule." + "$ref": "#/definitions/IPv4FirewallRule" }, - "x-ms-identifiers": [ - "firewallRuleName" - ], - "description": "An array of firewall rules." + "x-ms-identifiers": [] }, "enablePowerBIService": { "type": "boolean", @@ -1288,116 +960,120 @@ } } }, - "IPv4FirewallRule": { - "description": "The detail of firewall rule.", + "LogSpecifications": { "type": "object", + "description": "The log metric specification for exposing performance metrics to shoebox.", "properties": { - "firewallRuleName": { + "name": { "type": "string", - "description": "The rule name." + "description": "The name of metric.", + "readOnly": true }, - "rangeStart": { + "displayName": { "type": "string", - "description": "The start range of IPv4." + "description": "The displayed name of log.", + "readOnly": true }, - "rangeEnd": { + "blobDuration": { "type": "string", - "description": "The end range of IPv4." + "description": "The blob duration for the log.", + "readOnly": true } } }, - "GatewayDetails": { - "description": "The gateway details.", + "MetricDimensions": { "type": "object", + "description": "Metric dimension.", "properties": { - "gatewayResourceId": { - "type": "string", - "description": "Gateway resource to be associated with the server." - }, - "gatewayObjectId": { + "name": { "type": "string", - "readOnly": true, - "description": "Gateway object id from in the DMTS cluster for the gateway resource." + "description": "Dimension name.", + "readOnly": true }, - "dmtsClusterUri": { + "displayName": { "type": "string", - "readOnly": true, - "description": "Uri of the DMTS cluster." + "description": "Dimension display name.", + "readOnly": true } } }, - "GatewayListStatusLive": { - "description": "Status of gateway is live.", + "MetricSpecifications": { "type": "object", + "description": "Available operation metric specification for exposing performance metrics to shoebox.", "properties": { - "status": { - "type": "integer", - "format": "int32", - "enum": [ - 0 - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": false + "name": { + "type": "string", + "description": "The name of metric.", + "readOnly": true + }, + "displayName": { + "type": "string", + "description": "The displayed name of metric.", + "readOnly": true + }, + "displayDescription": { + "type": "string", + "description": "The displayed description of metric.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "The unit of the metric.", + "readOnly": true + }, + "aggregationType": { + "type": "string", + "description": "The aggregation type of metric.", + "readOnly": true + }, + "dimensions": { + "type": "array", + "description": "The dimensions of metric.", + "items": { + "$ref": "#/definitions/MetricDimensions" }, - "description": "Live message of list gateway. Status: 0 - Live" - } - } - }, - "GatewayListStatusError": { - "description": "Status of gateway is error.", - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/GatewayError", - "description": "Error of the list gateway status." + "readOnly": true, + "x-ms-identifiers": [] } } }, - "GatewayError": { - "description": "Detail of gateway errors.", - "type": "object", - "$ref": "#/definitions/ErrorDetail" - }, - "CheckServerNameAvailabilityParameters": { - "description": "Details of server name request body.", + "OperationProperties": { "type": "object", + "description": "Additional properties to expose performance metrics to shoebox.", "properties": { - "name": { - "type": "string", - "pattern": "^[a-z][a-z0-9]*$", - "minLength": 3, - "maxLength": 63, - "description": "Name for checking availability." - }, - "type": { - "type": "string", - "default": "Microsoft.AnalysisServices/servers", - "description": "The resource type of azure analysis services." + "serviceSpecification": { + "$ref": "#/definitions/OperationPropertiesServiceSpecification", + "description": "Performance metrics to shoebox." } } }, - "CheckServerNameAvailabilityResult": { - "description": "The checking result of server name availability.", + "OperationPropertiesServiceSpecification": { "type": "object", + "description": "Performance metrics to shoebox.", "properties": { - "nameAvailable": { - "type": "boolean", - "description": "Indicator of available of the server name." - }, - "reason": { - "type": "string", - "description": "The reason of unavailability." + "metricSpecifications": { + "type": "array", + "description": "The metric specifications.", + "items": { + "$ref": "#/definitions/MetricSpecifications" + }, + "readOnly": true, + "x-ms-identifiers": [] }, - "message": { - "type": "string", - "description": "The detailed message of the request unavailability." + "logSpecifications": { + "type": "array", + "description": "The log specifications.", + "items": { + "$ref": "#/definitions/LogSpecifications" + }, + "readOnly": true, + "x-ms-identifiers": [] } } }, "OperationStatus": { - "description": "The status of operation.", "type": "object", + "description": "The status of operation.", "properties": { "id": { "type": "string", @@ -1418,52 +1094,49 @@ "status": { "type": "string", "description": "The status of the operation." - }, - "error": { - "type": "object", - "description": "The error detail of the operation if any.", - "$ref": "#/definitions/ErrorDetail" } } }, - "SkuEnumerationForNewResourceResult": { - "description": "An object that represents enumerating SKUs for new resources.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSku" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "The collection of available SKUs for new resources." - } + "ProvisioningState": { + "type": "string", + "enum": [ + "Deleting", + "Succeeded", + "Failed", + "Paused", + "Suspended", + "Provisioning", + "Updating", + "Suspending", + "Pausing", + "Resuming", + "Preparing", + "Scaling" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, - "SkuEnumerationForExistingResourceResult": { - "description": "An object that represents enumerating SKUs for existing resources.", + "ServerAdministrators": { "type": "object", + "description": "An array of administrator user identities.", "properties": { - "value": { + "members": { "type": "array", + "description": "An array of administrator user identities.", "items": { - "$ref": "#/definitions/SkuDetailsForExistingResource" - }, - "x-ms-identifiers": [ - "sku/name" - ], - "description": "The collection of available SKUs for existing resources." + "type": "string" + } } } }, "SkuDetailsForExistingResource": { - "description": "An object that represents SKU details for existing resources.", "type": "object", + "description": "An object that represents SKU details for existing resources.", "properties": { "sku": { - "$ref": "#/definitions/ResourceSku", + "$ref": "#/definitions/Azure.ResourceManager.ResourceSku", "description": "The SKU in SKU details for existing resources." }, "resourceType": { @@ -1472,115 +1145,81 @@ } } }, - "ErrorDetail": { - "description": "The error detail.", + "SkuEnumerationForExistingResourceResult": { + "type": "object", + "description": "An object that represents enumerating SKUs for existing resources.", "properties": { - "code": { - "readOnly": true, - "type": "string", - "description": "The error code." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "The error message." - }, - "target": { - "readOnly": true, - "type": "string", - "description": "The error target." - }, - "subCode": { - "readOnly": true, - "description": "The error sub code", - "type": "integer", - "format": "int32" - }, - "httpStatusCode": { - "readOnly": true, - "description": "The http status code", - "type": "integer", - "format": "int32" - }, - "timeStamp": { - "readOnly": true, - "description": "the timestamp for the error.", - "type": "string" - }, - "details": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ErrorDetail" - }, - "x-ms-identifiers": [ - "message", - "target" - ], - "description": "The error details." - }, - "additionalInfo": { - "readOnly": true, + "value": { "type": "array", + "description": "The collection of available SKUs for existing resources.", "items": { - "$ref": "#/definitions/ErrorAdditionalInfo" + "$ref": "#/definitions/SkuDetailsForExistingResource" }, - "x-ms-identifiers": [], - "description": "The error additional info." + "x-ms-identifiers": [] } } }, - "ErrorAdditionalInfo": { - "properties": { - "type": { - "readOnly": true, - "type": "string", - "description": "The additional info type." - }, - "info": { - "readOnly": true, - "type": "object", - "description": "The additional info." - } - }, - "description": "The resource management error additional info." + "SkuTier": { + "type": "string", + "enum": [ + "Development", + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } }, - "ErrorResponse": { - "description": "Describes the format of Error response.", - "type": "object", - "properties": { - "error": { - "description": "The error object", - "$ref": "#/definitions/ErrorDetail" - } + "State": { + "type": "string", + "enum": [ + "Deleting", + "Succeeded", + "Failed", + "Paused", + "Suspended", + "Provisioning", + "Updating", + "Suspending", + "Pausing", + "Resuming", + "Preparing", + "Scaling" + ], + "x-ms-enum": { + "name": "State", + "modelAsString": true + } + }, + "Versions": { + "type": "string", + "description": "The available API versions.", + "enum": [ + "2017-08-01" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2017_08_01", + "value": "2017-08-01" + } + ] } } }, "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": { + "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", + "description": "The API version to use for this operation.", "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." + "x-ms-client-name": "apiVersion" } } }