Skip to content

Commit

Permalink
Remove uuid type
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoodyear committed Mar 8, 2025
1 parent 0a6d0f1 commit 0fdf2b4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA",
"resourceGroupName": "rgopenapi",
"approvalName": "TestApprovals",
"resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection",
"resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection",
"body": {
"approvalStatus": "Approved"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ model RequestMetadata {
@doc("Approver Metadata for approvals request.")
model Approver {
@doc("EntraId of the approver")
approverEntraId: uuid;
approverEntraId: string;

@doc("Action Performed by approver")
actionPerformed: ActionPerformed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.Mission;
@doc("Principal for maintenance mode or role assignments")
model Principal {
@doc("The object id associated with the principal")
id: uuid;
id: string;

@doc("The type of the object id. We currently allow users, groups, and service principals")
type: "User" | "Group" | "ServicePrincipal" | string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Microsoft.Mission;
@doc("Role assignment item that indicates which principals should be assigned this role definition")
model RoleAssignmentItem {
@doc("Role definition identifier")
id: uuid;
id: string;

@doc("List of principal IDs to which to assign this role definition")
principals?: Principal[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4455,11 +4455,6 @@
"type": "string",
"description": "Represents an Azure geography region where supported resource providers live."
},
"Azure.Core.uuid": {
"type": "string",
"format": "uuid",
"description": "Universally Unique Identifier"
},
"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": {
"type": "object",
"description": "Managed service identity (system assigned and/or user assigned identities)",
Expand Down Expand Up @@ -6030,7 +6025,7 @@
"description": "Principal for maintenance mode or role assignments",
"properties": {
"id": {
"$ref": "#/definitions/Azure.Core.uuid",
"type": "string",
"description": "The object id associated with the principal"
},
"type": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA",
"resourceGroupName": "rgopenapi",
"approvalName": "TestApprovals",
"resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection",
"resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection",
"body": {
"approvalStatus": "Approved"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5098,7 +5098,7 @@
"description": "Approver Metadata for approvals request.",
"properties": {
"approverEntraId": {
"$ref": "#/definitions/Azure.Core.uuid",
"type": "string",
"description": "EntraId of the approver"
},
"actionPerformed": {
Expand Down Expand Up @@ -6716,7 +6716,7 @@
"description": "Principal for maintenance mode or role assignments",
"properties": {
"id": {
"$ref": "#/definitions/Azure.Core.uuid",
"type": "string",
"description": "The object id associated with the principal"
},
"type": {
Expand Down Expand Up @@ -6874,7 +6874,7 @@
"description": "Role assignment item that indicates which principals should be assigned this role definition",
"properties": {
"id": {
"$ref": "#/definitions/Azure.Core.uuid",
"type": "string",
"description": "Role definition identifier"
},
"principals": {
Expand Down

0 comments on commit 0fdf2b4

Please sign in to comment.