Editar

Compartir a través de


New-AzPurviewAzureMySqlDataSourceObject

Create an in-memory object for AzureMySqlDataSource.

Syntax

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

Description

Create an in-memory object for AzureMySqlDataSource.

Examples

Example 1: Create Azure MySQL data source object

New-AzPurviewAzureMySqlDataSourceObject -Kind 'AzureMySql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 3306 -ServerEndpoint 'nause.mysql.database.azure.com'

CollectionLastModifiedAt :
CollectionReferenceName  : parv-brs-2
CollectionType           : CollectionReference
CreatedAt                :
Id                       :
Kind                     : AzureMySql
LastModifiedAt           :
Location                 :
Name                     :
Port                     : 3306
ResourceGroup            :
ResourceName             :
Scan                     :
ServerEndpoint           : nause.mysql.database.azure.com
SubscriptionId           :

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

-Port

Type:Int32
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

AzureMySqlDataSource