Skip to content

Commit

Permalink
Removed unused definition of ResourceIdentityWithUserAssignedIdentiti…
Browse files Browse the repository at this point in the history
…es (#15027)

* Removed unused definition of ResourceIdentityWithUserAssignedIdentities in servers.json and ManagedInstances.json

* Added "SystemAssigned,UserAssigned" identity type
  • Loading branch information
alswanso authored Jul 14, 2021
1 parent c45182f commit cc268fe
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,44 +580,6 @@
}
}
},
"ResourceIdentityWithUserAssignedIdentities": {
"description": "Azure Active Directory identity configuration for a resource.",
"type": "object",
"properties": {
"userAssignedIdentities": {
"description": "The resource ids of the user assigned identities to use",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
}
},
"principalId": {
"format": "uuid",
"description": "The Azure Active Directory principal id.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"tenantId": {
"format": "uuid",
"description": "The Azure Active Directory tenant id.",
"type": "string",
"readOnly": true
}
}
},
"ManagedInstanceProperties": {
"description": "The properties of a managed instance.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,44 +431,6 @@
}
}
},
"ResourceIdentityWithUserAssignedIdentities": {
"description": "Azure Active Directory identity configuration for a resource.",
"type": "object",
"properties": {
"userAssignedIdentities": {
"description": "The resource ids of the user assigned identities to use",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
}
},
"principalId": {
"format": "uuid",
"description": "The Azure Active Directory principal id.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"tenantId": {
"format": "uuid",
"description": "The Azure Active Directory tenant id.",
"type": "string",
"readOnly": true
}
}
},
"ServerProperties": {
"description": "The properties of a server.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,44 +580,6 @@
}
}
},
"ResourceIdentityWithUserAssignedIdentities": {
"description": "Azure Active Directory identity configuration for a resource.",
"type": "object",
"properties": {
"userAssignedIdentities": {
"description": "The resource ids of the user assigned identities to use",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
}
},
"principalId": {
"format": "uuid",
"description": "The Azure Active Directory principal id.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"tenantId": {
"format": "uuid",
"description": "The Azure Active Directory tenant id.",
"type": "string",
"readOnly": true
}
}
},
"ManagedInstanceProperties": {
"description": "The properties of a managed instance.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,44 +431,6 @@
}
}
},
"ResourceIdentityWithUserAssignedIdentities": {
"description": "Azure Active Directory identity configuration for a resource.",
"type": "object",
"properties": {
"userAssignedIdentities": {
"description": "The resource ids of the user assigned identities to use",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
}
},
"principalId": {
"format": "uuid",
"description": "The Azure Active Directory principal id.",
"type": "string",
"readOnly": true
},
"type": {
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.",
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
],
"type": "string",
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
},
"tenantId": {
"format": "uuid",
"description": "The Azure Active Directory tenant id.",
"type": "string",
"readOnly": true
}
}
},
"ServerProperties": {
"description": "The properties of a server.",
"type": "object",
Expand Down
3 changes: 2 additions & 1 deletion specification/sql/resource-manager/common/v1/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
"UserAssigned",
"SystemAssigned,UserAssigned"
],
"type": "string",
"x-ms-enum": {
Expand Down
3 changes: 2 additions & 1 deletion specification/sql/resource-manager/common/v2/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"enum": [
"None",
"SystemAssigned",
"UserAssigned"
"UserAssigned",
"SystemAssigned,UserAssigned"
],
"type": "string",
"x-ms-enum": {
Expand Down

0 comments on commit cc268fe

Please sign in to comment.