New-AzPurviewAzurePostgreSqlDataSourceObject
Create an in-memory object for AzurePostgreSqlDataSource.
Syntax
New-AzPurviewAzurePostgreSqlDataSourceObject
-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 AzurePostgreSqlDataSource.
Examples
Example 1: Create Azure PostgreSQL data source object
New-AzPurviewAzurePostgreSqlDataSourceObject -Kind 'AzurePostgreSql' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -Port 5432 -ServerEndpoint 'nause.postgres.database.azure.com'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
CreatedAt :
Id :
Kind : AzurePostgreSql
LastModifiedAt :
Location :
Name :
Port : 5432
ResourceGroup :
ResourceName :
Scan :
ServerEndpoint : nause.postgres.database.azure.com
SubscriptionId :
Create Azure PostgreSQL data source object0
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
AzurePostgreSqlDataSource