Skip to content

Commit

Permalink
Mark local admin status on devbox as readonly (this is a spec update …
Browse files Browse the repository at this point in the history
…to match service behavior) (#31923)

Co-authored-by: Sneha Nagendra <[email protected]>
  • Loading branch information
snehanagendra and snnagen authored Dec 23, 2024
1 parent 12492ed commit dfd52d5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 25 deletions.
2 changes: 1 addition & 1 deletion specification/devcenter/DevCenter/DevBox/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ model DevBox {
lastConnectedTime?: utcDateTime;

@doc("Indicates whether the owner of the Dev Box is a local administrator.")
@visibility("read", "create")
@visibility("read")
localAdministrator?: LocalAdminStatus;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4161,10 +4161,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4212,10 +4212,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4437,10 +4437,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4517,10 +4517,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2181,10 +2181,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3062,10 +3062,7 @@
"localAdministrator": {
"$ref": "#/definitions/LocalAdminStatus",
"description": "Indicates whether the owner of the Dev Box is a local administrator.",
"x-ms-mutability": [
"read",
"create"
]
"readOnly": true
}
},
"required": [
Expand Down

0 comments on commit dfd52d5

Please sign in to comment.