| external help file | Az.ServiceLinker-help.xml |
|---|---|
| Module Name | Az.ServiceLinker |
| online version | https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforwebapp |
| schema | 2.0.0 |
| content_git_url | https://github.com/Azure/azure-powershell/blob/main/src/ServiceLinker/ServiceLinker/help/Test-AzServiceLinkerForWebApp.md |
| original_content_git_url | https://github.com/Azure/azure-powershell/blob/main/src/ServiceLinker/ServiceLinker/help/Test-AzServiceLinkerForWebApp.md |
| cmdletStatusMessage | This cmdlet is part of a **Preview** module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus. |
| cmdletStatus | preview |
Validate a link in webapp.
Test-AzServiceLinkerForWebApp -Name <String> [-ResourceUri <String>] [-DefaultProfile <PSObject>]
-WebApp <String> -ResourceGroupName <String> [-SubscriptionId <String>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
Test-AzServiceLinkerForWebApp -InputObject <IServiceLinkerIdentity> [-DefaultProfile <PSObject>]
[-SubscriptionId <String>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
[<CommonParameters>]
Validate a link in webapp.
Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-ListAuthType :
IsConnectionAvailable : True
LinkerName : postgresql_connection
ReportEndTimeUtc : 5/6/2022 8:32:26 AM
ReportStartTimeUtc : 5/6/2022 8:32:24 AM
ResourceId : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/servicelinke
r-test-group/providers/Microsoft.Web/sites/servicelinker-webapp/providers/Mi
crosoft.ServiceLinker/linkers/postgresql_connection
SourceId :
Status : Succeeded
TargetId : /subscriptions/937bc588-a144-4083-8612-5f9ffbbddb14/resourceGroups/servicelinke
r-test-group/providers/Microsoft.Storage/storageAccounts/servicelinkersto
rage/tableServices/default
ValidationDetail : {The target existence is validated, The target service firewall is validated,
The configured values is validated}
Test Linker
Run the command as a job
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe credentials, account, tenant, and subscription used for communication with Azure.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
Parameter Sets: ValidateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThe name Linker resource.
Type: System.String
Parameter Sets: Validate
Aliases: LinkerName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRun the command asynchronously
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe resource group of the resource to be connected.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe fully qualified Azure Resource manager identifier of the resource to be connected.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: FalseThe Name of webapp of the resource to be connected.
Type: System.String
Parameter Sets: Validate
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.