{"openapi":"3.0.0","info":{"title":"KustoManagementClient","version":"2019-09-07","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-09-07/kusto.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"azure-kusto","x-tags":["Azure","Microsoft"]},"paths":{"/providers/Microsoft.Kusto/operations":{"get":{"description":"Lists available operations for the Microsoft.Kusto provider.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The operation was successful. The response contains the list of available operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"KustoOperationsList":{"$ref":"#/components/examples/KustoOperationsList"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters":{"get":{"description":"Lists all Kusto clusters within a subscription.","operationId":"Clusters_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterListResult"},"examples":{"KustoClustersList":{"$ref":"#/components/examples/KustoClustersList"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability":{"post":{"description":"Checks that the cluster name is valid and is not already in use.","operationId":"Clusters_CheckNameAvailability","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"Azure location.","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"KustoClustersCheckNameAvailability":{"value":"wus"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterCheckNameRequest"}}},"description":"The name of the cluster.","required":true},"responses":{"200":{"description":"OK -- Operation to check the kusto resource name availability was successful.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameResult"},"examples":{"KustoClustersCheckNameAvailability":{"$ref":"#/components/examples/KustoClustersCheckNameAvailability"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus":{"get":{"description":"Lists eligible SKUs for Kusto resource provider.","operationId":"Clusters_ListSkus","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuDescriptionList"},"examples":{"KustoClustersListSkus":{"$ref":"#/components/examples/KustoClustersListSkus"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters":{"get":{"description":"Lists all Kusto clusters within a resource group.","operationId":"Clusters_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterListResult"},"examples":{"KustoClustersListByResourceGroup":{"$ref":"#/components/examples/KustoClustersListByResourceGroup"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}":{"delete":{"description":"Deletes a Kusto cluster.","operationId":"Clusters_Delete","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK -- cluster deleted successfully."},"202":{"description":"Accepted the delete cluster request."},"204":{"description":"NoContent -- cluster does not exist in the subscription."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true},"get":{"description":"Gets a Kusto cluster.","operationId":"Clusters_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The Kusto cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersGet":{"$ref":"#/components/examples/KustoClustersGet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"]},"patch":{"description":"Update a Kusto cluster.","operationId":"Clusters_Update","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterUpdate"}}},"description":"The Kusto cluster parameters supplied to the Update operation.","required":true},"responses":{"200":{"description":"Successfully updated the Cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersUpdate":{"$ref":"#/components/examples/KustoClustersUpdate"}}}}},"201":{"description":"Successfully updated the cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersUpdate":{"$ref":"#/components/examples/KustoClustersUpdate"}}}}},"202":{"description":"Successfully updated the cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersUpdate":{"$ref":"#/components/examples/KustoClustersUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a Kusto cluster.","operationId":"Clusters_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"}}},"description":"The Kusto cluster parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"Successfully updated the Cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersCreateOrUpdate":{"$ref":"#/components/examples/KustoClustersCreateOrUpdate"}}}}},"201":{"description":"Successfully created the cluster.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cluster"},"examples":{"KustoClustersCreateOrUpdate":{"$ref":"#/components/examples/KustoClustersCreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations":{"get":{"description":"Returns the list of attached database configurations of the given Kusto cluster.","operationId":"AttachedDatabaseConfigurations_ListByCluster","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of attached database configurations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfigurationListResult"},"examples":{"KustoAttachedDatabaseConfigurationsListByCluster":{"$ref":"#/components/examples/KustoAttachedDatabaseConfigurationsListByCluster"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AttachedDatabaseConfigurations"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}":{"delete":{"description":"Deletes the attached database configuration with the given name.","operationId":"AttachedDatabaseConfigurations_Delete","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/AttachedDatabaseConfigurationNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully deleted the database."},"202":{"description":"Accepted."},"204":{"description":"The specified database does not exist."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AttachedDatabaseConfigurations"],"x-ms-long-running-operation":true},"get":{"description":"Returns an attached database configuration.","operationId":"AttachedDatabaseConfigurations_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/AttachedDatabaseConfigurationNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the specified attached database configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"},"examples":{"AttachedDatabaseConfigurationsGet":{"$ref":"#/components/examples/AttachedDatabaseConfigurationsGet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AttachedDatabaseConfigurations"]},"put":{"description":"Creates or updates an attached database configuration.","operationId":"AttachedDatabaseConfigurations_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/AttachedDatabaseConfigurationNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"}}},"description":"The database parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"Successfully updated the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"},"examples":{"AttachedDatabaseConfigurationsCreateOrUpdate":{"$ref":"#/components/examples/AttachedDatabaseConfigurationsCreateOrUpdate"}}}}},"201":{"description":"Successfully created the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"},"examples":{"AttachedDatabaseConfigurationsCreateOrUpdate":{"$ref":"#/components/examples/AttachedDatabaseConfigurationsCreateOrUpdate"}}}}},"202":{"description":"Accepted the create database request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"},"examples":{"AttachedDatabaseConfigurationsCreateOrUpdate":{"$ref":"#/components/examples/AttachedDatabaseConfigurationsCreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AttachedDatabaseConfigurations"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkNameAvailability":{"post":{"description":"Checks that the database name is valid and is not already in use.","operationId":"Databases_CheckNameAvailability","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameRequest"}}},"description":"The name of the resource.","required":true},"responses":{"200":{"description":"OK -- Operation to check the kusto resource name availability was successful.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameResult"},"examples":{"KustoDatabaseCheckNameAvailability":{"$ref":"#/components/examples/KustoDatabaseCheckNameAvailability"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases":{"get":{"description":"Returns the list of databases of the given Kusto cluster.","operationId":"Databases_ListByCluster","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of databases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseListResult"},"examples":{"KustoDatabasesListByCluster":{"$ref":"#/components/examples/KustoDatabasesListByCluster"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}":{"delete":{"description":"Deletes the database with the given name.","operationId":"Databases_Delete","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully deleted the database."},"202":{"description":"Accepted."},"204":{"description":"The specified database does not exist."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"],"x-ms-long-running-operation":true},"get":{"description":"Returns a database.","operationId":"Databases_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the specified database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesGet":{"$ref":"#/components/examples/KustoDatabasesGet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"]},"patch":{"description":"Updates a database.","operationId":"Databases_Update","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}},"description":"The database parameters supplied to the Update operation.","required":true},"responses":{"200":{"description":"Successfully updated the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesUpdate":{"$ref":"#/components/examples/KustoDatabasesUpdate"}}}}},"201":{"description":"Successfully updated the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesUpdate":{"$ref":"#/components/examples/KustoDatabasesUpdate"}}}}},"202":{"description":"Accepted the update database request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesUpdate":{"$ref":"#/components/examples/KustoDatabasesUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"],"x-ms-long-running-operation":true},"put":{"description":"Creates or updates a database.","operationId":"Databases_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}},"description":"The database parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"Successfully updated the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesCreateOrUpdate":{"$ref":"#/components/examples/KustoDatabasesCreateOrUpdate"}}}}},"201":{"description":"Successfully created the database.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesCreateOrUpdate":{"$ref":"#/components/examples/KustoDatabasesCreateOrUpdate"}}}}},"202":{"description":"Accepted the create database request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"},"examples":{"KustoDatabasesCreateOrUpdate":{"$ref":"#/components/examples/KustoDatabasesCreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/addPrincipals":{"post":{"description":"Add Database principals permissions.","operationId":"Databases_AddPrincipals","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasePrincipalListRequest"}}},"description":"List of database principals to add.","required":true},"responses":{"200":{"description":"OK -- Successfully added the list of database principals. Returns the updated list of principals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasePrincipalListResult"},"examples":{"KustoDatabaseAddPrincipals":{"$ref":"#/components/examples/KustoDatabaseAddPrincipals"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/checkNameAvailability":{"post":{"description":"Checks that the data connection name is valid and is not already in use.","operationId":"DataConnections_CheckNameAvailability","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnectionCheckNameRequest"}}},"description":"The name of the data connection.","required":true},"responses":{"200":{"description":"OK -- Operation to check the Kusto resource name availability was successful.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckNameResult"},"examples":{"KustoDataConnectionsCheckNameAvailability":{"$ref":"#/components/examples/KustoDataConnectionsCheckNameAvailability"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnectionValidation":{"post":{"description":"Checks that the data connection parameters are valid.","operationId":"DataConnections_dataConnectionValidation","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnectionValidation"}}},"description":"The data connection parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"OK -- Operation to check the kusto resource name availability was successful.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnectionValidationListResult"},"examples":{"KustoDataConnectionValidation":{"$ref":"#/components/examples/KustoDataConnectionValidation"}}}}}},"tags":["DataConnections"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections":{"get":{"description":"Returns the list of data connections of the given Kusto database.","operationId":"DataConnections_ListByDatabase","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of data connections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnectionListResult"},"examples":{"KustoDatabasesListByCluster":{"$ref":"#/components/examples/KustoDatabasesListByCluster"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}":{"delete":{"description":"Deletes the data connection with the given name.","operationId":"DataConnections_Delete","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/DataConnectionNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully deleted the data connection."},"202":{"description":"Accepted."},"204":{"description":"The specified data connection does not exist."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"],"x-ms-long-running-operation":true},"get":{"description":"Returns a data connection.","operationId":"DataConnections_Get","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/DataConnectionNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the specified data connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsGet":{"$ref":"#/components/examples/KustoDataConnectionsGet"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"]},"patch":{"description":"Updates a data connection.","operationId":"DataConnections_Update","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/DataConnectionNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"}}},"description":"The data connection parameters supplied to the Update operation.","required":true},"responses":{"200":{"description":"Successfully updated the data connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsUpdate":{"$ref":"#/components/examples/KustoDataConnectionsUpdate"}}}}},"201":{"description":"Successfully updated the data connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsUpdate":{"$ref":"#/components/examples/KustoDataConnectionsUpdate"}}}}},"202":{"description":"Accepted the update data connection request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsUpdate":{"$ref":"#/components/examples/KustoDataConnectionsUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"],"x-ms-long-running-operation":true},"put":{"description":"Creates or updates a data connection.","operationId":"DataConnections_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/DataConnectionNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"}}},"description":"The data connection parameters supplied to the CreateOrUpdate operation.","required":true},"responses":{"200":{"description":"Successfully updated the data connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsCreateOrUpdate":{"$ref":"#/components/examples/KustoDataConnectionsCreateOrUpdate"}}}}},"201":{"description":"Successfully created the data connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsCreateOrUpdate":{"$ref":"#/components/examples/KustoDataConnectionsCreateOrUpdate"}}}}},"202":{"description":"Accepted the create data connection request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataConnection"},"examples":{"KustoDataConnectionsCreateOrUpdate":{"$ref":"#/components/examples/KustoDataConnectionsCreateOrUpdate"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["DataConnections"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/listPrincipals":{"post":{"description":"Returns a list of database principals of the given Kusto cluster and database.","operationId":"Databases_ListPrincipals","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of database principals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasePrincipalListResult"},"examples":{"KustoDatabaseListPrincipals":{"$ref":"#/components/examples/KustoDatabaseListPrincipals"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/removePrincipals":{"post":{"description":"Remove Database principals permissions.","operationId":"Databases_RemovePrincipals","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/DatabaseNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasePrincipalListRequest"}}},"description":"List of database principals to remove.","required":true},"responses":{"200":{"description":"OK -- Successfully removed the list of database principals. Returns the updated list of principals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasePrincipalListResult"},"examples":{"KustoDatabaseRemovePrincipals":{"$ref":"#/components/examples/KustoDatabaseRemovePrincipals"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Databases"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/detachFollowerDatabases":{"post":{"description":"Detaches all followers of a database owned by this cluster.","operationId":"Clusters_DetachFollowerDatabases","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowerDatabaseDefinition"}}},"description":"The follower databases properties to remove.","required":true},"responses":{"200":{"description":"OK."},"202":{"description":"Accepted"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases":{"post":{"description":"Returns a list of databases that are owned by this cluster and were followed by another cluster.","operationId":"Clusters_ListFollowerDatabases","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully retrieved the list of followed databases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowerDatabaseListResult"},"examples":{"KustoClusterListFollowerDatabases":{"$ref":"#/components/examples/KustoClusterListFollowerDatabases"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/skus":{"get":{"description":"Returns the SKUs available for the provided resource.","operationId":"Clusters_ListSkusByResource","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResourceSkusResult"},"examples":{"KustoClustersListResourceSkus":{"$ref":"#/components/examples/KustoClustersListResourceSkus"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/start":{"post":{"description":"Starts a Kusto cluster.","operationId":"Clusters_Start","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK."},"202":{"description":"Accepted."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/stop":{"post":{"description":"Stops a Kusto cluster.","operationId":"Clusters_Stop","parameters":[{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/ClusterNameParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK."},"202":{"description":"Accepted"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Clusters"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"KustoOperationsList":{"value":{"value":[{"display":{"description":"operation description","operation":"operationName","provider":"providerName","resource":"resourceName"},"name":"operationName"}]}},"KustoClustersList":{"value":{"value":[{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","location":"westus","name":"KustoClusterRPTest4","properties":{"keyVaultProperties":{"keyName":"keyName","keyVaultUri":"https://dummy.keyvault.com","keyVersion":"keyVersion"},"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"},{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3","location":"westus","name":"KustoClusterRPTest3","properties":{"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"}]}},"KustoClustersCheckNameAvailability":{"value":{"message":"Name 'kuskusprod' is already taken. Please specify a different name","name":"kuskusprod","nameAvailable":false}},"KustoClustersListSkus":{"value":{"value":[{"locationInfo":[{"location":"West US","zones":["1","2","3"]},{"location":"West Europe","zones":[]}],"locations":["West US","West Europe"],"name":"Standard_D13_v2","tier":"Standard"},{"locationInfo":[{"location":"West US","zones":["1","2","3"]},{"location":"West Europe","zones":[]}],"locations":["West US","West Europe"],"name":"Standard_D14_v2","tier":"Standard"},{"locationInfo":[{"location":"West US","zones":["1","2","3"]},{"location":"West Europe","zones":[]}],"locations":["West US","West Europe"],"name":"L8","tier":"Standard"},{"locationInfo":[{"location":"West US","zones":["1","2","3"]},{"location":"West Europe","zones":[]}],"locations":["West US","West Europe"],"name":"L16","tier":"Standard"}]}},"KustoClustersListByResourceGroup":{"value":{"value":[{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","location":"westus","name":"KustoClusterRPTest4","properties":{"keyVaultProperties":{"keyName":"keyName","keyVaultUri":"https://dummy.keyvault.com","keyVersion":"keyVersion"},"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"},{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3","location":"westus","name":"KustoClusterRPTest3","properties":{"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"}]}},"KustoClustersGet":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","identity":{"principalId":"faabad1f-4876-463c-af9d-6ba2d2d2394c","tenantId":"b932977f-6277-4ab7-a2cd-5bd21f07aaf4","type":"SystemAssigned","userAssignedIdentities":{}},"location":"westus","name":"KustoClusterRPTest4","properties":{"enableStreamingIngest":true,"keyVaultProperties":{"keyName":"keyName","keyVaultUri":"https://dummy.keyvault.com","keyVersion":"keyVersion"},"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"}},"KustoClustersUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","identity":{"principalId":"faabad1f-4876-463c-af9d-6ba2d2d2394c","tenantId":"b932977f-6277-4ab7-a2cd-5bd21f07aaf4","type":"SystemAssigned","userAssignedIdentities":{}},"location":"westus","name":"KustoClusterRPTest4","properties":{"enableStreamingIngest":true,"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"}},"KustoClustersCreateOrUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","identity":{"principalId":"faabad1f-4876-463c-af9d-6ba2d2d2394c","tenantId":"b932977f-6277-4ab7-a2cd-5bd21f07aaf4","type":"SystemAssigned","userAssignedIdentities":{}},"location":"westus","name":"KustoClusterRPTest4","properties":{"enableStreamingIngest":true,"keyVaultProperties":{"keyName":"keyName","keyVaultUri":"https://dummy.keyvault.com","keyVersion":"keyVersion"},"provisioningState":"Succeeded"},"sku":{"capacity":2,"name":"Standard_L8s","tier":"Standard"},"type":"Microsoft.Kusto/Clusters"}},"KustoAttachedDatabaseConfigurationsListByCluster":{"value":{"value":[{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8","properties":{"clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader","databaseName":"db1","defaultPrincipalsModificationKind":"Union","provisioningState":"Succeeded"},"type":"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations"},{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9","location":"westus","name":"KustoClusterRPTest4/KustoDatabase9","properties":{"clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader","databaseName":"db1","defaultPrincipalsModificationKind":"Union","provisioningState":"Succeeded"},"type":"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations"}]}},"AttachedDatabaseConfigurationsGet":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1","location":"westus","name":"KustoClusterRPTest4/attachedDatabaseConfigurations1","properties":{"clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4","databaseName":"*","defaultPrincipalsModificationKind":"Union","provisioningState":"Succeeded"},"type":"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations"}},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1","location":"westus","name":"KustoClusterRPTest4/attachedDatabaseConfigurations1","properties":{"clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader","databaseName":"db1","defaultPrincipalsModificationKind":"Union","provisioningState":"Creating"},"type":"Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations"}},"KustoDatabaseCheckNameAvailability":{"value":{"message":"Name 'kuskus' is already taken. Please specify a different name","name":"kuskus","nameAvailable":false}},"KustoDatabasesListByCluster":{"value":{"value":[{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8","kind":"EventHub","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8","properties":{"consumerGroup":"testConsumerGroup1","eventHubResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1"},"type":"Microsoft.Kusto/Clusters/Databases/DataConnections"},{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9","kind":"EventHub","location":"westus","name":"KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9","properties":{"consumerGroup":"testConsumerGroup2","eventHubResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2"},"type":"Microsoft.Kusto/Clusters/Databases/DataConnections"}]}},"KustoDatabasesGet":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8","kind":"ReadWrite","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8","properties":{"provisioningState":"Succeeded","softDeletePeriod":"P1D"},"type":"Microsoft.Kusto/Clusters/Databases"}},"KustoDatabasesUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8","kind":"ReadWrite","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8","properties":{"provisioningState":"Succeeded","softDeletePeriod":"P1D"},"type":"Microsoft.Kusto/Clusters/Databases"}},"KustoDatabasesCreateOrUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8","kind":"ReadWrite","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8","properties":{"provisioningState":"Succeeded","softDeletePeriod":"P1D"},"type":"Microsoft.Kusto/Clusters/Databases"}},"KustoDatabaseAddPrincipals":{"value":{"value":[{"appId":"","email":"user@microsoft.com","fqn":"aaduser=some_guid","name":"Some User","role":"Admin","type":"User"},{"appId":"","email":"kusto@microsoft.com","fqn":"aadgroup=some_guid","name":"Kusto","role":"Viewer","type":"Group"},{"appId":"some_guid_app_id","email":"","fqn":"aadapp=some_guid_app_id","name":"SomeApp","role":"Admin","type":"App"}]}},"KustoDataConnectionsCheckNameAvailability":{"value":{"message":"Name 'DataConnections8' is already taken. Please specify a different name.","name":"DataConnections8","nameAvailable":false,"reason":"AlreadyExists"}},"KustoDataConnectionValidation":{"value":[{"errorMessage":"event hub namespace does not exist"},{"errorMessage":"database does not exist"}]},"KustoDataConnectionsGet":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8","kind":"EventHub","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8/DataConnections8","properties":{"consumerGroup":"testConsumerGroup1","eventHubResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1"},"type":"Microsoft.Kusto/Clusters/Databases/DataConnections"}},"KustoDataConnectionsUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8","kind":"EventHub","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8/DataConnections8","properties":{"consumerGroup":"testConsumerGroup1","eventHubResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1"},"type":"Microsoft.Kusto/Clusters/Databases/DataConnections"}},"KustoDataConnectionsCreateOrUpdate":{"value":{"id":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8","kind":"EventHub","location":"westus","name":"KustoClusterRPTest4/KustoDatabase8/DataConnections8","properties":{"consumerGroup":"testConsumerGroup1","eventHubResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1"},"type":"Microsoft.Kusto/Clusters/Databases/DataConnections"}},"KustoDatabaseListPrincipals":{"value":{"value":[{"appId":"","email":"user@microsoft.com","fqn":"aaduser=some_guid","name":"Some User","role":"Admin","type":"User"},{"appId":"","email":"kusto@microsoft.com","fqn":"aadgroup=some_guid","name":"Kusto","role":"Viewer","type":"Group"},{"appId":"some_guid_app_id","email":"","fqn":"aadapp=some_guid_app_id","name":"SomeApp","role":"Admin","type":"App"}]}},"KustoDatabaseRemovePrincipals":{"value":{"value":[{"appId":"","email":"user@microsoft.com","fqn":"aaduser=some_guid","name":"Some User","role":"Admin","type":"User"},{"appId":"","email":"kusto@microsoft.com","fqn":"aadgroup=some_guid","name":"Kusto","role":"Viewer","type":"Group"},{"appId":"some_guid_app_id","email":"","fqn":"aadapp=some_guid_app_id","name":"SomeApp","role":"Admin","type":"App"}]}},"KustoClusterListFollowerDatabases":{"value":{"value":[{"attachedDatabaseConfigurationName":"attachedDbConfiguration","clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1","databaseName":"*"},{"attachedDatabaseConfigurationName":"attachedDbConfiguration2","clusterResourceId":"/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4","databaseName":"db1"}]}},"KustoClustersListResourceSkus":{"value":{"value":[{"capacity":{"default":2,"maximum":100,"minimum":2,"scaleType":"automatic"},"resourceType":"clusters","sku":{"name":"Standard_D13_v2","tier":"Standard"}},{"capacity":{"default":2,"maximum":100,"minimum":2,"scaleType":"automatic"},"resourceType":"clusters","sku":{"name":"Standard_D14_v2","tier":"Standard"}},{"capacity":{"default":2,"maximum":100,"minimum":2,"scaleType":"automatic"},"resourceType":"clusters","sku":{"name":"Standard_L8s","tier":"Standard"}},{"capacity":{"default":2,"maximum":100,"minimum":2,"scaleType":"automatic"},"resourceType":"clusters","sku":{"name":"Standard_L16s","tier":"Standard"}}]}}},"parameters":{"ApiVersionParameter":{"description":"Client API Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"KustoOperationsList":{"value":"2019-09-07"},"KustoClustersList":{"value":"2019-09-07"},"KustoClustersCheckNameAvailability":{"value":"2019-09-07"},"KustoClustersListSkus":{"value":"2019-09-07"},"KustoClustersListByResourceGroup":{"value":"2019-09-07"},"KustoClustersDelete":{"value":"2019-09-07"},"KustoClustersGet":{"value":"2019-09-07"},"KustoClustersUpdate":{"value":"2019-09-07"},"KustoClustersCreateOrUpdate":{"value":"2019-09-07"},"KustoAttachedDatabaseConfigurationsListByCluster":{"value":"2019-09-07"},"AttachedDatabaseConfigurationsDelete":{"value":"2019-09-07"},"AttachedDatabaseConfigurationsGet":{"value":"2019-09-07"},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":"2019-09-07"},"KustoDatabaseCheckNameAvailability":{"value":"2019-09-07"},"KustoDatabasesListByCluster":{"value":"2019-09-07"},"KustoDatabasesDelete":{"value":"2019-09-07"},"KustoDatabasesGet":{"value":"2019-09-07"},"KustoDatabasesUpdate":{"value":"2019-09-07"},"KustoDatabasesCreateOrUpdate":{"value":"2019-09-07"},"KustoDatabaseAddPrincipals":{"value":"2019-09-07"},"KustoDataConnectionsCheckNameAvailability":{"value":"2019-09-07"},"KustoDataConnectionValidation":{"value":"2019-09-07"},"KustoDataConnectionsDelete":{"value":"2019-09-07"},"KustoDataConnectionsGet":{"value":"2019-09-07"},"KustoDataConnectionsUpdate":{"value":"2019-09-07"},"KustoDataConnectionsCreateOrUpdate":{"value":"2019-09-07"},"KustoDatabaseListPrincipals":{"value":"2019-09-07"},"KustoDatabaseRemovePrincipals":{"value":"2019-09-07"},"KustoClusterDetachFollowerDatabases":{"value":"2019-09-07"},"KustoClusterListFollowerDatabases":{"value":"2019-09-07"},"KustoClustersListResourceSkus":{"value":"2019-09-07"},"KustoClustersStart":{"value":"2019-09-07"},"KustoClustersStop":{"value":"2019-09-07"}}},"AttachedDatabaseConfigurationNameParameter":{"description":"The name of the attached database configuration.","in":"path","name":"attachedDatabaseConfigurationName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"AttachedDatabaseConfigurationsDelete":{"value":"attachedDatabaseConfigurations1"},"AttachedDatabaseConfigurationsGet":{"value":"attachedDatabaseConfigurations1"},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":"attachedDatabaseConfigurations1"}}},"ClusterNameParameter":{"description":"The name of the Kusto cluster.","in":"path","name":"clusterName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"KustoClustersDelete":{"value":"KustoClusterRPTest4"},"KustoClustersGet":{"value":"KustoClusterRPTest4"},"KustoClustersUpdate":{"value":"KustoClusterRPTest4"},"KustoClustersCreateOrUpdate":{"value":"KustoClusterRPTest4"},"KustoAttachedDatabaseConfigurationsListByCluster":{"value":"KustoClusterRPTest4"},"AttachedDatabaseConfigurationsDelete":{"value":"KustoClusterRPTest4"},"AttachedDatabaseConfigurationsGet":{"value":"KustoClusterRPTest4"},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":"KustoClusterRPTest4"},"KustoDatabaseCheckNameAvailability":{"value":"kustoProd"},"KustoDatabasesListByCluster":{"value":"KustoClusterRPTest4"},"KustoDatabasesDelete":{"value":"KustoClusterRPTest4"},"KustoDatabasesGet":{"value":"KustoClusterRPTest4"},"KustoDatabasesUpdate":{"value":"KustoClusterRPTest4"},"KustoDatabasesCreateOrUpdate":{"value":"KustoClusterRPTest4"},"KustoDatabaseAddPrincipals":{"value":"KustoClusterRPTest4"},"KustoDataConnectionsCheckNameAvailability":{"value":"kustoProd"},"KustoDataConnectionValidation":{"value":"KustoClusterRPTest4"},"KustoDataConnectionsDelete":{"value":"KustoClusterRPTest4"},"KustoDataConnectionsGet":{"value":"KustoClusterRPTest4"},"KustoDataConnectionsUpdate":{"value":"KustoClusterRPTest4"},"KustoDataConnectionsCreateOrUpdate":{"value":"KustoClusterRPTest4"},"KustoDatabaseListPrincipals":{"value":"KustoClusterRPTest4"},"KustoDatabaseRemovePrincipals":{"value":"KustoClusterRPTest4"},"KustoClusterDetachFollowerDatabases":{"value":"KustoClusterRPTest4"},"KustoClusterListFollowerDatabases":{"value":"KustoClusterRPTest4"},"KustoClustersListResourceSkus":{"value":"KustoClusterRPTest4"},"KustoClustersStart":{"value":"KustoClusterRPTest4"},"KustoClustersStop":{"value":"KustoClusterRPTest4"}}},"DataConnectionNameParameter":{"description":"The name of the data connection.","in":"path","name":"dataConnectionName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"KustoDataConnectionsDelete":{"value":"kustoeventhubconnection1"},"KustoDataConnectionsGet":{"value":"DataConnections8"},"KustoDataConnectionsUpdate":{"value":"DataConnections8"},"KustoDataConnectionsCreateOrUpdate":{"value":"DataConnections8"}}},"DatabaseNameParameter":{"description":"The name of the database in the Kusto cluster.","in":"path","name":"databaseName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"KustoDatabasesDelete":{"value":"KustoDatabase8"},"KustoDatabasesGet":{"value":"KustoDatabase8"},"KustoDatabasesUpdate":{"value":"KustoDatabase8"},"KustoDatabasesCreateOrUpdate":{"value":"KustoDatabase8"},"KustoDatabaseAddPrincipals":{"value":"databaseName1"},"KustoDataConnectionsCheckNameAvailability":{"value":"KustoDatabase8"},"KustoDataConnectionValidation":{"value":"KustoDatabase8"},"KustoDatabasesListByCluster":{"value":"KustoDatabase8"},"KustoDataConnectionsDelete":{"value":"KustoDatabase8"},"KustoDataConnectionsGet":{"value":"KustoDatabase8"},"KustoDataConnectionsUpdate":{"value":"KustoDatabase8"},"KustoDataConnectionsCreateOrUpdate":{"value":"KustoDatabase8"},"KustoDatabaseListPrincipals":{"value":"databaseName1"},"KustoDatabaseRemovePrincipals":{"value":"databaseName1"}}},"ResourceGroupParameter":{"description":"The name of the resource group containing the Kusto cluster.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"KustoClustersListByResourceGroup":{"value":"kustorptest"},"KustoClustersDelete":{"value":"kustorptest"},"KustoClustersGet":{"value":"kustorptest"},"KustoClustersUpdate":{"value":"kustorptest"},"KustoClustersCreateOrUpdate":{"value":"kustorptest"},"KustoAttachedDatabaseConfigurationsListByCluster":{"value":"kustorptest"},"AttachedDatabaseConfigurationsDelete":{"value":"kustorptest"},"AttachedDatabaseConfigurationsGet":{"value":"kustorptest"},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":"kustorptest"},"KustoDatabaseCheckNameAvailability":{"value":"kustorptest"},"KustoDatabasesListByCluster":{"value":"kustorptest"},"KustoDatabasesDelete":{"value":"kustorptest"},"KustoDatabasesGet":{"value":"kustorptest"},"KustoDatabasesUpdate":{"value":"kustorptest"},"KustoDatabasesCreateOrUpdate":{"value":"kustorptest"},"KustoDatabaseAddPrincipals":{"value":"kustorptest"},"KustoDataConnectionsCheckNameAvailability":{"value":"kustorptest"},"KustoDataConnectionValidation":{"value":"kustorptest"},"KustoDataConnectionsDelete":{"value":"kustorptest"},"KustoDataConnectionsGet":{"value":"kustorptest"},"KustoDataConnectionsUpdate":{"value":"kustorptest"},"KustoDataConnectionsCreateOrUpdate":{"value":"kustorptest"},"KustoDatabaseListPrincipals":{"value":"kustorptest"},"KustoDatabaseRemovePrincipals":{"value":"kustorptest"},"KustoClusterDetachFollowerDatabases":{"value":"kustorptest"},"KustoClusterListFollowerDatabases":{"value":"kustorptest"},"KustoClustersListResourceSkus":{"value":"kustorptest"},"KustoClustersStart":{"value":"kustorptest"},"KustoClustersStop":{"value":"kustorptest"}}},"SubscriptionIdParameter":{"description":"Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"KustoClustersList":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersCheckNameAvailability":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersListSkus":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersListByResourceGroup":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersDelete":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersGet":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersCreateOrUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoAttachedDatabaseConfigurationsListByCluster":{"value":"12345678-1234-1234-1234-123456789098"},"AttachedDatabaseConfigurationsDelete":{"value":"12345678-1234-1234-1234-123456789098"},"AttachedDatabaseConfigurationsGet":{"value":"12345678-1234-1234-1234-123456789098"},"AttachedDatabaseConfigurationsCreateOrUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabaseCheckNameAvailability":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabasesListByCluster":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabasesDelete":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabasesGet":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabasesUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabasesCreateOrUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabaseAddPrincipals":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionsCheckNameAvailability":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionValidation":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionsDelete":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionsGet":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionsUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDataConnectionsCreateOrUpdate":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabaseListPrincipals":{"value":"12345678-1234-1234-1234-123456789098"},"KustoDatabaseRemovePrincipals":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClusterDetachFollowerDatabases":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClusterListFollowerDatabases":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersListResourceSkus":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersStart":{"value":"12345678-1234-1234-1234-123456789098"},"KustoClustersStop":{"value":"12345678-1234-1234-1234-123456789098"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AttachedDatabaseConfiguration":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Class representing an attached database configuration.","properties":{"location":{"description":"Resource location.","type":"string"},"properties":{"$ref":"#/components/schemas/AttachedDatabaseConfigurationProperties"}}},"AttachedDatabaseConfigurationListResult":{"description":"The list attached database configurations operation response.","properties":{"value":{"description":"The list of attached database configurations.","items":{"$ref":"#/components/schemas/AttachedDatabaseConfiguration"},"type":"array"}}},"AttachedDatabaseConfigurationProperties":{"description":"Class representing the an attached database configuration properties of kind specific.","properties":{"attachedDatabaseNames":{"description":"The list of databases from the clusterResourceId which are currently attached to the cluster.","items":{"type":"string"},"readOnly":true,"type":"array"},"clusterResourceId":{"description":"The resource id of the cluster where the databases you would like to attach reside.","type":"string"},"databaseName":{"description":"The name of the database which you would like to attach, use * if you want to follow all current and future databases.","type":"string"},"defaultPrincipalsModificationKind":{"description":"The default principals modification kind","enum":["Union","Replace","None"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"DefaultPrincipalsModificationKind"}},"provisioningState":{"description":"The provisioned state of the resource.","enum":["Running","Creating","Deleting","Succeeded","Failed","Moving"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}}},"required":["databaseName","clusterResourceId","defaultPrincipalsModificationKind"]},"AzureCapacity":{"description":"Azure capacity definition.","properties":{"default":{"description":"The default capacity that would be used.","type":"integer"},"maximum":{"description":"Maximum allowed capacity.","type":"integer"},"minimum":{"description":"Minimum allowed capacity.","type":"integer"},"scaleType":{"description":"Scale type.","enum":["automatic","manual","none"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AzureScaleType"}}},"required":["minimum","maximum","default","scaleType"],"type":"object"},"AzureResourceSku":{"description":"Azure resource SKU definition.","properties":{"capacity":{"$ref":"#/components/schemas/AzureCapacity"},"resourceType":{"description":"Resource Namespace and Type.","type":"string"},"sku":{"$ref":"#/components/schemas/AzureSku"}}},"AzureSku":{"description":"Azure SKU definition.","properties":{"capacity":{"description":"The number of instances of the cluster.","type":"integer"},"name":{"description":"SKU name.","enum":["Standard_DS13_v2+1TB_PS","Standard_DS13_v2+2TB_PS","Standard_DS14_v2+3TB_PS","Standard_DS14_v2+4TB_PS","Standard_D13_v2","Standard_D14_v2","Standard_L8s","Standard_L16s","Standard_D11_v2","Standard_D12_v2","Standard_L4s","Dev(No SLA)_Standard_D11_v2"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AzureSkuName"}},"tier":{"description":"SKU tier.","enum":["Basic","Standard"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AzureSkuTier"}}},"required":["name","tier"],"type":"object"},"CheckNameRequest":{"description":"The result returned from a database check name availability request.","properties":{"name":{"description":"Resource name.","type":"string"},"type":{"description":"The type of resource, for instance Microsoft.Kusto/clusters/databases.","enum":["Microsoft.Kusto/clusters/databases","Microsoft.Kusto/clusters/attachedDatabaseConfigurations"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"Type"}}},"required":["name","type"],"type":"object"},"CheckNameResult":{"description":"The result returned from a check name availability request.","properties":{"message":{"description":"Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.","type":"string"},"name":{"description":"The name that was checked.","type":"string"},"nameAvailable":{"description":"Specifies a Boolean value that indicates if the name is available.","type":"boolean"},"reason":{"description":"Message providing the reason why the given name is invalid.","enum":["Invalid","AlreadyExists"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"reason"}}},"type":"object"},"CloudError":{"description":"An error response from Kusto.","properties":{"error":{"$ref":"#/components/schemas/CloudErrorBody"}},"x-ms-external":true},"CloudErrorBody":{"description":"An error response from Kusto.","properties":{"code":{"description":"An identifier for the error. Codes are invariant and are intended to be consumed programmatically.","type":"string"},"details":{"description":"A list of additional details about the error.","items":{"$ref":"#/components/schemas/CloudErrorBody"},"type":"array"},"message":{"description":"A message describing the error, intended to be suitable for displaying in a user interface.","type":"string"},"target":{"description":"The target of the particular error. For example, the name of the property in error.","type":"string"}},"x-ms-external":true},"Cluster":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM tracked top level resource","properties":{"location":{"description":"The geo-location where the resource lives","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}},"required":["location"]}],"description":"Class representing a Kusto cluster.","properties":{"identity":{"$ref":"#/components/schemas/Identity"},"properties":{"$ref":"#/components/schemas/ClusterProperties"},"sku":{"$ref":"#/components/schemas/AzureSku"},"zones":{"$ref":"#/components/schemas/Zones"}},"required":["sku"]},"ClusterCheckNameRequest":{"description":"The result returned from a cluster check name availability request.","properties":{"name":{"description":"Cluster name.","type":"string"},"type":{"description":"The type of resource, Microsoft.Kusto/clusters.","enum":["Microsoft.Kusto/clusters"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"Type"}}},"required":["name","type"],"type":"object"},"ClusterListResult":{"description":"The list Kusto clusters operation response.","properties":{"value":{"description":"The list of Kusto clusters.","items":{"$ref":"#/components/schemas/Cluster"},"type":"array"}}},"ClusterProperties":{"description":"Class representing the Kusto cluster properties.","properties":{"dataIngestionUri":{"description":"The cluster data ingestion URI.","readOnly":true,"type":"string"},"enableDiskEncryption":{"description":"A boolean value that indicates if the cluster's disks are encrypted.","type":"boolean"},"enableStreamingIngest":{"default":false,"description":"A boolean value that indicates if the streaming ingest is enabled.","type":"boolean"},"keyVaultProperties":{"$ref":"#/components/schemas/KeyVaultProperties"},"optimizedAutoscale":{"$ref":"#/components/schemas/OptimizedAutoscale"},"provisioningState":{"description":"The provisioned state of the resource.","enum":["Running","Creating","Deleting","Succeeded","Failed","Moving"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"state":{"description":"The state of the resource.","enum":["Creating","Unavailable","Running","Deleting","Deleted","Stopping","Stopped","Starting","Updating"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"State"}},"trustedExternalTenants":{"description":"The cluster's external tenants.","items":{"$ref":"#/components/schemas/TrustedExternalTenant"},"type":"array"},"uri":{"description":"The cluster URI.","readOnly":true,"type":"string"},"virtualNetworkConfiguration":{"$ref":"#/components/schemas/VirtualNetworkConfiguration"}}},"ClusterUpdate":{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Class representing an update to a Kusto cluster.","properties":{"identity":{"$ref":"#/components/schemas/Identity"},"location":{"description":"Resource location.","type":"string"},"properties":{"$ref":"#/components/schemas/ClusterProperties"},"sku":{"$ref":"#/components/schemas/AzureSku"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}}},"DataConnection":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Class representing an data connection.","discriminator":{"propertyName":"kind"},"properties":{"kind":{"description":"Kind of the endpoint for the data connection","enum":["EventHub","EventGrid","IotHub"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Kind"}},"location":{"description":"Resource location.","type":"string"}},"required":["kind"]},"DataConnectionCheckNameRequest":{"description":"The result returned from a data connections check name availability request.","properties":{"name":{"description":"Data Connection name.","type":"string"},"type":{"description":"The type of resource, Microsoft.Kusto/clusters/databases/dataConnections.","enum":["Microsoft.Kusto/clusters/databases/dataConnections"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"Type"}}},"required":["name","type"],"type":"object"},"DataConnectionListResult":{"description":"The list Kusto data connections operation response.","properties":{"value":{"description":"The list of Kusto data connections.","items":{"$ref":"#/components/schemas/DataConnection"},"type":"array"}}},"DataConnectionValidation":{"description":"Class representing an data connection validation.","properties":{"dataConnectionName":{"description":"The name of the data connection.","type":"string"},"properties":{"$ref":"#/components/schemas/DataConnection"}}},"DataConnectionValidationListResult":{"description":"The list Kusto data connection validation result.","properties":{"value":{"description":"The list of Kusto data connection validation errors.","items":{"$ref":"#/components/schemas/DataConnectionValidationResult"},"type":"array"}}},"DataConnectionValidationResult":{"description":"The result returned from a data connection validation request.","properties":{"errorMessage":{"description":"A message which indicates a problem in data connection validation.","type":"string"}},"type":"object"},"DataFormat":{"description":"The data format of the message. Optionally the data format can be added to each message.","enum":["MULTIJSON","JSON","CSV","TSV","SCSV","SOHSV","PSV","TXT","RAW","SINGLEJSON","AVRO","TSVE"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"dataFormat"}},"Database":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags"}],"description":"Class representing a Kusto database.","discriminator":{"propertyName":"kind"},"properties":{"kind":{"description":"Kind of the database","enum":["ReadWrite","ReadOnlyFollowing"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Kind"}},"location":{"description":"Resource location.","type":"string"}}},"DatabaseListResult":{"description":"The list Kusto databases operation response.","properties":{"value":{"description":"The list of Kusto databases.","items":{"$ref":"#/components/schemas/Database"},"type":"array"}}},"DatabasePrincipal":{"description":"A class representing database principal entity.","properties":{"appId":{"description":"Application id - relevant only for application principal type.","type":"string"},"email":{"description":"Database principal email if exists.","type":"string"},"fqn":{"description":"Database principal fully qualified name.","type":"string"},"name":{"description":"Database principal name.","type":"string"},"role":{"description":"Database principal role.","enum":["Admin","Ingestor","Monitor","User","UnrestrictedViewers","Viewer"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"DatabasePrincipalRole"}},"tenantName":{"description":"The tenant name of the principal","readOnly":true,"type":"string"},"type":{"description":"Database principal type.","enum":["App","Group","User"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"DatabasePrincipalType"}}},"required":["name","role","type"],"type":"object"},"DatabasePrincipalListRequest":{"description":"The list Kusto database principals operation request.","properties":{"value":{"description":"The list of Kusto database principals.","items":{"$ref":"#/components/schemas/DatabasePrincipal"},"type":"array"}}},"DatabasePrincipalListResult":{"description":"The list Kusto database principals operation response.","properties":{"value":{"description":"The list of Kusto database principals.","items":{"$ref":"#/components/schemas/DatabasePrincipal"},"type":"array"}}},"DatabaseStatistics":{"description":"A class that contains database statistics information.","properties":{"size":{"description":"The database size - the total size of compressed data and index in bytes.","type":"number"}},"readOnly":true,"type":"object"},"EventGridConnectionProperties":{"description":"Class representing the Kusto event grid connection properties.","properties":{"consumerGroup":{"description":"The event hub consumer group.","type":"string"},"dataFormat":{"$ref":"#/components/schemas/DataFormat"},"eventHubResourceId":{"description":"The resource ID where the event grid is configured to send events.","type":"string"},"mappingRuleName":{"description":"The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.","type":"string"},"storageAccountResourceId":{"description":"The resource ID of the storage account where the data resides.","type":"string"},"tableName":{"description":"The table where the data should be ingested. Optionally the table information can be added to each message.","type":"string"}},"required":["storageAccountResourceId","eventHubResourceId","consumerGroup","tableName","dataFormat"]},"EventGridDataConnection":{"allOf":[{"$ref":"#/components/schemas/DataConnection"}],"description":"Class representing an Event Grid data connection.","properties":{"properties":{"$ref":"#/components/schemas/EventGridConnectionProperties"}},"x-ms-discriminator-value":"EventGrid"},"EventHubConnectionProperties":{"description":"Class representing the Kusto event hub connection properties.","properties":{"consumerGroup":{"description":"The event hub consumer group.","type":"string"},"dataFormat":{"$ref":"#/components/schemas/DataFormat"},"eventHubResourceId":{"description":"The resource ID of the event hub to be used to create a data connection.","type":"string"},"eventSystemProperties":{"description":"System properties of the event hub","items":{"type":"string"},"type":"array"},"mappingRuleName":{"description":"The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.","type":"string"},"tableName":{"description":"The table where the data should be ingested. Optionally the table information can be added to each message.","type":"string"}},"required":["eventHubResourceId","consumerGroup"]},"EventHubDataConnection":{"allOf":[{"$ref":"#/components/schemas/DataConnection"}],"description":"Class representing an event hub data connection.","properties":{"properties":{"$ref":"#/components/schemas/EventHubConnectionProperties"}},"x-ms-discriminator-value":"EventHub"},"FollowerDatabaseDefinition":{"description":"A class representing follower database request.","properties":{"attachedDatabaseConfigurationName":{"description":"Resource name of the attached database configuration in the follower cluster.","type":"string"},"clusterResourceId":{"description":"Resource id of the cluster that follows a database owned by this cluster.","type":"string"},"databaseName":{"description":"The database name owned by this cluster that was followed. * in case following all databases.","readOnly":true,"type":"string"}},"required":["clusterResourceId","attachedDatabaseConfigurationName"],"type":"object"},"FollowerDatabaseListResult":{"description":"The list Kusto database principals operation response.","properties":{"value":{"description":"The list of follower database result.","items":{"$ref":"#/components/schemas/FollowerDatabaseDefinition"},"type":"array"}}},"Identity":{"description":"Identity for the resource.","properties":{"principalId":{"description":"The principal ID of resource identity.","readOnly":true,"type":"string"},"tenantId":{"description":"The tenant ID of resource.","readOnly":true,"type":"string"},"type":{"description":"The identity type.","enum":["None","SystemAssigned"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"IdentityType"}},"userAssignedIdentities":{"additionalProperties":{"properties":{"clientId":{"description":"The client id of user assigned identity.","readOnly":true,"type":"string"},"principalId":{"description":"The principal id of user assigned identity.","readOnly":true,"type":"string"}},"type":"object"},"description":"The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.","type":"object"}},"required":["type"]},"IotHubConnectionProperties":{"description":"Class representing the Kusto iot hub connection properties.","properties":{"consumerGroup":{"description":"The iot hub consumer group.","type":"string"},"dataFormat":{"$ref":"#/components/schemas/DataFormat"},"eventSystemProperties":{"description":"System properties of the iot hub","items":{"type":"string"},"type":"array"},"iotHubResourceId":{"description":"The resource ID of the Iot hub to be used to create a data connection.","type":"string"},"mappingRuleName":{"description":"The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.","type":"string"},"sharedAccessPolicyName":{"description":"The name of the share access policy name","type":"string"},"tableName":{"description":"The table where the data should be ingested. Optionally the table information can be added to each message.","type":"string"}},"required":["iotHubResourceId","consumerGroup","sharedAccessPolicyName"]},"IotHubDataConnection":{"allOf":[{"$ref":"#/components/schemas/DataConnection"}],"description":"Class representing an iot hub data connection.","properties":{"properties":{"$ref":"#/components/schemas/IotHubConnectionProperties"}},"x-ms-discriminator-value":"IotHub"},"KeyVaultProperties":{"description":"Properties of the key vault.","properties":{"keyName":{"description":"The name of the key vault key.","type":"string","x-ms-client-name":"KeyName"},"keyVaultUri":{"description":"The Uri of the key vault.","type":"string","x-ms-client-name":"KeyVaultUri"},"keyVersion":{"description":"The version of the key vault key.","type":"string","x-ms-client-name":"KeyVersion"}},"required":["keyName","keyVersion","keyVaultUri"]},"ListResourceSkusResult":{"description":"List of available SKUs for a Kusto Cluster.","properties":{"value":{"description":"The collection of available SKUs for an existing resource.","items":{"$ref":"#/components/schemas/AzureResourceSku"},"type":"array"}},"type":"object"},"Operation":{"properties":{"display":{"properties":{"description":{"title":"The friendly name of the operation.","type":"string"},"operation":{"description":"For example: read, write, delete.","title":"The operation type.","type":"string"},"provider":{"title":"Friendly name of the resource provider.","type":"string"},"resource":{"title":"The resource type on which the operation is performed.","type":"string"}},"title":"The object that describes the operation."},"name":{"description":"This is of the format {provider}/{resource}/{operation}.","title":"The operation name.","type":"string"},"origin":{"title":"The intended executor of the operation.","type":"string"},"properties":{"title":"Properties of the operation.","type":"object","x-ms-client-flatten":true}},"title":"A REST API operation","type":"object"},"OperationListResult":{"properties":{"nextLink":{"title":"The URL to get the next set of operation list results if there are any.","type":"string"},"value":{"items":{"$ref":"#/components/schemas/Operation"},"title":"The list of operations supported by the resource provider.","type":"array"}},"title":"Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results."},"OptimizedAutoscale":{"description":"A class that contains the optimized auto scale definition.","properties":{"isEnabled":{"description":"A boolean value that indicate if the optimized autoscale feature is enabled or not.","type":"boolean"},"maximum":{"description":"Maximum allowed instances count.","type":"integer"},"minimum":{"description":"Minimum allowed instances count.","type":"integer"},"version":{"description":"The version of the template defined, for instance 1.","type":"integer"}},"required":["version","isEnabled","minimum","maximum"],"type":"object"},"ReadOnlyFollowingDatabase":{"allOf":[{"$ref":"#/components/schemas/Database"}],"description":"Class representing a read only following database.","properties":{"properties":{"$ref":"#/components/schemas/ReadOnlyFollowingDatabaseProperties"}},"x-ms-discriminator-value":"ReadOnlyFollowing"},"ReadOnlyFollowingDatabaseProperties":{"description":"Class representing the Kusto database properties.","properties":{"attachedDatabaseConfigurationName":{"description":"The name of the attached database configuration cluster","readOnly":true,"type":"string"},"hotCachePeriod":{"description":"The time the data should be kept in cache for fast queries in TimeSpan.","format":"duration","type":"string"},"leaderClusterResourceId":{"description":"The name of the leader cluster","readOnly":true,"type":"string"},"principalsModificationKind":{"description":"The principals modification kind of the database","enum":["Union","Replace","None"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"PrincipalsModificationKind"}},"provisioningState":{"description":"The provisioned state of the resource.","enum":["Running","Creating","Deleting","Succeeded","Failed","Moving"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"softDeletePeriod":{"description":"The time the data should be kept before it stops being accessible to queries in TimeSpan.","format":"duration","readOnly":true,"type":"string"},"statistics":{"$ref":"#/components/schemas/DatabaseStatistics"}}},"ReadWriteDatabase":{"allOf":[{"$ref":"#/components/schemas/Database"}],"description":"Class representing a read write database.","properties":{"properties":{"$ref":"#/components/schemas/ReadWriteDatabaseProperties"}},"x-ms-discriminator-value":"ReadWrite"},"ReadWriteDatabaseProperties":{"description":"Class representing the Kusto database properties.","properties":{"hotCachePeriod":{"description":"The time the data should be kept in cache for fast queries in TimeSpan.","format":"duration","type":"string"},"provisioningState":{"description":"The provisioned state of the resource.","enum":["Running","Creating","Deleting","Succeeded","Failed","Moving"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"softDeletePeriod":{"description":"The time the data should be kept before it stops being accessible to queries in TimeSpan.","format":"duration","type":"string"},"statistics":{"$ref":"#/components/schemas/DatabaseStatistics"}}},"SkuDescription":{"description":"The Kusto SKU description of given resource type","properties":{"locationInfo":{"description":"Locations and zones","items":{"$ref":"#/components/schemas/SkuLocationInfoItem"},"readOnly":true,"type":"array"},"locations":{"description":"The set of locations that the SKU is available","items":{"type":"string"},"readOnly":true,"type":"array"},"name":{"description":"The name of the SKU","readOnly":true,"type":"string"},"resourceType":{"description":"The resource type","readOnly":true,"type":"string"},"restrictions":{"description":"The restrictions because of which SKU cannot be used","items":{"type":"object"},"readOnly":true,"type":"array"},"tier":{"description":"The tier of the SKU","readOnly":true,"type":"string"}},"type":"object"},"SkuDescriptionList":{"description":"The list of the EngagementFabric SKU descriptions","properties":{"value":{"description":"SKU descriptions","items":{"$ref":"#/components/schemas/SkuDescription"},"readOnly":true,"type":"array"}},"type":"object"},"SkuLocationInfoItem":{"description":"The locations and zones info for SKU.","properties":{"location":{"description":"The available location of the SKU.","type":"string"},"zones":{"description":"The available zone of the SKU.","items":{"type":"string"},"type":"array"}},"required":["location"],"type":"object"},"TrustedExternalTenant":{"description":"Represents a tenant ID that is trusted by the cluster.","properties":{"value":{"description":"GUID representing an external tenant.","type":"string"}}},"VirtualNetworkConfiguration":{"description":"A class that contains virtual network definition.","properties":{"dataManagementPublicIpId":{"description":"Data management's service public IP address resource id.","type":"string"},"enginePublicIpId":{"description":"Engine service's public IP address resource id.","type":"string"},"subnetId":{"description":"The subnet resource id.","type":"string"}},"required":["subnetId","enginePublicIpId","dataManagementPublicIpId"],"type":"object"},"Zones":{"description":"An array represents the availability zones of the cluster.","items":{"type":"string"},"type":"array"}}}}