Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR web/resource-manager] Update managedserviceidentity type enum #3282

Merged
merged 1 commit into from
Apr 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
public class ManagedServiceIdentity {
/**
* Type of managed service identity. Possible values include:
* 'SystemAssigned', 'UserAssigned'.
* 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
* 'None'.
*/
@JsonProperty(value = "type")
private ManagedServiceIdentityType type;
Expand All @@ -44,7 +45,7 @@ public class ManagedServiceIdentity {
private Map<String, ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities;

/**
* Get type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned'.
* Get type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'.
*
* @return the type value
*/
Expand All @@ -53,7 +54,7 @@ public ManagedServiceIdentityType type() {
}

/**
* Set type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned'.
* Set type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'.
*
* @param type the type value to set
* @return the ManagedServiceIdentity object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public final class ManagedServiceIdentityType extends ExpandableStringEnum<Manag
/** Static value UserAssigned for ManagedServiceIdentityType. */
public static final ManagedServiceIdentityType USER_ASSIGNED = fromString("UserAssigned");

/** Static value SystemAssigned, UserAssigned for ManagedServiceIdentityType. */
public static final ManagedServiceIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED = fromString("SystemAssigned, UserAssigned");

/** Static value None for ManagedServiceIdentityType. */
public static final ManagedServiceIdentityType NONE = fromString("None");

/**
* Creates or finds a ManagedServiceIdentityType from its string representation.
* @param name a name to look for
Expand Down