Skip to content

Commit 2ceb4ef

Browse files
authored
Update types for 0.1.8-preview release (#176)
1 parent ae7a1fc commit 2ceb4ef

File tree

11 files changed

+34
-19
lines changed

11 files changed

+34
-19
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"$ref": "#/16"
292292
},
293293
"flags": 0,
294-
"description": "The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner"
294+
"description": "The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue"
295295
},
296296
"deletedDateTime": {
297297
"type": {
@@ -2006,14 +2006,14 @@
20062006
"$ref": "#/0"
20072007
},
20082008
"flags": 0,
2009-
"description": "Key."
2009+
"description": "Contains the name of the field that a value is associated with."
20102010
},
20112011
"value": {
20122012
"type": {
20132013
"$ref": "#/0"
20142014
},
20152015
"flags": 0,
2016-
"description": "Value."
2016+
"description": "Contains the corresponding value for the specified key."
20172017
}
20182018
}
20192019
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
* **onPremisesSecurityIdentifier**: string (ReadOnly): Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only
102102
* **onPremisesSyncEnabled**: bool (ReadOnly): true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only
103103
* **organizationId**: string
104-
* **owners**: string[]: The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner
104+
* **owners**: string[]: The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue
105105
* **preferredDataLocation**: string: The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned at least one of the following Microsoft Entra roles: User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable
106106
* **preferredLanguage**: string: The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US
107107
* **proxyAddresses**: string[] (ReadOnly): Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Read-only. Not nullable
@@ -241,8 +241,8 @@
241241

242242
## MicrosoftGraphKeyValue
243243
### Properties
244-
* **key**: string: Key.
245-
* **value**: string: Value.
244+
* **key**: string: Contains the name of the field that a value is associated with.
245+
* **value**: string: Contains the corresponding value for the specified key.
246246

247247
## MicrosoftGraphOnPremisesProvisioningError
248248
### Properties

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@
7777
"flags": 0,
7878
"description": "Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can't be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license"
7979
},
80+
"isManagementRestricted": {
81+
"type": {
82+
"$ref": "#/5"
83+
},
84+
"flags": 0
85+
},
8086
"mail": {
8187
"type": {
8288
"$ref": "#/0"
@@ -243,7 +249,7 @@
243249
"$ref": "#/12"
244250
},
245251
"flags": 0,
246-
"description": "The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner"
252+
"description": "The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue"
247253
},
248254
"deletedDateTime": {
249255
"type": {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
* **groupTypes**: string[]: Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or a distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static
8686
* **id**: string (ReadOnly): The unique identifier for an entity. Read-only.
8787
* **isAssignableToRole**: bool: Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can't be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license
88+
* **isManagementRestricted**: bool
8889
* **mail**: string (ReadOnly): The SMTP address for the group, for example, 'serviceadmins@contoso.com'. Read-only
8990
* **mailEnabled**: bool (Required): Specifies whether the group is mail-enabled. Required
9091
* **mailNickname**: string (Required): The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following characters: @ () / [] ' ; : <> , SPACE. Required
@@ -98,7 +99,7 @@
9899
* **onPremisesSamAccountName**: string (ReadOnly): Contains the on-premises SAM account name synchronized from the on-premises directory. Read-only.
99100
* **onPremisesSecurityIdentifier**: string (ReadOnly): Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Read-only
100101
* **onPremisesSyncEnabled**: bool (ReadOnly): true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never synced from an on-premises directory (default). Read-only
101-
* **owners**: string[]: The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner
102+
* **owners**: string[]: The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue
102103
* **preferredDataLocation**: string: The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned at least one of the following Microsoft Entra roles: User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable
103104
* **preferredLanguage**: string: The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US
104105
* **proxyAddresses**: string[] (ReadOnly): Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required to filter expressions on multi-valued properties. Read-only. Not nullable

msgraph-metadata

src/Microsoft.Graph.Bicep.Types/Microsoft.Graph.Bicep.Types.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<DelaySign>true</DelaySign>
1515
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
1616
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
17-
<VersionPrefix>0.1.7</VersionPrefix>
17+
<VersionPrefix>0.1.8</VersionPrefix>
1818
<VersionSuffix>preview</VersionSuffix>
1919
</PropertyGroup>
2020
<ItemGroup>

src/generator/src/cmd/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ executeSynchronous(async () => {
7676
try {
7777
// autorest readme.bicep.md files are not checked in, so we must generate them before invoking autorest
7878
await generateAutorestConfig(logger, readmePath, bicepReadmePath, apiVersion, extensionConfig[apiVersion].version);
79-
await generateSchema(logger, readmePath, tmpOutputDir, logLevel, waitForDebugger);
79+
await generateSchema(logger, bicepReadmePath, tmpOutputDir, logLevel, waitForDebugger);
8080

8181
// remove all previously-generated files and copy over results
8282
await rm(outputApiVersionDir, { recursive: true, force: true, });

src/swagger-generation/output/microsoftgraph-beta-0.1.8-preview.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"items": {
220220
"type": "string"
221221
},
222-
"description": "The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner"
222+
"description": "The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue"
223223
}
224224
},
225225
"required": [
@@ -1400,11 +1400,11 @@
14001400
"properties": {
14011401
"key": {
14021402
"type": "string",
1403-
"description": "Key."
1403+
"description": "Contains the name of the field that a value is associated with."
14041404
},
14051405
"value": {
14061406
"type": "string",
1407-
"description": "Value."
1407+
"description": "Contains the corresponding value for the specified key."
14081408
}
14091409
}
14101410
},

src/swagger-generation/output/microsoftgraph-v1.0-0.1.8-preview.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
"type": "boolean",
5858
"description": "Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group can't be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license"
5959
},
60+
"isManagementRestricted": {
61+
"type": "boolean",
62+
"description": ""
63+
},
6064
"mail": {
6165
"type": "string",
6266
"description": "The SMTP address for the group, for example, 'serviceadmins@contoso.com'. Read-only",
@@ -180,7 +184,7 @@
180184
"items": {
181185
"type": "string"
182186
},
183-
"description": "The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner"
187+
"description": "The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue"
184188
}
185189
},
186190
"required": [

swagger/specification/microsoftgraph/resource-manager/microsoftgraph/preview/beta/0.1.8-preview.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"items": {
220220
"type": "string"
221221
},
222-
"description": "The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner"
222+
"description": "The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue"
223223
}
224224
},
225225
"required": [
@@ -1400,11 +1400,11 @@
14001400
"properties": {
14011401
"key": {
14021402
"type": "string",
1403-
"description": "Key."
1403+
"description": "Contains the name of the field that a value is associated with."
14041404
},
14051405
"value": {
14061406
"type": "string",
1407-
"description": "Value."
1407+
"description": "Contains the corresponding value for the specified key."
14081408
}
14091409
}
14101410
},

0 commit comments

Comments
 (0)