Skip to content

Commit

Permalink
[AutoPR resources/resource-manager] Add more enum values for Identity…
Browse files Browse the repository at this point in the history
…/type in generic resource swagger (#2130)

* Generated from 618de80a1454153967c1b0f065cb270ccd7f60fd

Add more enum values for Identity/type in generic resource swagger

Resource types like "Microsoft.Compute/VirtualMachines" have more than
one enum value for Identity/type. Updating generic resource swagger so
it is up-to-date.

* Generated from f7fb396c7887e1d61eb7e92133fc1c1fab3ae941

Revert changes in swagger spec for 2017 API Version
  • Loading branch information
AutorestCI authored Mar 14, 2018
1 parent 23f9ee5 commit 869276a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class Identity(Model):
:vartype principal_id: str
:ivar tenant_id: The tenant ID of resource.
:vartype tenant_id: str
:param type: The identity type. Possible values include: 'SystemAssigned'
:param type: The identity type. Possible values include: 'SystemAssigned',
'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
:type type: str or
~azure.mgmt.resource.resources.v2018_02_01.models.ResourceIdentityType
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ class OnErrorDeploymentType(Enum):
class ResourceIdentityType(Enum):

system_assigned = "SystemAssigned"
user_assigned = "UserAssigned"
system_assigned_user_assigned = "SystemAssigned, UserAssigned"
none = "None"

0 comments on commit 869276a

Please sign in to comment.