Get-AzAksArcLog
Gets the provisioned cluster instance
Syntax
Get-AzAksArcLog
-ipAddress <String>
-sshkeypath <String>
-outdir <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the provisioned cluster instance
Examples
Example 1: Get provisioned cluster logs
Get-AzAksArcLog -ipAddress 1.1.1.1 -sshkeypath "" -outdir "/logs"
Collects logs and saves to outdir
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ipAddress
IP Address of provisioned cluster
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-outdir
Directory to output logs
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-sshkeypath
Path to ssh key for provisioned cluster
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure PowerShell