从ADF想知道SQL DW实例的状态 [英] From ADF wanted know the state of SQL DW instance

查看:72
本文介绍了从ADF想知道SQL DW实例的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ADF&然后想知道SQL DW实例的状态

对我来说简历&暂停工作正常。

我关注 

GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group -name} /providers/Microsoft.Sql/servers/ {server-name} / databases / {database-name}?api-version = 2014-04-01 HTTP / 1.1

传递所有必需值在上面的URL中$
在标题中传递

授权:持票人....

内容类型:application / json

身份验证为无或基本(通过我的天蓝色凭证)

我收到错误消息为 

{

    " errorCode":" 2108",&
    " message":"调用端点时出错。回复状态代码:",

    "failureType":"UserError","
    "target":""Web1"
$
}

作为回报正文为{}

请帮助

I am using ADF & then wanted to know the state of SQL DW instance
For me Resume & Pause is working fine.
I am following 
GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Sql/servers/{server-name}/databases/{database-name}?api-version=2014-04-01 HTTP/1.1
passing all required value in above URL
In headers Passing
Authorization: Bearer....
Content-type: application/json
Authentication as None or Basic(passing my azure Credential)
I am getting error message as 
{
    "errorCode": "2108",
    "message": "Error calling the endpoint. Response status code: ",
    "failureType": "UserError",
    "target": "Web1"
}
in return Body is {}
Please help

推荐答案

我正在使用ADF&然后想知道SQL DW数据库的状态

对我来说简历&暂停工作正常。

我关注 

https://docs.microsoft.com/en-us/azure/sql-data-warehouse/sql-data -warehouse-manage-compute-rest-api #check-database-state

GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group- name} /providers/Microsoft.Sql/servers/ {server-name} / databases / {database-name}?api-version = 2014-04-01 HTTP / 1.1

传递所有必需值以上网址

在标题中传递

授权:持票人....

内容类型:application / json

身份验证为无或基本(通过我的天蓝色凭证)

我收到错误消息 

{

    " errorCode":" 2108",&
    " message":"调用端点时出错。回复状态代码:",

    "failureType":"UserError","
    "target":""Web1"

}

作为回报正文为{}

请帮助



I am using ADF & then wanted to know the state of SQL DW Dataase
For me Resume & Pause is working fine.
I am following 
https://docs.microsoft.com/en-us/azure/sql-data-warehouse/sql-data-warehouse-manage-compute-rest-api#check-database-state
GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Sql/servers/{server-name}/databases/{database-name}?api-version=2014-04-01 HTTP/1.1
passing all required value in above URL
In headers Passing
Authorization: Bearer....
Content-type: application/json
Authentication as None or Basic(passing my azure Credential)
I am getting error message as 
{
    "errorCode": "2108",
    "message": "Error calling the endpoint. Response status code: ",
    "failureType": "UserError",
    "target": "Web1"
}
in return Body is {}
Please help



这篇关于从ADF想知道SQL DW实例的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆