@@ -15,22 +15,24 @@ Run a shell command (with kubectl, helm) on your aks cluster, support attaching
1515### GroupNameParameterSet (Default)
1616```
1717Invoke-AzAksRunCommand [-ResourceGroupName] <String> [-Name] <String> -Command <String>
18- [-CommandContextAttachment <String[]>] [-AsJob] [-Force] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
19- [-Confirm] [-SubscriptionId <String>] [<CommonParameters>]
18+ [-CommandContextAttachment <String[]>] [-CommandContextAttachmentZip <String>] [-AsJob] [-Force]
19+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [-SubscriptionId <String>]
20+ [<CommonParameters>]
2021```
2122
2223### InputObjectParameterSet
2324```
2425Invoke-AzAksRunCommand -InputObject <PSKubernetesCluster> -Command <String>
25- [-CommandContextAttachment <String[]>] [-AsJob] [-Force] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
26- [-Confirm] [-SubscriptionId <String>] [<CommonParameters>]
26+ [-CommandContextAttachment <String[]>] [-CommandContextAttachmentZip <String>] [-AsJob] [-Force]
27+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [-SubscriptionId <String>]
28+ [<CommonParameters>]
2729```
2830
2931### IdParameterSet
3032```
31- Invoke-AzAksRunCommand [-Id] <String> -Command <String> [-CommandContextAttachment <String[]>] [-AsJob]
32- [-Force] [-DefaultProfile <IAzureContextContainer >] [-WhatIf ] [-Confirm ] [-SubscriptionId <String> ]
33- [<CommonParameters>]
33+ Invoke-AzAksRunCommand [-Id] <String> -Command <String> [-CommandContextAttachment <String[]>]
34+ [-CommandContextAttachmentZip <String >] [-AsJob ] [-Force ] [-DefaultProfile <IAzureContextContainer>] [-WhatIf ]
35+ [-Confirm] [-SubscriptionId <String>] [ <CommonParameters>]
3436```
3537
3638## DESCRIPTION
@@ -103,6 +105,21 @@ Accept pipeline input: False
103105Accept wildcard characters : False
104106` ` `
105107
108+ ### -CommandContextAttachmentZip
109+ Path of the zip file containing the files required by the command.
110+
111+ ` ` ` yaml
112+ Type : System.String
113+ Parameter Sets : (All)
114+ Aliases :
115+
116+ Required : False
117+ Position : Named
118+ Default value : None
119+ Accept pipeline input : False
120+ Accept wildcard characters : False
121+ ` ` `
122+
106123### -DefaultProfile
107124The credentials, account, tenant, and subscription used for communication with Azure.
108125
0 commit comments