Edit

Share via


Get-AzAksArcLog

Gets the provisioned cluster instance

Syntax

Default (Default)

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.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ipAddress

IP Address of provisioned cluster

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-outdir

Directory to output logs

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-sshkeypath

Path to ssh key for provisioned cluster

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IProvisionedCluster