Editar

Compartir a través de


New-AzPurviewAzureSqlDatabaseDataSourceObject

Create an in-memory object for AzureSqlDatabaseDataSource.

Syntax

New-AzPurviewAzureSqlDatabaseDataSourceObject
   -Kind <DataSourceType>
   [-CollectionReferenceName <String>]
   [-CollectionType <String>]
   [-Location <String>]
   [-ResourceGroup <String>]
   [-ResourceName <String>]
   [-ServerEndpoint <String>]
   [-SubscriptionId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for AzureSqlDatabaseDataSource.

Examples

Example 1: Create Azure SQL database data source object

New-AzPurviewAzureSqlDatabaseDataSourceObject -Kind 'AzureSqlDatabase' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ServerEndpoint 'ause.database.windows.net'

CollectionLastModifiedAt :
CollectionReferenceName  : parv-brs-2
CollectionType           : CollectionReference
CreatedAt                :
Id                       :
Kind                     : AzureSqlDatabase
LastModifiedAt           :
Location                 :
Name                     :
ResourceGroup            :
ResourceName             :
Scan                     :
ServerEndpoint           : ause.database.windows.net
SubscriptionId           :

Create Azure SQL 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

AzureSqlDatabaseDataSource