diff --git a/sdk/managedapplications/mgmt-v2019_07_01/pom.xml b/sdk/managedapplications/mgmt-v2019_07_01/pom.xml
index 6f9f24b9e2bfb..715d003c82288 100644
--- a/sdk/managedapplications/mgmt-v2019_07_01/pom.xml
+++ b/sdk/managedapplications/mgmt-v2019_07_01/pom.xml
@@ -11,8 +11,8 @@
com.microsoft.azure
azure-arm-parent
- 1.2.0
- ../../parents/azure-arm-parent
+ 1.1.0
+ ../../../pom.management.xml
azure-mgmt-managedapplications
1.0.0-beta
diff --git a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/Identity.java b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/Identity.java
index 1a529de7b4a17..72b094c5ecafd 100644
--- a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/Identity.java
+++ b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/Identity.java
@@ -8,6 +8,7 @@
package com.microsoft.azure.management.managedapplications.v2019_07_01;
+import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
@@ -27,11 +28,20 @@ public class Identity {
private String tenantId;
/**
- * The identity type. Possible values include: 'SystemAssigned'.
+ * The identity type. Possible values include: 'SystemAssigned',
+ * 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'.
*/
@JsonProperty(value = "type")
private ResourceIdentityType type;
+ /**
+ * The list of user identities associated with the resource. The user
+ * identity dictionary key references will be resource ids in the form:
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ */
+ @JsonProperty(value = "userAssignedIdentities")
+ private Map userAssignedIdentities;
+
/**
* Get the principal ID of resource identity.
*
@@ -51,7 +61,7 @@ public String tenantId() {
}
/**
- * Get the identity type. Possible values include: 'SystemAssigned'.
+ * Get the identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'.
*
* @return the type value
*/
@@ -60,7 +70,7 @@ public ResourceIdentityType type() {
}
/**
- * Set the identity type. Possible values include: 'SystemAssigned'.
+ * Set the identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'.
*
* @param type the type value to set
* @return the Identity object itself.
@@ -70,4 +80,24 @@ public Identity withType(ResourceIdentityType type) {
return this;
}
+ /**
+ * Get the list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ *
+ * @return the userAssignedIdentities value
+ */
+ public Map userAssignedIdentities() {
+ return this.userAssignedIdentities;
+ }
+
+ /**
+ * Set the list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ *
+ * @param userAssignedIdentities the userAssignedIdentities value to set
+ * @return the Identity object itself.
+ */
+ public Identity withUserAssignedIdentities(Map userAssignedIdentities) {
+ this.userAssignedIdentities = userAssignedIdentities;
+ return this;
+ }
+
}
diff --git a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ResourceIdentityType.java b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ResourceIdentityType.java
index b83d6b1e2e559..51ac50cd10f90 100644
--- a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ResourceIdentityType.java
+++ b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ResourceIdentityType.java
@@ -16,7 +16,16 @@
*/
public enum ResourceIdentityType {
/** Enum value SystemAssigned. */
- SYSTEM_ASSIGNED("SystemAssigned");
+ SYSTEM_ASSIGNED("SystemAssigned"),
+
+ /** Enum value UserAssigned. */
+ USER_ASSIGNED("UserAssigned"),
+
+ /** Enum value SystemAssigned, UserAssigned. */
+ SYSTEM_ASSIGNED_USER_ASSIGNED("SystemAssigned, UserAssigned"),
+
+ /** Enum value None. */
+ NONE("None");
/** The actual serialized value for a ResourceIdentityType instance. */
private String value;
diff --git a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/UserAssignedResourceIdentity.java b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/UserAssignedResourceIdentity.java
new file mode 100644
index 0000000000000..0b14c994b3a4c
--- /dev/null
+++ b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/UserAssignedResourceIdentity.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.managedapplications.v2019_07_01;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Represents the user assigned identity that is contained within the
+ * UserAssignedIdentities dictionary on ResourceIdentity.
+ */
+public class UserAssignedResourceIdentity {
+ /**
+ * The principal id of user assigned identity.
+ */
+ @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY)
+ private String principalId;
+
+ /**
+ * The tenant id of user assigned identity.
+ */
+ @JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY)
+ private String tenantId;
+
+ /**
+ * Get the principal id of user assigned identity.
+ *
+ * @return the principalId value
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Get the tenant id of user assigned identity.
+ *
+ * @return the tenantId value
+ */
+ public String tenantId() {
+ return this.tenantId;
+ }
+
+}
diff --git a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationDefinitionsImpl.java b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationDefinitionsImpl.java
index 78c6c12974544..82a3461370e05 100644
--- a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationDefinitionsImpl.java
+++ b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationDefinitionsImpl.java
@@ -101,6 +101,18 @@ public ApplicationDefinitionImpl define(String name) {
return wrapModel(name);
}
+ @Override
+ public Observable getByIdAsync(String applicationDefinitionId) {
+ ApplicationDefinitionsInner client = this.inner();
+ return client.getByIdAsync(applicationDefinitionId)
+ .map(new Func1() {
+ @Override
+ public ApplicationDefinition call(ApplicationDefinitionInner inner) {
+ return new ApplicationDefinitionImpl(inner.name(), inner, manager());
+ }
+ });
+ }
+
@Override
public Completable deleteByIdAsync(String applicationDefinitionId) {
ApplicationDefinitionsInner client = this.inner();
diff --git a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationsImpl.java b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationsImpl.java
index ff07a7fe07270..25dc9df999e0e 100644
--- a/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationsImpl.java
+++ b/sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/implementation/ApplicationsImpl.java
@@ -125,6 +125,18 @@ public ApplicationImpl define(String name) {
return wrapModel(name);
}
+ @Override
+ public Observable getByIdAsync(String applicationId) {
+ ApplicationsInner client = this.inner();
+ return client.getByIdAsync(applicationId)
+ .map(new Func1() {
+ @Override
+ public Application call(ApplicationInner inner) {
+ return new ApplicationImpl(inner.name(), inner, manager());
+ }
+ });
+ }
+
@Override
public Completable deleteByIdAsync(String applicationId) {
ApplicationsInner client = this.inner();