From 04b87e50e918acfe949673813403c3eaba46f3c2 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 15 Aug 2019 08:39:59 +0000 Subject: [PATCH] Generated from 92b46a61425bf808ff7b4ffef9d3bb063713558b Mark ownerEmail as required properties for workspace RP --- .../machinelearning/mgmt/2016-04-01/workspaces/workspaces.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/machinelearning/mgmt/2016-04-01/workspaces/workspaces.go b/services/machinelearning/mgmt/2016-04-01/workspaces/workspaces.go index 6758465b04b2..a641c9b769d3 100644 --- a/services/machinelearning/mgmt/2016-04-01/workspaces/workspaces.go +++ b/services/machinelearning/mgmt/2016-04-01/workspaces/workspaces.go @@ -61,7 +61,9 @@ func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName strin if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.Properties.UserStorageAccountID", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil { + Chain: []validation.Constraint{{Target: "parameters.Properties.UserStorageAccountID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Properties.OwnerEmail", Name: validation.Null, Rule: true, Chain: nil}, + }}}}}); err != nil { return result, validation.NewError("workspaces.Client", "CreateOrUpdate", err.Error()) }