Get-AzServiceLinkerForSpringCloud
Retourneert Linker-resource voor een bepaalde naam in de springcloud.
Syntaxis
Get-AzServiceLinkerForSpringCloud
[-ResourceUri <String>]
[-DefaultProfile <PSObject>]
-ServiceName <String>
-AppName <String>
[-DeploymentName <String>]
-ResourceGroupName <String>
[-SubscriptionId <String>]
[<CommonParameters>]
Get-AzServiceLinkerForSpringCloud
[-ResourceUri <String>]
-Name <String>
[-DefaultProfile <PSObject>]
-ServiceName <String>
-AppName <String>
[-DeploymentName <String>]
-ResourceGroupName <String>
[-SubscriptionId <String>]
[<CommonParameters>]
Get-AzServiceLinkerForSpringCloud
-InputObject <IServiceLinkerIdentity>
[-DefaultProfile <PSObject>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
Retourneert Linker-resource voor een bepaalde naam in de springcloud.
Voorbeelden
Voorbeeld 1: Alle linkers weergeven in de implementatie van een Spring Cloud-app
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -DeploymentName "default"
Name
----
appconfig_08b18
postgresql_novnet
postgresql_203ca
eventhub_3ab5f
Alle linkers weergeven in de implementatie van een Spring Cloud-app
Voorbeeld 2: Koppeling ophalen op naam
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default/providers
/Microsoft.ServiceLinker/linkers/postgresql_connection
Name : postgresql_connection
ProvisioningState : Succeeded
Scope :
SecretStoreKeyVaultId :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
Koppeling ophalen op naam
Voorbeeld 3: Koppeling ophalen via identiteitsobject
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForSpringCloud | Format-List
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default/providers
/Microsoft.ServiceLinker/linkers/postgresql_connection
Name : postgresql_connection
ProvisioningState : Succeeded
Scope :
SecretStoreKeyVaultId :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
Koppeling ophalen op naam
Parameters
-AppName
De app-naam van de Spring Cloud-service die moet worden verbonden.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | PSObject |
Aliassen: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DeploymentName
De implementatienaam van de Spring Cloud-app die moet worden verbonden.
Type: | String |
Position: | Named |
Default value: | "default" |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Identity Parameter To construct, zie DE SECTIE NOTES voor INPUTOBJECT-eigenschappen en maak een hash-tabel.
Type: | IServiceLinkerIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-Name
De naam Linker-resource.
Type: | String |
Aliassen: | LinkerName |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
De resourcegroep van de resource die moet worden verbonden.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceUri
De volledig gekwalificeerde Azure Resource Manager-id van de resource die moet worden verbonden.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ServiceName
De naam van de Spring Cloud-service die moet worden verbonden.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-SubscriptionId
Hiermee haalt u de abonnements-id op waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Azure PowerShell