Skip to content

Commit

Permalink
Mark serviceProvisioningErrors and verifiedPublisher as readonly (#209)
Browse files Browse the repository at this point in the history
* Mark serviceProvisioningErrors as readonly

* Mark verifiedPublisher as readonly
  • Loading branch information
jason-dou authored Jan 20, 2025
1 parent 6d3a23e commit b268306
Show file tree
Hide file tree
Showing 14 changed files with 2,208 additions and 2,183 deletions.
3 changes: 2 additions & 1 deletion docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ This document describes the steps to setup development tools and run Bicep types

### Pre-requisites

1. NPM version 22.0 or later
1. NPM version 11.0 or later
1. Node version 22.0 or later

### Initial Setup

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"type": {
"$ref": "#/14"
},
"flags": 0,
"flags": 2,
"description": "Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object."
},
"theme": {
Expand Down Expand Up @@ -734,7 +734,7 @@
"type": {
"$ref": "#/66"
},
"flags": 0,
"flags": 2,
"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."
},
"web": {
Expand Down Expand Up @@ -1961,7 +1961,7 @@
"type": {
"$ref": "#/66"
},
"flags": 0,
"flags": 2,
"description": "Specifies the verified publisher of the application that's linked to this service principal."
},
"deletedDateTime": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* **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.
* **type**: 'Microsoft.Graph/applications' (ReadOnly, DeployTimeConstant): The resource type
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to an application and used as an alternate key. Immutable
* **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.
* **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.
* **web**: [MicrosoftGraphWebApplication](#microsoftgraphwebapplication): Specifies settings for a web application.
* **windows**: [MicrosoftGraphWindowsApplication](#microsoftgraphwindowsapplication): Specifies settings for apps running Microsoft Windows and published in the Microsoft Store or Xbox games store.

Expand Down Expand Up @@ -111,7 +111,7 @@
* **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
* **securityEnabled**: bool (Required): Specifies whether the group is a security group
* **securityIdentifier**: string (ReadOnly): Security identifier of the group, used in Windows scenarios. Read-only
* **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.
* **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.
* **theme**: string: Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red
* **type**: 'Microsoft.Graph/groups' (ReadOnly, DeployTimeConstant): The resource type
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to a group and used as an alternate key. Immutable
Expand Down Expand Up @@ -171,7 +171,7 @@
* **tags**: string[]: Custom strings that can be used to categorize and identify the service principal. Not nullable
* **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.
* **type**: 'Microsoft.Graph/servicePrincipals' (ReadOnly, DeployTimeConstant): The resource type
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application that's linked to this service principal.
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application that's linked to this service principal.

## Resource Microsoft.Graph/users@beta (ReadOnly)
* **Valid Scope(s)**: Unknown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
"type": {
"$ref": "#/10"
},
"flags": 0,
"flags": 2,
"description": "Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object"
},
"theme": {
Expand Down Expand Up @@ -650,7 +650,7 @@
"type": {
"$ref": "#/64"
},
"flags": 0,
"flags": 2,
"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."
},
"web": {
Expand Down Expand Up @@ -1860,7 +1860,7 @@
"type": {
"$ref": "#/64"
},
"flags": 0,
"flags": 2,
"description": "Specifies the verified publisher of the application that's linked to this service principal."
},
"deletedDateTime": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* **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.
* **type**: 'Microsoft.Graph/applications' (ReadOnly, DeployTimeConstant): The resource type
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to an application and used as an alternate key. Immutable
* **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.
* **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.
* **web**: [MicrosoftGraphWebApplication](#microsoftgraphwebapplication): Specifies settings for a web application.

## Resource Microsoft.Graph/applications/[email protected]
Expand Down Expand Up @@ -106,7 +106,7 @@
* **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.
* **securityEnabled**: bool (Required): Specifies whether the group is a security group. Required
* **securityIdentifier**: string (ReadOnly): Security identifier of the group, used in Windows scenarios. Read-only
* **serviceProvisioningErrors**: [MicrosoftGraphServiceProvisioningError](#microsoftgraphserviceprovisioningerror)[]: Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a group object
* **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
* **theme**: string: Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange, or Red
* **type**: 'Microsoft.Graph/groups' (ReadOnly, DeployTimeConstant): The resource type
* **uniqueName**: string (Required, DeployTimeConstant, Identifier): The unique identifier that can be assigned to a group and used as an alternate key. Immutable
Expand Down Expand Up @@ -164,7 +164,7 @@
* **tags**: string[]: Custom strings that can be used to categorize and identify the service principal. Not nullable
* **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.
* **type**: 'Microsoft.Graph/servicePrincipals' (ReadOnly, DeployTimeConstant): The resource type
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher): Specifies the verified publisher of the application that's linked to this service principal.
* **verifiedPublisher**: [MicrosoftGraphVerifiedPublisher](#microsoftgraphverifiedpublisher) (ReadOnly): Specifies the verified publisher of the application that's linked to this service principal.

## Resource Microsoft.Graph/[email protected] (ReadOnly)
* **Valid Scope(s)**: Unknown
Expand Down
18 changes: 10 additions & 8 deletions src/autorest.bicep/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b268306

Please sign in to comment.