Get-AzServiceLinkerForSpringCloud
Returns Linker resource for a given name in spring cloud.
Syntax
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
Returns Linker resource for a given name in spring cloud.
Examples
Example 1: List all linkers in a spring cloud app's deployment
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -DeploymentName "default"
Name
----
appconfig_08b18
postgresql_novnet
postgresql_203ca
eventhub_3ab5f
List all linkers in a spring cloud app's deployment
Example 2: Get linker by name
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
Get linker by name
Example 3: Get linker via identity object
$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
Get linker by name
Parameters
-AppName
The app Name of spring cloud service to be connected.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeploymentName
The deployment Name of spring cloud app to be connected.
Type: | String |
Position: | Named |
Default value: | "default" |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IServiceLinkerIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name Linker resource.
Type: | String |
Aliases: | LinkerName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group of the resource to be connected.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceUri
The fully qualified Azure Resource manager identifier of the resource to be connected.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceName
The Name of spring cloud service to be connected.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |