Skip to content

Commit 9b54876

Browse files
sharma224Ayush
andauthored
User (#12928)
* Updating identity and encryption properties for user identity * Minor correction * Camel case * prettier check * update params * merge master 2 * merge master 3 * merge master 4 Co-authored-by: Ayush <aysharm@microsoft.com>
1 parent 38e0419 commit 9b54876

File tree

1 file changed

+39
-0
lines changed
  • specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview

1 file changed

+39
-0
lines changed

specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/account.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,10 @@
796796
"$ref": "#/definitions/Sku",
797797
"description": "Gets or sets account SKU."
798798
},
799+
"encryption": {
800+
"$ref": "#/definitions/EncryptionProperties",
801+
"description": "Set the encryption properties for the automation account"
802+
},
799803
"publicNetworkAccess": {
800804
"type": "boolean",
801805
"description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet"
@@ -818,6 +822,11 @@
818822
"type": "string",
819823
"description": "Gets or sets the location of the resource."
820824
},
825+
"identity": {
826+
"type": "object",
827+
"$ref": "#/definitions/Identity",
828+
"description": "Sets the identity property for automation account"
829+
},
821830
"tags": {
822831
"type": "object",
823832
"additionalProperties": {
@@ -846,12 +855,33 @@
846855
"description": "The identity type.",
847856
"enum": [
848857
"SystemAssigned",
858+
"UserAssigned",
859+
"SystemAssigned, UserAssigned",
849860
"None"
850861
],
851862
"x-ms-enum": {
852863
"name": "ResourceIdentityType",
853864
"modelAsString": false
854865
}
866+
},
867+
"userAssignedIdentities": {
868+
"type": "object",
869+
"description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
870+
"additionalProperties": {
871+
"type": "object",
872+
"properties": {
873+
"principalId": {
874+
"readOnly": true,
875+
"type": "string",
876+
"description": "The principal id of user assigned identity."
877+
},
878+
"clientId": {
879+
"readOnly": true,
880+
"type": "string",
881+
"description": "The client id of user assigned identity."
882+
}
883+
}
884+
}
855885
}
856886
}
857887
},
@@ -873,6 +903,15 @@
873903
"name": "EncryptionKeySourceType",
874904
"modelAsString": false
875905
}
906+
},
907+
"identity": {
908+
"description": "User identity used for CMK.",
909+
"properties": {
910+
"userAssignedIdentity": {
911+
"type": "object",
912+
"description": "The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
913+
}
914+
}
876915
}
877916
}
878917
},

0 commit comments

Comments
 (0)