Managed Database Columns - Get
マネージド データベース列を取得する
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}?api-version=2025-01-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
column
|
path | True |
string |
列の名前。 |
|
database
|
path | True |
string |
データベースの名前。 |
|
managed
|
path | True |
string |
マネージド インスタンスの名前。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前の大文字と小文字は区別されません。 |
|
schema
|
path | True |
string |
スキーマの名前です。 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
table
|
path | True |
string |
テーブルの名前。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
Azureの運用は無事に完了しました。 |
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 Flow.
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| user_impersonation | ユーザー アカウントを偽装する |
例
Get managed database column
要求のサンプル
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Sql/managedInstances/myManagedInstanceName/databases/myDatabase/schemas/dbo/tables/table1/columns/column1?api-version=2025-01-01
応答のサンプル
{
"name": "column1",
"type": "Microsoft.Sql/managedInstances/databases/schemas/tables/columns",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Sql/managedInstances/myManagedInstanceName/databases/myDatabase/schemas/dbo/tables/table1/columns/column1",
"properties": {
"columnType": "bit"
}
}
定義
| 名前 | 説明 |
|---|---|
|
Column |
列のデータ型。 |
|
created |
リソースを作成した ID の種類。 |
|
Database |
データベース列リソース。 |
|
Error |
リソース管理エラーの追加情報。 |
|
Error |
エラーの詳細。 |
|
Error |
エラー応答 |
|
system |
リソースの作成と最後の変更に関連するメタデータ。 |
|
Table |
テーブルのテンポラル型。 |
ColumnDataType
列のデータ型。
| 値 | 説明 |
|---|---|
| image |
イメージ |
| text |
SMS 送信 |
| uniqueidentifier |
uniqueidentifier |
| date |
date |
| time |
時間 |
| datetime2 |
datetime2 |
| datetimeoffset |
datetimeoffset |
| tinyint |
tinyint |
| smallint |
smallint (スモールイント) |
| int |
int |
| smalldatetime |
smalldatetime |
| real |
real |
| money |
お金 |
| datetime |
datetime |
| float |
float |
| sql_variant |
sql_variant |
| ntext |
ntext |
| bit |
ビット |
| decimal |
10 進 |
| numeric |
数値 |
| smallmoney |
少額のお金 |
| bigint |
bigint |
| hierarchyid |
hierarchyid(階層を管理するためのSQL Serverデータ型) |
| geometry |
geometry |
| geography |
geography |
| varbinary |
varbinary |
| varchar |
varchar |
| binary |
binary |
| char |
char |
| timestamp |
timestamp |
| nvarchar |
nvarchar(エヌヴァーチャー) |
| nchar |
nchar |
| xml |
XML |
| sysname |
sysname |
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DatabaseColumn
データベース列リソース。
| 名前 | 型 | 説明 |
|---|---|---|
| id |
string (arm-id) |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
リソースの名前 |
| properties.columnType |
列のデータ型。 |
|
| properties.isComputed |
boolean |
列が計算されるかどうか。 |
| properties.memoryOptimized |
boolean |
列がメモリ最適化テーブルに属しているかどうか。 |
| properties.temporalType |
テーブルのテンポラル型。 |
|
| systemData |
create By と modifiedBy の情報を含む Azure Resource Manager メタデータ。 |
|
| type |
string |
リソースの型。 例えば「Microsoft。Compute/virtualMachines」または「Microsoft」などです。ストレージ/ストレージアカウント」 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |
TableTemporalType
テーブルのテンポラル型。
| 値 | 説明 |
|---|---|
| NonTemporalTable |
非テンポラルテーブル |
| HistoryTable |
歴史表 |
| SystemVersionedTemporalTable |
SystemVersionedTemporalTable |