UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 39.3 kB
{"openapi":"3.0.0","info":{"description":"Provides create, read, update and delete functionality for Azure SQL Database resources including recommendations and operations.","title":"Azure SQL Database","version":"2014-04-01","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/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/sql.core.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"sql-sql.core","x-tags":["Azure","Microsoft"]},"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors":{"get":{"description":"Returns service tier advisors for specified database.","operationId":"ServiceTierAdvisors_ListByDatabase","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a list of a service tier advisors":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a list of a service tier advisors":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a list of a service tier advisors":{"value":"sqlcrudtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of database.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get a list of a service tier advisors":{"value":"sqlcrudtest-9187"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceTierAdvisorListResult"},"examples":{"Get a list of a service tier advisors":{"$ref":"#/components/examples/Get_a_list_of_a_service_tier_advisors"}}}}}},"tags":["ServiceTierAdvisors"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/serviceTierAdvisors/{serviceTierAdvisorName}":{"get":{"description":"Gets a service tier advisor.","operationId":"ServiceTierAdvisors_Get","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a service tier advisor":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a service tier advisor":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a service tier advisor":{"value":"sqlcrudtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of database.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get a service tier advisor":{"value":"sqlcrudtest-9187"}}},{"description":"The name of service tier advisor.","in":"path","name":"serviceTierAdvisorName","required":true,"schema":{"type":"string"},"examples":{"Get a service tier advisor":{"value":"Current"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceTierAdvisor"},"examples":{"Get a service tier advisor":{"$ref":"#/components/examples/Get_a_service_tier_advisor"}}}}}},"tags":["ServiceTierAdvisors"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}":{"get":{"description":"Gets a database's transparent data encryption configuration.","operationId":"TransparentDataEncryptions_Get","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a database's transparent data encryption configuration":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get a database's transparent data encryption configuration":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a database's transparent data encryption configuration":{"value":"sqlcrudtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the transparent data encryption applies.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get a database's transparent data encryption configuration":{"value":"sqlcrudtest-9187"}}},{"$ref":"#/components/parameters/TransparentDataEncryptionNameParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransparentDataEncryption"},"examples":{"Get a database's transparent data encryption configuration":{"$ref":"#/components/examples/Get_a_database_s_transparent_data_encryption_configuration"}}}}}},"tags":["TransparentDataEncryption"]},"put":{"description":"Creates or updates a database's transparent data encryption configuration.","operationId":"TransparentDataEncryptions_CreateOrUpdate","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update a database's transparent data encryption configuration":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update a database's transparent data encryption configuration":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create or update a database's transparent data encryption configuration":{"value":"sqlcrudtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which setting the transparent data encryption applies.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Create or update a database's transparent data encryption configuration":{"value":"sqlcrudtest-9187"}}},{"$ref":"#/components/parameters/TransparentDataEncryptionNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransparentDataEncryption"}}},"description":"The required parameters for creating or updating transparent data encryption.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransparentDataEncryption"},"examples":{"Create or update a database's transparent data encryption configuration":{"$ref":"#/components/examples/Create_or_update_a_database_s_transparent_data_encryption_configuration"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransparentDataEncryption"},"examples":{"Create or update a database's transparent data encryption configuration":{"$ref":"#/components/examples/Create_or_update_a_database_s_transparent_data_encryption_configuration"}}}}}},"tags":["TransparentDataEncryption"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults":{"get":{"description":"Returns a database's transparent data encryption operation result.","operationId":"TransparentDataEncryptionActivities_ListByConfiguration","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List a database's transparent data encryption activities":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List a database's transparent data encryption activities":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List a database's transparent data encryption activities":{"value":"sqlcrudtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the transparent data encryption applies.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"List a database's transparent data encryption activities":{"value":"sqlcrudtest-9187"}}},{"$ref":"#/components/parameters/TransparentDataEncryptionNameParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransparentDataEncryptionActivityListResult"},"examples":{"List a database's transparent data encryption activities":{"$ref":"#/components/examples/List_a_database_s_transparent_data_encryption_activities"}}}}}},"tags":["TransparentDataEncryption"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/elasticPoolActivity":{"get":{"description":"Returns elastic pool activities.","operationId":"ElasticPoolActivities_ListByElasticPool","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List Elastic pool activity":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List Elastic pool activity":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List Elastic pool activity":{"value":"sqlcrudtest-4291"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the elastic pool for which to get the current activity.","in":"path","name":"elasticPoolName","required":true,"schema":{"type":"string"},"examples":{"List Elastic pool activity":{"value":"8749"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElasticPoolActivityListResult"},"examples":{"List Elastic pool activity":{"$ref":"#/components/examples/List_Elastic_pool_activity"}}}}}},"tags":["ElasticPools"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/elasticPoolDatabaseActivity":{"get":{"description":"Returns activity on databases inside of an elastic pool.","operationId":"ElasticPoolDatabaseActivities_ListByElasticPool","parameters":[{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List elastic pool database activity":{"value":"2014-04-01"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List elastic pool database activity":{"value":"9d4e2ad0-e20b-4464-9219-353bded52513"}}},{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List elastic pool database activity":{"value":"sqlcrudtest-4673"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the elastic pool.","in":"path","name":"elasticPoolName","required":true,"schema":{"type":"string"},"examples":{"List elastic pool database activity":{"value":"7537"}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElasticPoolDatabaseActivityListResult"},"examples":{"List elastic pool database activity":{"$ref":"#/components/examples/List_elastic_pool_database_activity"}}}}}},"tags":["ElasticPools"],"x-ms-pageable":{}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Get_a_list_of_a_service_tier_advisors":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current","name":"Current","properties":{"activeTimeRatio":0,"avgDtu":0,"confidence":1,"currentServiceLevelObjective":"S0","currentServiceLevelObjectiveId":"f1173c43-91bd-4aaa-973c-54e79e15235b","maxDtu":0,"maxSizeInGB":0.0234375,"minDtu":0,"observationPeriodEnd":"2017-07-26T13:00:00Z","observationPeriodStart":"2017-07-12T12:00:00Z","serviceLevelObjectiveUsageMetrics":[{"inRangeTimeRatio":1,"serviceLevelObjective":"Basic","serviceLevelObjectiveId":"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c"}]},"type":"Microsoft.Sql/servers/databases/serviceTierAdvisors"}]}},"Get_a_service_tier_advisor":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/serviceTierAdvisors/Current","name":"Current","properties":{"activeTimeRatio":0,"avgDtu":0,"confidence":1,"currentServiceLevelObjective":"S0","currentServiceLevelObjectiveId":"f1173c43-91bd-4aaa-973c-54e79e15235b","maxDtu":0,"maxSizeInGB":0.0234375,"minDtu":0,"observationPeriodEnd":"2017-07-26T13:00:00Z","observationPeriodStart":"2017-07-12T12:00:00Z","serviceLevelObjectiveUsageMetrics":[{"inRangeTimeRatio":1,"serviceLevelObjective":"Basic","serviceLevelObjectiveId":"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c"}]},"type":"Microsoft.Sql/servers/databases/serviceTierAdvisors"}},"Get_a_database_s_transparent_data_encryption_configuration":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current","location":"North Europe","name":"current","properties":{"status":"Enabled"},"type":"Microsoft.Sql/servers/databases/transparentDataEncryption"}},"Create_or_update_a_database_s_transparent_data_encryption_configuration":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current","location":"North Europe","name":"current","properties":{"status":"Enabled"},"type":"Microsoft.Sql/servers/databases/transparentDataEncryption"}},"List_a_database_s_transparent_data_encryption_activities":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Sql/servers/sqlcrudtest-2080/databases/sqlcrudtest-9187/transparentDataEncryption/current/operationResults/current","location":"West US","name":"current","properties":{"percentComplete":100,"status":"Encrypting"},"type":"Microsoft.Sql/servers/databases/transparentDataEncryption/operationResults"}]}},"List_Elastic_pool_activity":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4291/providers/Microsoft.Sql/servers/sqlcrudtest-6574/elasticPools/8749/elasticPoolActivity/851f1672-f7f0-46f6-a262-ee9b51e18e97","location":"Japan East","name":"851f1672-f7f0-46f6-a262-ee9b51e18e97","properties":{"elasticPoolName":"8749","endTime":"2017-02-10T02:03:23.263Z","operation":"CREATE","operationId":"851f1672-f7f0-46f6-a262-ee9b51e18e97","percentComplete":100,"requestedDatabaseDtuCap":5,"requestedDatabaseDtuGuarantee":0,"requestedDtuGuarantee":100,"requestedStorageLimitInGB":9,"requestedStorageLimitInMB":10000,"serverName":"sqlcrudtest-6574","startTime":"2017-02-10T02:03:06.16Z","state":"COMPLETED"},"type":"Microsoft.Sql/servers/elasticPools/elasticPoolActivity"}]}},"List_elastic_pool_database_activity":{"value":{"value":[{"id":"/subscriptions/9d4e2ad0-e20b-4464-9219-353bded52513/resourceGroups/sqlcrudtest-4673/providers/Microsoft.Sql/servers/sqlcrudtest-603/elasticPools/7537/elasticPoolDatabaseActivity/3a3272b3-f1fe-423c-9feb-7b843157eda5","location":"Japan East","name":"3a3272b3-f1fe-423c-9feb-7b843157eda5","properties":{"currentElasticPoolName":"7537","currentServiceObjective":"ElasticPool","databaseName":"2396","endTime":"2016-10-23T03:08:02.95","operation":"UPDATE","operationId":"3a3272b3-f1fe-423c-9feb-7b843157eda5","percentComplete":100,"serverName":"sqlcrudtest-603","startTime":"2016-10-23T03:07:12.577","state":"COMPLETED"},"type":"Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity"},{"id":"/subscriptions/9d4e2ad0-e20b-4464-9219-353bded52513/resourceGroups/sqlcrudtest-4673/providers/Microsoft.Sql/servers/sqlcrudtest-603/elasticPools/7537/elasticPoolDatabaseActivity/95108a78-384e-48d3-b4de-7bf23b93a26d","location":"Japan East","name":"95108a78-384e-48d3-b4de-7bf23b93a26d","properties":{"currentElasticPoolName":"7537","currentServiceObjective":"ElasticPool","databaseName":"2396","endTime":"2016-10-23T03:06:49.197","operation":"CREATE","operationId":"95108a78-384e-48d3-b4de-7bf23b93a26d","percentComplete":100,"serverName":"sqlcrudtest-603","startTime":"2016-10-23T03:06:11.19","state":"COMPLETED"},"type":"Microsoft.Sql/servers/elasticPools/elasticPoolDatabaseActivity"}]}}},"parameters":{"DatabaseExpandParameter":{"description":"A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.","in":"query","name":"$expand","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"ServerNameParameter":{"description":"The name of the server.","in":"path","name":"serverName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get a list of a service tier advisors":{"value":"sqlcrudtest-2080"},"Get a service tier advisor":{"value":"sqlcrudtest-2080"},"Get a database's transparent data encryption configuration":{"value":"sqlcrudtest-2080"},"Create or update a database's transparent data encryption configuration":{"value":"sqlcrudtest-2080"},"List a database's transparent data encryption activities":{"value":"sqlcrudtest-2080"},"List Elastic pool activity":{"value":"sqlcrudtest-6574"},"List elastic pool database activity":{"value":"sqlcrudtest-603"}}},"TransparentDataEncryptionNameParameter":{"description":"The name of the transparent data encryption configuration.","in":"path","name":"transparentDataEncryptionName","required":true,"x-ms-enum":{"modelAsString":true,"name":"TransparentDataEncryptionName"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["current"]},"examples":{"Get a database's transparent data encryption configuration":{"value":"current"},"Create or update a database's transparent data encryption configuration":{"value":"current"},"List a database's transparent data encryption activities":{"value":"current"}}}},"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":{"ElasticPoolActivity":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents the activity on an elastic pool.","properties":{"location":{"description":"The geo-location where the resource lives","type":"string","x-ms-mutability":["read","create"]},"properties":{"$ref":"#/components/schemas/ElasticPoolActivityProperties"}}},"ElasticPoolActivityListResult":{"description":"Represents the response to a list elastic pool activity request.","properties":{"value":{"description":"The list of elastic pool activities.","items":{"$ref":"#/components/schemas/ElasticPoolActivity"},"type":"array"}},"required":["value"]},"ElasticPoolActivityProperties":{"description":"Represents the properties of an elastic pool.","properties":{"elasticPoolName":{"description":"The name of the elastic pool.","readOnly":true,"type":"string"},"endTime":{"description":"The time the operation finished (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"errorCode":{"description":"The error code if available.","format":"int32","readOnly":true,"type":"integer"},"errorMessage":{"description":"The error message if available.","readOnly":true,"type":"string"},"errorSeverity":{"description":"The error severity if available.","format":"int32","readOnly":true,"type":"integer"},"operation":{"description":"The operation name.","readOnly":true,"type":"string"},"operationId":{"description":"The unique operation ID.","format":"uuid","readOnly":true,"type":"string","nullable":false},"percentComplete":{"description":"The percentage complete if available.","format":"int32","readOnly":true,"type":"integer"},"requestedDatabaseDtuCap":{"description":"The requested per database DTU cap.","format":"int32","readOnly":true,"type":"integer"},"requestedDatabaseDtuGuarantee":{"description":"The requested per database DTU guarantee.","format":"int32","readOnly":true,"type":"integer"},"requestedDatabaseDtuMax":{"description":"The requested max DTU per database if available.","format":"int32","readOnly":true,"type":"integer"},"requestedDatabaseDtuMin":{"description":"The requested min DTU per database if available.","format":"int32","readOnly":true,"type":"integer"},"requestedDtu":{"description":"The requested DTU for the pool if available.","format":"int32","readOnly":true,"type":"integer"},"requestedDtuGuarantee":{"description":"The requested DTU guarantee.","format":"int32","readOnly":true,"type":"integer"},"requestedElasticPoolName":{"description":"The requested name for the elastic pool if available.","readOnly":true,"type":"string"},"requestedStorageLimitInGB":{"description":"The requested storage limit for the pool in GB if available.","format":"int64","readOnly":true,"type":"integer"},"requestedStorageLimitInMB":{"description":"The requested storage limit in MB.","format":"int32","readOnly":true,"type":"integer"},"serverName":{"description":"The name of the server the elastic pool is in.","readOnly":true,"type":"string"},"startTime":{"description":"The time the operation started (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"state":{"description":"The current state of the operation.","readOnly":true,"type":"string"}}},"ElasticPoolDatabaseActivity":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents the activity on an elastic pool.","properties":{"location":{"description":"The geo-location where the resource lives","type":"string","x-ms-mutability":["read","create"]},"properties":{"$ref":"#/components/schemas/ElasticPoolDatabaseActivityProperties"}}},"ElasticPoolDatabaseActivityListResult":{"description":"Represents the response to a list elastic pool database activity request.","properties":{"value":{"description":"The list of elastic pool database activities.","items":{"$ref":"#/components/schemas/ElasticPoolDatabaseActivity"},"type":"array"}},"required":["value"]},"ElasticPoolDatabaseActivityProperties":{"description":"Represents the properties of an elastic pool database activity.","properties":{"currentElasticPoolName":{"description":"The name of the current elastic pool the database is in if available.","readOnly":true,"type":"string"},"currentServiceObjective":{"description":"The name of the current service objective if available.","readOnly":true,"type":"string"},"databaseName":{"description":"The database name.","readOnly":true,"type":"string"},"endTime":{"description":"The time the operation finished (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"errorCode":{"description":"The error code if available.","format":"int32","readOnly":true,"type":"integer"},"errorMessage":{"description":"The error message if available.","readOnly":true,"type":"string"},"errorSeverity":{"description":"The error severity if available.","format":"int32","readOnly":true,"type":"integer"},"operation":{"description":"The operation name.","readOnly":true,"type":"string"},"operationId":{"description":"The unique operation ID.","format":"uuid","readOnly":true,"type":"string","nullable":false},"percentComplete":{"description":"The percentage complete if available.","format":"int32","readOnly":true,"type":"integer"},"requestedElasticPoolName":{"description":"The name for the elastic pool the database is moving into if available.","readOnly":true,"type":"string"},"requestedServiceObjective":{"description":"The name of the requested service objective if available.","readOnly":true,"type":"string"},"serverName":{"description":"The name of the server the elastic pool is in.","readOnly":true,"type":"string"},"startTime":{"description":"The time the operation started (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"state":{"description":"The current state of the operation.","readOnly":true,"type":"string"}}},"OperationImpact":{"description":"The impact of an operation, both in absolute and relative terms.","properties":{"changeValueAbsolute":{"description":"The absolute impact to dimension.","format":"double","readOnly":true,"type":"number"},"changeValueRelative":{"description":"The relative impact to dimension (null if not applicable)","format":"double","readOnly":true,"type":"number"},"name":{"description":"The name of the impact dimension.","readOnly":true,"type":"string"},"unit":{"description":"The unit in which estimated impact to dimension is measured.","readOnly":true,"type":"string"}}},"RecommendedIndex":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents a database recommended index.","properties":{"properties":{"$ref":"#/components/schemas/RecommendedIndexProperties"}}},"RecommendedIndexProperties":{"description":"Represents the properties of a database recommended index.","properties":{"action":{"description":"The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.","enum":["Create","Drop","Rebuild"],"readOnly":true,"type":"string","x-ms-enum":{"name":"RecommendedIndexAction"}},"columns":{"description":"Columns over which to build index","items":{"type":"string"},"readOnly":true,"type":"array"},"created":{"description":"The UTC datetime showing when this resource was created (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"estimatedImpact":{"description":"The estimated impact of doing recommended index action.","items":{"$ref":"#/components/schemas/OperationImpact"},"readOnly":true,"type":"array"},"includedColumns":{"description":"The list of column names to be included in the index","items":{"type":"string"},"readOnly":true,"type":"array"},"indexScript":{"description":"The full build index script","readOnly":true,"type":"string"},"indexType":{"description":"The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)","enum":["CLUSTERED","NONCLUSTERED","COLUMNSTORE","CLUSTERED COLUMNSTORE"],"readOnly":true,"type":"string","x-ms-enum":{"name":"RecommendedIndexType"}},"lastModified":{"description":"The UTC datetime of when was this resource last changed (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"reportedImpact":{"description":"The values reported after index action is complete.","items":{"$ref":"#/components/schemas/OperationImpact"},"readOnly":true,"type":"array"},"schema":{"description":"The schema where table to build index over resides","readOnly":true,"type":"string"},"state":{"description":"The current recommendation state.","enum":["Active","Pending","Executing","Verifying","Pending Revert","Reverting","Reverted","Ignored","Expired","Blocked","Success"],"readOnly":true,"type":"string","x-ms-enum":{"name":"RecommendedIndexState"}},"table":{"description":"The table on which to build index.","readOnly":true,"type":"string"}}},"ServiceTierAdvisor":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents a Service Tier Advisor.","properties":{"properties":{"$ref":"#/components/schemas/ServiceTierAdvisorProperties"}}},"ServiceTierAdvisorListResult":{"description":"Represents the response to a list service tier advisor request.","properties":{"value":{"description":"The list of service tier advisors for specified database.","items":{"$ref":"#/components/schemas/ServiceTierAdvisor"},"type":"array"}},"required":["value"]},"ServiceTierAdvisorProperties":{"description":"Represents the properties of a Service Tier Advisor.","properties":{"activeTimeRatio":{"description":"The activeTimeRatio for service tier advisor.","format":"double","readOnly":true,"type":"number"},"avgDtu":{"description":"Gets or sets avgDtu for service tier advisor.","format":"double","readOnly":true,"type":"number"},"confidence":{"description":"Gets or sets confidence for service tier advisor.","format":"double","readOnly":true,"type":"number","nullable":false},"currentServiceLevelObjective":{"description":"Gets or sets currentServiceLevelObjective for service tier advisor.","readOnly":true,"type":"string"},"currentServiceLevelObjectiveId":{"description":"Gets or sets currentServiceLevelObjectiveId for service tier advisor.","format":"uuid","readOnly":true,"type":"string"},"databaseSizeBasedRecommendationServiceLevelObjective":{"description":"Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.","readOnly":true,"type":"string"},"databaseSizeBasedRecommendationServiceLevelObjectiveId":{"description":"Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.","format":"uuid","readOnly":true,"type":"string"},"disasterPlanBasedRecommendationServiceLevelObjective":{"description":"Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.","readOnly":true,"type":"string"},"disasterPlanBasedRecommendationServiceLevelObjectiveId":{"description":"Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.","format":"uuid","readOnly":true,"type":"string"},"maxDtu":{"description":"Gets or sets maxDtu for service tier advisor.","format":"double","readOnly":true,"type":"number"},"maxSizeInGB":{"description":"Gets or sets maxSizeInGB for service tier advisor.","format":"double","readOnly":true,"type":"number"},"minDtu":{"description":"Gets or sets minDtu for service tier advisor.","format":"double","readOnly":true,"type":"number"},"observationPeriodEnd":{"description":"The observation period start (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"observationPeriodStart":{"description":"The observation period start (ISO8601 format).","format":"date-time","readOnly":true,"type":"string"},"overallRecommendationServiceLevelObjective":{"description":"Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.","readOnly":true,"type":"string"},"overallRecommendationServiceLevelObjectiveId":{"description":"Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.","format":"uuid","readOnly":true,"type":"string"},"serviceLevelObjectiveUsageMetrics":{"description":"Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.","items":{"$ref":"#/components/schemas/SloUsageMetric"},"readOnly":true,"type":"array"},"usageBasedRecommendationServiceLevelObjective":{"description":"Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.","readOnly":true,"type":"string"},"usageBasedRecommendationServiceLevelObjectiveId":{"description":"Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.","format":"uuid","readOnly":true,"type":"string"}}},"SloUsageMetric":{"description":"A Slo Usage Metric.","properties":{"inRangeTimeRatio":{"description":"Gets or sets inRangeTimeRatio for SLO usage metric.","format":"double","readOnly":true,"type":"number","nullable":false},"serviceLevelObjective":{"description":"The serviceLevelObjective for SLO usage metric.","enum":["System","System0","System1","System2","System3","System4","System2L","System3L","System4L","Free","Basic","S0","S1","S2","S3","S4","S6","S7","S9","S12","P1","P2","P3","P4","P6","P11","P15","PRS1","PRS2","PRS4","PRS6","DW100","DW200","DW300","DW400","DW500","DW600","DW1000","DW1200","DW1000c","DW1500","DW1500c","DW2000","DW2000c","DW3000","DW2500c","DW3000c","DW6000","DW5000c","DW6000c","DW7500c","DW10000c","DW15000c","DW30000c","DS100","DS200","DS300","DS400","DS500","DS600","DS1000","DS1200","DS1500","DS2000","ElasticPool"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ServiceObjectiveName"}},"serviceLevelObjectiveId":{"description":"The serviceLevelObjectiveId for SLO usage metric.","format":"uuid","readOnly":true,"type":"string","nullable":false}}},"TransparentDataEncryption":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents a database transparent data encryption configuration.","properties":{"location":{"description":"Resource location.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/TransparentDataEncryptionProperties"}}},"TransparentDataEncryptionActivity":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"Represents a database transparent data encryption Scan.","properties":{"location":{"description":"Resource location.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/TransparentDataEncryptionActivityProperties"}}},"TransparentDataEncryptionActivityListResult":{"description":"Represents the response to a list database transparent data encryption activity request.","properties":{"value":{"description":"The list of database transparent data encryption activities.","items":{"$ref":"#/components/schemas/TransparentDataEncryptionActivity"},"type":"array"}},"required":["value"]},"TransparentDataEncryptionActivityProperties":{"description":"Represents the properties of a database transparent data encryption Scan.","properties":{"percentComplete":{"description":"The percent complete of the transparent data encryption scan for a database.","format":"float","readOnly":true,"type":"number"},"status":{"description":"The status of the database.","enum":["Encrypting","Decrypting"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"TransparentDataEncryptionActivityStatus"}}}},"TransparentDataEncryptionProperties":{"description":"Represents the properties of a database transparent data encryption.","properties":{"status":{"description":"The status of the database transparent data encryption.","enum":["Enabled","Disabled"],"type":"string","x-ms-enum":{"name":"TransparentDataEncryptionStatus"}}}}}}}