Edit

Share via


New-AzPurviewSqlServerDatabaseDataSourceObject

Create an in-memory object for SqlServerDatabaseDataSource.

Syntax

Default (Default)

New-AzPurviewSqlServerDatabaseDataSourceObject
    [-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 -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

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CollectionType

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroup

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceName

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServerEndpoint

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

Create an in-memory object for SqlServerDatabaseDataSource.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

SqlServerDatabaseDataSource