Remove-AzPurviewDataSource
Deletes a data source
Syntax
Remove-AzPurviewDataSource
-Endpoint <String>
-Name <String>
[-DefaultProfile <PSObject>]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Deletes a data source
Examples
Example 1: Remove a data source by name
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
Remove a data source by name
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Endpoint
The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
.
Type: | String |
Aliases: | DataSourceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Returns true when the command succeeds
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell