@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AzureAnalysisServices
@base https://management.azure.com
@version 2017-08-01
@auth OAuth2
@common_fields {api-version: any # The client API version.}
@endpoints 16
@toc subscriptions(15), providers(1)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}
@desc Gets details about the specified Analysis Services server.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK. The operation was successful.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}
@desc Provisions the specified Analysis Services server based on the configuration specified in the request.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63., serverParameters: map # Contains the information used to provision the Analysis Services server., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK. The operation completed successfully.
@returns(201) InProgress. The operation is still completing.
@returns(202) Preparing. The operation is still completing.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}
@desc Deletes the specified Analysis Services server.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK.
@returns(202) Accepted.
@returns(204) No Content.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}
@desc Updates the current state of the specified Analysis Services server.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., serverUpdateParameters: map # Request object that contains the updated information for the server., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK
@returns(202) Accepted

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/suspend
@desc Suspends operation of the specified Analysis Services server instance.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK.
@returns(202) Accepted.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/resume
@desc Resumes operation of the specified Analysis Services server instance.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK
@returns(202) Accepted

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers
@desc Gets all the Analysis Services servers for the given resource group.
@required {resourceGroupName: any # 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., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers
@desc Lists all the Analysis Services servers for the given subscription.
@required {subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/skus
@desc Lists eligible SKUs for Analysis Services resource provider.
@required {subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/skus
@desc Lists eligible SKUs for an Analysis Services resource.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/listGatewayStatus
@desc Return the gateway status of the specified Analysis Services server instance.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/dissociateGateway
@desc Dissociates a Unified Gateway associated with the server.
@required {resourceGroupName: any # 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., serverName: any # The name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK.

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/checkNameAvailability
@desc Check the name availability in the target location.
@required {location: any # The region name which the operation will lookup into., serverParameters: map # Contains the information used to provision the Analysis Services server., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK. The request has succeeded.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationresults/{operationId}
@desc List the result of the specified operation.
@required {location: any # The region name which the operation will lookup into., operationId: any # The target operation Id., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK. The operation completed.
@returns(202) Accepted. The operation is ongoing.

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}
@desc List the status of operation.
@required {location: any # The region name which the operation will lookup into., operationId: any # The target operation Id., subscriptionId: any # A unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.}
@returns(200) OK. The operation completed.
@returns(202) Accepted. The operation is ongoing.

@endgroup

@group providers
@endpoint GET /providers/Microsoft.AnalysisServices/operations
@desc Lists all of the available consumption REST API operations.
@returns(200) OK. The request has succeeded.

@endgroup

@end
