You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Parameter(Position=0,ParameterSetName=UpdateAndActivateSet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the name of the Batch account.")]
29
+
[Parameter(Position=0,ParameterSetName=ActivateOnlySet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the name of the Batch account.")]
26
30
[ValidateNotNullOrEmpty]
27
31
publicstringAccountName{get;set;}
28
32
29
-
[Parameter(Position=1,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the name of the resource group that contains the Batch account.")]
33
+
[Parameter(Position=1,ParameterSetName=UpdateAndActivateSet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the name of the resource group that contains the Batch account.")]
34
+
[Parameter(Position=1,ParameterSetName=ActivateOnlySet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the name of the resource group that contains the Batch account.")]
30
35
[ValidateNotNullOrEmpty]
31
36
publicstringResourceGroupName{get;set;}
32
37
33
-
[Parameter(Position=2,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the id of the application.")]
38
+
[Parameter(Position=2,ParameterSetName=UpdateAndActivateSet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the id of the application.")]
39
+
[Parameter(Position=2,ParameterSetName=ActivateOnlySet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the id of the application.")]
34
40
[ValidateNotNullOrEmpty]
41
+
35
42
publicstringApplicationId{get;set;}
36
43
37
-
[Parameter(Position=3,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the version of the application.")]
44
+
[Parameter(Position=3,ParameterSetName=UpdateAndActivateSet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the version of the application.")]
45
+
[Parameter(Position=3,ParameterSetName=ActivateOnlySet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the version of the application.")]
38
46
[ValidateNotNullOrEmpty]
39
47
publicstringApplicationVersion{get;set;}
40
48
41
-
[Parameter(Position=4,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the format of the application package binary file.")]
49
+
[Parameter(Position=4,ParameterSetName=UpdateAndActivateSet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the format of the application package binary file.")]
50
+
[Parameter(Position=4,ParameterSetName=ActivateOnlySet,ValueFromPipelineByPropertyName=true,Mandatory=true,HelpMessage="Specifies the format of the application package binary file.")]
42
51
[ValidateNotNullOrEmpty]
43
52
publicstringFormat{get;set;}
44
53
45
-
[Parameter(ValueFromPipelineByPropertyName=true)]
54
+
[Parameter(ValueFromPipelineByPropertyName=true,ParameterSetName=UpdateAndActivateSet,Mandatory=true,HelpMessage="Specifies the file path of the application that will be uploaded to Azure Storage.")]
0 commit comments