共用方式為


Get-AzServiceLinkerConfigurationForSpringCloud

列出 spring cloud 中連結器的來源組態。

語法

Get-AzServiceLinkerConfigurationForSpringCloud
   -LinkerName <String>
   [-ResourceUri <String>]
   [-DefaultProfile <PSObject>]
   -ServiceName <String>
   -AppName <String>
   -ResourceGroupName <String>
   [-DeploymentName <String>]
   [-SubscriptionId <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

列出 spring cloud 中連結器的來源組態。

範例

範例 1:取得 spring cloud 的連結器組態清單

Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List

Name  : AZURE_POSTGRESQL_POSTGRESQL_NOVNET_CONNECTIONSTRING
Value : Server=test.postgres.database.azure.com;Database=testdb;Port=543 
        2;Ssl Mode=Require;User Id=testuser@test;Password=password;

取得連結器組態清單

參數

-AppName

要連線的 Spring 雲端服務應用程式名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DeploymentName

要連線之 Spring Cloud 應用程式的部署名稱。

類型:String
Position:Named
預設值:"default"
必要:False
接受管線輸入:False
接受萬用字元:False

-LinkerName

名稱連結器資源。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

要連線之資源的資源群組。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceUri

要連線之資源的完整 Azure Resource Manager 識別符。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ServiceName

要連接的 Spring 雲端服務名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

取得可唯一識別Microsoft Azure 訂用帳戶的訂用帳戶標識碼。 訂用帳戶標識碼會形成每個服務呼叫 URI 的一部分。

類型:String
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

ISourceConfiguration