You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/DatabaseAccountGetResults.java
Copy file name to clipboardExpand all lines: sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/DatabaseAccountUpdateParameters.java
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,12 @@ public class DatabaseAccountUpdateParameters {
145
145
@JsonProperty(value = "properties.cors")
146
146
privateList<CorsPolicy> cors;
147
147
148
+
/**
149
+
* The identity property.
150
+
*/
151
+
@JsonProperty(value = "identity")
152
+
privateManagedServiceIdentityidentity;
153
+
148
154
/**
149
155
* Get the tags value.
150
156
*
@@ -545,4 +551,24 @@ public DatabaseAccountUpdateParameters withCors(List<CorsPolicy> cors) {
545
551
returnthis;
546
552
}
547
553
554
+
/**
555
+
* Get the identity value.
556
+
*
557
+
* @return the identity value
558
+
*/
559
+
publicManagedServiceIdentityidentity() {
560
+
returnthis.identity;
561
+
}
562
+
563
+
/**
564
+
* Set the identity value.
565
+
*
566
+
* @param identity the identity value to set
567
+
* @return the DatabaseAccountUpdateParameters object itself.
Copy file name to clipboardExpand all lines: sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/ManagedServiceIdentity.java
* Get the principal id of the system assigned identity. This property will only be provided for a system assigned identity.
43
52
*
@@ -57,7 +66,7 @@ public String tenantId() {
57
66
}
58
67
59
68
/**
60
-
* Get the type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'.
69
+
* Get the type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'.
61
70
*
62
71
* @return the type value
63
72
*/
@@ -66,7 +75,7 @@ public ResourceIdentityType type() {
66
75
}
67
76
68
77
/**
69
-
* Set the type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'.
78
+
* Set the type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'.
70
79
*
71
80
* @param type the type value to set
72
81
* @return the ManagedServiceIdentity object itself.
@@ -76,4 +85,24 @@ public ManagedServiceIdentity withType(ResourceIdentityType type) {
76
85
returnthis;
77
86
}
78
87
88
+
/**
89
+
* Get the list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
* Set the list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
99
+
*
100
+
* @param userAssignedIdentities the userAssignedIdentities value to set
101
+
* @return the ManagedServiceIdentity object itself.
Copy file name to clipboardExpand all lines: sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/ResourceIdentityType.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ public enum ResourceIdentityType {
Copy file name to clipboardExpand all lines: sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/implementation/DatabaseAccountGetResultsImpl.java
0 commit comments