databases_inaccessible_by_servers
Creates, updates, deletes, gets or lists a databases_inaccessible_by_servers
resource.
Overview
Name | databases_inaccessible_by_servers |
Type | Resource |
Id | azure.sql.databases_inaccessible_by_servers |
Fields
The following fields are returned by SELECT
queries:
- list
Successfully retrieved the list of inaccessible databases in a logical server
Name | Datatype | Description |
---|---|---|
identity | object | The Azure Active Directory identity of the database. |
kind | string | Kind of database. This is metadata used for the Azure portal experience. |
location | string | Resource location. |
managedBy | string | Resource that manages the database. |
properties | object | Resource properties. |
sku | object | The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the Capabilities_ListByLocation REST API or one of the following commands:azurecli<br /> az sql db list-editions -l <location> -o table<br /> ````<br /> <br /> powershellGet-AzSqlServerServiceObjective -Location <location> ```` |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , serverName , subscriptionId | Gets a list of inaccessible databases in a logical server |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serverName | string | The name of the server. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
SELECT
examples
- list
Gets a list of inaccessible databases in a logical server
SELECT
identity,
kind,
location,
managedBy,
properties,
sku,
tags
FROM azure.sql.databases_inaccessible_by_servers
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;