Get-AzServiceLinkerForContainerApp
Retourneert Linker-resource voor een bepaalde naam in de container-app.
Syntaxis
Get-AzServiceLinkerForContainerApp
[-ResourceUri <String>]
[-DefaultProfile <PSObject>]
-ContainerApp <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[<CommonParameters>]
Get-AzServiceLinkerForContainerApp
[-ResourceUri <String>]
-Name <String>
[-DefaultProfile <PSObject>]
-ContainerApp <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[<CommonParameters>]
Get-AzServiceLinkerForContainerApp
-InputObject <IServiceLinkerIdentity>
[-DefaultProfile <PSObject>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
Retourneert Linker-resource voor een bepaalde naam in de container-app.
Voorbeelden
Voorbeeld 1: Alle linkers in een container-app weergeven
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
Name
----
appconfig_08b18
postgresql_novnet
postgresql_203ca
eventhub_3ab5f
Alle linkers in de container-app weergeven
Voorbeeld 2: Koppeling ophalen op naam
Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -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.App/containerApps/servicelinker-app/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.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
$identity | Get-AzServiceLinkerForContainerApp | 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.App/containerApps/servicelinker-app/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
-ContainerApp
De naam van de container-app van de resource 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 |
-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 |
-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