Skip to content

Commit b268306

Browse files
authored
Mark serviceProvisioningErrors and verifiedPublisher as readonly (#209)
* Mark serviceProvisioningErrors as readonly * Mark verifiedPublisher as readonly
1 parent 6d3a23e commit b268306

File tree

14 files changed

+2208
-2183
lines changed

14 files changed

+2208
-2183
lines changed

docs/DEVELOPMENT.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ This document describes the steps to setup development tools and run Bicep types
1515

1616
### Pre-requisites
1717

18-
1. NPM version 22.0 or later
18+
1. NPM version 11.0 or later
19+
1. Node version 22.0 or later
1920

2021
### Initial Setup
2122

generated/microsoftgraph/microsoft.graph/beta/0.1.9-preview/types.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
"type": {
256256
"$ref": "#/14"
257257
},
258-
"flags": 0,
258+
"flags": 2,
259259
"description": "Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object."
260260
},
261261
"theme": {
@@ -734,7 +734,7 @@
734734
"type": {
735735
"$ref": "#/66"
736736
},
737-
"flags": 0,
737+
"flags": 2,
738738
"description": "Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification."
739739
},
740740
"web": {
@@ -1961,7 +1961,7 @@
19611961
"type": {
19621962
"$ref": "#/66"
19631963
},
1964-
"flags": 0,
1964+
"flags": 2,
19651965
"description": "Specifies the verified publisher of the application that's linked to this service principal."
19661966
},
19671967
"deletedDateTime": {

generated/microsoftgraph/microsoft.graph/beta/0.1.9-preview/types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* **tokenEncryptionKeyId**: string {minLength: 36, maxLength: 36, pattern: "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"}: Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
4242
* **type**: 'Microsoft.Graph/applications' (ReadOnly, DeployTimeConstant): The resource type
4343
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to an application and used as an alternate key. Immutable
44-
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
44+
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
4545
* **web**: [MicrosoftGraphWebApplication](#microsoftgraphwebapplication): Specifies settings for a web application.
4646
* **windows**: [MicrosoftGraphWindowsApplication](#microsoftgraphwindowsapplication): Specifies settings for apps running Microsoft Windows and published in the Microsoft Store or Xbox games store.
4747

@@ -111,7 +111,7 @@
111111
* **resourceProvisioningOptions**: string[]: Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options
112112
* **securityEnabled**: bool (Required): Specifies whether the group is a security group
113113
* **securityIdentifier**: string (ReadOnly): Security identifier of the group, used in Windows scenarios. Read-only
114-
* **serviceProvisioningErrors**: [MicrosoftGraphServiceProvisioningError](#microsoftgraphserviceprovisioningerror)[]: Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object.
114+
* **serviceProvisioningErrors**: [MicrosoftGraphServiceProvisioningError](#microsoftgraphserviceprovisioningerror)[] (ReadOnly): Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object.
115115
* **theme**: string: Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red
116116
* **type**: 'Microsoft.Graph/groups' (ReadOnly, DeployTimeConstant): The resource type
117117
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to a group and used as an alternate key. Immutable
@@ -171,7 +171,7 @@
171171
* **tags**: string[]: Custom strings that can be used to categorize and identify the service principal. Not nullable
172172
* **tokenEncryptionKeyId**: string {minLength: 36, maxLength: 36, pattern: "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"}: Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
173173
* **type**: 'Microsoft.Graph/servicePrincipals' (ReadOnly, DeployTimeConstant): The resource type
174-
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application that's linked to this service principal.
174+
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application that's linked to this service principal.
175175

176176
## Resource Microsoft.Graph/users@beta (ReadOnly)
177177
* **Valid Scope(s)**: Unknown

generated/microsoftgraph/microsoft.graph/v1.0/0.1.9-preview/types.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
"type": {
214214
"$ref": "#/10"
215215
},
216-
"flags": 0,
216+
"flags": 2,
217217
"description": "Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object"
218218
},
219219
"theme": {
@@ -650,7 +650,7 @@
650650
"type": {
651651
"$ref": "#/64"
652652
},
653-
"flags": 0,
653+
"flags": 2,
654654
"description": "Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification."
655655
},
656656
"web": {
@@ -1860,7 +1860,7 @@
18601860
"type": {
18611861
"$ref": "#/64"
18621862
},
1863-
"flags": 0,
1863+
"flags": 2,
18641864
"description": "Specifies the verified publisher of the application that's linked to this service principal."
18651865
},
18661866
"deletedDateTime": {

generated/microsoftgraph/microsoft.graph/v1.0/0.1.9-preview/types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* **tokenEncryptionKeyId**: string {minLength: 36, maxLength: 36, pattern: "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"}: Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
4343
* **type**: 'Microsoft.Graph/applications' (ReadOnly, DeployTimeConstant): The resource type
4444
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to an application and used as an alternate key. Immutable
45-
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
45+
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
4646
* **web**: [MicrosoftGraphWebApplication](#microsoftgraphwebapplication): Specifies settings for a web application.
4747

4848
## Resource Microsoft.Graph/applications/federatedIdentityCredentials@v1.0
@@ -106,7 +106,7 @@
106106
* **renewedDateTime**: string (ReadOnly): Timestamp of when the group was last renewed. This value can't be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
107107
* **securityEnabled**: bool (Required): Specifies whether the group is a security group. Required
108108
* **securityIdentifier**: string (ReadOnly): Security identifier of the group, used in Windows scenarios. Read-only
109-
* **serviceProvisioningErrors**: [MicrosoftGraphServiceProvisioningError](#microsoftgraphserviceprovisioningerror)[]: Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object
109+
* **serviceProvisioningErrors**: [MicrosoftGraphServiceProvisioningError](#microsoftgraphserviceprovisioningerror)[] (ReadOnly): Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object
110110
* **theme**: string: Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange, or Red
111111
* **type**: 'Microsoft.Graph/groups' (ReadOnly, DeployTimeConstant): The resource type
112112
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to a group and used as an alternate key. Immutable
@@ -164,7 +164,7 @@
164164
* **tags**: string[]: Custom strings that can be used to categorize and identify the service principal. Not nullable
165165
* **tokenEncryptionKeyId**: string {minLength: 36, maxLength: 36, pattern: "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"}: Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
166166
* **type**: 'Microsoft.Graph/servicePrincipals' (ReadOnly, DeployTimeConstant): The resource type
167-
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application that's linked to this service principal.
167+
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application that's linked to this service principal.
168168

169169
## Resource Microsoft.Graph/users@v1.0 (ReadOnly)
170170
* **Valid Scope(s)**: Unknown

src/autorest.bicep/package-lock.json

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)