diff --git a/src/Purview/Purview.sln b/src/Purview/Purview.sln index 2a6538aeccd2..e77faa25a43e 100644 --- a/src/Purview/Purview.sln +++ b/src/Purview/Purview.sln @@ -19,7 +19,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Purview", "Purview\Purview.csproj", "{2C899DE4-0290-4F35-9231-73A809272A0A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Purviewdata", "..\..\generated\Purview\Purviewdata.Autorest\Az.Purviewdata.csproj", "{EFA48FDA-65E7-4C44-A773-B816C2C720D8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Purview", "..\..\generated\Purview\Purview.Autorest\Az.Purview.csproj", "{66FD1544-A24C-460F-9F77-105DDD7F9ACB}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Purviewdata.Autorest", "Purviewdata.Autorest", "{8C3D1E98-5077-2A08-05A3-4023DA060BDC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Purviewdata", "..\..\generated\Purview\Purviewdata.Autorest\Az.Purviewdata.csproj", "{9935B9BD-7653-4808-8C88-B635C3CF4F9A}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Purview.Autorest", "Purview.Autorest", "{37E164A6-74E0-C027-4B44-EF011BEF9500}" EndProject @@ -119,30 +123,30 @@ Global {2C899DE4-0290-4F35-9231-73A809272A0A}.Release|x64.Build.0 = Release|Any CPU {2C899DE4-0290-4F35-9231-73A809272A0A}.Release|x86.ActiveCfg = Release|Any CPU {2C899DE4-0290-4F35-9231-73A809272A0A}.Release|x86.Build.0 = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|x64.ActiveCfg = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|x64.Build.0 = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|x86.ActiveCfg = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Debug|x86.Build.0 = Debug|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|Any CPU.Build.0 = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|x64.ActiveCfg = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|x64.Build.0 = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|x86.ActiveCfg = Release|Any CPU - {EFA48FDA-65E7-4C44-A773-B816C2C720D8}.Release|x86.Build.0 = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|x64.ActiveCfg = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|x64.Build.0 = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|x86.ActiveCfg = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Debug|x86.Build.0 = Debug|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|Any CPU.Build.0 = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|x64.ActiveCfg = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|x64.Build.0 = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|x86.ActiveCfg = Release|Any CPU - {6053A6F1-43E7-4550-997D-B32EC331C5B7}.Release|x86.Build.0 = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|x64.ActiveCfg = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|x64.Build.0 = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|x86.ActiveCfg = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Debug|x86.Build.0 = Debug|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|Any CPU.Build.0 = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|x64.ActiveCfg = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|x64.Build.0 = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|x86.ActiveCfg = Release|Any CPU + {66FD1544-A24C-460F-9F77-105DDD7F9ACB}.Release|x86.Build.0 = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|x64.ActiveCfg = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|x64.Build.0 = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|x86.ActiveCfg = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Debug|x86.Build.0 = Debug|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|Any CPU.Build.0 = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|x64.ActiveCfg = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|x64.Build.0 = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|x86.ActiveCfg = Release|Any CPU + {9935B9BD-7653-4808-8C88-B635C3CF4F9A}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -154,6 +158,6 @@ Global {3C91B8C5-FF50-4986-83EB-029DF102A580} = {1F881B19-EA64-4590-867C-BDF0E4EE58C4} {170A19BB-54DC-497F-A2F2-9591219708F4} = {1F881B19-EA64-4590-867C-BDF0E4EE58C4} {CE3CA09E-F5EF-4D27-9407-A20395047C16} = {1F881B19-EA64-4590-867C-BDF0E4EE58C4} - {6053A6F1-43E7-4550-997D-B32EC331C5B7} = {37E164A6-74E0-C027-4B44-EF011BEF9500} + {9935B9BD-7653-4808-8C88-B635C3CF4F9A} = {8C3D1E98-5077-2A08-05A3-4023DA060BDC} EndGlobalSection EndGlobal diff --git a/src/Purview/Purview/Az.Purview.psd1 b/src/Purview/Purview/Az.Purview.psd1 index c424f818800d..52b68a82e79b 100644 --- a/src/Purview/Purview/Az.Purview.psd1 +++ b/src/Purview/Purview/Az.Purview.psd1 @@ -168,7 +168,11 @@ FunctionsToExport = 'Add-AzPurviewAccountRootCollectionAdmin', 'Get-AzPurviewAcc 'Remove-AzPurviewScanRuleset', 'Remove-AzPurviewTrigger', 'Set-AzPurviewDefaultAccount', 'Start-AzPurviewScanResultScan', 'Stop-AzPurviewScanResultScan', - 'Test-AzPurviewAccountNameAvailability', 'Update-AzPurviewAccount' + 'Test-AzPurviewAccountNameAvailability', 'Update-AzPurviewAccount', + 'Update-AzPurviewClassificationRule', 'Update-AzPurviewDataSource', + 'Update-AzPurviewFilter', 'Update-AzPurviewKeyVaultConnection', + 'Update-AzPurviewScan', 'Update-AzPurviewScanRuleset', + 'Update-AzPurviewTrigger' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() diff --git a/src/Purview/Purview/help/Az.Purview.md b/src/Purview/Purview/help/Az.Purview.md index f618c9860dbf..17bd6f3eb6bb 100644 --- a/src/Purview/Purview/help/Az.Purview.md +++ b/src/Purview/Purview/help/Az.Purview.md @@ -252,22 +252,22 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ### [New-AzPurviewClassificationRule](New-AzPurviewClassificationRule.md) -Creates or Updates a classification rule +Create a classification rule ### [New-AzPurviewCustomClassificationRuleObject](New-AzPurviewCustomClassificationRuleObject.md) Create an in-memory object for CustomClassificationRule. ### [New-AzPurviewDataSource](New-AzPurviewDataSource.md) -Creates or Updates a data source +Create a data source ### [New-AzPurviewFilter](New-AzPurviewFilter.md) -Creates or updates a filter +Create a filter ### [New-AzPurviewFilterObject](New-AzPurviewFilterObject.md) Create an in-memory object for Filter. ### [New-AzPurviewKeyVaultConnection](New-AzPurviewKeyVaultConnection.md) -Creates an instance of a key vault connection +Create an instance of a key vault connection ### [New-AzPurviewOracleDataSourceObject](New-AzPurviewOracleDataSourceObject.md) Create an in-memory object for OracleDataSource. @@ -294,10 +294,10 @@ Create an in-memory object for SapS4HanaDataSource. Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ### [New-AzPurviewScan](New-AzPurviewScan.md) -Creates an instance of a scan +Create an instance of a scan ### [New-AzPurviewScanRuleset](New-AzPurviewScanRuleset.md) -Creates or Updates a scan ruleset +Create a scan ruleset ### [New-AzPurviewSqlServerDatabaseCredentialScanObject](New-AzPurviewSqlServerDatabaseCredentialScanObject.md) Create an in-memory object for SqlServerDatabaseCredentialScan. @@ -312,7 +312,7 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. Create an in-memory object for TeradataDataSource. ### [New-AzPurviewTrigger](New-AzPurviewTrigger.md) -Creates an instance of a trigger +Create an instance of a trigger ### [New-AzPurviewTriggerObject](New-AzPurviewTriggerObject.md) Create an in-memory object for Trigger. @@ -356,3 +356,24 @@ Checks if account name is available. ### [Update-AzPurviewAccount](Update-AzPurviewAccount.md) Update an account +### [Update-AzPurviewClassificationRule](Update-AzPurviewClassificationRule.md) +Update a classification rule + +### [Update-AzPurviewDataSource](Update-AzPurviewDataSource.md) +Update a data source + +### [Update-AzPurviewFilter](Update-AzPurviewFilter.md) +Update a filter + +### [Update-AzPurviewKeyVaultConnection](Update-AzPurviewKeyVaultConnection.md) +Update an instance of a key vault connection + +### [Update-AzPurviewScan](Update-AzPurviewScan.md) +Update an instance of a scan + +### [Update-AzPurviewScanRuleset](Update-AzPurviewScanRuleset.md) +Update a scan ruleset + +### [Update-AzPurviewTrigger](Update-AzPurviewTrigger.md) +Update an instance of a trigger + diff --git a/src/Purview/Purview/help/Get-AzPurviewClassificationRule.md b/src/Purview/Purview/help/Get-AzPurviewClassificationRule.md index 23c03b75638f..148e6072dc78 100644 --- a/src/Purview/Purview/help/Get-AzPurviewClassificationRule.md +++ b/src/Purview/Purview/help/Get-AzPurviewClassificationRule.md @@ -163,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewClassificationRuleVersion.md b/src/Purview/Purview/help/Get-AzPurviewClassificationRuleVersion.md index 18d2538d826c..20b355c93bd0 100644 --- a/src/Purview/Purview/help/Get-AzPurviewClassificationRuleVersion.md +++ b/src/Purview/Purview/help/Get-AzPurviewClassificationRuleVersion.md @@ -127,7 +127,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewDataSource.md b/src/Purview/Purview/help/Get-AzPurviewDataSource.md index 3dd378fce1e7..1b6472b953ea 100644 --- a/src/Purview/Purview/help/Get-AzPurviewDataSource.md +++ b/src/Purview/Purview/help/Get-AzPurviewDataSource.md @@ -148,7 +148,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewFilter.md b/src/Purview/Purview/help/Get-AzPurviewFilter.md index 35eaa8bf8733..67b185e81d2c 100644 --- a/src/Purview/Purview/help/Get-AzPurviewFilter.md +++ b/src/Purview/Purview/help/Get-AzPurviewFilter.md @@ -108,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewKeyVaultConnection.md b/src/Purview/Purview/help/Get-AzPurviewKeyVaultConnection.md index edfc03520066..0addedd45fd5 100644 --- a/src/Purview/Purview/help/Get-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purview/help/Get-AzPurviewKeyVaultConnection.md @@ -118,7 +118,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewScan.md b/src/Purview/Purview/help/Get-AzPurviewScan.md index 9351c00c0b78..07734c1047d8 100644 --- a/src/Purview/Purview/help/Get-AzPurviewScan.md +++ b/src/Purview/Purview/help/Get-AzPurviewScan.md @@ -166,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewScanResultScanHistory.md b/src/Purview/Purview/help/Get-AzPurviewScanResultScanHistory.md index b1e0fa233352..46a739e6df3c 100644 --- a/src/Purview/Purview/help/Get-AzPurviewScanResultScanHistory.md +++ b/src/Purview/Purview/help/Get-AzPurviewScanResultScanHistory.md @@ -150,7 +150,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanResult +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanResult ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewScanRuleset.md b/src/Purview/Purview/help/Get-AzPurviewScanRuleset.md index 1285b6135b72..21260777b7a4 100644 --- a/src/Purview/Purview/help/Get-AzPurviewScanRuleset.md +++ b/src/Purview/Purview/help/Get-AzPurviewScanRuleset.md @@ -146,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewSystemScanRuleset.md b/src/Purview/Purview/help/Get-AzPurviewSystemScanRuleset.md index e35591ca12d7..4457eaca42d8 100644 --- a/src/Purview/Purview/help/Get-AzPurviewSystemScanRuleset.md +++ b/src/Purview/Purview/help/Get-AzPurviewSystemScanRuleset.md @@ -20,13 +20,13 @@ Get-AzPurviewSystemScanRuleset -Endpoint [-DefaultProfile ] ### Get1 ``` -Get-AzPurviewSystemScanRuleset -Endpoint [-DataSourceType ] -Version +Get-AzPurviewSystemScanRuleset -Endpoint [-DataSourceType ] -Version [-DefaultProfile ] [] ``` ### Get ``` -Get-AzPurviewSystemScanRuleset -Endpoint -DataSourceType [-DefaultProfile ] +Get-AzPurviewSystemScanRuleset -Endpoint -DataSourceType [-DefaultProfile ] [] ``` @@ -116,7 +116,7 @@ Get system scanruleset for a data source type and specific version . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: Get1 Aliases: @@ -128,7 +128,7 @@ Accept wildcard characters: False ``` ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: Get Aliases: @@ -193,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetLatest.md b/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetLatest.md index 1b5c9113c129..3ef5ac42e65f 100644 --- a/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetLatest.md +++ b/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetLatest.md @@ -13,8 +13,8 @@ Get the latest version of a system scan ruleset ## SYNTAX ``` -Get-AzPurviewSystemScanRulesetLatest -Endpoint [-DataSourceType ] - [-DefaultProfile ] [] +Get-AzPurviewSystemScanRulesetLatest -Endpoint [-DataSourceType ] [-DefaultProfile ] + [] ``` ## DESCRIPTION @@ -45,7 +45,7 @@ Get latest system scan ruleset available for a data source . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: (All) Aliases: @@ -95,7 +95,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetVersion.md b/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetVersion.md index 9625ed853d25..e7b5689249f8 100644 --- a/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetVersion.md +++ b/src/Purview/Purview/help/Get-AzPurviewSystemScanRulesetVersion.md @@ -13,7 +13,7 @@ List system scan ruleset versions in Data catalog ## SYNTAX ``` -Get-AzPurviewSystemScanRulesetVersion -Endpoint [-DataSourceType ] +Get-AzPurviewSystemScanRulesetVersion -Endpoint [-DataSourceType ] [-DefaultProfile ] [] ``` @@ -69,7 +69,7 @@ Get all versions of system scanruleset available for a data source . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: (All) Aliases: @@ -119,7 +119,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/Get-AzPurviewTrigger.md b/src/Purview/Purview/help/Get-AzPurviewTrigger.md index 14c041cbae76..c69386941195 100644 --- a/src/Purview/Purview/help/Get-AzPurviewTrigger.md +++ b/src/Purview/Purview/help/Get-AzPurviewTrigger.md @@ -124,7 +124,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purview/help/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md b/src/Purview/Purview/help/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md index 7a1d527386ed..a2dd122f56b7 100644 --- a/src/Purview/Purview/help/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md +++ b/src/Purview/Purview/help/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md @@ -14,7 +14,7 @@ Sets Classification Action on a specific classification rule version. ``` Invoke-AzPurviewTagClassificationRuleClassificationVersion -Endpoint -ClassificationRuleName - -ClassificationRuleVersion -Action [-DefaultProfile ] + -ClassificationRuleVersion -Action [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -42,7 +42,7 @@ Set Classification Action on specific rule version . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationAction +Type: System.String Parameter Sets: (All) Aliases: @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen1CredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen1CredentialScanObject.md index ee78385ad4cd..4a5ca8f4ff13 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen1CredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen1CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1credentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AdlsGen1CredentialScan. ## SYNTAX ``` -New-AzPurviewAdlsGen1CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] - [-Worker ] [] +New-AzPurviewAdlsGen1CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AdlsGen1CredentialScan. ### Example 1: Create AdlsGen1 Credential scan object ```powershell -New-AzPurviewAdlsGen1CredentialScanObject -Kind 'AdlsGen1Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output @@ -110,7 +110,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -121,20 +121,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -152,7 +138,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1CredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen1DataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen1DataSourceObject.md index cc76717095b7..16b64f47eda3 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen1DataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen1DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1datasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen1DataSource. ## SYNTAX ``` -New-AzPurviewAdlsGen1DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAdlsGen1DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen1DataSource. ### Example 1: Create AdlsGen1 data source object ```powershell -New-AzPurviewAdlsGen1DataSourceObject -Kind 'AdlsGen1' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' +New-AzPurviewAdlsGen1DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1DataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen1MsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen1MsiScanObject.md index b7d0b2191f40..84b990a1c519 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen1MsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen1MsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1MsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1msiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen1MsiScan. ## SYNTAX ``` -New-AzPurviewAdlsGen1MsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAdlsGen1MsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AdlsGen1MsiScan. ### Example 1: Create AdlsGen1 Msi scan object ```powershell -New-AzPurviewAdlsGen1MsiScanObject -Kind 'AdlsGen1Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output @@ -91,20 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -122,7 +107,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -154,7 +139,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1MsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1MsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen1ScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen1ScanRulesetObject.md index cc205929509b..a4c2d5e4632f 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen1ScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen1ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen1ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen1ScanRuleset. ## SYNTAX ``` -New-AzPurviewAdlsGen1ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] +New-AzPurviewAdlsGen1ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-ScanningRuleCustomFileExtension ] + [-ScanningRuleFileExtension ] [-Type ] [] ``` @@ -27,7 +26,7 @@ Create an in-memory object for AdlsGen1ScanRuleset. ### Example 1: Create AdlsGen1 custom scanruleset object ```powershell -New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -92,25 +91,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -124,7 +108,7 @@ Accept wildcard characters: False ### -ScanningRuleFileExtension ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -138,7 +122,7 @@ Accept wildcard characters: False ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -156,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1ScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen2CredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen2CredentialScanObject.md index 0445e97efec2..fa6a7e24a326 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen2CredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen2CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2credentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AdlsGen2CredentialScan. ## SYNTAX ``` -New-AzPurviewAdlsGen2CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] - [-Worker ] [] +New-AzPurviewAdlsGen2CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AdlsGen2CredentialScan. ### Example 1: Create AdlsGen2 Credential scan object ```powershell -New-AzPurviewAdlsGen2CredentialScanObject -Kind 'AdlsGen2Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output @@ -110,7 +110,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -121,20 +121,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -152,7 +138,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2CredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen2DataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen2DataSourceObject.md index aee32f2f8321..38ef91e2458c 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen2DataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen2DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2datasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen2DataSource. ## SYNTAX ``` -New-AzPurviewAdlsGen2DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAdlsGen2DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen2DataSource. ### Example 1: Create AdlsGen2 data source object ```powershell -New-AzPurviewAdlsGen2DataSourceObject -Kind 'AdlsGen2' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' +New-AzPurviewAdlsGen2DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2DataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen2MsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen2MsiScanObject.md index c1f60da60187..eaae4884069a 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen2MsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen2MsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2MsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2msiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen2MsiScan. ## SYNTAX ``` -New-AzPurviewAdlsGen2MsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAdlsGen2MsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AdlsGen2MsiScan. ### Example 1: Create AdlsGen2 Msi scan object ```powershell -New-AzPurviewAdlsGen2MsiScanObject -Kind 'AdlsGen2Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output @@ -91,20 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -122,7 +107,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -154,7 +139,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2MsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2MsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAdlsGen2ScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAdlsGen2ScanRulesetObject.md index ea391822ae49..51d11752bc3a 100644 --- a/src/Purview/Purview/help/New-AzPurviewAdlsGen2ScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAdlsGen2ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen2ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen2ScanRuleset. ## SYNTAX ``` -New-AzPurviewAdlsGen2ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] +New-AzPurviewAdlsGen2ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-ScanningRuleCustomFileExtension ] + [-ScanningRuleFileExtension ] [-Type ] [] ``` @@ -27,7 +26,7 @@ Create an in-memory object for AdlsGen2ScanRuleset. ### Example 1: Create AdlsGen2 custom scanruleset object ```powershell -New-AzPurviewAdlsGen2ScanRulesetObject -Kind 'AdlsGen2' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen2ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -92,25 +91,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -124,7 +108,7 @@ Accept wildcard characters: False ### -ScanningRuleFileExtension ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -138,7 +122,7 @@ Accept wildcard characters: False ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -156,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2ScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonAccountCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonAccountCredentialScanObject.md index 4ab93774b02b..e5052175a823 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonAccountCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonAccountCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountcredentialscanobject schema: 2.0.0 --- @@ -13,12 +13,10 @@ Create an in-memory object for AmazonAccountCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonAccountCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] +New-AzPurviewAmazonAccountCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -28,7 +26,7 @@ Create an in-memory object for AmazonAccountCredentialScan. ### Example 1: Create Amazon Account Credential scan object ```powershell -New-AzPurviewAmazonAccountCredentialScanObject -Kind 'AmazonAccountCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' +New-AzPurviewAmazonAccountCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' ``` ```output @@ -114,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -125,25 +123,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -171,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -203,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonAccountDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonAccountDataSourceObject.md index cdbe73127c92..2fe76b20a04d 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonAccountDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonAccountDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AmazonAccountDataSource. ## SYNTAX ``` -New-AzPurviewAmazonAccountDataSourceObject -Kind [-AwsAccountId ] - [-CollectionReferenceName ] [-CollectionType ] [-RoleArn ] - [] +New-AzPurviewAmazonAccountDataSourceObject [-AwsAccountId ] [-CollectionReferenceName ] + [-CollectionType ] [-RoleArn ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AmazonAccountDataSource. ### Example 1: Create Amazon Account data source object ```powershell -New-AzPurviewAmazonAccountDataSourceObject -Kind 'AmazonAccount' -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' +New-AzPurviewAmazonAccountDataSourceObject -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' ``` ```output @@ -88,20 +87,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn ```yaml @@ -123,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md index ae6d9f72adee..d2816884f7c2 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for AmazonPostgreSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] - [-VpcEndpointServiceName ] [-Worker ] [] +New-AzPurviewAmazonPostgreSqlCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for AmazonPostgreSqlCredentialScan. ### Example 1: Create Amazon Account PostgreSQL scan object ```powershell -New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind 'AmazonPostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonPostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output @@ -115,7 +115,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -140,20 +140,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -185,7 +171,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -245,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlDataSourceObject.md index 6724dabbfa3b..198882ab0480 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqldatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AmazonPostgreSqlDataSource. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] +New-AzPurviewAmazonPostgreSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [] ``` @@ -25,7 +25,7 @@ Create an in-memory object for AmazonPostgreSqlDataSource. ### Example 1: Create Amazon PostgreSQL data source object ```powershell -New-AzPurviewAmazonPostgreSqlDataSourceObject -Kind 'AmazonPostgreSql' -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAmazonPostgreSqlDataSourceObject -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -75,20 +75,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -138,7 +124,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md index 309b9b1c45f8..a5b58ed5e582 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonPostgreSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AmazonPostgreSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAmazonPostgreSqlScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AmazonPostgreSqlScanRuleset. ### Example 1: Create Amazon PostgreSql custom scanruleset object ```powershell -New-AzPurviewAmazonPostgreSqlScanRulesetObject -Kind 'AmazonPostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonPostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonS3CredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonS3CredentialScanObject.md index 00ae18853ec4..3bd14c6a1f9f 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonS3CredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonS3CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3credentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AmazonS3CredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonS3CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-IsMauiScan ] [-RoleArn ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAmazonS3CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-IsMauiScan ] [-RoleArn ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AmazonS3CredentialScan. ### Example 1: Create Amazon S3 Credential scan object ```powershell -New-AzPurviewAmazonS3CredentialScanObject -Kind 'AmazonS3Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false +New-AzPurviewAmazonS3CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -138,20 +137,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn ```yaml @@ -183,7 +168,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -215,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3CredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonS3DataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonS3DataSourceObject.md index 6f7219f1d108..f0a59630314e 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonS3DataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonS3DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3datasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AmazonS3DataSource. ## SYNTAX ``` -New-AzPurviewAmazonS3DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-RoleArn ] [-ServiceUrl ] - [] +New-AzPurviewAmazonS3DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-RoleArn ] [-ServiceUrl ] [] ``` ## DESCRIPTION @@ -25,8 +24,7 @@ Create an in-memory object for AmazonS3DataSource. ### Example 1: Create AmazonS3 data source object ```powershell -New-AzPurviewAmazonS3DataSourceObject -Kind 'AmazonS3' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 -New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'DS4' -Body $obj +New-AzPurviewAmazonS3DataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 ``` ```output @@ -75,20 +73,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn ```yaml @@ -124,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3DataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonS3ScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonS3ScanRulesetObject.md index 0d604274b71e..0ddfdf91a881 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonS3ScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonS3ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonS3ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AmazonS3ScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonS3ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] +New-AzPurviewAmazonS3ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-ScanningRuleCustomFileExtension ] + [-ScanningRuleFileExtension ] [-Type ] [] ``` @@ -27,7 +26,7 @@ Create an in-memory object for AmazonS3ScanRuleset. ### Example 1: Create AmazonS3 custom scanruleset object ```powershell -New-AzPurviewAmazonS3ScanRulesetObject -Kind 'AmazonS3' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAmazonS3ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -92,25 +91,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -124,7 +108,7 @@ Accept wildcard characters: False ### -ScanningRuleFileExtension ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -138,7 +122,7 @@ Accept wildcard characters: False ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -156,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3ScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonSqlCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonSqlCredentialScanObject.md index b95d53ddc243..c039826191c3 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonSqlCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for AmazonSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonSqlCredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ServerEndpoint ] [-VpcEndpointServiceName ] - [-Worker ] [] +New-AzPurviewAmazonSqlCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-VpcEndpointServiceName ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for AmazonSqlCredentialScan. ### Example 1: Create Amazon Sql Credential scan object ```powershell -New-AzPurviewAmazonSqlCredentialScanObject -Kind 'AmazonSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output @@ -115,7 +115,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -140,20 +140,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -185,7 +171,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -245,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonSqlDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonSqlDataSourceObject.md index 35ee987577a0..fe968a1b37e7 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonSqlDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqldatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AmazonSqlDataSource. ## SYNTAX ``` -New-AzPurviewAmazonSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] +New-AzPurviewAmazonSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [] ``` @@ -25,7 +25,7 @@ Create an in-memory object for AmazonSqlDataSource. ### Example 1: Create Amazon SQL data source object ```powershell -New-AzPurviewAmazonSqlDataSourceObject -Kind 'AmazonSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 +New-AzPurviewAmazonSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 ``` ```output @@ -75,20 +75,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -138,7 +124,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAmazonSqlScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAmazonSqlScanRulesetObject.md index 5d5674ba0831..ee7fb51bf4fa 100644 --- a/src/Purview/Purview/help/New-AzPurviewAmazonSqlScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAmazonSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AmazonSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonSqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAmazonSqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AmazonSqlScanRuleset. ### Example 1: Create Amazon Sql custom scanruleset object ```powershell -New-AzPurviewAmazonSqlScanRulesetObject -Kind 'AmazonSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbCredentialScanObject.md index 4c80686916e5..ba86d9929630 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbcredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureCosmosDbCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] +New-AzPurviewAzureCosmosDbCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` @@ -27,7 +26,7 @@ Create an in-memory object for AzureCosmosDbCredentialScan. ### Example 1: Create Azure CosmosDb Credential scan object ```powershell -New-AzPurviewAzureCosmosDbCredentialScanObject -Kind 'AzureCosmosDbCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' +New-AzPurviewAzureCosmosDbCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' ``` ```output @@ -112,7 +111,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -137,20 +136,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -168,7 +153,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -200,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbDataSourceObject.md index 4d5388a3ea3b..ad7db8e6a8fc 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureCosmosDbDataSource. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbDataSourceObject -Kind [-AccountUri ] - [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureCosmosDbDataSourceObject [-AccountUri ] [-CollectionReferenceName ] + [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureCosmosDbDataSource. ### Example 1: Create Azure CosmosDB data source object ```powershell -New-AzPurviewAzureCosmosDbDataSourceObject -Kind 'AzureCosmosDb' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' +New-AzPurviewAzureCosmosDbDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbScanRulesetObject.md index 275e7818608b..b6ce47350e16 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureCosmosDbScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureCosmosDbScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureCosmosDbScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureCosmosDbScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureCosmosDbScanRuleset. ### Example 1: Create CosmosDB custom scanruleset object ```powershell -New-AzPurviewAzureCosmosDbScanRulesetObject -Kind 'AzureCosmosDb' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureCosmosDbScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerCredentialScanObject.md index 34f9c05627b5..97fc8fb7ff98 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorercredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureDataExplorerCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-Database ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAzureDataExplorerCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-Database ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureDataExplorerCredentialScan. ### Example 1: Create Azure Data Explorer Credential scan object ```powershell -New-AzPurviewAzureDataExplorerCredentialScanObject -Kind 'AzureDataExplorerCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output @@ -112,7 +111,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -137,20 +136,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -168,7 +153,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -200,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerDataSourceObject.md index b0d15ab5c96a..3fd2783a067c 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureDataExplorerDataSource. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureDataExplorerDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureDataExplorerDataSource. ### Example 1: Create Azure Data Explorer data source object ```powershell -New-AzPurviewAzureDataExplorerDataSourceObject -Kind 'AzureDataExplorer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' +New-AzPurviewAzureDataExplorerDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerMsiScanObject.md index 4543a6f13eb2..fddbf4ad26db 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorermsiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureDataExplorerMsiScan. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-Database ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAzureDataExplorerMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-Database ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureDataExplorerMsiScan. ### Example 1: Create Azure Data Explorer Msi scan object ```powershell -New-AzPurviewAzureDataExplorerMsiScanObject -Kind 'AzureDataExplorerMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output @@ -106,20 +105,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -137,7 +122,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -169,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerScanRulesetObject.md index 17018d24e810..60ffdaf3ebce 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureDataExplorerScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureDataExplorerScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureDataExplorerScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureDataExplorerScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureDataExplorerScanRuleset. ### Example 1: Create Azure Data Explorer custom scanruleset object ```powershell -New-AzPurviewAzureDataExplorerScanRulesetObject -Kind 'AzureDataExplorer' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureDataExplorerScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceCredentialScanObject.md index 2b51150af209..0aad0c702937 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureFileServiceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureFileServiceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ShareName ] [-Worker ] - [] +New-AzPurviewAzureFileServiceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] [-ShareName ] + [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureFileServiceCredentialScan. ### Example 1: Create Azure File Service Credential scan object ```powershell -New-AzPurviewAzureFileServiceCredentialScanObject -Kind 'AzureFileServiceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' +New-AzPurviewAzureFileServiceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' ``` ```output @@ -112,7 +111,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,20 +122,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -154,7 +139,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -200,7 +185,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceDataSourceObject.md index 16e049e57dbf..bd8536a0b931 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureFileServiceDataSource. ## SYNTAX ``` -New-AzPurviewAzureFileServiceDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureFileServiceDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureFileServiceDataSource. ### Example 1: Create Azure File Service data source object ```powershell -New-AzPurviewAzureFileServiceDataSourceObject -Kind 'AzureFileService' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' +New-AzPurviewAzureFileServiceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceScanRulesetObject.md index 0bfc2045432b..233cceb0d158 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureFileServiceScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureFileServiceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureFileServiceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicescanrulesetobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureFileServiceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureFileServiceScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureFileServiceScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] - [] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureFileServiceScanRuleset. ### Example 1: Create Azure File Service custom scanruleset object ```powershell -New-AzPurviewAzureFileServiceScanRulesetObject -Kind 'AzureFileService' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureFileServiceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -92,25 +91,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -124,7 +108,7 @@ Accept wildcard characters: False ### -ScanningRuleFileExtension ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -138,7 +122,7 @@ Accept wildcard characters: False ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -156,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureKeyVaultObject.md b/src/Purview/Purview/help/New-AzPurviewAzureKeyVaultObject.md index ff0a3406ac30..75d3b1e093a2 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureKeyVaultObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureKeyVaultObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureKeyVaultObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurekeyvaultobject schema: 2.0.0 --- @@ -73,7 +73,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureKeyVault ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureMySqlCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureMySqlCredentialScanObject.md index 107fbca0227c..c7431f3f0a9a 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureMySqlCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureMySqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureMySqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureMySqlCredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureMySqlCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureMySqlCredentialScan. ### Example 1: Create Azure MySql Credential scan object ```powershell -New-AzPurviewAzureMySqlCredentialScanObject -Kind 'AzureMySqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' +New-AzPurviewAzureMySqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' ``` ```output @@ -114,7 +113,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -139,20 +138,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -184,7 +169,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -230,7 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureMySqlDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureMySqlDataSourceObject.md index fefd7070149c..f91271b3c782 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureMySqlDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureMySqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureMySqlDataSource. ## SYNTAX ``` -New-AzPurviewAzureMySqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-Port ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] +New-AzPurviewAzureMySqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-Port ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` @@ -26,7 +26,7 @@ Create an in-memory object for AzureMySqlDataSource. ### Example 1: Create Azure MySQL data source object ```powershell -New-AzPurviewAzureMySqlDataSourceObject -Kind 'AzureMySql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' +New-AzPurviewAzureMySqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' ``` ```output @@ -79,20 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureMySqlScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureMySqlScanRulesetObject.md index 4fe4d3889845..529e505d2994 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureMySqlScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureMySqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureMySqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureMySqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureMySqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureMySqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureMySqlScanRuleset. ### Example 1: Create Azure MySQL custom scanruleset object ```powershell -New-AzPurviewAzureMySqlScanRulesetObject -Kind 'AzureMySql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureMySqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlCredentialScanObject.md index 44d1861d6a72..4716d9cd8557 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for AzurePostgreSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] - [-SslMode ] [-Worker ] [] +New-AzPurviewAzurePostgreSqlCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-SslMode ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for AzurePostgreSqlCredentialScan. ### Example 1: Create Azure PostgreSql Credential scan object ```powershell -New-AzPurviewAzurePostgreSqlCredentialScanObject -Kind 'AzurePostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' ``` ```output @@ -115,7 +115,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -140,20 +140,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -185,7 +171,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -245,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlDataSourceObject.md index a3a54f5cc09f..61801d5696dc 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzurePostgreSqlDataSource. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-Port ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] +New-AzPurviewAzurePostgreSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-Port ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` @@ -26,7 +26,7 @@ Create an in-memory object for AzurePostgreSqlDataSource. ### Example 1: Create Azure PostgreSQL data source object ```powershell -New-AzPurviewAzurePostgreSqlDataSourceObject -Kind 'AzurePostgreSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' ``` ```output @@ -79,20 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlScanRulesetObject.md index 00b0a4396335..99fa0b4f9950 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzurePostgreSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzurePostgreSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzurePostgreSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzurePostgreSqlScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzurePostgreSqlScanRuleset. ### Example 1: Create Azure PostgreSQL custom scanruleset object ```powershell -New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind 'AzurePostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzurePostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupCredentialScanObject.md index 4a9df6fb070c..8ba462b78400 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureResourceGroupCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] +New-AzPurviewAzureResourceGroupCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` @@ -28,7 +27,7 @@ Create an in-memory object for AzureResourceGroupCredentialScan. ### Example 1: Create Azure resource group Credential scan object ```powershell -New-AzPurviewAzureResourceGroupCredentialScanObject -Kind 'AzureResourceGroupCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureResourceGroupCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output @@ -114,7 +113,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -125,25 +124,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -171,7 +155,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -203,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupDataSourceObject.md index 3f404ef9be65..231da9a77af7 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AzureResourceGroupDataSource. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ResourceGroup ] [-SubscriptionId ] - [] +New-AzPurviewAzureResourceGroupDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-ResourceGroup ] [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AzureResourceGroupDataSource. ### Example 1: Create Azure resource group data source object ```powershell -New-AzPurviewAzureResourceGroupDataSourceObject -Kind 'AzureResourceGroup' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureResourceGroupDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output @@ -74,20 +73,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroup ```yaml @@ -123,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupMsiScanObject.md index 53bef0ee35a1..9a66e9885ffc 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureResourceGroupMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupmsiscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureResourceGroupMsiScan. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ResourceType ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAzureResourceGroupMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ResourceType ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureResourceGroupMsiScan. ### Example 1: Create Azure resource group Msi scan object ```powershell -New-AzPurviewAzureResourceGroupMsiScanObject -Kind 'AzureResourceGroupMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureResourceGroupMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -124,25 +123,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -170,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -202,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md index e3f50ffda8d7..57dc57a5214c 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDataWarehouseCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDataWarehouseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDataWarehouseCredentialScan. ### Example 1: Create Azure Sql Data Warehouse Credential scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -Kind 'AzureSqlDataWarehouseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' +New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -138,20 +137,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -169,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -215,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md index 98247ded67ff..18916ad2fd18 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousedatasourceobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for AzureSqlDataWarehouseDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseDataSourceObject -Kind [-CollectionReferenceName ] +New-AzPurviewAzureSqlDataWarehouseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] [] @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDataWarehouseDataSource. ### Example 1: Create Azure SQL datawarehouse data source object ```powershell -New-AzPurviewAzureSqlDataWarehouseDataSourceObject -Kind 'AzureSqlDataWarehouse' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output @@ -78,20 +78,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -169,7 +155,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md index 0970ff32b308..080e7fadec5b 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureSqlDataWarehouseMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] - [-ServerEndpoint ] [-Worker ] [] +New-AzPurviewAzureSqlDataWarehouseMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-DatabaseName ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDataWarehouseMsiScan. ### Example 1: Create Azure Sql Data Warehouse Msi scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseMsiScanObject -Kind 'AzureSqlDataWarehouseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' ``` ```output @@ -107,20 +107,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -138,7 +124,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md index 54dcbe744c0a..2b63611c7344 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDataWarehouseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDataWarehouseScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureSqlDataWarehouseScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDataWarehouseScanRuleset. ### Example 1: Create Azure SQL Data Warehouse custom scanruleset object ```powershell -New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Kind 'AzureSqlDataWarehouse' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md index d360489c9260..0bf830e99a77 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDatabaseCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDatabaseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseCredentialScan. ### Example 1: Create Azure Sql Db Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind 'AzureSqlDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -138,20 +137,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -169,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -215,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseDataSourceObject.md index 017426d64f80..efd3c39a3cdc 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasedatasourceobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureSqlDatabaseDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] - [-ServerEndpoint ] [-SubscriptionId ] - [] +New-AzPurviewAzureSqlDatabaseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseDataSource. ### Example 1: Create Azure SQL database data source object ```powershell -New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind 'AzureSqlDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output @@ -78,20 +77,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -169,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md index a3baab87bd72..be03781da10d 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. ### Example 1: Create Azure Sql Database Managed Instance Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind 'AzureSqlDatabaseManagedInstanceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -138,20 +137,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -169,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -215,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md index d22114cda895..b95f82c21ba5 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] +New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject [-CollectionReferenceName ] + [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. ### Example 1: Create Azure SQL database managed instance data source object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -Kind 'AzureSqlDatabaseManagedInstance' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' ``` ```output @@ -78,20 +78,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -169,7 +155,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md index e56327f7e6df..f2d9306a6899 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] - [-ServerEndpoint ] [-Worker ] [] +New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-DatabaseName ] + [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. ### Example 1: Create Azure Sql Database Managed Instance Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -Kind 'AzureSqlDatabaseManagedInstanceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output @@ -107,20 +107,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -138,7 +124,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md index 86f135773929..39c2b24c2942 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. ### Example 1: Create Azure SQL Database Managed Instance custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Kind 'AzureSqlDatabaseManagedInstance' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseMsiScanObject.md index 65df2af37312..ada9c9f376de 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemsiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] +New-AzPurviewAzureSqlDatabaseMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-DatabaseName ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] [] ``` @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseMsiScan. ### Example 1: Create Azure Sql Db Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseMsiScanObject -Kind 'AzureSqlDatabaseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output @@ -107,20 +107,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -138,7 +124,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md index 6d3982b726c7..7d1f4f46bb74 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureSqlDatabaseScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseScanRuleset. ### Example 1: Create Azure SQL Database custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseScanRulesetObject -Kind 'AzureSqlDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureStorageCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureStorageCredentialScanObject.md index c9c32ed83a18..a7dd003c096d 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureStorageCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureStorageCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragecredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureStorageCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureStorageCredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] - [-Worker ] [] +New-AzPurviewAzureStorageCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureStorageCredentialScan. ### Example 1: Create Azure Storage Credential scan object ```powershell -New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output @@ -110,7 +110,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -121,20 +121,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -152,7 +138,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureStorageDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureStorageDataSourceObject.md index 7b7e29a310e2..f8e11708a354 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureStorageDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureStorageDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureStorageDataSource. ## SYNTAX ``` -New-AzPurviewAzureStorageDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureStorageDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureStorageDataSource. ### Example 1: Create Azure Storage data source object ```powershell -New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' +New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' ``` ```output @@ -91,20 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -168,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureStorageMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureStorageMsiScanObject.md index 67ff36534f74..6c4e6b2df68f 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureStorageMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureStorageMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureStorageMsiScan. ## SYNTAX ``` -New-AzPurviewAzureStorageMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAzureStorageMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureStorageMsiScan. ### Example 1: Create Azure Storage Msi scan object ```powershell -New-AzPurviewAzureStorageMsiScanObject -Kind 'AzureStorageMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output @@ -91,20 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -122,7 +107,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -154,7 +139,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureStorageScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureStorageScanRulesetObject.md index dc60f16034ea..7470f767218d 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureStorageScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureStorageScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureStorageScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragescanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureStorageScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureStorageScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] +New-AzPurviewAzureStorageScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-ScanningRuleCustomFileExtension ] + [-ScanningRuleFileExtension ] [-Type ] [] ``` @@ -27,7 +26,7 @@ Create an in-memory object for AzureStorageScanRuleset. ### Example 1: Create Azure Storage custom scanruleset object ```powershell -New-AzPurviewAzureStorageScanRulesetObject -Kind 'AzureStorage' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureStorageScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -92,25 +91,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -124,7 +108,7 @@ Accept wildcard characters: False ### -ScanningRuleFileExtension ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -138,7 +122,7 @@ Accept wildcard characters: False ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -156,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionCredentialScanObject.md index a6958df51ef0..f3a9c7bee7d3 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptioncredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSubscriptionCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] +New-AzPurviewAzureSubscriptionCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` @@ -28,7 +27,7 @@ Create an in-memory object for AzureSubscriptionCredentialScan. ### Example 1: Create Azure resource sub Credential scan object ```powershell -New-AzPurviewAzureSubscriptionCredentialScanObject -Kind 'AzureSubscriptionCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureSubscriptionCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output @@ -114,7 +113,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -125,25 +124,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -171,7 +155,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -203,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionDataSourceObject.md index 62bd4e9cac91..5b12f153ab97 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptiondatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AzureSubscriptionDataSource. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-SubscriptionId ] - [] +New-AzPurviewAzureSubscriptionDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AzureSubscriptionDataSource. ### Example 1: Create Azure Subscription data source object ```powershell -New-AzPurviewAzureSubscriptionDataSourceObject -Kind 'AzureSubscription' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureSubscriptionDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output @@ -73,20 +72,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId ```yaml @@ -108,7 +93,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionMsiScanObject.md index e232879f2018..8ab01467d315 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSubscriptionMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptionmsiscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSubscriptionMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ResourceType ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewAzureSubscriptionMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ResourceType ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSubscriptionMsiScan. ### Example 1: Create Azure resource sub Msi scan object ```powershell -New-AzPurviewAzureSubscriptionMsiScanObject -Kind 'AzureSubscriptionMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureSubscriptionMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -124,25 +123,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -170,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -202,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md index 33b4eb8a6de5..1747230da7f1 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSynapseWorkspaceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] +New-AzPurviewAzureSynapseWorkspaceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` @@ -28,7 +27,7 @@ Create an in-memory object for AzureSynapseWorkspaceCredentialScan. ### Example 1: Create Azure Synapse Workspace Credential scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind 'AzureSynapseWorkspaceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output @@ -114,7 +113,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -125,25 +124,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -171,7 +155,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -203,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md index 69d81d531bed..1aef89a3e79d 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacedatasourceobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for AzureSynapseWorkspaceDataSource. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceDataSourceObject -Kind [-CollectionReferenceName ] +New-AzPurviewAzureSynapseWorkspaceDataSourceObject [-CollectionReferenceName ] [-CollectionType ] [-DedicatedSqlEndpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerlessSqlEndpoint ] [-SubscriptionId ] [] @@ -26,7 +26,7 @@ Create an in-memory object for AzureSynapseWorkspaceDataSource. ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewAzureSynapseWorkspaceDataSourceObject -Kind 'AzureSynapseWorkspace' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' +New-AzPurviewAzureSynapseWorkspaceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' ``` ```output @@ -93,20 +93,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -184,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md index 5b58097aeeb4..8d244290c9cc 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacemsiscanobject schema: 2.0.0 --- @@ -13,12 +13,10 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] +New-AzPurviewAzureSynapseWorkspaceMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] - [] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -28,7 +26,7 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. ### Example 1: Create Azure Synapse Workspace Msi scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceMsiScanObject -Kind 'AzureSynapseWorkspaceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output @@ -114,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -125,25 +123,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -171,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -203,7 +186,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md index bd4343b3cfc5..afb2f5b1d488 100644 --- a/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSynapseWorkspaceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureSynapseWorkspaceScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ### Example 1: Create Azure Synapse Workspace custom scanruleset object ```powershell -New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Kind 'AzureSynapseWorkspace' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewClassificationRule.md b/src/Purview/Purview/help/New-AzPurviewClassificationRule.md index 117bcd6c0e32..cfcdee9b851e 100644 --- a/src/Purview/Purview/help/New-AzPurviewClassificationRule.md +++ b/src/Purview/Purview/help/New-AzPurviewClassificationRule.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewClassificationRule ## SYNOPSIS -Creates or Updates a classification rule +Create a classification rule ## SYNTAX +### Create (Default) ``` New-AzPurviewClassificationRule -Endpoint -Name -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewClassificationRule -Endpoint -Name -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewClassificationRule -Endpoint -Name -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or Updates a classification rule +Create a classification rule ## EXAMPLES @@ -27,7 +40,7 @@ Creates or Updates a classification rule $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -$obj = New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +$obj = New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr New-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Body $obj ``` @@ -59,11 +72,10 @@ Create custom classification object named 'ClassificationRule4' ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule +Parameter Sets: Create Aliases: Required: True @@ -105,6 +117,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -156,11 +198,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewCustomClassificationRuleObject.md b/src/Purview/Purview/help/New-AzPurviewCustomClassificationRuleObject.md index e4c8b49bc8a0..838441632b68 100644 --- a/src/Purview/Purview/help/New-AzPurviewCustomClassificationRuleObject.md +++ b/src/Purview/Purview/help/New-AzPurviewCustomClassificationRuleObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewCustomClassificationRuleObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewcustomclassificationruleobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for CustomClassificationRule. ## SYNTAX ``` -New-AzPurviewCustomClassificationRuleObject -Kind [-ClassificationName ] +New-AzPurviewCustomClassificationRuleObject [-ClassificationName ] [-ColumnPattern ] [-DataPattern ] - [-Description ] [-MinimumPercentageMatch ] [-RuleStatus ] + [-Description ] [-MinimumPercentageMatch ] [-RuleStatus ] [] ``` @@ -29,7 +29,7 @@ Create an in-memory object for CustomClassificationRule. $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr ``` ```output @@ -75,7 +75,7 @@ Accept wildcard characters: False ### -ColumnPattern ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[] Parameter Sets: (All) Aliases: @@ -89,7 +89,7 @@ Accept wildcard characters: False ### -DataPattern ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[] Parameter Sets: (All) Aliases: @@ -114,20 +114,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -MinimumPercentageMatch ```yaml @@ -145,7 +131,7 @@ Accept wildcard characters: False ### -RuleStatus ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleStatus +Type: System.String Parameter Sets: (All) Aliases: @@ -163,7 +149,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CustomClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.CustomClassificationRule ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewDataSource.md b/src/Purview/Purview/help/New-AzPurviewDataSource.md index 559e2dea29c6..12123e89f502 100644 --- a/src/Purview/Purview/help/New-AzPurviewDataSource.md +++ b/src/Purview/Purview/help/New-AzPurviewDataSource.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewDataSource ## SYNOPSIS -Creates or Updates a data source +Create a data source ## SYNTAX +### Create (Default) ``` New-AzPurviewDataSource -Endpoint -Name -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewDataSource -Endpoint -Name -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewDataSource -Endpoint -Name -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or Updates a data source +Create a data source ## EXAMPLES ### Example 1: Create a data source ```powershell -$obj = New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ +$obj = New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Body $obj ``` @@ -51,11 +64,10 @@ Create a data source named 'NewDataSource' ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource +Parameter Sets: Create Aliases: Required: True @@ -97,6 +109,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -148,11 +190,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewFilter.md b/src/Purview/Purview/help/New-AzPurviewFilter.md index 397e16a53991..26fab4a691cf 100644 --- a/src/Purview/Purview/help/New-AzPurviewFilter.md +++ b/src/Purview/Purview/help/New-AzPurviewFilter.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewFilter ## SYNOPSIS -Creates or updates a filter +Create a filter ## SYNTAX +### Create (Default) ``` New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or updates a filter +Create a filter ## EXAMPLES @@ -42,11 +55,10 @@ Create the scope filters of the scan named 'Scan1ForDemo' for datasource 'DataSc ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter +Parameter Sets: Create Aliases: Required: True @@ -103,6 +115,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ScanName . @@ -154,11 +196,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewFilterObject.md b/src/Purview/Purview/help/New-AzPurviewFilterObject.md index 8b445967e8bb..6388956e6f38 100644 --- a/src/Purview/Purview/help/New-AzPurviewFilterObject.md +++ b/src/Purview/Purview/help/New-AzPurviewFilterObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewFilterObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewfilterobject schema: 2.0.0 --- @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Filter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Filter ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewKeyVaultConnection.md b/src/Purview/Purview/help/New-AzPurviewKeyVaultConnection.md index 0188803d0639..37c45743f665 100644 --- a/src/Purview/Purview/help/New-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purview/help/New-AzPurviewKeyVaultConnection.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewKeyVaultConnection ## SYNOPSIS -Creates an instance of a key vault connection +Create an instance of a key vault connection ## SYNTAX +### Create (Default) ``` New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates an instance of a key vault connection +Create an instance of a key vault connection ## EXAMPLES @@ -41,11 +54,10 @@ Create a key vault connection named 'KeyVaultConnection2' in Purview. ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault +Parameter Sets: Create Aliases: Required: True @@ -87,6 +99,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -KeyVaultName . @@ -138,11 +180,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewOracleDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewOracleDataSourceObject.md index 21b6056218af..86759752328d 100644 --- a/src/Purview/Purview/help/New-AzPurviewOracleDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewOracleDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewOracleDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurvieworacledatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for OracleDataSource. ## SYNTAX ``` -New-AzPurviewOracleDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Host ] [-Port ] [-Service ] +New-AzPurviewOracleDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Host ] [-Port ] [-Service ] [] ``` @@ -25,7 +25,7 @@ Create an in-memory object for OracleDataSource. ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewOracleDataSourceObject -Kind 'Oracle' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' +New-AzPurviewOracleDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' ``` ```output @@ -89,20 +89,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port ```yaml @@ -138,7 +124,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.OracleDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.OracleDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewPowerBIDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewPowerBIDataSourceObject.md index 108edb481442..f481e6aa66a1 100644 --- a/src/Purview/Purview/help/New-AzPurviewPowerBIDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewPowerBIDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for PowerBIDataSource. ## SYNTAX ``` -New-AzPurviewPowerBIDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Tenant ] [] +New-AzPurviewPowerBIDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Tenant ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for PowerBIDataSource. ### Example 1: Create PowerBI data source object ```powershell -New-AzPurviewPowerBIDataSourceObject -Kind 'PowerBI' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' +New-AzPurviewPowerBIDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' ``` ```output @@ -72,20 +72,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Tenant ```yaml @@ -107,7 +93,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewPowerBIDelegatedScanObject.md b/src/Purview/Purview/help/New-AzPurviewPowerBIDelegatedScanObject.md index 7493b153afad..e48b939a4ac6 100644 --- a/src/Purview/Purview/help/New-AzPurviewPowerBIDelegatedScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewPowerBIDelegatedScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDelegatedScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidelegatedscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for PowerBIDelegatedScan. ## SYNTAX ``` -New-AzPurviewPowerBIDelegatedScanObject -Kind [-AuthenticationType ] - [-ClientId ] [-CollectionReferenceName ] [-CollectionType ] - [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] [-Password ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Tenant ] [-UserName ] - [-Worker ] [] +New-AzPurviewPowerBIDelegatedScanObject [-AuthenticationType ] [-ClientId ] + [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] + [-IncludePersonalWorkspace ] [-Password ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Tenant ] [-UserName ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for PowerBIDelegatedScan. ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIDelegatedScanObject -Kind 'PowerBIDelegated' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' +New-AzPurviewPowerBIDelegatedScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' ``` ```output @@ -140,20 +140,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Password ```yaml @@ -185,7 +171,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -245,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiDelegatedScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiDelegatedScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewPowerBIMsiScanObject.md b/src/Purview/Purview/help/New-AzPurviewPowerBIMsiScanObject.md index b0f511354780..d69764ef386c 100644 --- a/src/Purview/Purview/help/New-AzPurviewPowerBIMsiScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewPowerBIMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbimsiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for PowerBIMsiScan. ## SYNTAX ``` -New-AzPurviewPowerBIMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] - [] +New-AzPurviewPowerBIMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for PowerBIMsiScan. ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIMsiScanObject -Kind 'PowerBIMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true +New-AzPurviewPowerBIMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true ``` ```output @@ -106,20 +105,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -137,7 +122,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -169,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiMsiScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewRegexClassificationRulePatternObject.md b/src/Purview/Purview/help/New-AzPurviewRegexClassificationRulePatternObject.md index 0d28776a3260..6291af046082 100644 --- a/src/Purview/Purview/help/New-AzPurviewRegexClassificationRulePatternObject.md +++ b/src/Purview/Purview/help/New-AzPurviewRegexClassificationRulePatternObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewRegexClassificationRulePatternObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewregexclassificationrulepatternobject schema: 2.0.0 --- @@ -58,7 +58,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.RegexClassificationRulePattern +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.RegexClassificationRulePattern ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSapEccDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewSapEccDataSourceObject.md index f98f79b01cbf..537902a7edbc 100644 --- a/src/Purview/Purview/help/New-AzPurviewSapEccDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSapEccDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapEccDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsapeccdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for SapEccDataSource. ## SYNTAX ``` -New-AzPurviewSapEccDataSourceObject -Kind [-ApplicationServer ] - [-CollectionReferenceName ] [-CollectionType ] [-SystemNumber ] - [] +New-AzPurviewSapEccDataSourceObject [-ApplicationServer ] [-CollectionReferenceName ] + [-CollectionType ] [-SystemNumber ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for SapEccDataSource. ### Example 1: Create SAPECC data source object ```powershell -New-AzPurviewSapEccDataSourceObject -Kind 'SapEcc' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapEccDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output @@ -88,20 +87,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SystemNumber ```yaml @@ -123,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapEccDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapEccDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSapS4HanaDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewSapS4HanaDataSourceObject.md index 41c17e0d358b..d94f08031455 100644 --- a/src/Purview/Purview/help/New-AzPurviewSapS4HanaDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSapS4HanaDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanadatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for SapS4HanaDataSource. ## SYNTAX ``` -New-AzPurviewSapS4HanaDataSourceObject -Kind [-ApplicationServer ] - [-CollectionReferenceName ] [-CollectionType ] [-SystemNumber ] - [] +New-AzPurviewSapS4HanaDataSourceObject [-ApplicationServer ] [-CollectionReferenceName ] + [-CollectionType ] [-SystemNumber ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for SapS4HanaDataSource. ### Example 1: Create SAPS4Hana data source object ```powershell -New-AzPurviewSapS4HanaDataSourceObject -Kind 'SapS4Hana' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapS4HanaDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output @@ -88,20 +87,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SystemNumber ```yaml @@ -123,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md index 9635e696babf..7e9dd6ce5bd9 100644 --- a/src/Purview/Purview/help/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaSapS4HanaCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanasaps4hanacredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ## SYNTAX ``` -New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -Kind [-ClientId ] - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-JCoLibraryPath ] - [-MaximumMemoryAllowedInGb ] [-MitiCache ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] +New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject [-ClientId ] [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-JCoLibraryPath ] [-MaximumMemoryAllowedInGb ] + [-MitiCache ] [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` @@ -28,7 +27,7 @@ Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ### Example 1: Create SAPS4 Hana Credential Scan Object ```powershell -New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -Kind 'SapS4HanaSapS4HanaCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output @@ -130,7 +129,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -155,20 +154,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -MaximumMemoryAllowedInGb ```yaml @@ -214,7 +199,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -246,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaSapS4HanaCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaSapS4HanaCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewScan.md b/src/Purview/Purview/help/New-AzPurviewScan.md index 1a0f56f84b20..9d46e5277ae8 100644 --- a/src/Purview/Purview/help/New-AzPurviewScan.md +++ b/src/Purview/Purview/help/New-AzPurviewScan.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewScan ## SYNOPSIS -Creates an instance of a scan +Create an instance of a scan ## SYNTAX +### Create (Default) ``` New-AzPurviewScan -Endpoint -DataSourceName -Name -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewScan -Endpoint -DataSourceName -Name -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewScan -Endpoint -DataSourceName -Name -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates an instance of a scan +Create an instance of a scan ## EXAMPLES ### Example 1: Create a scan instance under a data source ```powershell -$obj = New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +$obj = New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' New-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Body $obj ``` @@ -52,11 +65,10 @@ Create a scan instance 'ScanTest' under data source ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan +Parameter Sets: Create Aliases: Required: True @@ -113,6 +125,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -164,11 +206,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewScanRuleset.md b/src/Purview/Purview/help/New-AzPurviewScanRuleset.md index 7f1ed405a21c..ab1d12feb8fc 100644 --- a/src/Purview/Purview/help/New-AzPurviewScanRuleset.md +++ b/src/Purview/Purview/help/New-AzPurviewScanRuleset.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewScanRuleset ## SYNOPSIS -Creates or Updates a scan ruleset +Create a scan ruleset ## SYNTAX +### Create (Default) ``` New-AzPurviewScanRuleset -Endpoint -Name -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewScanRuleset -Endpoint -Name -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewScanRuleset -Endpoint -Name -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates or Updates a scan ruleset +Create a scan ruleset ## EXAMPLES ### Example 1: Create custom scanruleset ```powershell -$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' New-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Body $obj ``` @@ -50,11 +63,10 @@ Create custom scanruleset ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset +Parameter Sets: Create Aliases: Required: True @@ -96,6 +108,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -147,11 +189,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseCredentialScanObject.md b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseCredentialScanObject.md index 4557a0e23220..408e7c29a0ab 100644 --- a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseCredentialScanObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for SqlServerDatabaseCredentialScan. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewSqlServerDatabaseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for SqlServerDatabaseCredentialScan. ### Example 1: Create Sql Server DB Credential scan object ```powershell -New-AzPurviewSqlServerDatabaseCredentialScanObject -Kind 'SqlServerDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSqlServerDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output @@ -113,7 +112,7 @@ Accept wildcard characters: False ### -CredentialType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -138,20 +137,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName ```yaml @@ -169,7 +154,7 @@ Accept wildcard characters: False ### -ScanRulesetType ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -215,7 +200,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseCredentialScan ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseDataSourceObject.md index e5442e2087da..38a9dc3ca838 100644 --- a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasedatasourceobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for SqlServerDatabaseDataSource. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] - [-ServerEndpoint ] [-SubscriptionId ] - [] +New-AzPurviewSqlServerDatabaseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for SqlServerDatabaseDataSource. ### Example 1: Create SQL Server Database data source object ```powershell -New-AzPurviewSqlServerDatabaseDataSourceObject -Kind 'SqlServerDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' +New-AzPurviewSqlServerDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' ``` ```output @@ -78,20 +77,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location ```yaml @@ -169,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseScanRulesetObject.md b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseScanRulesetObject.md index 71dd09574456..20ee5ede2397 100644 --- a/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseScanRulesetObject.md +++ b/src/Purview/Purview/help/New-AzPurviewSqlServerDatabaseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewSqlServerDatabaseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewSqlServerDatabaseScanRulesetObject [-Description ] + [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] [-Type ] + [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. ### Example 1: Create Sql Server Db custom scanruleset object ```powershell -New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind 'SqlServerDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewSqlServerDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -88,24 +88,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -123,7 +109,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewTeradataDataSourceObject.md b/src/Purview/Purview/help/New-AzPurviewTeradataDataSourceObject.md index f9a921fff2e4..d175eb627c26 100644 --- a/src/Purview/Purview/help/New-AzPurviewTeradataDataSourceObject.md +++ b/src/Purview/Purview/help/New-AzPurviewTeradataDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewTeradataDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewteradatadatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for TeradataDataSource. ## SYNTAX ``` -New-AzPurviewTeradataDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Host ] [] +New-AzPurviewTeradataDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Host ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for TeradataDataSource. ### Example 1: Create Teradata data source object ```powershell -New-AzPurviewTeradataDataSourceObject -Kind 'Teradata' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' +New-AzPurviewTeradataDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' ``` ```output @@ -86,20 +86,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -107,7 +93,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.TeradataDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.TeradataDataSource ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewTrigger.md b/src/Purview/Purview/help/New-AzPurviewTrigger.md index 96dd9743c86c..9ddd6b668ca4 100644 --- a/src/Purview/Purview/help/New-AzPurviewTrigger.md +++ b/src/Purview/Purview/help/New-AzPurviewTrigger.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewTrigger ## SYNOPSIS -Creates an instance of a trigger +Create an instance of a trigger ## SYNTAX +### Create (Default) ``` New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -Body [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates an instance of a trigger +Create an instance of a trigger ## EXAMPLES ### Example 1: Create trigger schedule for scan run ```powershell -$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) New-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -Body $obj ``` @@ -58,11 +71,10 @@ Create trigger for a full scan starting 02/17/22 1:31 PM UTC and ending 7/20/202 ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger +Parameter Sets: Create Aliases: Required: True @@ -119,6 +131,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ScanName . @@ -170,11 +212,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purview/help/New-AzPurviewTriggerObject.md b/src/Purview/Purview/help/New-AzPurviewTriggerObject.md index bdd2f8754e24..d159a0f0dde6 100644 --- a/src/Purview/Purview/help/New-AzPurviewTriggerObject.md +++ b/src/Purview/Purview/help/New-AzPurviewTriggerObject.md @@ -1,7 +1,7 @@ --- external help file: Az.Purview-help.xml Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewTriggerObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewtriggerobject schema: 2.0.0 --- @@ -14,12 +14,13 @@ Create an in-memory object for Trigger. ``` New-AzPurviewTriggerObject [-IncrementalScanStartTime ] [-Interval ] - [-RecurrenceEndTime ] [-RecurrenceFrequency ] [-RecurrenceInterval ] - [-RecurrenceStartTime ] [-RecurrenceTimeZone ] [-ScanLevel ] - [-ScheduleAdditionalProperty ] [-ScheduleHour ] - [-ScheduleMinute ] [-ScheduleMonthDay ] - [-ScheduleMonthlyOccurrence ] [-ScheduleWeekDay ] - [] + [-RecurrenceEndTime ] [-RecurrenceFrequency ] [-RecurrenceInterval ] + [-RecurrenceScheduleAdditionalProperty ] + [-RecurrenceScheduleHour ] [-RecurrenceScheduleMinute ] + [-RecurrenceScheduleMonthDay ] + [-RecurrenceScheduleMonthlyOccurrence ] + [-RecurrenceScheduleWeekDay ] [-RecurrenceStartTime ] [-RecurrenceTimeZone ] + [-ScanLevel ] [] ``` ## DESCRIPTION @@ -29,7 +30,7 @@ Create an in-memory object for Trigger. ### Example 1: Create trigger object ```powershell -New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) ``` ```output @@ -105,7 +106,7 @@ Accept wildcard characters: False ### -RecurrenceFrequency ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.TriggerFrequency +Type: System.String Parameter Sets: (All) Aliases: @@ -130,10 +131,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RecurrenceStartTime +### -RecurrenceScheduleAdditionalProperty +Dictionary of \. ```yaml -Type: System.DateTime +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleAdditionalProperties Parameter Sets: (All) Aliases: @@ -144,10 +146,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RecurrenceTimeZone +### -RecurrenceScheduleHour ```yaml -Type: System.String +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -158,10 +160,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScanLevel +### -RecurrenceScheduleMinute ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -172,12 +174,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleAdditionalProperty -Dictionary of \. -To construct, see NOTES section for SCHEDULEADDITIONALPROPERTY properties and create a hash table. +### -RecurrenceScheduleMonthDay ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleAdditionalProperties +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -188,10 +188,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleHour +### -RecurrenceScheduleMonthlyOccurrence ```yaml -Type: System.Int32[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleOccurrence[] Parameter Sets: (All) Aliases: @@ -202,10 +202,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMinute +### -RecurrenceScheduleWeekDay ```yaml -Type: System.Int32[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -216,10 +216,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMonthDay +### -RecurrenceStartTime ```yaml -Type: System.Int32[] +Type: System.DateTime Parameter Sets: (All) Aliases: @@ -230,11 +230,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMonthlyOccurrence -To construct, see NOTES section for SCHEDULEMONTHLYOCCURRENCE properties and create a hash table. +### -RecurrenceTimeZone ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleOccurrence[] +Type: System.String Parameter Sets: (All) Aliases: @@ -245,10 +244,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleWeekDay +### -ScanLevel ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DaysOfWeek[] +Type: System.String Parameter Sets: (All) Aliases: @@ -266,7 +265,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Trigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Trigger ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewClassificationRule.md b/src/Purview/Purview/help/Remove-AzPurviewClassificationRule.md index e330d2d119d8..771df8199752 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewClassificationRule.md +++ b/src/Purview/Purview/help/Remove-AzPurviewClassificationRule.md @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewDataSource.md b/src/Purview/Purview/help/Remove-AzPurviewDataSource.md index 00009010cf54..0f84b4ef2f8f 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewDataSource.md +++ b/src/Purview/Purview/help/Remove-AzPurviewDataSource.md @@ -148,7 +148,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewKeyVaultConnection.md b/src/Purview/Purview/help/Remove-AzPurviewKeyVaultConnection.md index 9917c1b11764..af510c55edaa 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purview/help/Remove-AzPurviewKeyVaultConnection.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewScan.md b/src/Purview/Purview/help/Remove-AzPurviewScan.md index 08d84b844f77..b9444e2be4f5 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewScan.md +++ b/src/Purview/Purview/help/Remove-AzPurviewScan.md @@ -164,7 +164,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewScanRuleset.md b/src/Purview/Purview/help/Remove-AzPurviewScanRuleset.md index 9374fe706891..c69238a9f604 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewScanRuleset.md +++ b/src/Purview/Purview/help/Remove-AzPurviewScanRuleset.md @@ -147,7 +147,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purview/help/Remove-AzPurviewTrigger.md b/src/Purview/Purview/help/Remove-AzPurviewTrigger.md index 68ec37293cf5..6be7311307e9 100644 --- a/src/Purview/Purview/help/Remove-AzPurviewTrigger.md +++ b/src/Purview/Purview/help/Remove-AzPurviewTrigger.md @@ -171,7 +171,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purview/help/Start-AzPurviewScanResultScan.md b/src/Purview/Purview/help/Start-AzPurviewScanResultScan.md index 21a58fdb7b55..ba4f062e2868 100644 --- a/src/Purview/Purview/help/Start-AzPurviewScanResultScan.md +++ b/src/Purview/Purview/help/Start-AzPurviewScanResultScan.md @@ -14,8 +14,8 @@ Runs the scan ``` Start-AzPurviewScanResultScan -Endpoint -DataSourceName -RunId -ScanName - [-ScanLevel ] [-DefaultProfile ] [-WhatIf] - [-Confirm] [] + [-ScanLevel ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -104,7 +104,7 @@ Accept wildcard characters: False . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType +Type: System.String Parameter Sets: (All) Aliases: @@ -168,7 +168,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purview/help/Stop-AzPurviewScanResultScan.md b/src/Purview/Purview/help/Stop-AzPurviewScanResultScan.md index b0f3122169a9..359eddd2216e 100644 --- a/src/Purview/Purview/help/Stop-AzPurviewScanResultScan.md +++ b/src/Purview/Purview/help/Stop-AzPurviewScanResultScan.md @@ -152,7 +152,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purview/help/Update-AzPurviewClassificationRule.md b/src/Purview/Purview/help/Update-AzPurviewClassificationRule.md new file mode 100644 index 000000000000..a621194cd006 --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewClassificationRule.md @@ -0,0 +1,160 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewclassificationrule +schema: 2.0.0 +--- + +# Update-AzPurviewClassificationRule + +## SYNOPSIS +Update a classification rule + +## SYNTAX + +``` +Update-AzPurviewClassificationRule -Endpoint -Name [-Kind ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a classification rule + +## EXAMPLES + +### Example 1: Update a classification rule +```powershell +Update-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Kind System +``` + +```output +ClassificationAction : Keep +ClassificationName : ClassificationRule4 +ColumnPattern : {{ + "kind": "Regex", + "pattern": "^col1$" + }, { + "kind": "Regex", + "pattern": "^col2$" + }} +CreatedAt : 2/8/2022 10:04:55 PM +DataPattern : {} +Description : This is a rule2 +Id : classificationrules/ClassificationRule5 +Kind : System +LastModifiedAt : 2/14/2022 9:00:32 AM +MinimumPercentageMatch : +Name : ClassificationRule5 +RuleStatus : Enabled +Version : 2 +``` + +Update a classification rule + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ClassificationRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewDataSource.md b/src/Purview/Purview/help/Update-AzPurviewDataSource.md new file mode 100644 index 000000000000..15db6bf84e76 --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewDataSource.md @@ -0,0 +1,155 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewdatasource +schema: 2.0.0 +--- + +# Update-AzPurviewDataSource + +## SYNOPSIS +Update a data source + +## SYNTAX + +``` +Update-AzPurviewDataSource -Endpoint -Name [-Kind ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a data source + +## EXAMPLES + +### Example 1: Update a data source +```powershell +Update-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Kind SqlServerDatabase +``` + +```output +CollectionLastModifiedAt : 2/15/2022 10:36:25 AM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +CreatedAt : 2/15/2022 10:36:25 AM +Endpoint : https://datascantest.blob.core.windows.net/ +Id : datasources/NewDataSource +Kind : SqlServerDatabase +LastModifiedAt : 2/15/2022 10:36:25 AM +Location : +Name : NewDataSource +ResourceGroup : +ResourceName : +Scan : +SubscriptionId : +``` + +Update a data source + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: DataSourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewFilter.md b/src/Purview/Purview/help/Update-AzPurviewFilter.md new file mode 100644 index 000000000000..321a1e09e234 --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewFilter.md @@ -0,0 +1,177 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewfilter +schema: 2.0.0 +--- + +# Update-AzPurviewFilter + +## SYNOPSIS +Update a filter + +## SYNTAX + +``` +Update-AzPurviewFilter -Endpoint -DataSourceName -ScanName + [-ExcludeUriPrefix ] [-IncludeUriPrefix ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a filter + +## EXAMPLES + +### Example 1: Update a filter +```powershell +Update-AzPurviewFilter -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan1ForDemo' -ExcludeUriPrefix @('https://foo.file.core.windows.net/share1/user/temp') -IncludeUriPrefix @('https://foo.file.core.windows.net/share1/user','https://foo.file.core.windows.net/share1/aggregated') +``` + +```output +ExcludeUriPrefix : {https://foo.file.core.windows.net/share1/user/temp} +Id : datasources/DataScanTestData-Parv/scans/Scan1ForDemo/filters/custom +IncludeUriPrefix : {https://foo.file.core.windows.net/share1/user, + https://foo.file.core.windows.net/share1/aggregated} +Name : custom +``` + +Update a filter + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludeUriPrefix +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeUriPrefix +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewKeyVaultConnection.md b/src/Purview/Purview/help/Update-AzPurviewKeyVaultConnection.md new file mode 100644 index 000000000000..7109b1d0cead --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewKeyVaultConnection.md @@ -0,0 +1,161 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewkeyvaultconnection +schema: 2.0.0 +--- + +# Update-AzPurviewKeyVaultConnection + +## SYNOPSIS +Update an instance of a key vault connection + +## SYNTAX + +``` +Update-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName [-BaseUrl ] + [-Description ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Update an instance of a key vault connection + +## EXAMPLES + +### Example 1: Update an instance of a key vault connection +```powershell +Update-AzPurviewKeyVaultConnection -Endpoint 'https://parv-brs-2.purview.azure.com/' -KeyVaultName KeyVaultConnection2 -BaseUrl 'https://datascankv.vault.azure.net/' -Description 'This is a key vault' +``` + +```output +BaseUrl : https://datascankv.vault.azure.net/ +Description : This is a key vault +Id : keyVaults/KeyVaultConnection2 +Name : KeyVaultConnection2 +``` + +Update an instance of a key vault connection + +## PARAMETERS + +### -BaseUrl +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewScan.md b/src/Purview/Purview/help/Update-AzPurviewScan.md new file mode 100644 index 000000000000..70115c68ba41 --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewScan.md @@ -0,0 +1,171 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewscan +schema: 2.0.0 +--- + +# Update-AzPurviewScan + +## SYNOPSIS +Update an instance of a scan + +## SYNTAX + +``` +Update-AzPurviewScan -Endpoint -DataSourceName -Name [-Kind ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update an instance of a scan + +## EXAMPLES + +### Example 1: Update an instance of a scan +```powershell +Update-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Kind AdlsGen2Msi +``` + +```output +CollectionLastModifiedAt : 2/15/2022 3:49:23 PM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +ConnectedViaReferenceName : +CreatedAt : 2/15/2022 3:49:23 PM +CredentialReferenceName : datascantestdataparv-accountkey +CredentialType : AccountKey +Id : datasources/DataScanTestData-Parv/scans/ScanTest +Kind : AdlsGen2Msi +LastModifiedAt : 2/15/2022 11:46:29 PM +Name : ScanTest +Result : +ScanRulesetName : AzureStorage +ScanRulesetType : System +Worker : +``` + +Update an instance of a scan + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ScanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewScanRuleset.md b/src/Purview/Purview/help/Update-AzPurviewScanRuleset.md new file mode 100644 index 000000000000..05cd13fa30cf --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewScanRuleset.md @@ -0,0 +1,169 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewscanruleset +schema: 2.0.0 +--- + +# Update-AzPurviewScanRuleset + +## SYNOPSIS +Update a scan ruleset + +## SYNTAX + +``` +Update-AzPurviewScanRuleset -Endpoint -Name [-Kind ] [-ScanRulesetType ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a scan ruleset + +## EXAMPLES + +### Example 1: Update a scan ruleset +```powershell +Update-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Kind AmazonPostgreSql +``` + +```output +CreatedAt : 2/17/2022 3:35:07 PM +Description : desc +ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS} +Id : scanrulesets/Rule1 +IncludedCustomClassificationRuleName : {ClassificationRule2} +Kind : AmazonPostgreSql +LastModifiedAt : 2/17/2022 3:35:07 PM +Name : Rule1 +ScanningRuleCustomFileExtension : +ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…} +Status : Enabled +Type : Custom +Version : 1 +``` + +Update a scan ruleset + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ScanRulesetName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanRulesetType +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purview/help/Update-AzPurviewTrigger.md b/src/Purview/Purview/help/Update-AzPurviewTrigger.md new file mode 100644 index 000000000000..3daeba0754d3 --- /dev/null +++ b/src/Purview/Purview/help/Update-AzPurviewTrigger.md @@ -0,0 +1,379 @@ +--- +external help file: Az.Purview-help.xml +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewtrigger +schema: 2.0.0 +--- + +# Update-AzPurviewTrigger + +## SYNOPSIS +Update an instance of a trigger + +## SYNTAX + +``` +Update-AzPurviewTrigger -Endpoint -DataSourceName -ScanName + [-IncrementalScanStartTime ] [-Interval ] [-RecurrenceEndTime ] + [-RecurrenceFrequency ] [-RecurrenceInterval ] + [-RecurrenceScheduleAdditionalProperty ] [-RecurrenceScheduleHour ] + [-RecurrenceScheduleMinute ] [-RecurrenceScheduleMonthDay ] + [-RecurrenceScheduleMonthlyOccurrence ] + [-RecurrenceScheduleWeekDay ] [-RecurrenceStartTime ] [-RecurrenceTimeZone ] + [-ScanLevel ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Update an instance of a trigger + +## EXAMPLES + +### Example 1: Update an instance of a trigger +```powershell +Update-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) +``` + +```output +CreatedAt : 2/17/2022 1:35:12 PM +Id : datasources/DataScanTestData-Parv/scans/Scan-6HK/triggers/default +IncrementalScanStartTime : +Interval : 1 +LastModifiedAt : 2/17/2022 1:46:22 PM +LastScheduled : +Name : default +RecurrenceEndTime : 7/20/2022 12:00:00 AM +RecurrenceFrequency : Month +RecurrenceInterval : +RecurrenceStartTime : 2/17/2022 1:32:00 PM +RecurrenceTimeZone : +ResourceGroupName : +ScanLevel : Full +ScheduleAdditionalProperty : { + } +ScheduleHour : {9} +ScheduleMinute : {0} +ScheduleMonthDay : {10} +ScheduleMonthlyOccurrence : +ScheduleWeekDay : +``` + +Update an instance of a trigger + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncrementalScanStartTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Interval +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceEndTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceFrequency +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceInterval +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleAdditionalProperty +Dictionary of \ + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleHour +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMinute +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMonthDay +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMonthlyOccurrence +. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleOccurrence[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleWeekDay +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceStartTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceTimeZone +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanLevel +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger + +## NOTES + +## RELATED LINKS diff --git a/src/Purview/Purviewdata.Autorest/Properties/AssemblyInfo.cs b/src/Purview/Purviewdata.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..cd36b9b0078f --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright Ā© Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Purviewdata")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.2.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/Purview/Purviewdata.Autorest/README.md b/src/Purview/Purviewdata.Autorest/README.md index 7e721643950a..3b930e5a458f 100644 --- a/src/Purview/Purviewdata.Autorest/README.md +++ b/src/Purview/Purviewdata.Autorest/README.md @@ -38,25 +38,17 @@ root-module-name: $(prefix).Purview module-version: 0.1.0 title: Purviewdata subject-prefix: Purview -identity-correction-for-post: true -nested-object-to-string: true -resourcegroup-append: true endpoint-resource-id-key-name: AzurePurviewEndpointResourceId -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: # Following is two common directive which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: - variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Check$|^CheckViaIdentity$|^CheckViaIdentityExpanded$|^Set$|^AddViaIdentity$|^Add$ + variant: ^(Update|Check|Add|Set)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true -# Remove the set-* cmdlet - where: - verb: Set + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^CheckViaIdentityExpanded$ remove: true - where: variant: ^Create$ @@ -66,6 +58,14 @@ directive: variant: ^CreateExpanded$ subject: ^ClassificationRule$|^DataSource$|^KeyVaultConnection$|^Filter$|^Scan$|^Trigger$|^ScanRuleset$ remove: true + - where: + variant: ViaIdentity|ViaIdentity1 + remove: true +# Remove the set-* cmdlet + - where: + verb: Set + remove: true + - from: source-file-csharp where: $ transform: $ = $.replace('public static Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType TeradataUserPass = @"TeradataTeradataUserPass";', 'public static Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType TeradataTeradataUserPass = @"TeradataTeradataUserPass";'); @@ -76,9 +76,6 @@ directive: model-name: CustomClassificationRule set: suppress-format: true - - where: - variant: ViaIdentity|ViaIdentity1 - remove: true - where: model-name: (.*)DataSource$ set: @@ -111,68 +108,160 @@ directive: model-name: (.*)SystemScanRuleset set: suppress-format: true + - model-cmdlet: - - CustomClassificationRule - - RegexClassificationRulePattern - - AzureKeyVault - - Filter - - AzureSubscriptionDataSource - - AzureResourceGroupDataSource - - AzureSynapseWorkspaceDataSource - - AdlsGen1DataSource - - AdlsGen2DataSource - - AmazonAccountDataSource - - AmazonS3DataSource - - AmazonSqlDataSource - - AzureCosmosDbDataSource - - AzureDataExplorerDataSource - - AzureFileServiceDataSource - - AzureSqlDatabaseDataSource - - AmazonPostgreSqlDataSource - - AzurePostgreSqlDataSource - - SqlServerDatabaseDataSource - - AzureSqlDatabaseManagedInstanceDataSource - - AzureSqlDataWarehouseDataSource - - AzureMySqlDataSource - - AzureStorageDataSource - - TeradataDataSource - - OracleDataSource - - SapS4HanaDataSource - - SapEccDataSource - - PowerBIDataSource - - AzureSubscriptionCredentialScan - - AzureSubscriptionMsiScan - - AzureResourceGroupCredentialScan - - AzureResourceGroupMsiScan - - AzureSynapseWorkspaceCredentialScan - - AzureSynapseWorkspaceMsiScan - - AdlsGen1CredentialScan - - AdlsGen1MsiScan - - AdlsGen2CredentialScan - - AdlsGen2MsiScan - - AmazonAccountCredentialScan - - AmazonS3CredentialScan - - AmazonSqlCredentialScan - - AzureCosmosDbCredentialScan - - AzureDataExplorerCredentialScan - - AzureDataExplorerMsiScan - - AzureFileServiceCredentialScan - - AzureSqlDatabaseCredentialScan - - AzureSqlDatabaseMsiScan - - AmazonPostgreSqlCredentialScan - - AzurePostgreSqlCredentialScan - - SqlServerDatabaseCredentialScan - - AzureSqlDatabaseManagedInstanceCredentialScan - - AzureSqlDatabaseManagedInstanceMsiScan - - AzureSqlDataWarehouseCredentialScan - - AzureSqlDataWarehouseMsiScan - - AzureMySqlCredentialScan - - AzureStorageCredentialScan - - AzureStorageMsiScan - - TeradataTeradataCredentialScan - - OracleOracleCredentialScan - - SapS4HanaSapS4HanaCredentialScan - - SapEccSapEccCredentialScan - - PowerBIDelegatedScan - - PowerBIMsiScan + - model-name: CustomClassificationRule + cmdlet-name: New-AzPurviewCustomClassificationRuleObject + - model-name: RegexClassificationRulePattern + cmdlet-name: New-AzPurviewRegexClassificationRulePatternObject + - model-name: AzureKeyVault + cmdlet-name: New-AzPurviewAzureKeyVaultObject + - model-name: Filter + cmdlet-name: New-AzPurviewFilterObject + - model-name: AzureSubscriptionDataSource + cmdlet-name: New-AzPurviewAzureSubscriptionDataSourceObject + - model-name: AzureResourceGroupDataSource + cmdlet-name: New-AzPurviewAzureResourceGroupDataSourceObject + - model-name: AzureSynapseWorkspaceDataSource + cmdlet-name: New-AzPurviewAzureSynapseWorkspaceDataSourceObject + - model-name: AdlsGen1DataSource + cmdlet-name: New-AzPurviewAdlsGen1DataSourceObject + - model-name: AdlsGen2DataSource + cmdlet-name: New-AzPurviewAdlsGen2DataSourceObject + - model-name: AmazonAccountDataSource + cmdlet-name: New-AzPurviewAmazonAccountDataSourceObject + - model-name: AmazonS3DataSource + cmdlet-name: New-AzPurviewAmazonS3DataSourceObject + - model-name: AmazonSqlDataSource + cmdlet-name: New-AzPurviewAmazonSqlDataSourceObject + - model-name: AzureCosmosDbDataSource + cmdlet-name: New-AzPurviewAzureCosmosDbDataSourceObject + - model-name: AzureDataExplorerDataSource + cmdlet-name: New-AzPurviewAzureDataExplorerDataSourceObject + - model-name: AzureFileServiceDataSource + cmdlet-name: New-AzPurviewAzureFileServiceDataSourceObject + - model-name: AzureSqlDatabaseDataSource + cmdlet-name: New-AzPurviewAzureSqlDatabaseDataSourceObject + - model-name: AmazonPostgreSqlDataSource + cmdlet-name: New-AzPurviewAmazonPostgreSqlDataSourceObject + - model-name: AzurePostgreSqlDataSource + cmdlet-name: New-AzPurviewAzurePostgreSqlDataSourceObject + - model-name: SqlServerDatabaseDataSource + cmdlet-name: New-AzPurviewSqlServerDatabaseDataSourceObject + - model-name: AzureSqlDatabaseManagedInstanceDataSource + cmdlet-name: New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject + - model-name: AzureSqlDataWarehouseDataSource + cmdlet-name: New-AzPurviewAzureSqlDataWarehouseDataSourceObject + - model-name: AzureMySqlDataSource + cmdlet-name: New-AzPurviewAzureMySqlDataSourceObject + - model-name: AzureStorageDataSource + cmdlet-name: New-AzPurviewAzureStorageDataSourceObject + - model-name: TeradataDataSource + cmdlet-name: New-AzPurviewTeradataDataSourceObject + - model-name: OracleDataSource + cmdlet-name: New-AzPurviewOracleDataSourceObject + - model-name: SapS4HanaDataSource + cmdlet-name: New-AzPurviewSapS4HanaDataSourceObject + - model-name: SapEccDataSource + cmdlet-name: New-AzPurviewSapEccDataSourceObject + - model-name: PowerBIDataSource + cmdlet-name: New-AzPurviewPowerBIDataSourceObject + - model-name: AzureSubscriptionCredentialScan + cmdlet-name: New-AzPurviewAzureSubscriptionCredentialScanObject + - model-name: AzureSubscriptionMsiScan + cmdlet-name: New-AzPurviewAzureSubscriptionMsiScanObject + - model-name: AzureResourceGroupCredentialScan + cmdlet-name: New-AzPurviewAzureResourceGroupCredentialScanObject + - model-name: AzureResourceGroupMsiScan + cmdlet-name: New-AzPurviewAzureResourceGroupMsiScanObject + - model-name: AzureSynapseWorkspaceCredentialScan + cmdlet-name: New-AzPurviewAzureSynapseWorkspaceCredentialScanObject + - model-name: AzureSynapseWorkspaceMsiScan + cmdlet-name: New-AzPurviewAzureSynapseWorkspaceMsiScanObject + - model-name: AdlsGen1CredentialScan + cmdlet-name: New-AzPurviewAdlsGen1CredentialScanObject + - model-name: AdlsGen1MsiScan + cmdlet-name: New-AzPurviewAdlsGen1MsiScanObject + - model-name: AdlsGen2CredentialScan + cmdlet-name: New-AzPurviewAdlsGen2CredentialScanObject + - model-name: AdlsGen2MsiScan + cmdlet-name: New-AzPurviewAdlsGen2MsiScanObject + - model-name: AmazonAccountCredentialScan + cmdlet-name: New-AzPurviewAmazonAccountCredentialScanObject + - model-name: AmazonS3CredentialScan + cmdlet-name: New-AzPurviewAmazonS3CredentialScanObject + - model-name: AmazonSqlCredentialScan + cmdlet-name: New-AzPurviewAmazonSqlCredentialScanObject + - model-name: AzureCosmosDbCredentialScan + cmdlet-name: New-AzPurviewAzureCosmosDbCredentialScanObject + - model-name: AzureDataExplorerCredentialScan + cmdlet-name: New-AzPurviewAzureDataExplorerCredentialScanObject + - model-name: AzureDataExplorerMsiScan + cmdlet-name: New-AzPurviewAzureDataExplorerMsiScanObject + - model-name: AzureFileServiceCredentialScan + cmdlet-name: New-AzPurviewAzureFileServiceCredentialScanObject + - model-name: AzureSqlDatabaseCredentialScan + cmdlet-name: New-AzPurviewAzureSqlDatabaseCredentialScanObject + - model-name: AzureSqlDatabaseMsiScan + cmdlet-name: New-AzPurviewAzureSqlDatabaseMsiScanObject + - model-name: AmazonPostgreSqlCredentialScan + cmdlet-name: New-AzPurviewAmazonPostgreSqlCredentialScanObject + - model-name: AzurePostgreSqlCredentialScan + cmdlet-name: New-AzPurviewAzurePostgreSqlCredentialScanObject + - model-name: SqlServerDatabaseCredentialScan + cmdlet-name: New-AzPurviewSqlServerDatabaseCredentialScanObject + - model-name: AzureSqlDatabaseManagedInstanceCredentialScan + cmdlet-name: New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject + - model-name: AzureSqlDatabaseManagedInstanceMsiScan + cmdlet-name: New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject + - model-name: AzureSqlDataWarehouseCredentialScan + cmdlet-name: New-AzPurviewAzureSqlDataWarehouseCredentialScanObject + - model-name: AzureSqlDataWarehouseMsiScan + cmdlet-name: New-AzPurviewAzureSqlDataWarehouseMsiScanObject + - model-name: AzureMySqlCredentialScan + cmdlet-name: New-AzPurviewAzureMySqlCredentialScanObject + - model-name: AzureStorageCredentialScan + cmdlet-name: New-AzPurviewAzureStorageCredentialScanObject + - model-name: AzureStorageMsiScan + cmdlet-name: New-AzPurviewAzureStorageMsiScanObject + - model-name: SapS4HanaSapS4HanaCredentialScan + cmdlet-name: New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject + - model-name: PowerBIDelegatedScan + cmdlet-name: New-AzPurviewPowerBIDelegatedScanObject + - model-name: PowerBIMsiScan + cmdlet-name: New-AzPurviewPowerBIMsiScanObject + - model-name: AdlsGen1ScanRuleset + cmdlet-name: New-AzPurviewAdlsGen1ScanRulesetObject + - model-name: AdlsGen2ScanRuleset + cmdlet-name: New-AzPurviewAdlsGen2ScanRulesetObject + - model-name: AmazonPostgreSqlScanRuleset + cmdlet-name: New-AzPurviewAmazonPostgreSqlScanRulesetObject + - model-name: AmazonS3ScanRuleset + cmdlet-name: New-AzPurviewAmazonS3ScanRulesetObject + - model-name: AmazonSqlScanRuleset + cmdlet-name: New-AzPurviewAmazonSqlScanRulesetObject + - model-name: AzureCosmosDbScanRuleset + cmdlet-name: New-AzPurviewAzureCosmosDbScanRulesetObject + - model-name: AzureDataExplorerScanRuleset + cmdlet-name: New-AzPurviewAzureDataExplorerScanRulesetObject + - model-name: AzureFileServiceScanRuleset + cmdlet-name: New-AzPurviewAzureFileServiceScanRulesetObject + - model-name: AzureMySqlScanRuleset + cmdlet-name: New-AzPurviewAzureMySqlScanRulesetObject + - model-name: AzurePostgreSqlScanRuleset + cmdlet-name: New-AzPurviewAzurePostgreSqlScanRulesetObject + - model-name: AzureSqlDatabaseManagedInstanceScanRuleset + cmdlet-name: New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject + - model-name: AzureSqlDatabaseScanRuleset + cmdlet-name: New-AzPurviewAzureSqlDatabaseScanRulesetObject + - model-name: AzureSqlDataWarehouseScanRuleset + cmdlet-name: New-AzPurviewAzureSqlDataWarehouseScanRulesetObject + - model-name: AzureStorageScanRuleset + cmdlet-name: New-AzPurviewAzureStorageScanRulesetObject + - model-name: AzureSynapseWorkspaceScanRuleset + cmdlet-name: New-AzPurviewAzureSynapseWorkspaceScanRulesetObject + - model-name: SqlServerDatabaseScanRuleset + cmdlet-name: New-AzPurviewSqlServerDatabaseScanRulesetObject + - model-name: Trigger + cmdlet-name: New-AzPurviewTriggerObject ``` diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1CredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1CredentialScanObject.ps1 index 9447cfe9a56a..f2f38a1ff797 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1CredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1CredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen1CredentialScan. Create an in-memory object for AdlsGen1CredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1CredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1CredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1CredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1credentialscanobject #> function New-AzPurviewAdlsGen1CredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1CredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1CredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,27 +44,23 @@ function New-AzPurviewAdlsGen1CredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1CredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1CredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -89,9 +86,6 @@ function New-AzPurviewAdlsGen1CredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1DataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1DataSourceObject.ps1 index 22df80d642e3..710ccf4f35d1 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1DataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1DataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen1DataSource. Create an in-memory object for AdlsGen1DataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1DataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1DataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1DataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1datasourceobject #> function New-AzPurviewAdlsGen1DataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1DataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1DataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAdlsGen1DataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1DataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1DataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAdlsGen1DataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1MsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1MsiScanObject.ps1 index 814c682bfc91..03e4b909f06e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1MsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1MsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen1MsiScan. Create an in-memory object for AdlsGen1MsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1MsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1MsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1MsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1msiscanobject #> function New-AzPurviewAdlsGen1MsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1MsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1MsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,20 +44,16 @@ function New-AzPurviewAdlsGen1MsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1MsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1MsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -76,9 +73,6 @@ function New-AzPurviewAdlsGen1MsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 similarity index 70% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 index 7e0be7254b42..75ea2976b4ca 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen1ScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen1ScanRuleset. Create an in-memory object for AdlsGen1ScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1ScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1ScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen1ScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1scanrulesetobject #> function New-AzPurviewAdlsGen1ScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1ScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1ScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,24 +41,20 @@ function New-AzPurviewAdlsGen1ScanRulesetObject { [string[]] $IncludedCustomClassificationRuleName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[]] $ScanningRuleCustomFileExtension, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AVRO", "ORC", "PARQUET", "JSON", "TXT", "XML", "Documents", "CSV", "PSV", "SSV", "TSV", "GZ", "DOC", "DOCM", "DOCX", "DOT", "ODP", "ODS", "ODT", "PDF", "POT", "PPS", "PPSX", "PPT", "PPTM", "PPTX", "XLC", "XLS", "XLSB", "XLSM", "XLSX", "XLT")] + [string[]] $ScanningRuleFileExtension, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1ScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1ScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -74,9 +71,6 @@ function New-AzPurviewAdlsGen1ScanRulesetObject { if ($PSBoundParameters.ContainsKey('ScanningRuleFileExtension')) { $Object.ScanningRuleFileExtension = $ScanningRuleFileExtension } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2CredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2CredentialScanObject.ps1 index e5bcfd3cdb0c..863563a6dc2a 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2CredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2CredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen2CredentialScan. Create an in-memory object for AdlsGen2CredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2CredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2CredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2CredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2credentialscanobject #> function New-AzPurviewAdlsGen2CredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2CredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2CredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,27 +44,23 @@ function New-AzPurviewAdlsGen2CredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2CredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2CredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -89,9 +86,6 @@ function New-AzPurviewAdlsGen2CredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2DataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2DataSourceObject.ps1 index b76e544e0216..79905b8f277e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2DataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2DataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen2DataSource. Create an in-memory object for AdlsGen2DataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2DataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2DataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2DataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2datasourceobject #> function New-AzPurviewAdlsGen2DataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2DataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2DataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAdlsGen2DataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2DataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2DataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAdlsGen2DataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2MsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2MsiScanObject.ps1 index 30db7a62adbe..c65bfebdc154 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2MsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2MsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen2MsiScan. Create an in-memory object for AdlsGen2MsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2MsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2MsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2MsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2msiscanobject #> function New-AzPurviewAdlsGen2MsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2MsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2MsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,20 +44,16 @@ function New-AzPurviewAdlsGen2MsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2MsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2MsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -76,9 +73,6 @@ function New-AzPurviewAdlsGen2MsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 similarity index 70% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 index 27a06abc4ae9..e45c9e28fa5b 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAdlsGen2ScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AdlsGen2ScanRuleset. Create an in-memory object for AdlsGen2ScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2ScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2ScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen2ScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2scanrulesetobject #> function New-AzPurviewAdlsGen2ScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2ScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2ScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,24 +41,20 @@ function New-AzPurviewAdlsGen2ScanRulesetObject { [string[]] $IncludedCustomClassificationRuleName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[]] $ScanningRuleCustomFileExtension, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AVRO", "ORC", "PARQUET", "JSON", "TXT", "XML", "Documents", "CSV", "PSV", "SSV", "TSV", "GZ", "DOC", "DOCM", "DOCX", "DOT", "ODP", "ODS", "ODT", "PDF", "POT", "PPS", "PPSX", "PPT", "PPTM", "PPTX", "XLC", "XLS", "XLSB", "XLSM", "XLSX", "XLT")] + [string[]] $ScanningRuleFileExtension, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2ScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2ScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -74,9 +71,6 @@ function New-AzPurviewAdlsGen2ScanRulesetObject { if ($PSBoundParameters.ContainsKey('ScanningRuleFileExtension')) { $Object.ScanningRuleFileExtension = $ScanningRuleFileExtension } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountCredentialScanObject.ps1 index c0efe9229f11..0b7f5bd067ce 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonAccountCredentialScan. Create an in-memory object for AmazonAccountCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountcredentialscanobject #> function New-AzPurviewAmazonAccountCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAmazonAccountCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAmazonAccountCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountDataSourceObject.ps1 index 8752e8c1677f..88f719ef9811 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonAccountDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonAccountDataSource. Create an in-memory object for AmazonAccountDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountdatasourceobject #> function New-AzPurviewAmazonAccountDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,15 +42,11 @@ function New-AzPurviewAmazonAccountDataSourceObject { $CollectionType, [Parameter()] [string] - $RoleArn, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $RoleArn ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountDataSource]::New() if ($PSBoundParameters.ContainsKey('AwsAccountId')) { $Object.AwsAccountId = $AwsAccountId @@ -63,9 +60,6 @@ function New-AzPurviewAmazonAccountDataSourceObject { if ($PSBoundParameters.ContainsKey('RoleArn')) { $Object.RoleArn = $RoleArn } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlCredentialScanObject.ps1 index 9c959d442595..c0f1664e0839 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonPostgreSqlCredentialScan. Create an in-memory object for AmazonPostgreSqlCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlcredentialscanobject #> function New-AzPurviewAmazonPostgreSqlCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAmazonPostgreSqlCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -56,8 +57,8 @@ function New-AzPurviewAmazonPostgreSqlCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] @@ -67,15 +68,11 @@ function New-AzPurviewAmazonPostgreSqlCredentialScanObject { $VpcEndpointServiceName, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -113,9 +110,6 @@ function New-AzPurviewAmazonPostgreSqlCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlDataSourceObject.ps1 index 17dfcdd1dd83..10564466422a 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonPostgreSqlDataSource. Create an in-memory object for AmazonPostgreSqlDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqldatasourceobject #> function New-AzPurviewAmazonPostgreSqlDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -44,15 +45,11 @@ function New-AzPurviewAmazonPostgreSqlDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $VpcEndpointServiceName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $VpcEndpointServiceName ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -69,9 +66,6 @@ function New-AzPurviewAmazonPostgreSqlDataSourceObject { if ($PSBoundParameters.ContainsKey('VpcEndpointServiceName')) { $Object.VpcEndpointServiceName = $VpcEndpointServiceName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 index 922a2a998762..dd705f2ea4a2 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonPostgreSqlScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonPostgreSqlScanRuleset. Create an in-memory object for AmazonPostgreSqlScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonPostgreSqlScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlscanrulesetobject #> function New-AzPurviewAmazonPostgreSqlScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAmazonPostgreSqlScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAmazonPostgreSqlScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3CredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3CredentialScanObject.ps1 index ac1ad4d57f7d..cb757398d018 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3CredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3CredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonS3CredentialScan. Create an in-memory object for AmazonS3CredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3CredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3CredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3CredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3credentialscanobject #> function New-AzPurviewAmazonS3CredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3CredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3CredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAmazonS3CredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [bool] @@ -56,20 +57,16 @@ function New-AzPurviewAmazonS3CredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3CredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3CredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -101,9 +98,6 @@ function New-AzPurviewAmazonS3CredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3DataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3DataSourceObject.ps1 index 6626f5634ad5..340b537504f6 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3DataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3DataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonS3DataSource. Create an in-memory object for AmazonS3DataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3DataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3DataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3DataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3datasourceobject #> function New-AzPurviewAmazonS3DataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3DataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3DataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,15 +42,11 @@ function New-AzPurviewAmazonS3DataSourceObject { $RoleArn, [Parameter()] [string] - $ServiceUrl, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $ServiceUrl ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3DataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3DataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -63,9 +60,6 @@ function New-AzPurviewAmazonS3DataSourceObject { if ($PSBoundParameters.ContainsKey('ServiceUrl')) { $Object.ServiceUrl = $ServiceUrl } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonS3ScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3ScanRulesetObject.ps1 similarity index 70% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonS3ScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3ScanRulesetObject.ps1 index 7e540f62b03d..4708ad6328cb 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonS3ScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonS3ScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonS3ScanRuleset. Create an in-memory object for AmazonS3ScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3ScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3ScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonS3ScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3scanrulesetobject #> function New-AzPurviewAmazonS3ScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3ScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3ScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,24 +41,20 @@ function New-AzPurviewAmazonS3ScanRulesetObject { [string[]] $IncludedCustomClassificationRuleName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[]] $ScanningRuleCustomFileExtension, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AVRO", "ORC", "PARQUET", "JSON", "TXT", "XML", "Documents", "CSV", "PSV", "SSV", "TSV", "GZ", "DOC", "DOCM", "DOCX", "DOT", "ODP", "ODS", "ODT", "PDF", "POT", "PPS", "PPSX", "PPT", "PPTM", "PPTX", "XLC", "XLS", "XLSB", "XLSM", "XLSX", "XLT")] + [string[]] $ScanningRuleFileExtension, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3ScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3ScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -74,9 +71,6 @@ function New-AzPurviewAmazonS3ScanRulesetObject { if ($PSBoundParameters.ContainsKey('ScanningRuleFileExtension')) { $Object.ScanningRuleFileExtension = $ScanningRuleFileExtension } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlCredentialScanObject.ps1 index 4cb46ab4120b..dfce9dfc967a 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonSqlCredentialScan. Create an in-memory object for AmazonSqlCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlcredentialscanobject #> function New-AzPurviewAmazonSqlCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAmazonSqlCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -56,8 +57,8 @@ function New-AzPurviewAmazonSqlCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] @@ -67,15 +68,11 @@ function New-AzPurviewAmazonSqlCredentialScanObject { $VpcEndpointServiceName, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -113,9 +110,6 @@ function New-AzPurviewAmazonSqlCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlDataSourceObject.ps1 index 819be4a85303..bad45119e588 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonSqlDataSource. Create an in-memory object for AmazonSqlDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqldatasourceobject #> function New-AzPurviewAmazonSqlDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -44,15 +45,11 @@ function New-AzPurviewAmazonSqlDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $VpcEndpointServiceName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $VpcEndpointServiceName ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -69,9 +66,6 @@ function New-AzPurviewAmazonSqlDataSourceObject { if ($PSBoundParameters.ContainsKey('VpcEndpointServiceName')) { $Object.VpcEndpointServiceName = $VpcEndpointServiceName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonSqlScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlScanRulesetObject.ps1 similarity index 73% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonSqlScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlScanRulesetObject.ps1 index be7e81f15ce3..f199503ba632 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAmazonSqlScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAmazonSqlScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AmazonSqlScanRuleset. Create an in-memory object for AmazonSqlScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonSqlScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlscanrulesetobject #> function New-AzPurviewAmazonSqlScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAmazonSqlScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAmazonSqlScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbCredentialScanObject.ps1 index 0bcea5f37805..240f85b718f6 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureCosmosDbCredentialScan. Create an in-memory object for AzureCosmosDbCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbcredentialscanobject #> function New-AzPurviewAzureCosmosDbCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureCosmosDbCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,20 +54,16 @@ function New-AzPurviewAzureCosmosDbCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureCosmosDbCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbDataSourceObject.ps1 index e3f5acedde22..7fe65fc9b714 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureCosmosDbDataSource. Create an in-memory object for AzureCosmosDbDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbdatasourceobject #> function New-AzPurviewAzureCosmosDbDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureCosmosDbDataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbDataSource]::New() if ($PSBoundParameters.ContainsKey('AccountUri')) { $Object.AccountUri = $AccountUri @@ -81,9 +78,6 @@ function New-AzPurviewAzureCosmosDbDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 index 98fd6173a533..6357db95ed72 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureCosmosDbScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureCosmosDbScanRuleset. Create an in-memory object for AzureCosmosDbScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureCosmosDbScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbscanrulesetobject #> function New-AzPurviewAzureCosmosDbScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureCosmosDbScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureCosmosDbScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerCredentialScanObject.ps1 index 03fbb01540db..fed1eca2a89e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureDataExplorerCredentialScan. Create an in-memory object for AzureDataExplorerCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorercredentialscanobject #> function New-AzPurviewAzureDataExplorerCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureDataExplorerCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,20 +54,16 @@ function New-AzPurviewAzureDataExplorerCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureDataExplorerCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerDataSourceObject.ps1 index a8b3a6cc3f0c..ec56b3df939e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureDataExplorerDataSource. Create an in-memory object for AzureDataExplorerDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerdatasourceobject #> function New-AzPurviewAzureDataExplorerDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureDataExplorerDataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureDataExplorerDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerMsiScanObject.ps1 index 10eb1b29cda7..aebc68162fd4 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureDataExplorerMsiScan. Create an in-memory object for AzureDataExplorerMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorermsiscanobject #> function New-AzPurviewAzureDataExplorerMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,20 +47,16 @@ function New-AzPurviewAzureDataExplorerMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -82,9 +79,6 @@ function New-AzPurviewAzureDataExplorerMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 index c619d42d0a2b..5cc75f6f92d6 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureDataExplorerScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureDataExplorerScanRuleset. Create an in-memory object for AzureDataExplorerScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureDataExplorerScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerscanrulesetobject #> function New-AzPurviewAzureDataExplorerScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureDataExplorerScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureDataExplorerScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceCredentialScanObject.ps1 index 43178f9fce80..504ed89aa9d1 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureFileServiceCredentialScan. Create an in-memory object for AzureFileServiceCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicecredentialscanobject #> function New-AzPurviewAzureFileServiceCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureFileServiceCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ShareName, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureFileServiceCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceDataSourceObject.ps1 index 21af807e3449..c0d75dfa1640 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureFileServiceDataSource. Create an in-memory object for AzureFileServiceDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicedatasourceobject #> function New-AzPurviewAzureFileServiceDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureFileServiceDataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureFileServiceDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 similarity index 70% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 index 4f85d408db20..fd4c2ea891a5 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureFileServiceScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureFileServiceScanRuleset. Create an in-memory object for AzureFileServiceScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureFileServiceScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicescanrulesetobject #> function New-AzPurviewAzureFileServiceScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,24 +41,20 @@ function New-AzPurviewAzureFileServiceScanRulesetObject { [string[]] $IncludedCustomClassificationRuleName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[]] $ScanningRuleCustomFileExtension, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AVRO", "ORC", "PARQUET", "JSON", "TXT", "XML", "Documents", "CSV", "PSV", "SSV", "TSV", "GZ", "DOC", "DOCM", "DOCX", "DOT", "ODP", "ODS", "ODT", "PDF", "POT", "PPS", "PPSX", "PPT", "PPTM", "PPTX", "XLC", "XLS", "XLSB", "XLSM", "XLSX", "XLT")] + [string[]] $ScanningRuleFileExtension, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -74,9 +71,6 @@ function New-AzPurviewAzureFileServiceScanRulesetObject { if ($PSBoundParameters.ContainsKey('ScanningRuleFileExtension')) { $Object.ScanningRuleFileExtension = $ScanningRuleFileExtension } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureKeyVaultObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureKeyVaultObject.ps1 index 44e66d62adf2..b32d4282a879 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureKeyVaultObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureKeyVaultObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureKeyVault. Create an in-memory object for AzureKeyVault. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureKeyVault +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureKeyVault .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureKeyVaultObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurekeyvaultobject #> function New-AzPurviewAzureKeyVaultObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureKeyVault')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureKeyVault')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,7 +40,7 @@ function New-AzPurviewAzureKeyVaultObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureKeyVault]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureKeyVault]::New() if ($PSBoundParameters.ContainsKey('BaseUrl')) { $Object.BaseUrl = $BaseUrl diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlCredentialScanObject.ps1 index b84b88c78d43..416fb6698461 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureMySqlCredentialScan. Create an in-memory object for AzureMySqlCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlcredentialscanobject #> function New-AzPurviewAzureMySqlCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureMySqlCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -56,23 +57,19 @@ function New-AzPurviewAzureMySqlCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -107,9 +104,6 @@ function New-AzPurviewAzureMySqlCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlDataSourceObject.ps1 index 15122805eba0..82c578ef7a25 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureMySqlDataSource. Create an in-memory object for AzureMySqlDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqldatasourceobject #> function New-AzPurviewAzureMySqlDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -53,15 +54,11 @@ function New-AzPurviewAzureMySqlDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -87,9 +84,6 @@ function New-AzPurviewAzureMySqlDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureMySqlScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlScanRulesetObject.ps1 similarity index 73% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureMySqlScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlScanRulesetObject.ps1 index c259206f09d7..00527bbe8937 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureMySqlScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureMySqlScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureMySqlScanRuleset. Create an in-memory object for AzureMySqlScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureMySqlScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlscanrulesetobject #> function New-AzPurviewAzureMySqlScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureMySqlScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureMySqlScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlCredentialScanObject.ps1 index cdf8c2f10914..4c1a2695ffaa 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzurePostgreSqlCredentialScan. Create an in-memory object for AzurePostgreSqlCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlcredentialscanobject #> function New-AzPurviewAzurePostgreSqlCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzurePostgreSqlCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -56,8 +57,8 @@ function New-AzPurviewAzurePostgreSqlCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] @@ -67,15 +68,11 @@ function New-AzPurviewAzurePostgreSqlCredentialScanObject { $SslMode, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -113,9 +110,6 @@ function New-AzPurviewAzurePostgreSqlCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlDataSourceObject.ps1 index 11c40d12cb01..56da98b4cd19 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzurePostgreSqlDataSource. Create an in-memory object for AzurePostgreSqlDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqldatasourceobject #> function New-AzPurviewAzurePostgreSqlDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -53,15 +54,11 @@ function New-AzPurviewAzurePostgreSqlDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -87,9 +84,6 @@ function New-AzPurviewAzurePostgreSqlDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 index 91d1d91aaf92..d45ca78158b4 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzurePostgreSqlScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzurePostgreSqlScanRuleset. Create an in-memory object for AzurePostgreSqlScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzurePostgreSqlScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlscanrulesetobject #> function New-AzPurviewAzurePostgreSqlScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzurePostgreSqlScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzurePostgreSqlScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupCredentialScanObject.ps1 index 0e40ad8e9f28..6ac158105bfb 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureResourceGroupCredentialScan. Create an in-memory object for AzureResourceGroupCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupcredentialscanobject #> function New-AzPurviewAzureResourceGroupCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureResourceGroupCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureResourceGroupCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupDataSourceObject.ps1 index 60c5c739950a..161ea168ba50 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureResourceGroupDataSource. Create an in-memory object for AzureResourceGroupDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupdatasourceobject #> function New-AzPurviewAzureResourceGroupDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,15 +42,11 @@ function New-AzPurviewAzureResourceGroupDataSourceObject { $ResourceGroup, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -63,9 +60,6 @@ function New-AzPurviewAzureResourceGroupDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupMsiScanObject.ps1 index 598d75a45768..d98a52f2fd28 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureResourceGroupMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureResourceGroupMsiScan. Create an in-memory object for AzureResourceGroupMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupmsiscanobject #> function New-AzPurviewAzureResourceGroupMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureResourceGroupMsiScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureResourceGroupMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.ps1 index 96aadf5f8530..ffcec5233c27 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDataWarehouseCredentialScan. Create an in-memory object for AzureSqlDataWarehouseCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousecredentialscanobject #> function New-AzPurviewAzureSqlDataWarehouseCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureSqlDataWarehouseCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,23 +54,19 @@ function New-AzPurviewAzureSqlDataWarehouseCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -101,9 +98,6 @@ function New-AzPurviewAzureSqlDataWarehouseCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.ps1 index 302368a60e6c..dced31e6bc3e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDataWarehouseDataSource. Create an in-memory object for AzureSqlDataWarehouseDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousedatasourceobject #> function New-AzPurviewAzureSqlDataWarehouseDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureSqlDataWarehouseDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureSqlDataWarehouseDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.ps1 index c5bc552bd7f1..f27baf786df8 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDataWarehouseMsiScan. Create an in-memory object for AzureSqlDataWarehouseMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousemsiscanobject #> function New-AzPurviewAzureSqlDataWarehouseMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,23 +47,19 @@ function New-AzPurviewAzureSqlDataWarehouseMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -88,9 +85,6 @@ function New-AzPurviewAzureSqlDataWarehouseMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 index a646dbc254fa..6121b0166e55 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDataWarehouseScanRuleset. Create an in-memory object for AzureSqlDataWarehouseScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDataWarehouseScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousescanrulesetobject #> function New-AzPurviewAzureSqlDataWarehouseScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureSqlDataWarehouseScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureSqlDataWarehouseScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseCredentialScanObject.ps1 index 1ee7b9eb34d3..080e66f69135 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseCredentialScan. Create an in-memory object for AzureSqlDatabaseCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasecredentialscanobject #> function New-AzPurviewAzureSqlDatabaseCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureSqlDatabaseCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,23 +54,19 @@ function New-AzPurviewAzureSqlDatabaseCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -101,9 +98,6 @@ function New-AzPurviewAzureSqlDatabaseCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseDataSourceObject.ps1 index 2512cda34ea2..01a4f590662e 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseDataSource. Create an in-memory object for AzureSqlDatabaseDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasedatasourceobject #> function New-AzPurviewAzureSqlDatabaseDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureSqlDatabaseDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureSqlDatabaseDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.ps1 index 905975785a52..4766b890f97a 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancecredentialscanobject #> function New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,23 +54,19 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -101,9 +98,6 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.ps1 index 1e13a4dfaa56..8fc95f8a87eb 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancedatasourceobject #> function New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.ps1 index 2c7189cdc612..deacb705373f 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancemsiscanobject #> function New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,23 +47,19 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -88,9 +85,6 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 similarity index 71% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 index 7b623e581855..810b9d9efd65 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancescanrulesetobject #> function New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseMsiScanObject.ps1 index 0799f9004e00..b8a07787fb56 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseMsiScan. Create an in-memory object for AzureSqlDatabaseMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemsiscanobject #> function New-AzPurviewAzureSqlDatabaseMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,23 +47,19 @@ function New-AzPurviewAzureSqlDatabaseMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -88,9 +85,6 @@ function New-AzPurviewAzureSqlDatabaseMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 index fceb72e5a3f5..a80d63555ee2 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSqlDatabaseScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSqlDatabaseScanRuleset. Create an in-memory object for AzureSqlDatabaseScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasescanrulesetobject #> function New-AzPurviewAzureSqlDatabaseScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureSqlDatabaseScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureSqlDatabaseScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageCredentialScanObject.ps1 index b3c6d5020f64..f43d4d65ce81 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureStorageCredentialScan. Create an in-memory object for AzureStorageCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragecredentialscanobject #> function New-AzPurviewAzureStorageCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,27 +44,23 @@ function New-AzPurviewAzureStorageCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -89,9 +86,6 @@ function New-AzPurviewAzureStorageCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageDataSourceObject.ps1 index 695aa19d4055..6c63f268b068 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureStorageDataSource. Create an in-memory object for AzureStorageDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragedatasourceobject #> function New-AzPurviewAzureStorageDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewAzureStorageDataSourceObject { $ResourceName, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewAzureStorageDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageMsiScanObject.ps1 index 56386e551af7..8e4352279a4f 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureStorageMsiScan. Create an in-memory object for AzureStorageMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragemsiscanobject #> function New-AzPurviewAzureStorageMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,20 +44,16 @@ function New-AzPurviewAzureStorageMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -76,9 +73,6 @@ function New-AzPurviewAzureStorageMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureStorageScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageScanRulesetObject.ps1 similarity index 70% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureStorageScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageScanRulesetObject.ps1 index ff7851309e71..d35990632576 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureStorageScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureStorageScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureStorageScanRuleset. Create an in-memory object for AzureStorageScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureStorageScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragescanrulesetobject #> function New-AzPurviewAzureStorageScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,24 +41,20 @@ function New-AzPurviewAzureStorageScanRulesetObject { [string[]] $IncludedCustomClassificationRuleName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[]] $ScanningRuleCustomFileExtension, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AVRO", "ORC", "PARQUET", "JSON", "TXT", "XML", "Documents", "CSV", "PSV", "SSV", "TSV", "GZ", "DOC", "DOCM", "DOCX", "DOT", "ODP", "ODS", "ODT", "PDF", "POT", "PPS", "PPSX", "PPT", "PPTM", "PPTX", "XLC", "XLS", "XLSB", "XLSM", "XLSX", "XLT")] + [string[]] $ScanningRuleFileExtension, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -74,9 +71,6 @@ function New-AzPurviewAzureStorageScanRulesetObject { if ($PSBoundParameters.ContainsKey('ScanningRuleFileExtension')) { $Object.ScanningRuleFileExtension = $ScanningRuleFileExtension } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionCredentialScanObject.ps1 index f7cca2d5ac6f..30f31fab4693 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSubscriptionCredentialScan. Create an in-memory object for AzureSubscriptionCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptioncredentialscanobject #> function New-AzPurviewAzureSubscriptionCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureSubscriptionCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureSubscriptionCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionDataSourceObject.ps1 index a0a4d93cdc67..61b735869fd5 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSubscriptionDataSource. Create an in-memory object for AzureSubscriptionDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptiondatasourceobject #> function New-AzPurviewAzureSubscriptionDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -38,15 +39,11 @@ function New-AzPurviewAzureSubscriptionDataSourceObject { $CollectionType, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -57,9 +54,6 @@ function New-AzPurviewAzureSubscriptionDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionMsiScanObject.ps1 index 236031cce38f..f7d5ad513869 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSubscriptionMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSubscriptionMsiScan. Create an in-memory object for AzureSubscriptionMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptionmsiscanobject #> function New-AzPurviewAzureSubscriptionMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureSubscriptionMsiScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureSubscriptionMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.ps1 index 81c5e99983bf..23b8a16f3c2d 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSynapseWorkspaceCredentialScan. Create an in-memory object for AzureSynapseWorkspaceCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacecredentialscanobject #> function New-AzPurviewAzureSynapseWorkspaceCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureSynapseWorkspaceCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureSynapseWorkspaceCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.ps1 index de6673c676cb..c7bec9d2547f 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSynapseWorkspaceDataSource. Create an in-memory object for AzureSynapseWorkspaceDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacedatasourceobject #> function New-AzPurviewAzureSynapseWorkspaceDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -53,15 +54,11 @@ function New-AzPurviewAzureSynapseWorkspaceDataSourceObject { $ServerlessSqlEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -87,9 +84,6 @@ function New-AzPurviewAzureSynapseWorkspaceDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.ps1 index e054e7482b7c..7a0ed09fe67d 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. Create an in-memory object for AzureSynapseWorkspaceMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacemsiscanobject #> function New-AzPurviewAzureSynapseWorkspaceMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,30 +44,26 @@ function New-AzPurviewAzureSynapseWorkspaceMsiScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes] $ResourceType, [Parameter()] [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -95,9 +92,6 @@ function New-AzPurviewAzureSynapseWorkspaceMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 index f8e696920879..0d9c231db0ea 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for AzureSynapseWorkspaceScanRuleset. Create an in-memory object for AzureSynapseWorkspaceScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSynapseWorkspaceScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacescanrulesetobject #> function New-AzPurviewAzureSynapseWorkspaceScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewAzureSynapseWorkspaceScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewAzureSynapseWorkspaceScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewCustomClassificationRuleObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewCustomClassificationRuleObject.ps1 index 7201d8a47325..78e11369d37b 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewCustomClassificationRuleObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewCustomClassificationRuleObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for CustomClassificationRule. Create an in-memory object for CustomClassificationRule. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CustomClassificationRule +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.CustomClassificationRule .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewCustomClassificationRuleObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewcustomclassificationruleobject #> function New-AzPurviewCustomClassificationRuleObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CustomClassificationRule')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.CustomClassificationRule')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -34,10 +35,10 @@ function New-AzPurviewCustomClassificationRuleObject { [string] $ClassificationName, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[]] $ColumnPattern, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[]] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[]] $DataPattern, [Parameter()] [string] @@ -46,17 +47,13 @@ function New-AzPurviewCustomClassificationRuleObject { [double] $MinimumPercentageMatch, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleStatus])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleStatus] - $RuleStatus, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleType] - $Kind + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Enabled", "Disabled")] + [string] + $RuleStatus ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CustomClassificationRule]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.CustomClassificationRule]::New() if ($PSBoundParameters.ContainsKey('ClassificationName')) { $Object.ClassificationName = $ClassificationName @@ -76,9 +73,6 @@ function New-AzPurviewCustomClassificationRuleObject { if ($PSBoundParameters.ContainsKey('RuleStatus')) { $Object.RuleStatus = $RuleStatus } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewFilterObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewFilterObject.ps1 index 97a4df1455c2..eb5855ab62f8 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewFilterObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewFilterObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for Filter. Create an in-memory object for Filter. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Filter +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Filter .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewFilterObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewfilterobject #> function New-AzPurviewFilterObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Filter')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Filter')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,7 +40,7 @@ function New-AzPurviewFilterObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Filter]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Filter]::New() if ($PSBoundParameters.ContainsKey('ExcludeUriPrefix')) { $Object.ExcludeUriPrefix = $ExcludeUriPrefix diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewOracleDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewOracleDataSourceObject.ps1 index 2417b0cb6d1a..07cc2d0c6f18 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewOracleDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewOracleDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for OracleDataSource. Create an in-memory object for OracleDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.OracleDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.OracleDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewOracleDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurvieworacledatasourceobject #> function New-AzPurviewOracleDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.OracleDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.OracleDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -44,15 +45,11 @@ function New-AzPurviewOracleDataSourceObject { $Port, [Parameter()] [string] - $Service, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $Service ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.OracleDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.OracleDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -69,9 +66,6 @@ function New-AzPurviewOracleDataSourceObject { if ($PSBoundParameters.ContainsKey('Service')) { $Object.Service = $Service } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDataSourceObject.ps1 index e07e3fedfdbf..6a4d8d8fe829 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for PowerBIDataSource. Create an in-memory object for PowerBIDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidatasourceobject #> function New-AzPurviewPowerBIDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -38,15 +39,11 @@ function New-AzPurviewPowerBIDataSourceObject { $CollectionType, [Parameter()] [string] - $Tenant, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $Tenant ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -57,9 +54,6 @@ function New-AzPurviewPowerBIDataSourceObject { if ($PSBoundParameters.ContainsKey('Tenant')) { $Object.Tenant = $Tenant } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDelegatedScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDelegatedScanObject.ps1 index ba30352258a7..81eb1ac1056c 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDelegatedScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIDelegatedScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for PowerBIDelegatedScan. Create an in-memory object for PowerBIDelegatedScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDelegatedScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDelegatedScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDelegatedScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidelegatedscanobject #> function New-AzPurviewPowerBIDelegatedScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDelegatedScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDelegatedScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -55,8 +56,8 @@ function New-AzPurviewPowerBIDelegatedScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] @@ -66,15 +67,11 @@ function New-AzPurviewPowerBIDelegatedScanObject { $UserName, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIDelegatedScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIDelegatedScan]::New() if ($PSBoundParameters.ContainsKey('AuthenticationType')) { $Object.AuthenticationType = $AuthenticationType @@ -112,9 +109,6 @@ function New-AzPurviewPowerBIDelegatedScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIMsiScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIMsiScanObject.ps1 index a0765bb053c7..da03c15821e6 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIMsiScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewPowerBIMsiScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for PowerBIMsiScan. Create an in-memory object for PowerBIMsiScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIMsiScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIMsiScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIMsiScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbimsiscanobject #> function New-AzPurviewPowerBIMsiScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIMsiScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIMsiScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,20 +47,16 @@ function New-AzPurviewPowerBIMsiScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBIMsiScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBIMsiScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -82,9 +79,6 @@ function New-AzPurviewPowerBIMsiScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewRegexClassificationRulePatternObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewRegexClassificationRulePatternObject.ps1 index 94ff85321e49..7f1e6f85c7d3 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewRegexClassificationRulePatternObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewRegexClassificationRulePatternObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for RegexClassificationRulePattern. Create an in-memory object for RegexClassificationRulePattern. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.RegexClassificationRulePattern +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.RegexClassificationRulePattern .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewRegexClassificationRulePatternObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewregexclassificationrulepatternobject #> function New-AzPurviewRegexClassificationRulePatternObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.RegexClassificationRulePattern')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.RegexClassificationRulePattern')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -36,7 +37,7 @@ function New-AzPurviewRegexClassificationRulePatternObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.RegexClassificationRulePattern]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.RegexClassificationRulePattern]::New() if ($PSBoundParameters.ContainsKey('Pattern')) { $Object.Pattern = $Pattern diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapEccDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapEccDataSourceObject.ps1 index 4f4fa0e08b0b..e2e7158aeacd 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapEccDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapEccDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SapEccDataSource. Create an in-memory object for SapEccDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapEccDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapEccDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapEccDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsapeccdatasourceobject #> function New-AzPurviewSapEccDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapEccDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapEccDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,15 +42,11 @@ function New-AzPurviewSapEccDataSourceObject { $CollectionType, [Parameter()] [string] - $SystemNumber, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SystemNumber ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapEccDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapEccDataSource]::New() if ($PSBoundParameters.ContainsKey('ApplicationServer')) { $Object.ApplicationServer = $ApplicationServer @@ -63,9 +60,6 @@ function New-AzPurviewSapEccDataSourceObject { if ($PSBoundParameters.ContainsKey('SystemNumber')) { $Object.SystemNumber = $SystemNumber } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaDataSourceObject.ps1 index 91eb6d58e153..7286753ec8f2 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SapS4HanaDataSource. Create an in-memory object for SapS4HanaDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanadatasourceobject #> function New-AzPurviewSapS4HanaDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -41,15 +42,11 @@ function New-AzPurviewSapS4HanaDataSourceObject { $CollectionType, [Parameter()] [string] - $SystemNumber, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SystemNumber ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaDataSource]::New() if ($PSBoundParameters.ContainsKey('ApplicationServer')) { $Object.ApplicationServer = $ApplicationServer @@ -63,9 +60,6 @@ function New-AzPurviewSapS4HanaDataSourceObject { if ($PSBoundParameters.ContainsKey('SystemNumber')) { $Object.SystemNumber = $SystemNumber } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.ps1 index d73986adb078..780ab7fab117 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaSapS4HanaCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaSapS4HanaCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaSapS4HanaCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanasaps4hanacredentialscanobject #> function New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaSapS4HanaCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaSapS4HanaCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -46,8 +47,8 @@ function New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -62,20 +63,16 @@ function New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaSapS4HanaCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaSapS4HanaCredentialScan]::New() if ($PSBoundParameters.ContainsKey('ClientId')) { $Object.ClientId = $ClientId @@ -113,9 +110,6 @@ function New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseCredentialScanObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseCredentialScanObject.ps1 index ba816fb8e73f..c41f5155902c 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseCredentialScanObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseCredentialScanObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SqlServerDatabaseCredentialScan. Create an in-memory object for SqlServerDatabaseCredentialScan. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseCredentialScan +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseCredentialScan .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseCredentialScanObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasecredentialscanobject #> function New-AzPurviewSqlServerDatabaseCredentialScanObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseCredentialScan')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseCredentialScan')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -43,8 +44,8 @@ function New-AzPurviewSqlServerDatabaseCredentialScanObject { [string] $CredentialReferenceName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("AccountKey", "ServicePrincipal", "BasicAuth", "SqlAuth", "AmazonARN")] + [string] $CredentialType, [Parameter()] [string] @@ -53,23 +54,19 @@ function New-AzPurviewSqlServerDatabaseCredentialScanObject { [string] $ScanRulesetName, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $ScanRulesetType, [Parameter()] [string] $ServerEndpoint, [Parameter()] [int] - $Worker, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType] - $Kind + $Worker ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseCredentialScan]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseCredentialScan]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -101,9 +98,6 @@ function New-AzPurviewSqlServerDatabaseCredentialScanObject { if ($PSBoundParameters.ContainsKey('Worker')) { $Object.Worker = $Worker } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseDataSourceObject.ps1 index 5b9d36745bdc..31ddf48d043b 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SqlServerDatabaseDataSource. Create an in-memory object for SqlServerDatabaseDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasedatasourceobject #> function New-AzPurviewSqlServerDatabaseDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -50,15 +51,11 @@ function New-AzPurviewSqlServerDatabaseDataSourceObject { $ServerEndpoint, [Parameter()] [string] - $SubscriptionId, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $SubscriptionId ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -81,9 +78,6 @@ function New-AzPurviewSqlServerDatabaseDataSourceObject { if ($PSBoundParameters.ContainsKey('SubscriptionId')) { $Object.SubscriptionId = $SubscriptionId } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 similarity index 72% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 index 7c576c8a6acf..f8becb426133 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewSqlServerDatabaseScanRulesetObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. Create an in-memory object for SqlServerDatabaseScanRuleset. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseScanRuleset +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseScanRuleset .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewSqlServerDatabaseScanRulesetObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasescanrulesetobject #> function New-AzPurviewSqlServerDatabaseScanRulesetObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseScanRuleset')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseScanRuleset')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,18 +40,14 @@ function New-AzPurviewSqlServerDatabaseScanRulesetObject { [Parameter()] [string[]] $IncludedCustomClassificationRuleName, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Custom", "System")] + [string] $Type ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseScanRuleset]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseScanRuleset]::New() if ($PSBoundParameters.ContainsKey('Description')) { $Object.Description = $Description @@ -61,9 +58,6 @@ function New-AzPurviewSqlServerDatabaseScanRulesetObject { if ($PSBoundParameters.ContainsKey('IncludedCustomClassificationRuleName')) { $Object.IncludedCustomClassificationRuleName = $IncludedCustomClassificationRuleName } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } if ($PSBoundParameters.ContainsKey('Type')) { $Object.Type = $Type } diff --git a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTeradataDataSourceObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTeradataDataSourceObject.ps1 index d1528aad60fa..6b8d4455798a 100644 --- a/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTeradataDataSourceObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTeradataDataSourceObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for TeradataDataSource. Create an in-memory object for TeradataDataSource. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.TeradataDataSource +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.TeradataDataSource .Link -https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewTeradataDataSourceObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewteradatadatasourceobject #> function New-AzPurviewTeradataDataSourceObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.TeradataDataSource')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.TeradataDataSource')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -38,15 +39,11 @@ function New-AzPurviewTeradataDataSourceObject { $CollectionType, [Parameter()] [string] - $Host, - [Parameter(Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType] - $Kind + $Host ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.TeradataDataSource]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.TeradataDataSource]::New() if ($PSBoundParameters.ContainsKey('CollectionReferenceName')) { $Object.CollectionReferenceName = $CollectionReferenceName @@ -57,9 +54,6 @@ function New-AzPurviewTeradataDataSourceObject { if ($PSBoundParameters.ContainsKey('Host')) { $Object.Host = $Host } - if ($PSBoundParameters.ContainsKey('Kind')) { - $Object.Kind = $Kind - } return $Object } } diff --git a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewTriggerObject.ps1 b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTriggerObject.ps1 similarity index 60% rename from src/Purview/Purviewdata.Autorest/custom/New-AzPurviewTriggerObject.ps1 rename to src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTriggerObject.ps1 index e6ceb9cfe2cb..1f71ce172245 100644 --- a/src/Purview/Purviewdata.Autorest/custom/New-AzPurviewTriggerObject.ps1 +++ b/src/Purview/Purviewdata.Autorest/custom/autogen-model-cmdlets/New-AzPurviewTriggerObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for Trigger. Create an in-memory object for Trigger. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Trigger +Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Trigger .Link -https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewTriggerObject +https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewtriggerobject #> function New-AzPurviewTriggerObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Trigger')] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Trigger')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -40,45 +41,45 @@ function New-AzPurviewTriggerObject { [System.DateTime] $RecurrenceEndTime, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.TriggerFrequency])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.TriggerFrequency] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Week", "Month")] + [string] $RecurrenceFrequency, [Parameter()] [string] $RecurrenceInterval, - [Parameter()] - [System.DateTime] - $RecurrenceStartTime, - [Parameter()] - [string] - $RecurrenceTimeZone, - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType] - $ScanLevel, [Parameter(HelpMessage="Dictionary of .")] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleAdditionalProperties] - $ScheduleAdditionalProperty, + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleAdditionalProperties] + $RecurrenceScheduleAdditionalProperty, [Parameter()] [int[]] - $ScheduleHour, + $RecurrenceScheduleHour, [Parameter()] [int[]] - $ScheduleMinute, + $RecurrenceScheduleMinute, [Parameter()] [int[]] - $ScheduleMonthDay, + $RecurrenceScheduleMonthDay, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleOccurrence[]] + $RecurrenceScheduleMonthlyOccurrence, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleOccurrence[]] - $ScheduleMonthlyOccurrence, + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")] + [string[]] + $RecurrenceScheduleWeekDay, + [Parameter()] + [System.DateTime] + $RecurrenceStartTime, + [Parameter()] + [string] + $RecurrenceTimeZone, [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DaysOfWeek])] - [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DaysOfWeek[]] - $ScheduleWeekDay + [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.PSArgumentCompleterAttribute("Full", "Incremental")] + [string] + $ScanLevel ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Trigger]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Trigger]::New() if ($PSBoundParameters.ContainsKey('IncrementalScanStartTime')) { $Object.IncrementalScanStartTime = $IncrementalScanStartTime @@ -95,32 +96,32 @@ function New-AzPurviewTriggerObject { if ($PSBoundParameters.ContainsKey('RecurrenceInterval')) { $Object.RecurrenceInterval = $RecurrenceInterval } - if ($PSBoundParameters.ContainsKey('RecurrenceStartTime')) { - $Object.RecurrenceStartTime = $RecurrenceStartTime + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleAdditionalProperty')) { + $Object.RecurrenceScheduleAdditionalProperty = $RecurrenceScheduleAdditionalProperty } - if ($PSBoundParameters.ContainsKey('RecurrenceTimeZone')) { - $Object.RecurrenceTimeZone = $RecurrenceTimeZone + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleHour')) { + $Object.RecurrenceScheduleHour = $RecurrenceScheduleHour } - if ($PSBoundParameters.ContainsKey('ScanLevel')) { - $Object.ScanLevel = $ScanLevel + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleMinute')) { + $Object.RecurrenceScheduleMinute = $RecurrenceScheduleMinute } - if ($PSBoundParameters.ContainsKey('ScheduleAdditionalProperty')) { - $Object.ScheduleAdditionalProperty = $ScheduleAdditionalProperty + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleMonthDay')) { + $Object.RecurrenceScheduleMonthDay = $RecurrenceScheduleMonthDay } - if ($PSBoundParameters.ContainsKey('ScheduleHour')) { - $Object.ScheduleHour = $ScheduleHour + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleMonthlyOccurrence')) { + $Object.RecurrenceScheduleMonthlyOccurrence = $RecurrenceScheduleMonthlyOccurrence } - if ($PSBoundParameters.ContainsKey('ScheduleMinute')) { - $Object.ScheduleMinute = $ScheduleMinute + if ($PSBoundParameters.ContainsKey('RecurrenceScheduleWeekDay')) { + $Object.RecurrenceScheduleWeekDay = $RecurrenceScheduleWeekDay } - if ($PSBoundParameters.ContainsKey('ScheduleMonthDay')) { - $Object.ScheduleMonthDay = $ScheduleMonthDay + if ($PSBoundParameters.ContainsKey('RecurrenceStartTime')) { + $Object.RecurrenceStartTime = $RecurrenceStartTime } - if ($PSBoundParameters.ContainsKey('ScheduleMonthlyOccurrence')) { - $Object.ScheduleMonthlyOccurrence = $ScheduleMonthlyOccurrence + if ($PSBoundParameters.ContainsKey('RecurrenceTimeZone')) { + $Object.RecurrenceTimeZone = $RecurrenceTimeZone } - if ($PSBoundParameters.ContainsKey('ScheduleWeekDay')) { - $Object.ScheduleWeekDay = $ScheduleWeekDay + if ($PSBoundParameters.ContainsKey('ScanLevel')) { + $Object.ScanLevel = $ScanLevel } return $Object } diff --git a/src/Purview/Purviewdata.Autorest/docs/Az.Purviewdata.md b/src/Purview/Purviewdata.Autorest/docs/Az.Purviewdata.md index 098a80b17718..8835feaf6605 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Az.Purviewdata.md +++ b/src/Purview/Purviewdata.Autorest/docs/Az.Purviewdata.md @@ -1,6 +1,6 @@ --- Module Name: Az.Purviewdata -Module Guid: 4dde4c21-b5f5-4446-8970-f3b7cba663a1 +Module Guid: 7943b50f-d64c-4fe7-b108-a8d59debb1db Download Help Link: https://learn.microsoft.com/powershell/module/az.purviewdata Help Version: 1.0.0.0 Locale: en-US @@ -237,22 +237,22 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ### [New-AzPurviewClassificationRule](New-AzPurviewClassificationRule.md) -Creates or Updates a classification rule +Create a classification rule ### [New-AzPurviewCustomClassificationRuleObject](New-AzPurviewCustomClassificationRuleObject.md) Create an in-memory object for CustomClassificationRule. ### [New-AzPurviewDataSource](New-AzPurviewDataSource.md) -Creates or Updates a data source +Create a data source ### [New-AzPurviewFilter](New-AzPurviewFilter.md) -Creates or updates a filter +Create a filter ### [New-AzPurviewFilterObject](New-AzPurviewFilterObject.md) Create an in-memory object for Filter. ### [New-AzPurviewKeyVaultConnection](New-AzPurviewKeyVaultConnection.md) -Creates an instance of a key vault connection +Create an instance of a key vault connection ### [New-AzPurviewOracleDataSourceObject](New-AzPurviewOracleDataSourceObject.md) Create an in-memory object for OracleDataSource. @@ -279,10 +279,10 @@ Create an in-memory object for SapS4HanaDataSource. Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ### [New-AzPurviewScan](New-AzPurviewScan.md) -Creates an instance of a scan +Create an instance of a scan ### [New-AzPurviewScanRuleset](New-AzPurviewScanRuleset.md) -Creates or Updates a scan ruleset +Create a scan ruleset ### [New-AzPurviewSqlServerDatabaseCredentialScanObject](New-AzPurviewSqlServerDatabaseCredentialScanObject.md) Create an in-memory object for SqlServerDatabaseCredentialScan. @@ -297,7 +297,7 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. Create an in-memory object for TeradataDataSource. ### [New-AzPurviewTrigger](New-AzPurviewTrigger.md) -Creates an instance of a trigger +Create an instance of a trigger ### [New-AzPurviewTriggerObject](New-AzPurviewTriggerObject.md) Create an in-memory object for Trigger. @@ -326,3 +326,24 @@ Runs the scan ### [Stop-AzPurviewScanResultScan](Stop-AzPurviewScanResultScan.md) Cancels a scan +### [Update-AzPurviewClassificationRule](Update-AzPurviewClassificationRule.md) +Update a classification rule + +### [Update-AzPurviewDataSource](Update-AzPurviewDataSource.md) +Update a data source + +### [Update-AzPurviewFilter](Update-AzPurviewFilter.md) +Update a filter + +### [Update-AzPurviewKeyVaultConnection](Update-AzPurviewKeyVaultConnection.md) +Update an instance of a key vault connection + +### [Update-AzPurviewScan](Update-AzPurviewScan.md) +Update an instance of a scan + +### [Update-AzPurviewScanRuleset](Update-AzPurviewScanRuleset.md) +Update a scan ruleset + +### [Update-AzPurviewTrigger](Update-AzPurviewTrigger.md) +Update an instance of a trigger + diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRule.md index 37ee01615a1c..b894d59acc25 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRule.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRule.md @@ -162,7 +162,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRuleVersion.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRuleVersion.md index e0410c6709cc..751aaca07f54 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRuleVersion.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewClassificationRuleVersion.md @@ -127,7 +127,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewDataSource.md index eb5b5daf8de4..f939e9c1cf2d 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewDataSource.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewDataSource.md @@ -146,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewFilter.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewFilter.md index f23b00b97def..132d698f5290 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewFilter.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewFilter.md @@ -108,7 +108,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewKeyVaultConnection.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewKeyVaultConnection.md index a14124f02d67..3788919eb1e2 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewKeyVaultConnection.md @@ -117,7 +117,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScan.md index 9aa4ee69bdb2..5d408fa30449 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScan.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScan.md @@ -166,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanResultScanHistory.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanResultScanHistory.md index d6ef038039df..8cb71e07e42a 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanResultScanHistory.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanResultScanHistory.md @@ -150,7 +150,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanResult +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanResult ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanRuleset.md index 6abc9ac338f4..72b8db7ad7ba 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanRuleset.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewScanRuleset.md @@ -144,7 +144,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRuleset.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRuleset.md index e195eabfae5c..a61385d8b689 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRuleset.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRuleset.md @@ -19,13 +19,13 @@ Get-AzPurviewSystemScanRuleset -Endpoint [-DefaultProfile ] [ ### Get ``` -Get-AzPurviewSystemScanRuleset -Endpoint -DataSourceType - [-DefaultProfile ] [] +Get-AzPurviewSystemScanRuleset -Endpoint -DataSourceType [-DefaultProfile ] + [] ``` ### Get1 ``` -Get-AzPurviewSystemScanRuleset -Endpoint -Version [-DataSourceType ] +Get-AzPurviewSystemScanRuleset -Endpoint -Version [-DataSourceType ] [-DefaultProfile ] [] ``` @@ -115,7 +115,7 @@ Get system scanruleset for a data source type and specific version . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: Get, Get1 Aliases: @@ -180,7 +180,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetLatest.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetLatest.md index dba76bd1bbac..606ab893ca0a 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetLatest.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetLatest.md @@ -13,7 +13,7 @@ Get the latest version of a system scan ruleset ## SYNTAX ``` -Get-AzPurviewSystemScanRulesetLatest -Endpoint [-DataSourceType ] +Get-AzPurviewSystemScanRulesetLatest -Endpoint [-DataSourceType ] [-DefaultProfile ] [] ``` @@ -45,7 +45,7 @@ Get latest system scan ruleset available for a data source . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: (All) Aliases: @@ -95,7 +95,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetVersion.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetVersion.md index a25209c41e90..66a302e4ae4d 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetVersion.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewSystemScanRulesetVersion.md @@ -13,7 +13,7 @@ List system scan ruleset versions in Data catalog ## SYNTAX ``` -Get-AzPurviewSystemScanRulesetVersion -Endpoint [-DataSourceType ] +Get-AzPurviewSystemScanRulesetVersion -Endpoint [-DataSourceType ] [-DefaultProfile ] [] ``` @@ -69,7 +69,7 @@ Get all versions of system scanruleset available for a data source . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType +Type: System.String Parameter Sets: (All) Aliases: @@ -119,7 +119,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ISystemScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ISystemScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewTrigger.md index da522bc57202..b30ae91ff3c2 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewTrigger.md +++ b/src/Purview/Purviewdata.Autorest/docs/Get-AzPurviewTrigger.md @@ -124,7 +124,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md b/src/Purview/Purviewdata.Autorest/docs/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md index 65666bff861b..78eed293aef7 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md +++ b/src/Purview/Purviewdata.Autorest/docs/Invoke-AzPurviewTagClassificationRuleClassificationVersion.md @@ -14,8 +14,8 @@ Sets Classification Action on a specific classification rule version. ``` Invoke-AzPurviewTagClassificationRuleClassificationVersion -Endpoint -ClassificationRuleName - -ClassificationRuleVersion -Action [-DefaultProfile ] [-Confirm] - [-WhatIf] [] + -ClassificationRuleVersion -Action [-DefaultProfile ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -42,7 +42,7 @@ Set Classification Action on specific rule version . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationAction +Type: System.String Parameter Sets: (All) Aliases: @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1CredentialScanObject.md index 8dc918945c7b..3fceb91dbf81 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1credentialscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen1CredentialScan. ## SYNTAX ``` -New-AzPurviewAdlsGen1CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] - [-Worker ] [] +New-AzPurviewAdlsGen1CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AdlsGen1CredentialScan. ### Example 1: Create AdlsGen1 Credential scan object ```powershell -New-AzPurviewAdlsGen1CredentialScanObject -Kind 'AdlsGen1Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output @@ -115,7 +114,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -126,21 +125,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -160,7 +144,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1CredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1DataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1DataSourceObject.md index e7d1068e3b88..5fb6ed7e99dd 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1datasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen1DataSource. ## SYNTAX ``` -New-AzPurviewAdlsGen1DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAdlsGen1DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen1DataSource. ### Example 1: Create AdlsGen1 data source object ```powershell -New-AzPurviewAdlsGen1DataSourceObject -Kind 'AdlsGen1' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' +New-AzPurviewAdlsGen1DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1DataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1MsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1MsiScanObject.md index e573147dfd99..68a19614678e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1MsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1MsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen1MsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1msiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen1MsiScan. ## SYNTAX ``` -New-AzPurviewAdlsGen1MsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAdlsGen1MsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen1MsiScan. ### Example 1: Create AdlsGen1 Msi scan object ```powershell -New-AzPurviewAdlsGen1MsiScanObject -Kind 'AdlsGen1Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output @@ -93,21 +93,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -127,7 +112,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -160,7 +145,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1MsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1MsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1ScanRulesetObject.md index 20afc87f4dd3..88259d3a7358 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen1ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen1ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen1scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AdlsGen1ScanRuleset. ## SYNTAX ``` -New-AzPurviewAdlsGen1ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] [] +New-AzPurviewAdlsGen1ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AdlsGen1ScanRuleset. ### Example 1: Create AdlsGen1 custom scanruleset object ```powershell -New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -94,26 +94,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen1ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen1ScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2CredentialScanObject.md index df2b2fd51c34..e4ea085e1cb7 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2credentialscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AdlsGen2CredentialScan. ## SYNTAX ``` -New-AzPurviewAdlsGen2CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] - [-Worker ] [] +New-AzPurviewAdlsGen2CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AdlsGen2CredentialScan. ### Example 1: Create AdlsGen2 Credential scan object ```powershell -New-AzPurviewAdlsGen2CredentialScanObject -Kind 'AdlsGen2Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output @@ -115,7 +114,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -126,21 +125,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -160,7 +144,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2CredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2DataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2DataSourceObject.md index ea476abe351d..381177d7d9b6 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2datasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen2DataSource. ## SYNTAX ``` -New-AzPurviewAdlsGen2DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAdlsGen2DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen2DataSource. ### Example 1: Create AdlsGen2 data source object ```powershell -New-AzPurviewAdlsGen2DataSourceObject -Kind 'AdlsGen2' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' +New-AzPurviewAdlsGen2DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2DataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2MsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2MsiScanObject.md index 6abed1f09028..4ea8df2d53de 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2MsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2MsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAdlsGen2MsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2msiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AdlsGen2MsiScan. ## SYNTAX ``` -New-AzPurviewAdlsGen2MsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAdlsGen2MsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AdlsGen2MsiScan. ### Example 1: Create AdlsGen2 Msi scan object ```powershell -New-AzPurviewAdlsGen2MsiScanObject -Kind 'AdlsGen2Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output @@ -93,21 +93,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -127,7 +112,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -160,7 +145,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2MsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2MsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2ScanRulesetObject.md index 75b825710771..45745b5357f9 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAdlsGen2ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAdlsGen2ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewadlsgen2scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AdlsGen2ScanRuleset. ## SYNTAX ``` -New-AzPurviewAdlsGen2ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] [] +New-AzPurviewAdlsGen2ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AdlsGen2ScanRuleset. ### Example 1: Create AdlsGen2 custom scanruleset object ```powershell -New-AzPurviewAdlsGen2ScanRulesetObject -Kind 'AdlsGen2' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen2ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -94,26 +94,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AdlsGen2ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AdlsGen2ScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountCredentialScanObject.md index a0d20df2c67e..9ed3d90cc009 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AmazonAccountCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonAccountCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] +New-AzPurviewAmazonAccountCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AmazonAccountCredentialScan. ### Example 1: Create Amazon Account Credential scan object ```powershell -New-AzPurviewAmazonAccountCredentialScanObject -Kind 'AmazonAccountCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' +New-AzPurviewAmazonAccountCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -129,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -211,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountDataSourceObject.md index 43c86c52bb7e..963026eaa189 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonAccountDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonAccountDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonaccountdatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AmazonAccountDataSource. ## SYNTAX ``` -New-AzPurviewAmazonAccountDataSourceObject -Kind [-AwsAccountId ] - [-CollectionReferenceName ] [-CollectionType ] [-RoleArn ] [] +New-AzPurviewAmazonAccountDataSourceObject [-AwsAccountId ] [-CollectionReferenceName ] + [-CollectionType ] [-RoleArn ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for AmazonAccountDataSource. ### Example 1: Create Amazon Account data source object ```powershell -New-AzPurviewAmazonAccountDataSourceObject -Kind 'AmazonAccount' -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' +New-AzPurviewAmazonAccountDataSourceObject -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' ``` ```output @@ -90,21 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn @@ -127,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonAccountDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonAccountDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md index dd37b637e8b8..800c2b995c59 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for AmazonPostgreSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] - [-VpcEndpointServiceName ] [-Worker ] [] +New-AzPurviewAmazonPostgreSqlCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for AmazonPostgreSqlCredentialScan. ### Example 1: Create Amazon Account PostgreSQL scan object ```powershell -New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind 'AmazonPostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonPostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output @@ -120,7 +120,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -146,21 +146,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -195,7 +180,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -258,7 +243,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlDataSourceObject.md index b47b3ba55490..574f6ca53841 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonPostgreSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AmazonPostgreSqlDataSource. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] - [] +New-AzPurviewAmazonPostgreSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AmazonPostgreSqlDataSource. ### Example 1: Create Amazon PostgreSQL data source object ```powershell -New-AzPurviewAmazonPostgreSqlDataSourceObject -Kind 'AmazonPostgreSql' -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAmazonPostgreSqlDataSourceObject -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -77,21 +76,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -144,7 +128,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md index fcf83c39619a..710eca4f3a86 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonPostgreSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonpostgresqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AmazonPostgreSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonPostgreSqlScanRulesetObject -Kind [-Description ] +New-AzPurviewAmazonPostgreSqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AmazonPostgreSqlScanRuleset. ### Example 1: Create Amazon PostgreSql custom scanruleset object ```powershell -New-AzPurviewAmazonPostgreSqlScanRulesetObject -Kind 'AmazonPostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonPostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonPostgreSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonPostgreSqlScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3CredentialScanObject.md index e9a5da0036f1..50bf22ce51da 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3CredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3CredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3credentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AmazonS3CredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonS3CredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-IsMauiScan ] [-RoleArn ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAmazonS3CredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-IsMauiScan ] [-RoleArn ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AmazonS3CredentialScan. ### Example 1: Create Amazon S3 Credential scan object ```powershell -New-AzPurviewAmazonS3CredentialScanObject -Kind 'AmazonS3Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false +New-AzPurviewAmazonS3CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false ``` ```output @@ -117,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -143,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn @@ -192,7 +177,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -225,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3CredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3CredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3DataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3DataSourceObject.md index 31ed22862e7f..309fb3356eaf 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3DataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonS3DataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3datasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AmazonS3DataSource. ## SYNTAX ``` -New-AzPurviewAmazonS3DataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-RoleArn ] [-ServiceUrl ] [] +New-AzPurviewAmazonS3DataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-RoleArn ] [-ServiceUrl ] [] ``` ## DESCRIPTION @@ -24,8 +24,7 @@ Create an in-memory object for AmazonS3DataSource. ### Example 1: Create AmazonS3 data source object ```powershell -New-AzPurviewAmazonS3DataSourceObject -Kind 'AmazonS3' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 -New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'DS4' -Body $obj +New-AzPurviewAmazonS3DataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 ``` ```output @@ -76,21 +75,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RoleArn @@ -128,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3DataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3DataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3ScanRulesetObject.md index 49345a2880fe..e2fec1ab4288 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonS3ScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonS3ScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazons3scanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AmazonS3ScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonS3ScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] [] +New-AzPurviewAmazonS3ScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AmazonS3ScanRuleset. ### Example 1: Create AmazonS3 custom scanruleset object ```powershell -New-AzPurviewAmazonS3ScanRulesetObject -Kind 'AmazonS3' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAmazonS3ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -94,26 +94,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonS3ScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonS3ScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlCredentialScanObject.md index 858a3d88c694..303fc805274d 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AmazonSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAmazonSqlCredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ServerEndpoint ] [-VpcEndpointServiceName ] - [-Worker ] [] +New-AzPurviewAmazonSqlCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-VpcEndpointServiceName ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AmazonSqlCredentialScan. ### Example 1: Create Amazon Sql Credential scan object ```powershell -New-AzPurviewAmazonSqlCredentialScanObject -Kind 'AmazonSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output @@ -120,7 +119,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -146,21 +145,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -195,7 +179,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -258,7 +242,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlDataSourceObject.md index 121dbf4fc648..9cfc30ffa31b 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAmazonSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AmazonSqlDataSource. ## SYNTAX ``` -New-AzPurviewAmazonSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] - [] +New-AzPurviewAmazonSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Port ] [-ServerEndpoint ] [-VpcEndpointServiceName ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AmazonSqlDataSource. ### Example 1: Create Amazon SQL data source object ```powershell -New-AzPurviewAmazonSqlDataSourceObject -Kind 'AmazonSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 +New-AzPurviewAmazonSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 ``` ```output @@ -77,21 +76,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -144,7 +128,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlScanRulesetObject.md index 7bdf7753e99e..e147fcec4418 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAmazonSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAmazonSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewamazonsqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AmazonSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAmazonSqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAmazonSqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AmazonSqlScanRuleset. ### Example 1: Create Amazon Sql custom scanruleset object ```powershell -New-AzPurviewAmazonSqlScanRulesetObject -Kind 'AmazonSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +90,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AmazonSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AmazonSqlScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbCredentialScanObject.md index c4468bcfa2b5..609530bcb87e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbcredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureCosmosDbCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureCosmosDbCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureCosmosDbCredentialScan. ### Example 1: Create Azure CosmosDb Credential scan object ```powershell -New-AzPurviewAzureCosmosDbCredentialScanObject -Kind 'AzureCosmosDbCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' +New-AzPurviewAzureCosmosDbCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' ``` ```output @@ -116,7 +116,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -142,21 +142,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -176,7 +161,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -209,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbDataSourceObject.md index 3eef5ebbc0aa..37851b63ae0e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureCosmosDbDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureCosmosDbDataSource. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbDataSourceObject -Kind [-AccountUri ] - [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureCosmosDbDataSourceObject [-AccountUri ] [-CollectionReferenceName ] + [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureCosmosDbDataSource. ### Example 1: Create Azure CosmosDB data source object ```powershell -New-AzPurviewAzureCosmosDbDataSourceObject -Kind 'AzureCosmosDb' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' +New-AzPurviewAzureCosmosDbDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbScanRulesetObject.md index e98bc0dcbd5a..2b0d81f7dff0 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureCosmosDbScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureCosmosDbScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurecosmosdbscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AzureCosmosDbScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureCosmosDbScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureCosmosDbScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AzureCosmosDbScanRuleset. ### Example 1: Create CosmosDB custom scanruleset object ```powershell -New-AzPurviewAzureCosmosDbScanRulesetObject -Kind 'AzureCosmosDb' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureCosmosDbScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +90,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureCosmosDbScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureCosmosDbScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerCredentialScanObject.md index 0eb440eb7a16..1b67a6a9f614 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorercredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureDataExplorerCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-Database ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureDataExplorerCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-Database ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureDataExplorerCredentialScan. ### Example 1: Create Azure Data Explorer Credential scan object ```powershell -New-AzPurviewAzureDataExplorerCredentialScanObject -Kind 'AzureDataExplorerCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output @@ -116,7 +116,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -142,21 +142,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -176,7 +161,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -209,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerDataSourceObject.md index daab6307a988..22bd047af593 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerdatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureDataExplorerDataSource. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureDataExplorerDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureDataExplorerDataSource. ### Example 1: Create Azure Data Explorer data source object ```powershell -New-AzPurviewAzureDataExplorerDataSourceObject -Kind 'AzureDataExplorer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' +New-AzPurviewAzureDataExplorerDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerMsiScanObject.md index 6b3a82c8cb68..62682a23699d 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureDataExplorerMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorermsiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureDataExplorerMsiScan. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-Database ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureDataExplorerMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-Database ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureDataExplorerMsiScan. ### Example 1: Create Azure Data Explorer Msi scan object ```powershell -New-AzPurviewAzureDataExplorerMsiScanObject -Kind 'AzureDataExplorerMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output @@ -109,21 +109,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerScanRulesetObject.md index bb3bacaf2804..8df70e922248 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureDataExplorerScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureDataExplorerScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuredataexplorerscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureDataExplorerScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureDataExplorerScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureDataExplorerScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureDataExplorerScanRuleset. ### Example 1: Create Azure Data Explorer custom scanruleset object ```powershell -New-AzPurviewAzureDataExplorerScanRulesetObject -Kind 'AzureDataExplorer' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureDataExplorerScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureDataExplorerScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureDataExplorerScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceCredentialScanObject.md index 3375549d5bda..940a6e7efa3e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicecredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureFileServiceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureFileServiceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ShareName ] [-Worker ] [] +New-AzPurviewAzureFileServiceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ScanRulesetName ] [-ScanRulesetType ] [-ShareName ] + [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureFileServiceCredentialScan. ### Example 1: Create Azure File Service Credential scan object ```powershell -New-AzPurviewAzureFileServiceCredentialScanObject -Kind 'AzureFileServiceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' +New-AzPurviewAzureFileServiceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' ``` ```output @@ -116,7 +116,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -127,21 +127,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -161,7 +146,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -209,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceDataSourceObject.md index fb2d47ad790c..a7eccd8aeb51 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureFileServiceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureFileServiceDataSource. ## SYNTAX ``` -New-AzPurviewAzureFileServiceDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureFileServiceDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureFileServiceDataSource. ### Example 1: Create Azure File Service data source object ```powershell -New-AzPurviewAzureFileServiceDataSourceObject -Kind 'AzureFileService' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' +New-AzPurviewAzureFileServiceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceScanRulesetObject.md index 5b955d465fff..5176ef5f0b67 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureFileServiceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureFileServiceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurefileservicescanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureFileServiceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureFileServiceScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureFileServiceScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] [] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureFileServiceScanRuleset. ### Example 1: Create Azure File Service custom scanruleset object ```powershell -New-AzPurviewAzureFileServiceScanRulesetObject -Kind 'AzureFileService' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureFileServiceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -94,26 +94,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureFileServiceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureFileServiceScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureKeyVaultObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureKeyVaultObject.md index 69cc0b1dcc60..47dcb0bab588 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureKeyVaultObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureKeyVaultObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureKeyVaultObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurekeyvaultobject schema: 2.0.0 --- @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureKeyVault ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlCredentialScanObject.md index a74a0206730b..ff3f54db4750 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlcredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureMySqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureMySqlCredentialScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] - [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] [] +New-AzPurviewAzureMySqlCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-DatabaseName ] [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureMySqlCredentialScan. ### Example 1: Create Azure MySql Credential scan object ```powershell -New-AzPurviewAzureMySqlCredentialScanObject -Kind 'AzureMySqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' +New-AzPurviewAzureMySqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' ``` ```output @@ -118,7 +118,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -144,21 +144,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -193,7 +178,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -241,7 +226,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlDataSourceObject.md index 7d388626f5c8..a836c7009ce5 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureMySqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureMySqlDataSource. ## SYNTAX ``` -New-AzPurviewAzureMySqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-Port ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] [] +New-AzPurviewAzureMySqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-Port ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureMySqlDataSource. ### Example 1: Create Azure MySQL data source object ```powershell -New-AzPurviewAzureMySqlDataSourceObject -Kind 'AzureMySql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' +New-AzPurviewAzureMySqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' ``` ```output @@ -80,21 +80,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -192,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlScanRulesetObject.md index 572250489496..8d93a84ff077 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureMySqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureMySqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuremysqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,8 @@ Create an in-memory object for AzureMySqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureMySqlScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] +New-AzPurviewAzureMySqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +24,7 @@ Create an in-memory object for AzureMySqlScanRuleset. ### Example 1: Create Azure MySQL custom scanruleset object ```powershell -New-AzPurviewAzureMySqlScanRulesetObject -Kind 'AzureMySql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureMySqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +90,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureMySqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureMySqlScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlCredentialScanObject.md index 7810bbd97962..6148cffc5780 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for AzurePostgreSqlCredentialScan. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-Port ] [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] - [-SslMode ] [-Worker ] [] +New-AzPurviewAzurePostgreSqlCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-Port ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-SslMode ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for AzurePostgreSqlCredentialScan. ### Example 1: Create Azure PostgreSql Credential scan object ```powershell -New-AzPurviewAzurePostgreSqlCredentialScanObject -Kind 'AzurePostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' ``` ```output @@ -120,7 +120,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -146,21 +146,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -195,7 +180,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -258,7 +243,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlDataSourceObject.md index d0af9c57d5b4..e2918140d37e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzurePostgreSqlDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqldatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzurePostgreSqlDataSource. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-Port ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] [] +New-AzPurviewAzurePostgreSqlDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-Port ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzurePostgreSqlDataSource. ### Example 1: Create Azure PostgreSQL data source object ```powershell -New-AzPurviewAzurePostgreSqlDataSourceObject -Kind 'AzurePostgreSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' ``` ```output @@ -80,21 +80,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -192,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlScanRulesetObject.md index ed95a774c53b..e04fd9441669 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzurePostgreSqlScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzurePostgreSqlScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurepostgresqlscanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzurePostgreSqlScanRuleset. ## SYNTAX ``` -New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind [-Description ] +New-AzPurviewAzurePostgreSqlScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzurePostgreSqlScanRuleset. ### Example 1: Create Azure PostgreSQL custom scanruleset object ```powershell -New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind 'AzurePostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzurePostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzurePostgreSqlScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzurePostgreSqlScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupCredentialScanObject.md index ff2fc2facfe1..69f354eebfd1 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupcredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureResourceGroupCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureResourceGroupCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureResourceGroupCredentialScan. ### Example 1: Create Azure resource group Credential scan object ```powershell -New-AzPurviewAzureResourceGroupCredentialScanObject -Kind 'AzureResourceGroupCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureResourceGroupCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -129,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -211,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupDataSourceObject.md index ad69d64a3ee5..8f6001417897 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupdatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AzureResourceGroupDataSource. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ResourceGroup ] [-SubscriptionId ] [] +New-AzPurviewAzureResourceGroupDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-ResourceGroup ] [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for AzureResourceGroupDataSource. ### Example 1: Create Azure resource group data source object ```powershell -New-AzPurviewAzureResourceGroupDataSourceObject -Kind 'AzureResourceGroup' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureResourceGroupDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output @@ -75,21 +75,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroup @@ -127,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupMsiScanObject.md index e94e9c341aca..7117ebe677cd 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureResourceGroupMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureResourceGroupMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazureresourcegroupmsiscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureResourceGroupMsiScan. ## SYNTAX ``` -New-AzPurviewAzureResourceGroupMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ResourceType ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureResourceGroupMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ResourceType ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureResourceGroupMsiScan. ### Example 1: Create Azure resource group Msi scan object ```powershell -New-AzPurviewAzureResourceGroupMsiScanObject -Kind 'AzureResourceGroupMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureResourceGroupMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -117,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -177,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -210,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureResourceGroupMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureResourceGroupMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md index 5a3b80801857..43838ac9112e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDataWarehouseCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDataWarehouseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDataWarehouseCredentialScan. ### Example 1: Create Azure Sql Data Warehouse Credential scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -Kind 'AzureSqlDataWarehouseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' +New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -144,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -226,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md index 8599d8e68d28..d4677a89eca3 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousedatasourceobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for AzureSqlDataWarehouseDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseDataSourceObject -Kind [-CollectionReferenceName ] +New-AzPurviewAzureSqlDataWarehouseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] [] ``` @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDataWarehouseDataSource. ### Example 1: Create Azure SQL datawarehouse data source object ```powershell -New-AzPurviewAzureSqlDataWarehouseDataSourceObject -Kind 'AzureSqlDataWarehouse' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output @@ -79,21 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md index 3d8c41c8e877..477b14f2d1be 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDataWarehouseMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureSqlDataWarehouseMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] - [-ServerEndpoint ] [-Worker ] [] +New-AzPurviewAzureSqlDataWarehouseMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-DatabaseName ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureSqlDataWarehouseMsiScan. ### Example 1: Create Azure Sql Data Warehouse Msi scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseMsiScanObject -Kind 'AzureSqlDataWarehouseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' ``` ```output @@ -111,21 +110,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -145,7 +129,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md index 84f34aae3ad2..5fba23165504 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDataWarehouseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatawarehousescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDataWarehouseScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureSqlDataWarehouseScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDataWarehouseScanRuleset. ### Example 1: Create Azure SQL Data Warehouse custom scanruleset object ```powershell -New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Kind 'AzureSqlDataWarehouse' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDataWarehouseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDataWarehouseScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md index be4343c4ee00..0965f26c9a26 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDatabaseCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDatabaseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseCredentialScan. ### Example 1: Create Azure Sql Db Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind 'AzureSqlDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -144,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -226,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseDataSourceObject.md index e8f67b736d05..fab47c92becb 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] - [-ServerEndpoint ] [-SubscriptionId ] [] +New-AzPurviewAzureSqlDatabaseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseDataSource. ### Example 1: Create Azure SQL database data source object ```powershell -New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind 'AzureSqlDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output @@ -79,21 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md index 8daeb750d61b..d019b34e2547 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan. ### Example 1: Create Azure Sql Database Managed Instance Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind 'AzureSqlDatabaseManagedInstanceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -144,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -226,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md index e51b8736316a..dad5c2916685 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-ServerEndpoint ] [-SubscriptionId ] [] +New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject [-CollectionReferenceName ] + [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-ServerEndpoint ] [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceDataSource. ### Example 1: Create Azure SQL database managed instance data source object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -Kind 'AzureSqlDatabaseManagedInstance' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' ``` ```output @@ -79,21 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md index 1cad5c43af19..4e47c5422b37 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] - [-ServerEndpoint ] [-Worker ] [] +New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-DatabaseName ] + [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] + [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceMsiScan. ### Example 1: Create Azure Sql Database Managed Instance Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -Kind 'AzureSqlDatabaseManagedInstanceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output @@ -111,21 +111,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -145,7 +130,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md index 964d67884196..f17fb0cb67d3 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemanagedinstancescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseManagedInstanceScanRuleset. ### Example 1: Create Azure SQL Database Managed Instance custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Kind 'AzureSqlDatabaseManagedInstance' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseManagedInstanceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseManagedInstanceScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseMsiScanObject.md index db51b218a963..96d7d918c58a 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSqlDatabaseMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasemsiscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureSqlDatabaseMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewAzureSqlDatabaseMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-DatabaseName ] [-ScanRulesetName ] + [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseMsiScan. ### Example 1: Create Azure Sql Db Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseMsiScanObject -Kind 'AzureSqlDatabaseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output @@ -111,21 +110,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -145,7 +129,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md index c791d844cbeb..ade18208bfe6 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSqlDatabaseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresqldatabasescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSqlDatabaseScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSqlDatabaseScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureSqlDatabaseScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSqlDatabaseScanRuleset. ### Example 1: Create Azure SQL Database custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseScanRulesetObject -Kind 'AzureSqlDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSqlDatabaseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSqlDatabaseScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageCredentialScanObject.md index 76e8c813a331..ad4b64da6e31 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragecredentialscanobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for AzureStorageCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureStorageCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureStorageCredentialScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +25,7 @@ Create an in-memory object for AzureStorageCredentialScan. ### Example 1: Create Azure Storage Credential scan object ```powershell -New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output @@ -115,7 +114,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -126,21 +125,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -160,7 +144,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -193,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageDataSourceObject.md index 7a135c2f89cf..07e83d40b45e 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureStorageDataSource. ## SYNTAX ``` -New-AzPurviewAzureStorageDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Endpoint ] [-Location ] [-ResourceGroup ] - [-ResourceName ] [-SubscriptionId ] [] +New-AzPurviewAzureStorageDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Endpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureStorageDataSource. ### Example 1: Create Azure Storage data source object ```powershell -New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' +New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' ``` ```output @@ -94,21 +94,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageMsiScanObject.md index 3ae41c0a1582..b767bb85cc3f 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureStorageMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragemsiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureStorageMsiScan. ## SYNTAX ``` -New-AzPurviewAzureStorageMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureStorageMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-Worker ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureStorageMsiScan. ### Example 1: Create Azure Storage Msi scan object ```powershell -New-AzPurviewAzureStorageMsiScanObject -Kind 'AzureStorageMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output @@ -93,21 +93,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -127,7 +112,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -160,7 +145,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageScanRulesetObject.md index 3c7d14f99cc5..a9d23c6ae708 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureStorageScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureStorageScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazurestoragescanrulesetobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureStorageScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureStorageScanRulesetObject -Kind [-Description ] - [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-ScanningRuleCustomFileExtension ] - [-ScanningRuleFileExtension ] [-Type ] [] +New-AzPurviewAzureStorageScanRulesetObject [-Description ] [-ExcludedSystemClassification ] + [-IncludedCustomClassificationRuleName ] + [-ScanningRuleCustomFileExtension ] [-ScanningRuleFileExtension ] + [-Type ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureStorageScanRuleset. ### Example 1: Create Azure Storage custom scanruleset object ```powershell -New-AzPurviewAzureStorageScanRulesetObject -Kind 'AzureStorage' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureStorageScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output @@ -94,26 +94,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanningRuleCustomFileExtension -To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ICustomFileExtension[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ICustomFileExtension[] Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.FileExtensionsType[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,7 +146,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureStorageScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureStorageScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionCredentialScanObject.md index 37a22b1164b6..8b12ae92d7d9 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptioncredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSubscriptionCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureSubscriptionCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSubscriptionCredentialScan. ### Example 1: Create Azure resource sub Credential scan object ```powershell -New-AzPurviewAzureSubscriptionCredentialScanObject -Kind 'AzureSubscriptionCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureSubscriptionCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -129,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -211,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionDataSourceObject.md index 47f891734a70..d49f1319984d 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptiondatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for AzureSubscriptionDataSource. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-SubscriptionId ] [] +New-AzPurviewAzureSubscriptionDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for AzureSubscriptionDataSource. ### Example 1: Create Azure Subscription data source object ```powershell -New-AzPurviewAzureSubscriptionDataSourceObject -Kind 'AzureSubscription' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureSubscriptionDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output @@ -74,21 +74,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId @@ -111,7 +96,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionMsiScanObject.md index 5efc8e6429d0..e37cd24d112c 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSubscriptionMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSubscriptionMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresubscriptionmsiscanobject schema: 2.0.0 --- @@ -13,10 +13,10 @@ Create an in-memory object for AzureSubscriptionMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSubscriptionMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] - [-CredentialType ] [-ResourceType ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureSubscriptionMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] + [-ResourceType ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -26,7 +26,7 @@ Create an in-memory object for AzureSubscriptionMsiScan. ### Example 1: Create Azure resource sub Msi scan object ```powershell -New-AzPurviewAzureSubscriptionMsiScanObject -Kind 'AzureSubscriptionMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureSubscriptionMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output @@ -117,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -177,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -210,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSubscriptionMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSubscriptionMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md index 94a142a7772f..030addb4c084 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSynapseWorkspaceCredentialScan. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] - [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewAzureSynapseWorkspaceCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-ResourceType ] + [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSynapseWorkspaceCredentialScan. ### Example 1: Create Azure Synapse Workspace Credential scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind 'AzureSynapseWorkspaceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -129,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -211,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md index 731599352a72..3a93831aec1b 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacedatasourceobject schema: 2.0.0 --- @@ -13,7 +13,7 @@ Create an in-memory object for AzureSynapseWorkspaceDataSource. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceDataSourceObject -Kind [-CollectionReferenceName ] +New-AzPurviewAzureSynapseWorkspaceDataSourceObject [-CollectionReferenceName ] [-CollectionType ] [-DedicatedSqlEndpoint ] [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerlessSqlEndpoint ] [-SubscriptionId ] [] ``` @@ -25,7 +25,7 @@ Create an in-memory object for AzureSynapseWorkspaceDataSource. ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewAzureSynapseWorkspaceDataSourceObject -Kind 'AzureSynapseWorkspace' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' +New-AzPurviewAzureSynapseWorkspaceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' ``` ```output @@ -95,21 +95,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -192,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md index 9636d2759808..17ce962b6d0f 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewAzureSynapseWorkspaceMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacemsiscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceMsiScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] +New-AzPurviewAzureSynapseWorkspaceMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-CredentialReferenceName ] [-CredentialType ] [-ResourceType ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for AzureSynapseWorkspaceMsiScan. ### Example 1: Create Azure Synapse Workspace Msi scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceMsiScanObject -Kind 'AzureSynapseWorkspaceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -129,26 +128,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceType -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IExpandingResourceScanPropertiesResourceTypes +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IExpandingResourceScanPropertiesResourceTypes Parameter Sets: (All) Aliases: @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -211,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md index 1a21d3d9ae25..1190126dec49 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewAzureSynapseWorkspaceScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewazuresynapseworkspacescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ## SYNTAX ``` -New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Kind [-Description ] +New-AzPurviewAzureSynapseWorkspaceScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for AzureSynapseWorkspaceScanRuleset. ### Example 1: Create Azure Synapse Workspace custom scanruleset object ```powershell -New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Kind 'AzureSynapseWorkspace' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.AzureSynapseWorkspaceScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.AzureSynapseWorkspaceScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewClassificationRule.md index 12a06d292554..aec25baf2728 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewClassificationRule.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewClassificationRule.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewClassificationRule ## SYNOPSIS -Creates or Updates a classification rule +Create a classification rule ## SYNTAX +### Create (Default) ``` New-AzPurviewClassificationRule -Endpoint -Name -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewClassificationRule -Endpoint -Name -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewClassificationRule -Endpoint -Name -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or Updates a classification rule +Create a classification rule ## EXAMPLES @@ -27,7 +40,7 @@ Creates or Updates a classification rule $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -$obj = New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +$obj = New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr New-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Body $obj ``` @@ -59,11 +72,10 @@ Create custom classification object named 'ClassificationRule4' ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule +Parameter Sets: Create Aliases: Required: True @@ -105,6 +117,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -156,11 +198,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewCustomClassificationRuleObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewCustomClassificationRuleObject.md index ac24736ebd99..5f31c0dec479 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewCustomClassificationRuleObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewCustomClassificationRuleObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewCustomClassificationRuleObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewcustomclassificationruleobject schema: 2.0.0 --- @@ -13,10 +13,9 @@ Create an in-memory object for CustomClassificationRule. ## SYNTAX ``` -New-AzPurviewCustomClassificationRuleObject -Kind [-ClassificationName ] +New-AzPurviewCustomClassificationRuleObject [-ClassificationName ] [-ColumnPattern ] [-DataPattern ] - [-Description ] [-MinimumPercentageMatch ] [-RuleStatus ] - [] + [-Description ] [-MinimumPercentageMatch ] [-RuleStatus ] [] ``` ## DESCRIPTION @@ -29,7 +28,7 @@ Create an in-memory object for CustomClassificationRule. $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr ``` ```output @@ -77,7 +76,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[] Parameter Sets: (All) Aliases: @@ -92,7 +91,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRulePattern[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRulePattern[] Parameter Sets: (All) Aliases: @@ -118,21 +117,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -MinimumPercentageMatch @@ -152,7 +136,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ClassificationRuleStatus +Type: System.String Parameter Sets: (All) Aliases: @@ -170,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CustomClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.CustomClassificationRule ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewDataSource.md index 324b48bf161f..a47ba94fdd3a 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewDataSource.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewDataSource.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewDataSource ## SYNOPSIS -Creates or Updates a data source +Create a data source ## SYNTAX +### Create (Default) ``` New-AzPurviewDataSource -Endpoint -Name -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewDataSource -Endpoint -Name -JsonFilePath [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewDataSource -Endpoint -Name -JsonString [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or Updates a data source +Create a data source ## EXAMPLES ### Example 1: Create a data source ```powershell -$obj = New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ +$obj = New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Body $obj ``` @@ -51,11 +64,10 @@ Create a data source named 'NewDataSource' ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource +Parameter Sets: Create Aliases: Required: True @@ -97,6 +109,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -148,11 +190,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilter.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilter.md index f242662f5c99..5c62d677437f 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilter.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilter.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewFilter ## SYNOPSIS -Creates or updates a filter +Create a filter ## SYNTAX +### Create (Default) ``` New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewFilter -Endpoint -DataSourceName -ScanName -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or updates a filter +Create a filter ## EXAMPLES @@ -42,11 +55,10 @@ Create the scope filters of the scan named 'Scan1ForDemo' for datasource 'DataSc ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter +Parameter Sets: Create Aliases: Required: True @@ -103,6 +115,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ScanName . @@ -154,11 +196,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IFilter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilterObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilterObject.md index 1a4b39444410..975406021be4 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilterObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewFilterObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewFilterObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewfilterobject schema: 2.0.0 --- @@ -75,7 +75,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Filter +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Filter ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewKeyVaultConnection.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewKeyVaultConnection.md index 1373086eb83c..12cf4158ddb6 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewKeyVaultConnection.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzPurviewKeyVaultConnection ## SYNOPSIS -Creates an instance of a key vault connection +Create an instance of a key vault connection ## SYNTAX +### Create (Default) ``` New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates an instance of a key vault connection +Create an instance of a key vault connection ## EXAMPLES @@ -41,11 +54,10 @@ Create a key vault connection named 'KeyVaultConnection2' in Purview. ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault +Parameter Sets: Create Aliases: Required: True @@ -87,6 +99,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -KeyVaultName . @@ -138,11 +180,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewOracleDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewOracleDataSourceObject.md index 9fe39df36048..25deb764b18c 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewOracleDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewOracleDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewOracleDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurvieworacledatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for OracleDataSource. ## SYNTAX ``` -New-AzPurviewOracleDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Host ] [-Port ] [-Service ] [] +New-AzPurviewOracleDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Host ] [-Port ] [-Service ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for OracleDataSource. ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewOracleDataSourceObject -Kind 'Oracle' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' +New-AzPurviewOracleDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' ``` ```output @@ -91,21 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Port @@ -143,7 +128,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.OracleDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.OracleDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDataSourceObject.md index dbc0c4858cb3..01a4ed32d7ae 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for PowerBIDataSource. ## SYNTAX ``` -New-AzPurviewPowerBIDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Tenant ] [] +New-AzPurviewPowerBIDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Tenant ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for PowerBIDataSource. ### Example 1: Create PowerBI data source object ```powershell -New-AzPurviewPowerBIDataSourceObject -Kind 'PowerBI' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' +New-AzPurviewPowerBIDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' ``` ```output @@ -74,21 +74,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Tenant @@ -111,7 +96,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDelegatedScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDelegatedScanObject.md index ec1d3a730302..86e41917ccf6 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDelegatedScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIDelegatedScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIDelegatedScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbidelegatedscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for PowerBIDelegatedScan. ## SYNTAX ``` -New-AzPurviewPowerBIDelegatedScanObject -Kind [-AuthenticationType ] - [-ClientId ] [-CollectionReferenceName ] [-CollectionType ] - [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] [-Password ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Tenant ] [-UserName ] - [-Worker ] [] +New-AzPurviewPowerBIDelegatedScanObject [-AuthenticationType ] [-ClientId ] + [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] + [-IncludePersonalWorkspace ] [-Password ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Tenant ] [-UserName ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for PowerBIDelegatedScan. ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIDelegatedScanObject -Kind 'PowerBIDelegated' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' +New-AzPurviewPowerBIDelegatedScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' ``` ```output @@ -146,21 +145,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Password @@ -195,7 +179,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -258,7 +242,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiDelegatedScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiDelegatedScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIMsiScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIMsiScanObject.md index 84fbc9494c63..fdd9cfae9089 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewPowerBIMsiScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewPowerBIMsiScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewpowerbimsiscanobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for PowerBIMsiScan. ## SYNTAX ``` -New-AzPurviewPowerBIMsiScanObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] - [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewPowerBIMsiScanObject [-CollectionReferenceName ] [-CollectionType ] + [-ConnectedViaReferenceName ] [-IncludePersonalWorkspace ] [-ScanRulesetName ] + [-ScanRulesetType ] [-Worker ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for PowerBIMsiScan. ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIMsiScanObject -Kind 'PowerBIMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true +New-AzPurviewPowerBIMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true ``` ```output @@ -109,21 +109,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -143,7 +128,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.PowerBiMsiScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.PowerBiMsiScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewRegexClassificationRulePatternObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewRegexClassificationRulePatternObject.md index 3658d991665f..f46940583eff 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewRegexClassificationRulePatternObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewRegexClassificationRulePatternObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewRegexClassificationRulePatternObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewregexclassificationrulepatternobject schema: 2.0.0 --- @@ -58,7 +58,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.RegexClassificationRulePattern +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.RegexClassificationRulePattern ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapEccDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapEccDataSourceObject.md index 23b13dd5476c..87a88de135b1 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapEccDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapEccDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapEccDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsapeccdatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for SapEccDataSource. ## SYNTAX ``` -New-AzPurviewSapEccDataSourceObject -Kind [-ApplicationServer ] - [-CollectionReferenceName ] [-CollectionType ] [-SystemNumber ] [] +New-AzPurviewSapEccDataSourceObject [-ApplicationServer ] [-CollectionReferenceName ] + [-CollectionType ] [-SystemNumber ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for SapEccDataSource. ### Example 1: Create SAPECC data source object ```powershell -New-AzPurviewSapEccDataSourceObject -Kind 'SapEcc' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapEccDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output @@ -90,21 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SystemNumber @@ -127,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapEccDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapEccDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaDataSourceObject.md index 5702514fdfbd..c1ac26f17602 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanadatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for SapS4HanaDataSource. ## SYNTAX ``` -New-AzPurviewSapS4HanaDataSourceObject -Kind [-ApplicationServer ] - [-CollectionReferenceName ] [-CollectionType ] [-SystemNumber ] [] +New-AzPurviewSapS4HanaDataSourceObject [-ApplicationServer ] [-CollectionReferenceName ] + [-CollectionType ] [-SystemNumber ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for SapS4HanaDataSource. ### Example 1: Create SAPS4Hana data source object ```powershell -New-AzPurviewSapS4HanaDataSourceObject -Kind 'SapS4Hana' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapS4HanaDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output @@ -90,21 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SystemNumber @@ -127,7 +112,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md index 06047e56f127..44161a318688 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSapS4HanaSapS4HanaCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsaps4hanasaps4hanacredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,11 @@ Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ## SYNTAX ``` -New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -Kind [-ClientId ] - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-JCoLibraryPath ] - [-MaximumMemoryAllowedInGb ] [-MitiCache ] [-ScanRulesetName ] - [-ScanRulesetType ] [-Worker ] [] +New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject [-ClientId ] [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-JCoLibraryPath ] [-MaximumMemoryAllowedInGb ] + [-MitiCache ] [-ScanRulesetName ] [-ScanRulesetType ] [-Worker ] + [] ``` ## DESCRIPTION @@ -27,7 +27,7 @@ Create an in-memory object for SapS4HanaSapS4HanaCredentialScan. ### Example 1: Create SAPS4 Hana Credential Scan Object ```powershell -New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -Kind 'SapS4HanaSapS4HanaCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output @@ -135,7 +135,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -161,21 +161,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -MaximumMemoryAllowedInGb @@ -225,7 +210,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -258,7 +243,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SapS4HanaSapS4HanaCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SapS4HanaSapS4HanaCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScan.md index d45e94383874..911de312b92c 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScan.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScan.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewScan ## SYNOPSIS -Creates an instance of a scan +Create an instance of a scan ## SYNTAX +### Create (Default) ``` New-AzPurviewScan -Endpoint -DataSourceName -Name -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewScan -Endpoint -DataSourceName -Name -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewScan -Endpoint -DataSourceName -Name -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates an instance of a scan +Create an instance of a scan ## EXAMPLES ### Example 1: Create a scan instance under a data source ```powershell -$obj = New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +$obj = New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' New-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Body $obj ``` @@ -52,11 +65,10 @@ Create a scan instance 'ScanTest' under data source ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan +Parameter Sets: Create Aliases: Required: True @@ -113,6 +125,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -164,11 +206,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScanRuleset.md index 661d868eda4e..27e874c5ba6b 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScanRuleset.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewScanRuleset.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewScanRuleset ## SYNOPSIS -Creates or Updates a scan ruleset +Create a scan ruleset ## SYNTAX +### Create (Default) ``` New-AzPurviewScanRuleset -Endpoint -Name -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewScanRuleset -Endpoint -Name -JsonFilePath [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewScanRuleset -Endpoint -Name -JsonString [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or Updates a scan ruleset +Create a scan ruleset ## EXAMPLES ### Example 1: Create custom scanruleset ```powershell -$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' New-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Body $obj ``` @@ -50,11 +63,10 @@ Create custom scanruleset ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset +Parameter Sets: Create Aliases: Required: True @@ -96,6 +108,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name . @@ -147,11 +189,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseCredentialScanObject.md index 4d599f0dee1c..754c9d02d4f1 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseCredentialScanObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseCredentialScanObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasecredentialscanobject schema: 2.0.0 --- @@ -13,11 +13,10 @@ Create an in-memory object for SqlServerDatabaseCredentialScan. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseCredentialScanObject -Kind - [-CollectionReferenceName ] [-CollectionType ] [-ConnectedViaReferenceName ] - [-CredentialReferenceName ] [-CredentialType ] [-DatabaseName ] - [-ScanRulesetName ] [-ScanRulesetType ] [-ServerEndpoint ] [-Worker ] - [] +New-AzPurviewSqlServerDatabaseCredentialScanObject [-CollectionReferenceName ] + [-CollectionType ] [-ConnectedViaReferenceName ] [-CredentialReferenceName ] + [-CredentialType ] [-DatabaseName ] [-ScanRulesetName ] [-ScanRulesetType ] + [-ServerEndpoint ] [-Worker ] [] ``` ## DESCRIPTION @@ -27,7 +26,7 @@ Create an in-memory object for SqlServerDatabaseCredentialScan. ### Example 1: Create Sql Server DB Credential scan object ```powershell -New-AzPurviewSqlServerDatabaseCredentialScanObject -Kind 'SqlServerDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSqlServerDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output @@ -118,7 +117,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.CredentialType +Type: System.String Parameter Sets: (All) Aliases: @@ -144,21 +143,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanAuthorizationType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ScanRulesetName @@ -178,7 +162,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -226,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseCredentialScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseCredentialScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseDataSourceObject.md index 8cbc6c0fdf18..ee70230c6f59 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewSqlServerDatabaseDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasedatasourceobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for SqlServerDatabaseDataSource. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Location ] [-ResourceGroup ] [-ResourceName ] - [-ServerEndpoint ] [-SubscriptionId ] [] +New-AzPurviewSqlServerDatabaseDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Location ] [-ResourceGroup ] [-ResourceName ] [-ServerEndpoint ] + [-SubscriptionId ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for SqlServerDatabaseDataSource. ### Example 1: Create SQL Server Database data source object ```powershell -New-AzPurviewSqlServerDatabaseDataSourceObject -Kind 'SqlServerDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' +New-AzPurviewSqlServerDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' ``` ```output @@ -79,21 +79,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location @@ -176,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseScanRulesetObject.md index 2504689cd8a7..457d0a03c321 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewSqlServerDatabaseScanRulesetObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewSqlServerDatabaseScanRulesetObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewsqlserverdatabasescanrulesetobject schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. ## SYNTAX ``` -New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind [-Description ] +New-AzPurviewSqlServerDatabaseScanRulesetObject [-Description ] [-ExcludedSystemClassification ] [-IncludedCustomClassificationRuleName ] - [-Type ] [] + [-Type ] [] ``` ## DESCRIPTION @@ -25,7 +25,7 @@ Create an in-memory object for SqlServerDatabaseScanRuleset. ### Example 1: Create Sql Server Db custom scanruleset object ```powershell -New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind 'SqlServerDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewSqlServerDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output @@ -91,26 +91,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Type ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanRulesetType +Type: System.String Parameter Sets: (All) Aliases: @@ -128,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.SqlServerDatabaseScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.SqlServerDatabaseScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTeradataDataSourceObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTeradataDataSourceObject.md index fcd0d28ff21a..febd47b33bd6 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTeradataDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTeradataDataSourceObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-AzPurviewTeradataDataSourceObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewteradatadatasourceobject schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an in-memory object for TeradataDataSource. ## SYNTAX ``` -New-AzPurviewTeradataDataSourceObject -Kind [-CollectionReferenceName ] - [-CollectionType ] [-Host ] [] +New-AzPurviewTeradataDataSourceObject [-CollectionReferenceName ] [-CollectionType ] + [-Host ] [] ``` ## DESCRIPTION @@ -24,7 +24,7 @@ Create an in-memory object for TeradataDataSource. ### Example 1: Create Teradata data source object ```powershell -New-AzPurviewTeradataDataSourceObject -Kind 'Teradata' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' +New-AzPurviewTeradataDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' ``` ```output @@ -89,21 +89,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Kind - - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DataSourceType -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -111,7 +96,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.TeradataDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.TeradataDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTrigger.md index 2c88fad168e9..8f2985e14e7f 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTrigger.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTrigger.md @@ -8,23 +8,36 @@ schema: 2.0.0 # New-AzPurviewTrigger ## SYNOPSIS -Creates an instance of a trigger +Create an instance of a trigger ## SYNTAX +### Create (Default) ``` New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -Body [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPurviewTrigger -Endpoint -DataSourceName -ScanName -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates an instance of a trigger +Create an instance of a trigger ## EXAMPLES ### Example 1: Create trigger schedule for scan run ```powershell -$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) New-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -Body $obj ``` @@ -58,11 +71,10 @@ Create trigger for a full scan starting 02/17/22 1:31 PM UTC and ending 7/20/202 ### -Body . -To construct, see NOTES section for BODY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger +Parameter Sets: Create Aliases: Required: True @@ -119,6 +131,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ScanName . @@ -170,11 +212,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTriggerObject.md b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTriggerObject.md index 09a1850456e9..47c82829d8e9 100644 --- a/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTriggerObject.md +++ b/src/Purview/Purviewdata.Autorest/docs/New-AzPurviewTriggerObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.Purview -online version: https://learn.microsoft.com/powershell/module/az.Purview/new-AzPurviewTriggerObject +online version: https://learn.microsoft.com/powershell/module/Az.Purview/new-azpurviewtriggerobject schema: 2.0.0 --- @@ -14,12 +14,13 @@ Create an in-memory object for Trigger. ``` New-AzPurviewTriggerObject [-IncrementalScanStartTime ] [-Interval ] - [-RecurrenceEndTime ] [-RecurrenceFrequency ] [-RecurrenceInterval ] - [-RecurrenceStartTime ] [-RecurrenceTimeZone ] [-ScanLevel ] - [-ScheduleAdditionalProperty ] [-ScheduleHour ] - [-ScheduleMinute ] [-ScheduleMonthDay ] - [-ScheduleMonthlyOccurrence ] [-ScheduleWeekDay ] - [] + [-RecurrenceEndTime ] [-RecurrenceFrequency ] [-RecurrenceInterval ] + [-RecurrenceScheduleAdditionalProperty ] + [-RecurrenceScheduleHour ] [-RecurrenceScheduleMinute ] + [-RecurrenceScheduleMonthDay ] + [-RecurrenceScheduleMonthlyOccurrence ] + [-RecurrenceScheduleWeekDay ] [-RecurrenceStartTime ] [-RecurrenceTimeZone ] + [-ScanLevel ] [] ``` ## DESCRIPTION @@ -29,7 +30,7 @@ Create an in-memory object for Trigger. ### Example 1: Create trigger object ```powershell -New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) ``` ```output @@ -109,7 +110,7 @@ Accept wildcard characters: False ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.TriggerFrequency +Type: System.String Parameter Sets: (All) Aliases: @@ -135,11 +136,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RecurrenceStartTime - +### -RecurrenceScheduleAdditionalProperty +Dictionary of \. ```yaml -Type: System.DateTime +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleAdditionalProperties Parameter Sets: (All) Aliases: @@ -150,11 +151,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RecurrenceTimeZone +### -RecurrenceScheduleHour ```yaml -Type: System.String +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -165,11 +166,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScanLevel +### -RecurrenceScheduleMinute ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -180,12 +181,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleAdditionalProperty -Dictionary of \. -To construct, see NOTES section for SCHEDULEADDITIONALPROPERTY properties and create a hash table. +### -RecurrenceScheduleMonthDay + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleAdditionalProperties +Type: System.Int32[] Parameter Sets: (All) Aliases: @@ -196,11 +196,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleHour +### -RecurrenceScheduleMonthlyOccurrence ```yaml -Type: System.Int32[] +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleOccurrence[] Parameter Sets: (All) Aliases: @@ -211,11 +211,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMinute +### -RecurrenceScheduleWeekDay ```yaml -Type: System.Int32[] +Type: System.String[] Parameter Sets: (All) Aliases: @@ -226,11 +226,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMonthDay +### -RecurrenceStartTime ```yaml -Type: System.Int32[] +Type: System.DateTime Parameter Sets: (All) Aliases: @@ -241,11 +241,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleMonthlyOccurrence -To construct, see NOTES section for SCHEDULEMONTHLYOCCURRENCE properties and create a hash table. +### -RecurrenceTimeZone + ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IRecurrenceScheduleOccurrence[] +Type: System.String Parameter Sets: (All) Aliases: @@ -256,11 +256,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ScheduleWeekDay +### -ScanLevel ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.DaysOfWeek[] +Type: System.String Parameter Sets: (All) Aliases: @@ -278,7 +278,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.Trigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Trigger ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewClassificationRule.md index f4392052b1d6..88a580c057e7 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewClassificationRule.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewClassificationRule.md @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IClassificationRule +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewDataSource.md index 90d6ad4a1906..8f2a37c1a318 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewDataSource.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewDataSource.md @@ -148,7 +148,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewKeyVaultConnection.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewKeyVaultConnection.md index a5059af3e8d6..0caf8f1abe4f 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewKeyVaultConnection.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewKeyVaultConnection.md @@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IAzureKeyVault +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScan.md index 40fbfed6b1b5..9ca7aca6bac4 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScan.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScan.md @@ -164,7 +164,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScan +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScanRuleset.md index f41140daf16e..86ad09481d2b 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScanRuleset.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewScanRuleset.md @@ -147,7 +147,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IScanRuleset +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewTrigger.md index ce7c93d20151..89f50f9806f4 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewTrigger.md +++ b/src/Purview/Purviewdata.Autorest/docs/Remove-AzPurviewTrigger.md @@ -170,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.ITrigger +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Start-AzPurviewScanResultScan.md b/src/Purview/Purviewdata.Autorest/docs/Start-AzPurviewScanResultScan.md index eb7d14066768..172bc7fbec04 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Start-AzPurviewScanResultScan.md +++ b/src/Purview/Purviewdata.Autorest/docs/Start-AzPurviewScanResultScan.md @@ -14,7 +14,7 @@ Runs the scan ``` Start-AzPurviewScanResultScan -Endpoint -DataSourceName -RunId -ScanName - [-ScanLevel ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-ScanLevel ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -103,7 +103,7 @@ Accept wildcard characters: False . ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Support.ScanLevelType +Type: System.String Parameter Sets: (All) Aliases: @@ -167,7 +167,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Stop-AzPurviewScanResultScan.md b/src/Purview/Purviewdata.Autorest/docs/Stop-AzPurviewScanResultScan.md index 00a45f1258be..fab251c5c5d8 100644 --- a/src/Purview/Purviewdata.Autorest/docs/Stop-AzPurviewScanResultScan.md +++ b/src/Purview/Purviewdata.Autorest/docs/Stop-AzPurviewScanResultScan.md @@ -152,7 +152,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IOperationResponse +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IOperationResponse ## NOTES diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewClassificationRule.md new file mode 100644 index 000000000000..30fee8594f09 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewClassificationRule.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewclassificationrule +schema: 2.0.0 +--- + +# Update-AzPurviewClassificationRule + +## SYNOPSIS +Update a classification rule + +## SYNTAX + +``` +Update-AzPurviewClassificationRule -Endpoint -Name [-Kind ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a classification rule + +## EXAMPLES + +### Example 1: Update a classification rule +```powershell +Update-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Kind System +``` + +```output +ClassificationAction : Keep +ClassificationName : ClassificationRule4 +ColumnPattern : {{ + "kind": "Regex", + "pattern": "^col1$" + }, { + "kind": "Regex", + "pattern": "^col2$" + }} +CreatedAt : 2/8/2022 10:04:55 PM +DataPattern : {} +Description : This is a rule2 +Id : classificationrules/ClassificationRule5 +Kind : System +LastModifiedAt : 2/14/2022 9:00:32 AM +MinimumPercentageMatch : +Name : ClassificationRule5 +RuleStatus : Enabled +Version : 2 +``` + +Update a classification rule + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ClassificationRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IClassificationRule + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewDataSource.md new file mode 100644 index 000000000000..64030bc8429d --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewDataSource.md @@ -0,0 +1,156 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewdatasource +schema: 2.0.0 +--- + +# Update-AzPurviewDataSource + +## SYNOPSIS +Update a data source + +## SYNTAX + +``` +Update-AzPurviewDataSource -Endpoint -Name [-Kind ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a data source + +## EXAMPLES + +### Example 1: Update a data source +```powershell +Update-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Kind SqlServerDatabase +``` + +```output +CollectionLastModifiedAt : 2/15/2022 10:36:25 AM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +CreatedAt : 2/15/2022 10:36:25 AM +Endpoint : https://datascantest.blob.core.windows.net/ +Id : datasources/NewDataSource +Kind : SqlServerDatabase +LastModifiedAt : 2/15/2022 10:36:25 AM +Location : +Name : NewDataSource +ResourceGroup : +ResourceName : +Scan : +SubscriptionId : +``` + +Update a data source + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: DataSourceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IDataSource + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewFilter.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewFilter.md new file mode 100644 index 000000000000..2bdb635fb4f9 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewFilter.md @@ -0,0 +1,178 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewfilter +schema: 2.0.0 +--- + +# Update-AzPurviewFilter + +## SYNOPSIS +Update a filter + +## SYNTAX + +``` +Update-AzPurviewFilter -Endpoint -DataSourceName -ScanName + [-ExcludeUriPrefix ] [-IncludeUriPrefix ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a filter + +## EXAMPLES + +### Example 1: Update a filter +```powershell +Update-AzPurviewFilter -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan1ForDemo' -ExcludeUriPrefix @('https://foo.file.core.windows.net/share1/user/temp') -IncludeUriPrefix @('https://foo.file.core.windows.net/share1/user','https://foo.file.core.windows.net/share1/aggregated') +``` + +```output +ExcludeUriPrefix : {https://foo.file.core.windows.net/share1/user/temp} +Id : datasources/DataScanTestData-Parv/scans/Scan1ForDemo/filters/custom +IncludeUriPrefix : {https://foo.file.core.windows.net/share1/user, + https://foo.file.core.windows.net/share1/aggregated} +Name : custom +``` + +Update a filter + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludeUriPrefix +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeUriPrefix +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IFilter + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewKeyVaultConnection.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewKeyVaultConnection.md new file mode 100644 index 000000000000..84eb64de2100 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewKeyVaultConnection.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewkeyvaultconnection +schema: 2.0.0 +--- + +# Update-AzPurviewKeyVaultConnection + +## SYNOPSIS +Update an instance of a key vault connection + +## SYNTAX + +``` +Update-AzPurviewKeyVaultConnection -Endpoint -KeyVaultName [-BaseUrl ] + [-Description ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an instance of a key vault connection + +## EXAMPLES + +### Example 1: Update an instance of a key vault connection +```powershell +Update-AzPurviewKeyVaultConnection -Endpoint 'https://parv-brs-2.purview.azure.com/' -KeyVaultName KeyVaultConnection2 -BaseUrl 'https://datascankv.vault.azure.net/' -Description 'This is a key vault' +``` + +```output +BaseUrl : https://datascankv.vault.azure.net/ +Description : This is a key vault +Id : keyVaults/KeyVaultConnection2 +Name : KeyVaultConnection2 +``` + +Update an instance of a key vault connection + +## PARAMETERS + +### -BaseUrl +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IAzureKeyVault + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScan.md new file mode 100644 index 000000000000..4c7f16f88aba --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScan.md @@ -0,0 +1,172 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewscan +schema: 2.0.0 +--- + +# Update-AzPurviewScan + +## SYNOPSIS +Update an instance of a scan + +## SYNTAX + +``` +Update-AzPurviewScan -Endpoint -DataSourceName -Name [-Kind ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an instance of a scan + +## EXAMPLES + +### Example 1: Update an instance of a scan +```powershell +Update-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Kind AdlsGen2Msi +``` + +```output +CollectionLastModifiedAt : 2/15/2022 3:49:23 PM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +ConnectedViaReferenceName : +CreatedAt : 2/15/2022 3:49:23 PM +CredentialReferenceName : datascantestdataparv-accountkey +CredentialType : AccountKey +Id : datasources/DataScanTestData-Parv/scans/ScanTest +Kind : AdlsGen2Msi +LastModifiedAt : 2/15/2022 11:46:29 PM +Name : ScanTest +Result : +ScanRulesetName : AzureStorage +ScanRulesetType : System +Worker : +``` + +Update an instance of a scan + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ScanName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScan + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScanRuleset.md new file mode 100644 index 000000000000..b77406117c70 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewScanRuleset.md @@ -0,0 +1,170 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewscanruleset +schema: 2.0.0 +--- + +# Update-AzPurviewScanRuleset + +## SYNOPSIS +Update a scan ruleset + +## SYNTAX + +``` +Update-AzPurviewScanRuleset -Endpoint -Name [-Kind ] [-ScanRulesetType ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a scan ruleset + +## EXAMPLES + +### Example 1: Update a scan ruleset +```powershell +Update-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Kind AmazonPostgreSql +``` + +```output +CreatedAt : 2/17/2022 3:35:07 PM +Description : desc +ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS} +Id : scanrulesets/Rule1 +IncludedCustomClassificationRuleName : {ClassificationRule2} +Kind : AmazonPostgreSql +LastModifiedAt : 2/17/2022 3:35:07 PM +Name : Rule1 +ScanningRuleCustomFileExtension : +ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…} +Status : Enabled +Type : Custom +Version : 1 +``` + +Update a scan ruleset + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Kind +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ScanRulesetName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanRulesetType +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IScanRuleset + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewTrigger.md new file mode 100644 index 000000000000..1056416b480f --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/docs/Update-AzPurviewTrigger.md @@ -0,0 +1,379 @@ +--- +external help file: +Module Name: Az.Purview +online version: https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewtrigger +schema: 2.0.0 +--- + +# Update-AzPurviewTrigger + +## SYNOPSIS +Update an instance of a trigger + +## SYNTAX + +``` +Update-AzPurviewTrigger -Endpoint -DataSourceName -ScanName + [-IncrementalScanStartTime ] [-Interval ] [-RecurrenceEndTime ] + [-RecurrenceFrequency ] [-RecurrenceInterval ] + [-RecurrenceScheduleAdditionalProperty ] [-RecurrenceScheduleHour ] + [-RecurrenceScheduleMinute ] [-RecurrenceScheduleMonthDay ] + [-RecurrenceScheduleMonthlyOccurrence ] + [-RecurrenceScheduleWeekDay ] [-RecurrenceStartTime ] [-RecurrenceTimeZone ] + [-ScanLevel ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an instance of a trigger + +## EXAMPLES + +### Example 1: Update an instance of a trigger +```powershell +Update-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) +``` + +```output +CreatedAt : 2/17/2022 1:35:12 PM +Id : datasources/DataScanTestData-Parv/scans/Scan-6HK/triggers/default +IncrementalScanStartTime : +Interval : 1 +LastModifiedAt : 2/17/2022 1:46:22 PM +LastScheduled : +Name : default +RecurrenceEndTime : 7/20/2022 12:00:00 AM +RecurrenceFrequency : Month +RecurrenceInterval : +RecurrenceStartTime : 2/17/2022 1:32:00 PM +RecurrenceTimeZone : +ResourceGroupName : +ScanLevel : Full +ScheduleAdditionalProperty : { + } +ScheduleHour : {9} +ScheduleMinute : {0} +ScheduleMonthDay : {10} +ScheduleMonthlyOccurrence : +ScheduleWeekDay : +``` + +Update an instance of a trigger + +## PARAMETERS + +### -DataSourceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Endpoint +The scanning endpoint of your purview account. +Example: https://{accountName}.purview.azure.com + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncrementalScanStartTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Interval +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceEndTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceFrequency +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceInterval +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleAdditionalProperty +Dictionary of \ + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleHour +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMinute +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMonthDay +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleMonthlyOccurrence +. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.IRecurrenceScheduleOccurrence[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceScheduleWeekDay +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceStartTime +. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecurrenceTimeZone +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanLevel +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScanName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.ITrigger + +## NOTES + +## RELATED LINKS + diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1CredentialScanObject.md index 0fbfcdb8cd15..b17ad3df09ec 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1CredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen1 Credential scan object ```powershell -New-AzPurviewAdlsGen1CredentialScanObject -Kind 'AdlsGen1Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1DataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1DataSourceObject.md index f853bfa91042..4b488326abf5 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1DataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen1 data source object ```powershell -New-AzPurviewAdlsGen1DataSourceObject -Kind 'AdlsGen1' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' +New-AzPurviewAdlsGen1DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'adl://adlsgen1datascan02ause.azuredatalakestore.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1MsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1MsiScanObject.md index b98a9636d516..3a4417fb2bf9 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1MsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1MsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen1 Msi scan object ```powershell -New-AzPurviewAdlsGen1MsiScanObject -Kind 'AdlsGen1Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' +New-AzPurviewAdlsGen1MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen1' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1ScanRulesetObject.md index 20423650b415..e92f84cb3823 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen1ScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen1 custom scanruleset object ```powershell -New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2CredentialScanObject.md index 33911e9d90f3..dc8d667f67a9 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2CredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen2 Credential scan object ```powershell -New-AzPurviewAdlsGen2CredentialScanObject -Kind 'AdlsGen2Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2DataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2DataSourceObject.md index 1ee8c3a538aa..fb3af4f3ddb0 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2DataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen2 data source object ```powershell -New-AzPurviewAdlsGen2DataSourceObject -Kind 'AdlsGen2' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' +New-AzPurviewAdlsGen2DataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint 'https://adlsgen2datascan.dfs.core.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2MsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2MsiScanObject.md index 3b43d0517a13..95536b93fc17 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2MsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2MsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen2 Msi scan object ```powershell -New-AzPurviewAdlsGen2MsiScanObject -Kind 'AdlsGen2Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' +New-AzPurviewAdlsGen2MsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2ScanRulesetObject.md index 9b80354e05e1..4f5d5e2e4e10 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAdlsGen2ScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AdlsGen2 custom scanruleset object ```powershell -New-AzPurviewAdlsGen2ScanRulesetObject -Kind 'AdlsGen2' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAdlsGen2ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountCredentialScanObject.md index 26742b9a9115..291c0c4efa82 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon Account Credential scan object ```powershell -New-AzPurviewAmazonAccountCredentialScanObject -Kind 'AmazonAccountCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' +New-AzPurviewAmazonAccountCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountDataSourceObject.md index 53ba3dcc6c4b..227d1b101d1a 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonAccountDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon Account data source object ```powershell -New-AzPurviewAmazonAccountDataSourceObject -Kind 'AmazonAccount' -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' +New-AzPurviewAmazonAccountDataSourceObject -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md index 862d62e46b87..e890ef894027 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon Account PostgreSQL scan object ```powershell -New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind 'AmazonPostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonPostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlDataSourceObject.md index 8b955c4160c1..aaa6e40a6055 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon PostgreSQL data source object ```powershell -New-AzPurviewAmazonPostgreSqlDataSourceObject -Kind 'AmazonPostgreSql' -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAmazonPostgreSqlDataSourceObject -Port 5432 -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' -ServerEndpoint 'DummyServer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md index 19f35b520b3c..662ace7c45bf 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonPostgreSqlScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon PostgreSql custom scanruleset object ```powershell -New-AzPurviewAmazonPostgreSqlScanRulesetObject -Kind 'AmazonPostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonPostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3CredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3CredentialScanObject.md index e8c8c315d9ba..c3d27611c161 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3CredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3CredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon S3 Credential scan object ```powershell -New-AzPurviewAmazonS3CredentialScanObject -Kind 'AmazonS3Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false +New-AzPurviewAmazonS3CredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3DataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3DataSourceObject.md index abba053e4aea..1e4db494a334 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3DataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3DataSourceObject.md @@ -1,7 +1,6 @@ ### Example 1: Create AmazonS3 data source object ```powershell -New-AzPurviewAmazonS3DataSourceObject -Kind 'AmazonS3' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 -New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'DS4' -Body $obj +New-AzPurviewAmazonS3DataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServiceUrl s3://multicloud-e2e-2 ``` ```output @@ -18,5 +17,4 @@ Scan : ServiceUrl : s3://multicloud-e2e-2 ``` -Create AmazonS3 data source object - +Create AmazonS3 data source object \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3ScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3ScanRulesetObject.md index d80ade57080f..1de80199e664 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3ScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonS3ScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create AmazonS3 custom scanruleset object ```powershell -New-AzPurviewAmazonS3ScanRulesetObject -Kind 'AmazonS3' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAmazonS3ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlCredentialScanObject.md index d68e77368aac..61785e85cc0c 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon Sql Credential scan object ```powershell -New-AzPurviewAmazonSqlCredentialScanObject -Kind 'AmazonSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' +New-AzPurviewAmazonSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlDataSourceObject.md index 1c6c3c3a0a94..a45e5369cb0e 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon SQL data source object ```powershell -New-AzPurviewAmazonSqlDataSourceObject -Kind 'AmazonSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 +New-AzPurviewAmazonSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 1433 -ServerEndpoint DummyEdnpoint -VpcEndpointServiceName com.amazonaws.ypce.wus.123456789 ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlScanRulesetObject.md index ba2d69363525..a92e300098fc 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAmazonSqlScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Amazon Sql custom scanruleset object ```powershell -New-AzPurviewAmazonSqlScanRulesetObject -Kind 'AmazonSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAmazonSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbCredentialScanObject.md index 1b49b5b5abbb..8e25c2a0dec0 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure CosmosDb Credential scan object ```powershell -New-AzPurviewAzureCosmosDbCredentialScanObject -Kind 'AzureCosmosDbCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' +New-AzPurviewAzureCosmosDbCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureCosmosDb' -ScanRulesetType 'System' -DatabaseName 'db' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbDataSourceObject.md index 9d7f3e0a1439..fc5f484ae4bd 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure CosmosDB data source object ```powershell -New-AzPurviewAzureCosmosDbDataSourceObject -Kind 'AzureCosmosDb' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' +New-AzPurviewAzureCosmosDbDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbScanRulesetObject.md index 95bb6c08f5a8..e8d30ab5dd80 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureCosmosDbScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create CosmosDB custom scanruleset object ```powershell -New-AzPurviewAzureCosmosDbScanRulesetObject -Kind 'AzureCosmosDb' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureCosmosDbScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerCredentialScanObject.md index b2532cde0d04..2bb2c95bf4d6 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Data Explorer Credential scan object ```powershell -New-AzPurviewAzureDataExplorerCredentialScanObject -Kind 'AzureDataExplorerCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'svcp' -CredentialType 'ServicePrincipal' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerDataSourceObject.md index 870949884e1a..74a2db8b446d 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Data Explorer data source object ```powershell -New-AzPurviewAzureDataExplorerDataSourceObject -Kind 'AzureDataExplorer' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' +New-AzPurviewAzureDataExplorerDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://adxd.australiaeast.kusto.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerMsiScanObject.md index 9465cfb042bd..ebd2de16c9b3 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Data Explorer Msi scan object ```powershell -New-AzPurviewAzureDataExplorerMsiScanObject -Kind 'AzureDataExplorerMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' +New-AzPurviewAzureDataExplorerMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureDataExplorer' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerScanRulesetObject.md index 6c8bfa066a67..fce22d43688b 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureDataExplorerScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Data Explorer custom scanruleset object ```powershell -New-AzPurviewAzureDataExplorerScanRulesetObject -Kind 'AzureDataExplorer' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureDataExplorerScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceCredentialScanObject.md index 6631ca998ef7..ca83e494f388 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure File Service Credential scan object ```powershell -New-AzPurviewAzureFileServiceCredentialScanObject -Kind 'AzureFileServiceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' +New-AzPurviewAzureFileServiceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureFileService' -ScanRulesetType 'System' -ShareName 'share' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceDataSourceObject.md index dd7c7eac00d7..608a7c2389b2 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure File Service data source object ```powershell -New-AzPurviewAzureFileServiceDataSourceObject -Kind 'AzureFileService' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' +New-AzPurviewAzureFileServiceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://0cb22.file.core.windows.net/' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceScanRulesetObject.md index 49bc890ac3b1..9c90aaf5c433 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureFileServiceScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure File Service custom scanruleset object ```powershell -New-AzPurviewAzureFileServiceScanRulesetObject -Kind 'AzureFileService' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureFileServiceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlCredentialScanObject.md index 96a453a3abf0..a0c4006f3bfb 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure MySql Credential scan object ```powershell -New-AzPurviewAzureMySqlCredentialScanObject -Kind 'AzureMySqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' +New-AzPurviewAzureMySqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AzureMySql' -ScanRulesetType 'System' -ServerEndpoint 'tzn.mysql.database.azure.com' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlDataSourceObject.md index b212797c23c9..4cbf12ed9958 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure MySQL data source object ```powershell -New-AzPurviewAzureMySqlDataSourceObject -Kind 'AzureMySql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' +New-AzPurviewAzureMySqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlScanRulesetObject.md index 3702350b1ef6..ccb14f540618 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureMySqlScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure MySQL custom scanruleset object ```powershell -New-AzPurviewAzureMySqlScanRulesetObject -Kind 'AzureMySql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureMySqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlCredentialScanObject.md index 70eca3b01dc6..1b1b02f5a8ac 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure PostgreSql Credential scan object ```powershell -New-AzPurviewAzurePostgreSqlCredentialScanObject -Kind 'AzurePostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -SslMode 1 -ScanRulesetName 'AzurePostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'anstzn.postgres.database.azure.com' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlDataSourceObject.md index 664001c2425d..74f46a999a38 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure PostgreSQL data source object ```powershell -New-AzPurviewAzurePostgreSqlDataSourceObject -Kind 'AzurePostgreSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' +New-AzPurviewAzurePostgreSqlDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlScanRulesetObject.md index 7584698a627d..8408a01a3263 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzurePostgreSqlScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure PostgreSQL custom scanruleset object ```powershell -New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind 'AzurePostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzurePostgreSqlScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupCredentialScanObject.md index 9b4baa4f13d1..d041bec65129 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure resource group Credential scan object ```powershell -New-AzPurviewAzureResourceGroupCredentialScanObject -Kind 'AzureResourceGroupCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureResourceGroupCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupDataSourceObject.md index 82a718d80083..86680c593530 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure resource group data source object ```powershell -New-AzPurviewAzureResourceGroupDataSourceObject -Kind 'AzureResourceGroup' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureResourceGroupDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ResourceGroup 'rg' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupMsiScanObject.md index df98bdb99df6..a559d7c6c328 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureResourceGroupMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure resource group Msi scan object ```powershell -New-AzPurviewAzureResourceGroupMsiScanObject -Kind 'AzureResourceGroupMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureResourceGroupMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md index cb4504746574..e925a9522876 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Data Warehouse Credential scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -Kind 'AzureSqlDataWarehouseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' +New-AzPurviewAzureSqlDataWarehouseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md index 1704528e70df..1b040c1a0679 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL datawarehouse data source object ```powershell -New-AzPurviewAzureSqlDataWarehouseDataSourceObject -Kind 'AzureSqlDataWarehouse' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md index db7d02dd0415..a8850ba3b3d4 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Data Warehouse Msi scan object ```powershell -New-AzPurviewAzureSqlDataWarehouseMsiScanObject -Kind 'AzureSqlDataWarehouseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' +New-AzPurviewAzureSqlDataWarehouseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDataWarehouse' -ScanRulesetType 'System' -ServerEndpoint 'canstzn.database.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md index 5b83ee566708..8d7d8d4e372a 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDataWarehouseScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL Data Warehouse custom scanruleset object ```powershell -New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Kind 'AzureSqlDataWarehouse' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDataWarehouseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md index 17346bfa1cba..6020d5473d2c 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Db Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind 'AzureSqlDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseDataSourceObject.md index 58c829e75021..88210e3a5c2c 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL database data source object ```powershell -New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind 'AzureSqlDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' +New-AzPurviewAzureSqlDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md index 1c9b126696c4..dd7d0a85e6b5 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Database Managed Instance Credential scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind 'AzureSqlDatabaseManagedInstanceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md index a74d05e42c32..3e03e09eb963 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL database managed instance data source object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -Kind 'AzureSqlDatabaseManagedInstance' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'tcp:sqlause.public.3b6a39.database.windows.net,3342' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md index ba07f369f88e..3c2795a1e7d8 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Database Managed Instance Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -Kind 'AzureSqlDatabaseManagedInstanceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' +New-AzPurviewAzureSqlDatabaseManagedInstanceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md index 6293ae83779c..ea063f04fc5e 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL Database Managed Instance custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Kind 'AzureSqlDatabaseManagedInstance' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseManagedInstanceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseMsiScanObject.md index af2b200f47b9..ef5707aa7af9 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Sql Db Msi scan object ```powershell -New-AzPurviewAzureSqlDatabaseMsiScanObject -Kind 'AzureSqlDatabaseMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' +New-AzPurviewAzureSqlDatabaseMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md index 9f128dcdfe88..3454518cd502 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSqlDatabaseScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure SQL Database custom scanruleset object ```powershell -New-AzPurviewAzureSqlDatabaseScanRulesetObject -Kind 'AzureSqlDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSqlDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageCredentialScanObject.md index ad6e9ad7fcd5..64614532a794 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Storage Credential scan object ```powershell -New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageDataSourceObject.md index 6579b37ec674..09808989a45f 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Storage data source object ```powershell -New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' +New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Endpoint 'https://bnsrpause.blob.core.windows.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageMsiScanObject.md index 97f1dec448af..0a50950d1abd 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Storage Msi scan object ```powershell -New-AzPurviewAzureStorageMsiScanObject -Kind 'AzureStorageMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +New-AzPurviewAzureStorageMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageScanRulesetObject.md index 99e5ba7db561..b244eeafda50 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureStorageScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Storage custom scanruleset object ```powershell -New-AzPurviewAzureStorageScanRulesetObject -Kind 'AzureStorage' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +New-AzPurviewAzureStorageScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionCredentialScanObject.md index c7db0951a503..6fab6bcb6d83 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure resource sub Credential scan object ```powershell -New-AzPurviewAzureSubscriptionCredentialScanObject -Kind 'AzureSubscriptionCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' +New-AzPurviewAzureSubscriptionCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionDataSourceObject.md index 5c4855e04479..1b2c77b98c6a 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Subscription data source object ```powershell -New-AzPurviewAzureSubscriptionDataSourceObject -Kind 'AzureSubscription' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' +New-AzPurviewAzureSubscriptionDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionMsiScanObject.md index 77eded0a5f52..a5f70679586e 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSubscriptionMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure resource sub Msi scan object ```powershell -New-AzPurviewAzureSubscriptionMsiScanObject -Kind 'AzureSubscriptionMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' +New-AzPurviewAzureSubscriptionMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md index 92d52b2242ad..c17249a999e8 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Synapse Workspace Credential scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind 'AzureSynapseWorkspaceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md index 01276a450860..d87d5d2154af 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewAzureSynapseWorkspaceDataSourceObject -Kind 'AzureSynapseWorkspace' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' +New-AzPurviewAzureSynapseWorkspaceDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -DedicatedSqlEndpoint 'g1euap.sql.azuresynapse.net' -ServerlessSqlEndpoint 'rg1euap-ondemand.sql.azuresynapse.net' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md index 66d361f1bcd3..f4d066342039 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Synapse Workspace Msi scan object ```powershell -New-AzPurviewAzureSynapseWorkspaceMsiScanObject -Kind 'AzureSynapseWorkspaceMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' +New-AzPurviewAzureSynapseWorkspaceMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md index 3d7cf79f4ce1..db8dbe363792 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewAzureSynapseWorkspaceScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Synapse Workspace custom scanruleset object ```powershell -New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Kind 'AzureSynapseWorkspace' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewAzureSynapseWorkspaceScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewClassificationRule.md index d4e54f93f823..f85ea34b16e8 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewClassificationRule.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewClassificationRule.md @@ -3,7 +3,7 @@ $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -$obj = New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +$obj = New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr New-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Body $obj ``` diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewCustomClassificationRuleObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewCustomClassificationRuleObject.md index 4ee22d03227b..439b777d950c 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewCustomClassificationRuleObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewCustomClassificationRuleObject.md @@ -3,7 +3,7 @@ $reg1 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col1$' $reg2 = New-AzPurviewRegexClassificationRulePatternObject -Pattern '^col2$' $regexarr = @($reg1, $reg2) -New-AzPurviewCustomClassificationRuleObject -Kind 'Custom' -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr +New-AzPurviewCustomClassificationRuleObject -ClassificationName ClassificationRule4 -MinimumPercentageMatch 60 -RuleStatus 'Enabled' -Description 'This is a rule2' -ColumnPattern $regexarr ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewDataSource.md index fa64a11f3804..9ce0960dd201 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewDataSource.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewDataSource.md @@ -1,6 +1,6 @@ ### Example 1: Create a data source ```powershell -$obj = New-AzPurviewAzureStorageDataSourceObject -Kind 'AzureStorage' -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ +$obj = New-AzPurviewAzureStorageDataSourceObject -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference' -Endpoint https://datascantest.blob.core.windows.net/ New-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Body $obj ``` diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewOracleDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewOracleDataSourceObject.md index 27931ef0480c..fcd6fc33a4a5 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewOracleDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewOracleDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Azure Synapse workspace data source object ```powershell -New-AzPurviewOracleDataSourceObject -Kind 'Oracle' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' +New-AzPurviewOracleDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '13.1.0.46' -Port 1521 -Service 'xe' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDataSourceObject.md index 542d14e34f94..42f446a2bac3 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create PowerBI data source object ```powershell -New-AzPurviewPowerBIDataSourceObject -Kind 'PowerBI' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' +New-AzPurviewPowerBIDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDelegatedScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDelegatedScanObject.md index cfdad18a6e29..7db394f6c187 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDelegatedScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIDelegatedScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIDelegatedScanObject -Kind 'PowerBIDelegated' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' +New-AzPurviewPowerBIDelegatedScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true -ClientId 'xxxxxxx-cdfd-4016-9e80-xxxxxxxx' -UserName 'abcd@msft.com' -Password 'pwd' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIMsiScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIMsiScanObject.md index 9d888331499a..4ea3b519e2e1 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIMsiScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewPowerBIMsiScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create PowerBI delegated scan object ```powershell -New-AzPurviewPowerBIMsiScanObject -Kind 'PowerBIMsi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true +New-AzPurviewPowerBIMsiScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -IncludePersonalWorkspace $true ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapEccDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapEccDataSourceObject.md index 695217192b47..12d308bfc839 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapEccDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapEccDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create SAPECC data source object ```powershell -New-AzPurviewSapEccDataSourceObject -Kind 'SapEcc' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapEccDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaDataSourceObject.md index 6f9731800a8d..f850afae09d2 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create SAPS4Hana data source object ```powershell -New-AzPurviewSapS4HanaDataSourceObject -Kind 'SapS4Hana' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 +New-AzPurviewSapS4HanaDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ApplicationServer '12.13.14.12' -SystemNumber 32 ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md index 5005cb5c9979..1f00ea0dc7b5 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create SAPS4 Hana Credential Scan Object ```powershell -New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -Kind 'SapS4HanaSapS4HanaCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSapS4HanaSapS4HanaCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ClientId '444' -CredentialReferenceName 'fdsafsdf' -CredentialType 'BasicAuth' -MaximumMemoryAllowedInGb 4 -JCoLibraryPath 'file://asdas' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScan.md index 729f4e3e9a3d..895ff807862e 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScan.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScan.md @@ -1,6 +1,6 @@ ### Example 1: Create a scan instance under a data source ```powershell -$obj = New-AzPurviewAzureStorageCredentialScanObject -Kind 'AzureStorageCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' +$obj = New-AzPurviewAzureStorageCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AzureStorage' -ScanRulesetType 'System' New-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Body $obj ``` diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScanRuleset.md index 67b31829d28c..0c416712f691 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScanRuleset.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewScanRuleset.md @@ -1,6 +1,6 @@ ### Example 1: Create custom scanruleset ```powershell -$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' +$obj = New-AzPurviewAdlsGen1ScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom' New-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Body $obj ``` diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseCredentialScanObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseCredentialScanObject.md index 5b7cfe508cbc..876d38e57727 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseCredentialScanObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseCredentialScanObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Sql Server DB Credential scan object ```powershell -New-AzPurviewSqlServerDatabaseCredentialScanObject -Kind 'SqlServerDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' +New-AzPurviewSqlServerDatabaseCredentialScanObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'SqlServer' -ScanRulesetType 'Custom' -ServerEndpoint '10.1.2.1' -ConnectedViaReferenceName 'IntegrationRuntime-NJh' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseDataSourceObject.md index b8aabeca7aff..977679d0e10a 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create SQL Server Database data source object ```powershell -New-AzPurviewSqlServerDatabaseDataSourceObject -Kind 'SqlServerDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' +New-AzPurviewSqlServerDatabaseDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseScanRulesetObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseScanRulesetObject.md index f8522321856f..51927f43d859 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseScanRulesetObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewSqlServerDatabaseScanRulesetObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Sql Server Db custom scanruleset object ```powershell -New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind 'SqlServerDatabase' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' +New-AzPurviewSqlServerDatabaseScanRulesetObject -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTeradataDataSourceObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTeradataDataSourceObject.md index 19537f9b3fff..7a64ccbf98d9 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTeradataDataSourceObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTeradataDataSourceObject.md @@ -1,6 +1,6 @@ ### Example 1: Create Teradata data source object ```powershell -New-AzPurviewTeradataDataSourceObject -Kind 'Teradata' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' +New-AzPurviewTeradataDataSourceObject -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Host '12.13.14.12' ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTrigger.md index 6155dec795c7..eb5979f789f9 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTrigger.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTrigger.md @@ -1,6 +1,6 @@ ### Example 1: Create trigger schedule for scan run ```powershell -$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +$obj = New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) New-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -Body $obj ``` diff --git a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTriggerObject.md b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTriggerObject.md index 2199e738d89d..16c731d1fd06 100644 --- a/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTriggerObject.md +++ b/src/Purview/Purviewdata.Autorest/examples/New-AzPurviewTriggerObject.md @@ -1,6 +1,6 @@ ### Example 1: Create trigger object ```powershell -New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -ScheduleHour $(9) -ScheduleMinute $(0) -ScheduleMonthDay $(10) +New-AzPurviewTriggerObject -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) ``` ```output diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewClassificationRule.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewClassificationRule.md new file mode 100644 index 000000000000..88e321edc18b --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewClassificationRule.md @@ -0,0 +1,28 @@ +### Example 1: Update a classification rule +```powershell +Update-AzPurviewClassificationRule -Endpoint https://parv-brs-2.purview.azure.com -ClassificationRuleName ClassificationRule5 -Kind System +``` + +```output +ClassificationAction : Keep +ClassificationName : ClassificationRule4 +ColumnPattern : {{ + "kind": "Regex", + "pattern": "^col1$" + }, { + "kind": "Regex", + "pattern": "^col2$" + }} +CreatedAt : 2/8/2022 10:04:55 PM +DataPattern : {} +Description : This is a rule2 +Id : classificationrules/ClassificationRule5 +Kind : System +LastModifiedAt : 2/14/2022 9:00:32 AM +MinimumPercentageMatch : +Name : ClassificationRule5 +RuleStatus : Enabled +Version : 2 +``` + +Update a classification rule \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewDataSource.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewDataSource.md new file mode 100644 index 000000000000..2f8153a0c923 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewDataSource.md @@ -0,0 +1,23 @@ +### Example 1: Update a data source +```powershell +Update-AzPurviewDataSource -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'NewDataSource' -Kind SqlServerDatabase +``` + +```output +CollectionLastModifiedAt : 2/15/2022 10:36:25 AM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +CreatedAt : 2/15/2022 10:36:25 AM +Endpoint : https://datascantest.blob.core.windows.net/ +Id : datasources/NewDataSource +Kind : SqlServerDatabase +LastModifiedAt : 2/15/2022 10:36:25 AM +Location : +Name : NewDataSource +ResourceGroup : +ResourceName : +Scan : +SubscriptionId : +``` + +Update a data source \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewFilter.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewFilter.md new file mode 100644 index 000000000000..749b08e43f61 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewFilter.md @@ -0,0 +1,14 @@ +### Example 1: Update a filter +```powershell +Update-AzPurviewFilter -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan1ForDemo' -ExcludeUriPrefix @('https://foo.file.core.windows.net/share1/user/temp') -IncludeUriPrefix @('https://foo.file.core.windows.net/share1/user','https://foo.file.core.windows.net/share1/aggregated') +``` + +```output +ExcludeUriPrefix : {https://foo.file.core.windows.net/share1/user/temp} +Id : datasources/DataScanTestData-Parv/scans/Scan1ForDemo/filters/custom +IncludeUriPrefix : {https://foo.file.core.windows.net/share1/user, + https://foo.file.core.windows.net/share1/aggregated} +Name : custom +``` + +Update a filter \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewKeyVaultConnection.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewKeyVaultConnection.md new file mode 100644 index 000000000000..f56e199e69bd --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewKeyVaultConnection.md @@ -0,0 +1,13 @@ +### Example 1: Update an instance of a key vault connection +```powershell +Update-AzPurviewKeyVaultConnection -Endpoint 'https://parv-brs-2.purview.azure.com/' -KeyVaultName KeyVaultConnection2 -BaseUrl 'https://datascankv.vault.azure.net/' -Description 'This is a key vault' +``` + +```output +BaseUrl : https://datascankv.vault.azure.net/ +Description : This is a key vault +Id : keyVaults/KeyVaultConnection2 +Name : KeyVaultConnection2 +``` + +Update an instance of a key vault connection \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScan.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScan.md new file mode 100644 index 000000000000..d97fc8715b8e --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScan.md @@ -0,0 +1,24 @@ +### Example 1: Update an instance of a scan +```powershell +Update-AzPurviewScan -Endpoint 'https://parv-brs-2.purview.azure.com/' -DataSourceName 'DataScanTestData-Parv' -Name 'ScanTest' -Kind AdlsGen2Msi +``` + +```output +CollectionLastModifiedAt : 2/15/2022 3:49:23 PM +CollectionReferenceName : parv-brs-2 +CollectionType : CollectionReference +ConnectedViaReferenceName : +CreatedAt : 2/15/2022 3:49:23 PM +CredentialReferenceName : datascantestdataparv-accountkey +CredentialType : AccountKey +Id : datasources/DataScanTestData-Parv/scans/ScanTest +Kind : AdlsGen2Msi +LastModifiedAt : 2/15/2022 11:46:29 PM +Name : ScanTest +Result : +ScanRulesetName : AzureStorage +ScanRulesetType : System +Worker : +``` + +Update an instance of a scan \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScanRuleset.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScanRuleset.md new file mode 100644 index 000000000000..cc625d0c9861 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewScanRuleset.md @@ -0,0 +1,22 @@ +### Example 1: Update a scan ruleset +```powershell +Update-AzPurviewScanRuleset -Endpoint 'https://parv-brs-2.purview.azure.com/' -Name 'Rule1' -Kind AmazonPostgreSql +``` + +```output +CreatedAt : 2/17/2022 3:35:07 PM +Description : desc +ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS} +Id : scanrulesets/Rule1 +IncludedCustomClassificationRuleName : {ClassificationRule2} +Kind : AmazonPostgreSql +LastModifiedAt : 2/17/2022 3:35:07 PM +Name : Rule1 +ScanningRuleCustomFileExtension : +ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…} +Status : Enabled +Type : Custom +Version : 1 +``` + +Update a scan ruleset \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewTrigger.md b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewTrigger.md new file mode 100644 index 000000000000..fe74c49fa13a --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/examples/Update-AzPurviewTrigger.md @@ -0,0 +1,30 @@ +### Example 1: Update an instance of a trigger +```powershell +Update-AzPurviewTrigger -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceName 'DataScanTestData-Parv' -ScanName 'Scan-6HK' -RecurrenceEndTime '7/20/2022 12:00:00 AM' -RecurrenceStartTime '2/17/2022 1:32:00 PM' -Interval 1 -RecurrenceFrequency 'Month' -ScanLevel 'Full' -RecurrenceScheduleHour $(9) -RecurrenceScheduleMinute $(0) -RecurrenceScheduleMonthDay $(10) +``` + +```output +CreatedAt : 2/17/2022 1:35:12 PM +Id : datasources/DataScanTestData-Parv/scans/Scan-6HK/triggers/default +IncrementalScanStartTime : +Interval : 1 +LastModifiedAt : 2/17/2022 1:46:22 PM +LastScheduled : +Name : default +RecurrenceEndTime : 7/20/2022 12:00:00 AM +RecurrenceFrequency : Month +RecurrenceInterval : +RecurrenceStartTime : 2/17/2022 1:32:00 PM +RecurrenceTimeZone : +ResourceGroupName : +ScanLevel : Full +ScheduleAdditionalProperty : { + } +ScheduleHour : {9} +ScheduleMinute : {0} +ScheduleMonthDay : {10} +ScheduleMonthlyOccurrence : +ScheduleWeekDay : +``` + +Update an instance of a trigger \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/generate-info.json b/src/Purview/Purviewdata.Autorest/generate-info.json index 5f48e3425b89..a2391147294d 100644 --- a/src/Purview/Purviewdata.Autorest/generate-info.json +++ b/src/Purview/Purviewdata.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "79763227-f940-4069-a133-d6b083cfc6d3" + "generate_Id": "58b3ae03-1848-4fcd-8a81-4dd63841608a" } diff --git a/src/Purview/Purviewdata.Autorest/resources/README.md b/src/Purview/Purviewdata.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewClassificationRule.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewClassificationRule.Tests.ps1 new file mode 100644 index 000000000000..b6ce99765400 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewClassificationRule.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewClassificationRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewClassificationRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewClassificationRule' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewDataSource.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewDataSource.Tests.ps1 new file mode 100644 index 000000000000..79b2e94c70b8 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewDataSource.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewDataSource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewDataSource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewDataSource' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewFilter.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewFilter.Tests.ps1 new file mode 100644 index 000000000000..378a14626eeb --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewFilter.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewFilter')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewFilter.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewFilter' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewKeyVaultConnection.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewKeyVaultConnection.Tests.ps1 new file mode 100644 index 000000000000..e7821cca2d49 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewKeyVaultConnection.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewKeyVaultConnection')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewKeyVaultConnection.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewKeyVaultConnection' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScan.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScan.Tests.ps1 new file mode 100644 index 000000000000..fe36524d7721 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScan.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewScan')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewScan.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewScan' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScanRuleset.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScanRuleset.Tests.ps1 new file mode 100644 index 000000000000..995c6919bfbd --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewScanRuleset.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewScanRuleset')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewScanRuleset.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewScanRuleset' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewTrigger.Tests.ps1 b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewTrigger.Tests.ps1 new file mode 100644 index 000000000000..abc3e3eee876 --- /dev/null +++ b/src/Purview/Purviewdata.Autorest/test/Update-AzPurviewTrigger.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPurviewTrigger')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPurviewTrigger.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPurviewTrigger' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +}