你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Scans - Delete
删除与数据源关联的扫描。
DELETE {endpoint}/scan/datasources/{dataSourceName}/scans/{scanName}?api-version=2023-09-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
data
|
path | True |
string |
dataSource 名称。 Regex pattern: |
endpoint
|
path | True |
string url |
purview 帐户的扫描终结点。 示例:https://{accountName}.purview.azure.com。 |
scan
|
path | True |
string |
扫描名称。 Regex pattern: |
api-version
|
query | True |
string |
要使用的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
成功。 |
|
Other Status Codes |
从扫描服务收到的错误响应。 Headers x-ms-error-code: string |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Scans_Delete
Sample Request
DELETE {endpoint}/scan/datasources/myDataSource/scans/myScanName?api-version=2023-09-01
Sample Response
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
定义
名称 | 说明 |
---|---|
Error |
错误模型。 |
Error |
错误响应模型。 |
ErrorModel
错误模型。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
标识特定错误的唯一错误代码。 |
details |
提供其他错误详细信息的嵌套 ErrorModel 对象的数组。 |
|
message |
string |
一条可读的错误消息,提供有关错误的更多详细信息。 |
target |
string |
与错误关联的特定组件。 |
ErrorResponseModel
错误响应模型。
名称 | 类型 | 说明 |
---|---|---|
error |
错误模型。 |