File tree Expand file tree Collapse file tree 14 files changed +56
-66
lines changed
src/ResourceManager/MachineLearning/Commands.MachineLearning Expand file tree Collapse file tree 14 files changed +56
-66
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,8 @@ namespace Microsoft.Azure.Commands.MachineLearning
25
25
[ OutputType ( typeof ( void ) ) ]
26
26
public class RemoveAzureMLCommitmentPlan : CommitmentPlansCmdletBase
27
27
{
28
- protected const string RemoveByNameGroupParameterSet =
29
- "Remove an Azure ML commitment plan specified by name and resource group." ;
30
- protected const string RemoveByObjectParameterSet =
31
- "Remove an Azure ML commitment plan specified as an object." ;
28
+ protected const string RemoveByNameGroupParameterSet = "RemoveByNameAndResourceGroup" ;
29
+ protected const string RemoveByObjectParameterSet = "RemoveByObject" ;
32
30
33
31
[ Parameter (
34
32
ParameterSetName = RemoveAzureMLCommitmentPlan . RemoveByNameGroupParameterSet ,
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ namespace Microsoft.Azure.Commands.MachineLearning.Cmdlets
29
29
[ OutputType ( typeof ( string ) ) ]
30
30
public class ExportWebServiceDefinition : WebServicesCmdletBase
31
31
{
32
- private const string ExportToFileParamSet = "Export to file. " ;
33
- private const string ExportToStringParamSet = "Export to JSON string. " ;
32
+ private const string ExportToFileParamSet = "ExportToFile " ;
33
+ private const string ExportToStringParamSet = "ExportToJSON " ;
34
34
35
35
[ Parameter (
36
36
Mandatory = true ,
Original file line number Diff line number Diff line change @@ -23,10 +23,8 @@ namespace Microsoft.Azure.Commands.MachineLearning.Cmdlets
23
23
[ OutputType ( typeof ( WebServiceKeys ) ) ]
24
24
public class GetAzureMLWebServiceKeys : WebServicesCmdletBase
25
25
{
26
- private const string GetKeysByGroupAndName =
27
- "Get an Azure ML web service's access keys given its name and resource group." ;
28
- private const string GetKeysByInstance =
29
- "Get the access kesy for the given web service instance." ;
26
+ private const string GetKeysByGroupAndName = "GetByNameAndResourceGroup" ;
27
+ private const string GetKeysByInstance = "GetByInstance" ;
30
28
31
29
[ Parameter (
32
30
ParameterSetName = GetAzureMLWebServiceKeys . GetKeysByGroupAndName ,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.MachineLearning.Cmdlets
25
25
[ OutputType ( typeof ( WebService ) ) ]
26
26
public class ImportWebServiceDefinition : WebServicesCmdletBase
27
27
{
28
- private const string ImportFromFileParamSet = "Import from JSON file. " ;
29
- private const string ImportFromStringParamSet = "Import from JSON string ." ;
28
+ private const string ImportFromFileParamSet = "ImportFromJSONFile " ;
29
+ private const string ImportFromStringParamSet = "ImportFromJSONString ." ;
30
30
31
31
[ Parameter (
32
32
ParameterSetName = ImportWebServiceDefinition . ImportFromFileParamSet ,
Original file line number Diff line number Diff line change @@ -29,10 +29,8 @@ namespace Microsoft.Azure.Commands.MachineLearning.Cmdlets
29
29
[ OutputType ( typeof ( WebService ) ) ]
30
30
public class NewAzureMLWebService : WebServicesCmdletBase
31
31
{
32
- protected const string CreateFromFileParameterSet =
33
- "Create a new Azure ML webservice from a JSON definiton file." ;
34
- protected const string CreateFromObjectParameterSet =
35
- "Create a new Azure ML webservice from a WebService instance definition." ;
32
+ protected const string CreateFromFileParameterSet = "CreateFromFile" ;
33
+ protected const string CreateFromObjectParameterSet = "CreateFromInstance" ;
36
34
37
35
[ Parameter (
38
36
Mandatory = true ,
Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ namespace Microsoft.Azure.Commands.MachineLearning
28
28
[ OutputType ( typeof ( void ) ) ]
29
29
public class RemoveAzureMLWebService : WebServicesCmdletBase
30
30
{
31
- protected const string RemoveByNameGroupParameterSet =
32
- "Remove an Azure ML web service resouce by name and resource group." ;
33
- protected const string RemoveByObjectParameterSet =
34
- "Remove an Azure ML web service specified as an object." ;
31
+ protected const string RemoveByNameGroupParameterSet = "RemoveByNameAndResourceGroup" ;
32
+ protected const string RemoveByObjectParameterSet = "RemoveByObject" ;
35
33
36
34
[ Parameter (
37
35
ParameterSetName = RemoveAzureMLWebService . RemoveByNameGroupParameterSet ,
Original file line number Diff line number Diff line change @@ -30,10 +30,8 @@ namespace Microsoft.Azure.Commands.MachineLearning
30
30
[ OutputType ( typeof ( WebService ) ) ]
31
31
public class UpdateAzureMLWebService : WebServicesCmdletBase
32
32
{
33
- protected const string UpdateFromArgumentsParameterSet =
34
- "Update specific properties of the ." ;
35
- protected const string UpdateFromObjectParameterSet =
36
- "Create a new Azure ML webservice from a WebService instance definition." ;
33
+ protected const string UpdateFromArgumentsParameterSet = "UpdateFromParameters" ;
34
+ protected const string UpdateFromObjectParameterSet = "UpdateFromObject" ;
37
35
38
36
[ Parameter ( Mandatory = true , HelpMessage = "The name of the resource group for the Azure ML web service." ) ]
39
37
[ ValidateNotNullOrEmpty ]
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ Exports the web service definition object as a JSON formatted string.
12
12
13
13
## SYNTAX
14
14
15
- ### Export to file.
15
+ ### ExportToFile
16
16
```
17
17
Export-AzureRmMlWebService -WebService <WebService> -OutputFile <String> [-Force]
18
18
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
19
19
```
20
20
21
- ### Export to JSON string.
21
+ ### ExportToJSON
22
22
```
23
23
Export-AzureRmMlWebService -WebService <WebService> [-ToJsonString] [-Force]
24
24
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
@@ -85,7 +85,7 @@ The file path for exported definition.
85
85
86
86
` ` ` yaml
87
87
Type : String
88
- Parameter Sets : Export to file.
88
+ Parameter Sets : ExportToFile
89
89
Aliases :
90
90
91
91
Required : True
@@ -100,7 +100,7 @@ Specifies that the definition will be exported as a JSON string.
100
100
101
101
` ` ` yaml
102
102
Type : SwitchParameter
103
- Parameter Sets : Export to JSON string.
103
+ Parameter Sets : ExportToJSON
104
104
Aliases :
105
105
106
106
Required : True
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ Retrieves the web service's keys.
12
12
13
13
## SYNTAX
14
14
15
- ### Get an Azure ML web service's access keys given its name and resource group.
15
+ ### GetByNameAndResourceGroup
16
16
```
17
17
Get-AzureRmMlWebServiceKeys -ResourceGroupName <String> -Name <String>
18
18
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
19
19
```
20
20
21
- ### Get the access kesy for the given web service instance.
21
+ ### GetByInstance
22
22
```
23
23
Get-AzureRmMlWebServiceKeys -MlWebService <WebService> [-DefaultProfile <IAzureContextContainer>]
24
24
[<CommonParameters>]
@@ -71,7 +71,7 @@ The name of the web service for which the access keys are retrieved.
71
71
72
72
` ` ` yaml
73
73
Type : WebService
74
- Parameter Sets : Get the access kesy for the given web service instance.
74
+ Parameter Sets : GetByInstance
75
75
Aliases :
76
76
77
77
Required : True
@@ -86,7 +86,7 @@ The name of the web service for which the access keys are retrieved.
86
86
87
87
` ` ` yaml
88
88
Type : String
89
- Parameter Sets : Get an Azure ML web service's access keys given its name and resource group.
89
+ Parameter Sets : GetByNameAndResourceGroup
90
90
Aliases :
91
91
92
92
Required : True
@@ -101,7 +101,7 @@ The resource group for the web service.
101
101
102
102
` ` ` yaml
103
103
Type : String
104
- Parameter Sets : Get an Azure ML web service's access keys given its name and resource group.
104
+ Parameter Sets : GetByNameAndResourceGroup
105
105
Aliases :
106
106
107
107
Required : True
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ Imports a JSON object into a web service definition.
12
12
13
13
## SYNTAX
14
14
15
- ### Import from JSON file.
15
+ ### ImportFromJSONFile
16
16
```
17
17
Import-AzureRmMlWebService -InputFile <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18
18
```
19
19
20
- ### Import from JSON string .
20
+ ### ImportFromJSONString .
21
21
```
22
22
Import-AzureRmMlWebService -JsonString <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
23
23
```
@@ -66,7 +66,7 @@ The path to the file containing the web service definition to import.
66
66
67
67
` ` ` yaml
68
68
Type : String
69
- Parameter Sets : Import from JSON file.
69
+ Parameter Sets : ImportFromJSONFile
70
70
Aliases :
71
71
72
72
Required : True
@@ -81,7 +81,7 @@ The JSON formatted string containing the web service definition to import.
81
81
82
82
` ` ` yaml
83
83
Type : String
84
- Parameter Sets : Import from JSON string .
84
+ Parameter Sets : ImportFromJSONString .
85
85
Aliases :
86
86
87
87
Required : True
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ Creates a new web service.
12
12
13
13
## SYNTAX
14
14
15
- ### Create a new Azure ML webservice from a JSON definiton file.
15
+ ### CreateFromFile
16
16
```
17
17
New-AzureRmMlWebService -ResourceGroupName <String> -Location <String> -Name <String> -DefinitionFile <String>
18
18
[-Force] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
19
19
```
20
20
21
- ### Create a new Azure ML webservice from a WebService instance definition.
21
+ ### CreateFromInstance
22
22
```
23
23
New-AzureRmMlWebService -ResourceGroupName <String> -Location <String> -Name <String>
24
24
-NewWebServiceDefinition <WebService> [-Force] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
@@ -76,7 +76,7 @@ You can find the latest specification for the web service definition in the swag
76
76
77
77
` ` ` yaml
78
78
Type : String
79
- Parameter Sets : Create a new Azure ML webservice from a JSON definiton file.
79
+ Parameter Sets : CreateFromFile
80
80
Aliases :
81
81
82
82
Required : True
@@ -144,7 +144,7 @@ You can find the latest specification for the web service definition in the swag
144
144
145
145
` ` ` yaml
146
146
Type : WebService
147
- Parameter Sets : Create a new Azure ML webservice from a WebService instance definition.
147
+ Parameter Sets : CreateFromInstance
148
148
Aliases :
149
149
150
150
Required : True
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ Deletes a commitment plan.
12
12
13
13
## SYNTAX
14
14
15
- ### Remove an Azure ML commitment plan specified by name and resource group.
15
+ ### RemoveByNameAndResourceGroup
16
16
```
17
17
Remove-AzureRmMlCommitmentPlan -ResourceGroupName <String> -Name <String> [-Force]
18
18
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
19
19
```
20
20
21
- ### Remove an Azure ML commitment plan specified as an object.
21
+ ### RemoveByObject
22
22
```
23
23
Remove-AzureRmMlCommitmentPlan -MlCommitmentPlan <CommitmentPlan> [-Force]
24
24
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
@@ -75,7 +75,7 @@ The machine learning web service object.
75
75
76
76
` ` ` yaml
77
77
Type : CommitmentPlan
78
- Parameter Sets : Remove an Azure ML commitment plan specified as an object.
78
+ Parameter Sets : RemoveByObject
79
79
Aliases :
80
80
81
81
Required : True
@@ -90,7 +90,7 @@ The name of the Azure ML commitment plan.
90
90
91
91
` ` ` yaml
92
92
Type : String
93
- Parameter Sets : Remove an Azure ML commitment plan specified by name and resource group.
93
+ Parameter Sets : RemoveByNameAndResourceGroup
94
94
Aliases :
95
95
96
96
Required : True
@@ -105,7 +105,7 @@ The name of the resource group for the Azure ML commitment plan.
105
105
106
106
` ` ` yaml
107
107
Type : String
108
- Parameter Sets : Remove an Azure ML commitment plan specified by name and resource group.
108
+ Parameter Sets : RemoveByNameAndResourceGroup
109
109
Aliases :
110
110
111
111
Required : True
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ Deletes a web service.
12
12
13
13
## SYNTAX
14
14
15
- ### Remove an Azure ML web service resouce by name and resource group.
15
+ ### RemoveByNameAndResourceGroup
16
16
```
17
17
Remove-AzureRmMlWebService -ResourceGroupName <String> -Name <String> [-Force]
18
18
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
19
19
```
20
20
21
- ### Remove an Azure ML web service specified as an object.
21
+ ### RemoveByObject
22
22
```
23
23
Remove-AzureRmMlWebService -MlWebService <WebService> [-Force] [-DefaultProfile <IAzureContextContainer>]
24
24
[-WhatIf] [-Confirm] [<CommonParameters>]
@@ -75,7 +75,7 @@ The web service to be removed.
75
75
76
76
` ` ` yaml
77
77
Type : WebService
78
- Parameter Sets : Remove an Azure ML web service specified as an object.
78
+ Parameter Sets : RemoveByObject
79
79
Aliases :
80
80
81
81
Required : True
@@ -90,7 +90,7 @@ The name of the web service to be removed.
90
90
91
91
` ` ` yaml
92
92
Type : String
93
- Parameter Sets : Remove an Azure ML web service resouce by name and resource group.
93
+ Parameter Sets : RemoveByNameAndResourceGroup
94
94
Aliases :
95
95
96
96
Required : True
@@ -105,7 +105,7 @@ The resource group of the web service.
105
105
106
106
` ` ` yaml
107
107
Type : String
108
- Parameter Sets : Remove an Azure ML web service resouce by name and resource group.
108
+ Parameter Sets : RemoveByNameAndResourceGroup
109
109
Aliases :
110
110
111
111
Required : True
You can’t perform that action at this time.
0 commit comments