Edit

Share via


New-AzPurviewAzurePostgreSqlDataSourceObject

Create an in-memory object for AzurePostgreSqlDataSource.

Syntax

Default (Default)

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

Create an in-memory object for AzurePostgreSqlDataSource.

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 AzurePostgreSqlDataSource.

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 AzurePostgreSqlDataSource.

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

-Port

Create an in-memory object for AzurePostgreSqlDataSource.

Parameter properties

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

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 AzurePostgreSqlDataSource.

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 AzurePostgreSqlDataSource.

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 AzurePostgreSqlDataSource.

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

AzurePostgreSqlDataSource