Skip to content

Commit cc268fe

Browse files
authored
Removed unused definition of ResourceIdentityWithUserAssignedIdentities (#15027)
* Removed unused definition of ResourceIdentityWithUserAssignedIdentities in servers.json and ManagedInstances.json * Added "SystemAssigned,UserAssigned" identity type
1 parent c45182f commit cc268fe

File tree

6 files changed

+4
-154
lines changed

6 files changed

+4
-154
lines changed

specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/ManagedInstances.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -580,44 +580,6 @@
580580
}
581581
}
582582
},
583-
"ResourceIdentityWithUserAssignedIdentities": {
584-
"description": "Azure Active Directory identity configuration for a resource.",
585-
"type": "object",
586-
"properties": {
587-
"userAssignedIdentities": {
588-
"description": "The resource ids of the user assigned identities to use",
589-
"type": "object",
590-
"additionalProperties": {
591-
"$ref": "#/definitions/UserIdentity"
592-
}
593-
},
594-
"principalId": {
595-
"format": "uuid",
596-
"description": "The Azure Active Directory principal id.",
597-
"type": "string",
598-
"readOnly": true
599-
},
600-
"type": {
601-
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
602-
"enum": [
603-
"None",
604-
"SystemAssigned",
605-
"UserAssigned"
606-
],
607-
"type": "string",
608-
"x-ms-enum": {
609-
"name": "IdentityType",
610-
"modelAsString": true
611-
}
612-
},
613-
"tenantId": {
614-
"format": "uuid",
615-
"description": "The Azure Active Directory tenant id.",
616-
"type": "string",
617-
"readOnly": true
618-
}
619-
}
620-
},
621583
"ManagedInstanceProperties": {
622584
"description": "The properties of a managed instance.",
623585
"type": "object",

specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/Servers.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -431,44 +431,6 @@
431431
}
432432
}
433433
},
434-
"ResourceIdentityWithUserAssignedIdentities": {
435-
"description": "Azure Active Directory identity configuration for a resource.",
436-
"type": "object",
437-
"properties": {
438-
"userAssignedIdentities": {
439-
"description": "The resource ids of the user assigned identities to use",
440-
"type": "object",
441-
"additionalProperties": {
442-
"$ref": "#/definitions/UserIdentity"
443-
}
444-
},
445-
"principalId": {
446-
"format": "uuid",
447-
"description": "The Azure Active Directory principal id.",
448-
"type": "string",
449-
"readOnly": true
450-
},
451-
"type": {
452-
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
453-
"enum": [
454-
"None",
455-
"SystemAssigned",
456-
"UserAssigned"
457-
],
458-
"type": "string",
459-
"x-ms-enum": {
460-
"name": "IdentityType",
461-
"modelAsString": true
462-
}
463-
},
464-
"tenantId": {
465-
"format": "uuid",
466-
"description": "The Azure Active Directory tenant id.",
467-
"type": "string",
468-
"readOnly": true
469-
}
470-
}
471-
},
472434
"ServerProperties": {
473435
"description": "The properties of a server.",
474436
"type": "object",

specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/ManagedInstances.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -580,44 +580,6 @@
580580
}
581581
}
582582
},
583-
"ResourceIdentityWithUserAssignedIdentities": {
584-
"description": "Azure Active Directory identity configuration for a resource.",
585-
"type": "object",
586-
"properties": {
587-
"userAssignedIdentities": {
588-
"description": "The resource ids of the user assigned identities to use",
589-
"type": "object",
590-
"additionalProperties": {
591-
"$ref": "#/definitions/UserIdentity"
592-
}
593-
},
594-
"principalId": {
595-
"format": "uuid",
596-
"description": "The Azure Active Directory principal id.",
597-
"type": "string",
598-
"readOnly": true
599-
},
600-
"type": {
601-
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
602-
"enum": [
603-
"None",
604-
"SystemAssigned",
605-
"UserAssigned"
606-
],
607-
"type": "string",
608-
"x-ms-enum": {
609-
"name": "IdentityType",
610-
"modelAsString": true
611-
}
612-
},
613-
"tenantId": {
614-
"format": "uuid",
615-
"description": "The Azure Active Directory tenant id.",
616-
"type": "string",
617-
"readOnly": true
618-
}
619-
}
620-
},
621583
"ManagedInstanceProperties": {
622584
"description": "The properties of a managed instance.",
623585
"type": "object",

specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/Servers.json

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -431,44 +431,6 @@
431431
}
432432
}
433433
},
434-
"ResourceIdentityWithUserAssignedIdentities": {
435-
"description": "Azure Active Directory identity configuration for a resource.",
436-
"type": "object",
437-
"properties": {
438-
"userAssignedIdentities": {
439-
"description": "The resource ids of the user assigned identities to use",
440-
"type": "object",
441-
"additionalProperties": {
442-
"$ref": "#/definitions/UserIdentity"
443-
}
444-
},
445-
"principalId": {
446-
"format": "uuid",
447-
"description": "The Azure Active Directory principal id.",
448-
"type": "string",
449-
"readOnly": true
450-
},
451-
"type": {
452-
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
453-
"enum": [
454-
"None",
455-
"SystemAssigned",
456-
"UserAssigned"
457-
],
458-
"type": "string",
459-
"x-ms-enum": {
460-
"name": "IdentityType",
461-
"modelAsString": true
462-
}
463-
},
464-
"tenantId": {
465-
"format": "uuid",
466-
"description": "The Azure Active Directory tenant id.",
467-
"type": "string",
468-
"readOnly": true
469-
}
470-
}
471-
},
472434
"ServerProperties": {
473435
"description": "The properties of a server.",
474436
"type": "object",

specification/sql/resource-manager/common/v1/types.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
"enum": [
166166
"None",
167167
"SystemAssigned",
168-
"UserAssigned"
168+
"UserAssigned",
169+
"SystemAssigned,UserAssigned"
169170
],
170171
"type": "string",
171172
"x-ms-enum": {

specification/sql/resource-manager/common/v2/types.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"enum": [
4747
"None",
4848
"SystemAssigned",
49-
"UserAssigned"
49+
"UserAssigned",
50+
"SystemAssigned,UserAssigned"
5051
],
5152
"type": "string",
5253
"x-ms-enum": {

0 commit comments

Comments
 (0)