Remove-AzPurviewDataSource
刪除數據源
語法
Remove-AzPurviewDataSource
-Endpoint <String>
-Name <String>
[-DefaultProfile <PSObject>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
刪除數據源
範例
範例 1:依名稱移除數據源
Remove-AzPurviewDataSource -Endpoint 'https://rs-2.purview.azure.com/' -Name 'NewDataSource'
CollectionLastModifiedAt : 2/9/2022 2:49:14 AM
CollectionReferenceName : brs-2
CollectionType : CollectionReference
CreatedAt : 2/9/2022 2:49:14 AM
Endpoint : https://data123scantest.blob.core.windows.net/
Id : datasources/NewDataSource
Kind : AzureStorage
LastModifiedAt : 2/9/2022 3:02:56 AM
Location : westus
Name : NewDataSource
ResourceGroup : rg
ResourceName : datascantest
Scan :
SubscriptionId : 4348d67b-ffc5-465d-b5dd-xxxxxxxxxx
依名稱移除數據源
參數
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Endpoint
purview 帳戶的掃描端點。 範例:https://{accountName}.purview.azure.com
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
.
類型: | String |
別名: | DataSourceName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PassThru
當命令成功時傳回 true
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |