diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateModule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateModule.json index 5206e85304bd..ca45683fed14 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateModule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateModule.json @@ -39,7 +39,8 @@ "code": null, "message": null }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "isComposite": false } } }, @@ -63,7 +64,8 @@ "code": null, "message": null }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "isComposite": false } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getActivityInAModule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getActivityInAModule.json index f4e09b2f842d..0c81f3c2c539 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getActivityInAModule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getActivityInAModule.json @@ -28,7 +28,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "AccountId", @@ -38,7 +40,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "ApplicationId", @@ -48,7 +52,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "CertificateThumbprint", @@ -58,7 +64,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Credential", @@ -68,7 +76,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -78,7 +88,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -88,7 +100,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "SubscriptionId", @@ -98,7 +112,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": true, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -108,7 +124,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] }, @@ -123,7 +141,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -133,7 +153,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -143,7 +165,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "ServicePrincipal", @@ -153,7 +177,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "SubscriptionId", @@ -163,7 +189,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": true, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "SubscriptionName", @@ -173,7 +201,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": true, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -183,7 +213,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] }, @@ -198,7 +230,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "AccountId", @@ -208,7 +242,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "ApplicationId", @@ -218,7 +254,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "CertificateThumbprint", @@ -228,7 +266,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Credential", @@ -238,7 +278,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -248,7 +290,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -258,7 +302,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "SubscriptionName", @@ -268,7 +314,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": true, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -278,7 +326,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] }, @@ -293,7 +343,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -303,7 +355,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -313,7 +367,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -323,7 +379,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] }, @@ -338,7 +396,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "AccountId", @@ -348,7 +408,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -358,7 +420,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -368,7 +432,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -378,7 +444,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] }, @@ -393,7 +461,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "CertificateThumbprint", @@ -403,7 +473,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "Environment", @@ -413,7 +485,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "EnvironmentName", @@ -423,7 +497,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "ServicePrincipal", @@ -433,7 +509,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] }, { "name": "TenantId", @@ -443,7 +521,9 @@ "position": -2147483648, "valueFromPipeline": false, "valueFromPipelineByPropertyName": false, - "valueFromRemainingArguments": false + "valueFromRemainingArguments": false, + "description": "Specify the feature description", + "validationSet": [] } ] } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getModule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getModule.json index ab440423c835..4fc63ebeeb68 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getModule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getModule.json @@ -27,7 +27,8 @@ "code": null, "message": "" }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "isComposite": true } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateModule.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateModule.json index b46a459d1792..0dc642463be0 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateModule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateModule.json @@ -39,7 +39,8 @@ "code": null, "message": null }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "isComposite": false } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json index d43150a2c1ef..5c99b4e0eeeb 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/module.json @@ -636,7 +636,18 @@ "valueFromRemainingArguments": { "type": "boolean", "description": "Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values." - } + }, + "description": { + "type": "string", + "description": "Gets or sets the description of the activity parameter." + }, + "validationSet": { + "type": "array", + "items": { + "$ref": "#/definitions/ActivityParameterValidationSet" + }, + "description": "Gets or sets the validation set of activity parameter." + } }, "description": "Definition of the activity parameter." }, @@ -656,6 +667,15 @@ }, "description": "Definition of the activity parameter set." }, + "ActivityParameterValidationSet": { + "properties": { + "memberValue": { + "type": "string", + "description": "Gets or sets the name of the activity parameter validation set member." + } + }, + "description": "Definition of the activity parameter validation set." + }, "ActivityOutputType": { "properties": { "name": { @@ -915,7 +935,11 @@ "description": { "type": "string", "description": "Gets or sets the description." - } + }, + "isComposite": { + "type": "boolean", + "description": "Gets or sets type of module, if its composite or not." + } }, "description": "Definition of the module property type." }, diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index f6e2d7b056f8..a54a3407f78b 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -247,6 +247,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-01-preview/automation +``` + ## Java These settings apply only when `--java` is specified on the command line.