New-AzPurviewSqlServerDatabaseDataSourceObject
Create an in-memory object for SqlServerDatabaseDataSource.
Syntax
New-AzPurviewSqlServerDatabaseDataSourceObject
-Kind <DataSourceType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-Location <String>]
[-ResourceGroup <String>]
[-ResourceName <String>]
[-ServerEndpoint <String>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
Create an in-memory object for SqlServerDatabaseDataSource.
Examples
Example 1: Create SQL Server Database data source object
New-AzPurviewSqlServerDatabaseDataSourceObject -Kind 'SqlServerDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint '12.13.14.12'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
CreatedAt :
Id :
Kind : SqlServerDatabase
LastModifiedAt :
Location :
Name :
ResourceGroup :
ResourceName :
Scan :
ServerEndpoint : 12.13.14.12
SubscriptionId :
Create SQL Server Database data source object
Parameters
-CollectionReferenceName
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CollectionType
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Kind
Type: | DataSourceType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroup
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceName
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServerEndpoint
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
SqlServerDatabaseDataSource