diff --git a/profiles/preview/preview/blueprint/mgmt/blueprint/models.go b/profiles/preview/preview/blueprint/mgmt/blueprint/models.go index 250739027b1c..84fdc5400685 100644 --- a/profiles/preview/preview/blueprint/mgmt/blueprint/models.go +++ b/profiles/preview/preview/blueprint/mgmt/blueprint/models.go @@ -32,8 +32,9 @@ const ( type AssignmentLockMode = original.AssignmentLockMode const ( - AllResources AssignmentLockMode = original.AllResources - None AssignmentLockMode = original.None + AllResourcesDoNotDelete AssignmentLockMode = original.AllResourcesDoNotDelete + AllResourcesReadOnly AssignmentLockMode = original.AllResourcesReadOnly + None AssignmentLockMode = original.None ) type AssignmentProvisioningState = original.AssignmentProvisioningState diff --git a/services/preview/blueprint/mgmt/2018-11-01-preview/blueprint/models.go b/services/preview/blueprint/mgmt/2018-11-01-preview/blueprint/models.go index f1e0409876a4..6e89f9bb9595 100644 --- a/services/preview/blueprint/mgmt/2018-11-01-preview/blueprint/models.go +++ b/services/preview/blueprint/mgmt/2018-11-01-preview/blueprint/models.go @@ -33,15 +33,17 @@ const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/blueprint/mgmt/ type AssignmentLockMode string const ( - // AllResources ... - AllResources AssignmentLockMode = "AllResources" + // AllResourcesDoNotDelete ... + AllResourcesDoNotDelete AssignmentLockMode = "AllResourcesDoNotDelete" + // AllResourcesReadOnly ... + AllResourcesReadOnly AssignmentLockMode = "AllResourcesReadOnly" // None ... None AssignmentLockMode = "None" ) // PossibleAssignmentLockModeValues returns an array of possible values for the AssignmentLockMode const type. func PossibleAssignmentLockModeValues() []AssignmentLockMode { - return []AssignmentLockMode{AllResources, None} + return []AssignmentLockMode{AllResourcesDoNotDelete, AllResourcesReadOnly, None} } // AssignmentProvisioningState enumerates the values for assignment provisioning state. @@ -776,7 +778,7 @@ func NewAssignmentListPage(getNextPage func(context.Context, AssignmentList) (As // AssignmentLockSettings defines how resources deployed by a blueprint assignment are locked. type AssignmentLockSettings struct { - // Mode - Lock mode. Possible values include: 'None', 'AllResources' + // Mode - Lock mode. Possible values include: 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete' Mode AssignmentLockMode `json:"mode,omitempty"` }