New-AzPurviewAzurePostgreSqlDataSourceObject
建立 AzurePostgreSqlDataSource 的記憶體內部物件。
語法
New-AzPurviewAzurePostgreSqlDataSourceObject
-Kind <DataSourceType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-Location <String>]
[-Port <Int32>]
[-ResourceGroup <String>]
[-ResourceName <String>]
[-ServerEndpoint <String>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
建立 AzurePostgreSqlDataSource 的記憶體內部物件。
範例
範例 1:建立 Azure PostgreSQL 數據源物件
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 :
建立 Azure PostgreSQL 數據源物件0
參數
-CollectionReferenceName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-CollectionType
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Kind
類型: | DataSourceType |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Location
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Port
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroup
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ServerEndpoint
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸出
AzurePostgreSqlDataSource