@microsoft/typespec-msgraph-reference 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,9 @@ namespace reference.`microsoft.graph` {
18
18
  @complex model allAllowedScopes extends inheritableScopes {
19
19
  }
20
20
 
21
+ @complex model allDeviceRegistrationMembership extends deviceRegistrationMembership {
22
+ }
23
+
21
24
  @complex model allDomains extends validatingDomains {
22
25
  }
23
26
 
@@ -69,7 +72,7 @@ namespace reference.`microsoft.graph` {
69
72
  }
70
73
 
71
74
  @complex model appManagementPolicyActorExemptions {
72
- @contains customSecurityAttributes: customSecurityAttributeExemption[];
75
+ customSecurityAttributes: customSecurityAttributeExemption[] | null;
73
76
  }
74
77
 
75
78
  @complex model appManagementServicePrincipalConfiguration extends appManagementConfiguration {
@@ -121,6 +124,17 @@ namespace reference.`microsoft.graph` {
121
124
  certificateUserIds: string[] | null;
122
125
  }
123
126
 
127
+ @complex model azureADJoinPolicy {
128
+ allowedToJoin: deviceRegistrationMembership | null;
129
+ isAdminConfigurable: boolean | null;
130
+ localAdmins: localAdminSettings | null;
131
+ }
132
+
133
+ @complex model azureADRegistrationPolicy {
134
+ allowedToRegister: deviceRegistrationMembership | null;
135
+ isAdminConfigurable: boolean | null;
136
+ }
137
+
124
138
  @complex model certificateAuthority {
125
139
  certificate: binary;
126
140
  certificateRevocationListUrl: string | null;
@@ -185,6 +199,16 @@ namespace reference.`microsoft.graph` {
185
199
  applicationRestrictions: customAppManagementApplicationConfiguration | null;
186
200
  }
187
201
 
202
+ @abstract
203
+ @complex model customSecurityAttributeExemption {
204
+ id: string;
205
+ operator: customSecurityAttributeComparisonOperator;
206
+ }
207
+
208
+ @complex model customSecurityAttributeStringValueExemption extends customSecurityAttributeExemption {
209
+ value: string | null;
210
+ }
211
+
188
212
  @open
189
213
  @complex model customSecurityAttributeValue {
190
214
  }
@@ -206,6 +230,16 @@ namespace reference.`microsoft.graph` {
206
230
  keyType: string | null;
207
231
  }
208
232
 
233
+ @complex model deviceLocalCredential {
234
+ accountName: string;
235
+ accountSid: string;
236
+ backupDateTime: offsetDateTime;
237
+ passwordBase64: string;
238
+ }
239
+
240
+ @complex model deviceRegistrationMembership {
241
+ }
242
+
209
243
  @open
210
244
  @complex model Dictionary {
211
245
  }
@@ -226,6 +260,11 @@ namespace reference.`microsoft.graph` {
226
260
  division: string | null;
227
261
  }
228
262
 
263
+ @complex model enumeratedDeviceRegistrationMembership extends deviceRegistrationMembership {
264
+ groups: string[] | null;
265
+ users: string[] | null;
266
+ }
267
+
229
268
  @complex model enumeratedDomains extends validatingDomains {
230
269
  domainNames: string[];
231
270
  }
@@ -243,6 +282,19 @@ namespace reference.`microsoft.graph` {
243
282
  sensitivityLabels: string[] | null;
244
283
  }
245
284
 
285
+ @complex model evaluateDynamicMembershipResult {
286
+ membershipRule: string | null;
287
+ membershipRuleEvaluationDetails: expressionEvaluationDetails | null;
288
+ membershipRuleEvaluationResult: boolean;
289
+ }
290
+
291
+ @complex model expressionEvaluationDetails {
292
+ expression: string | null;
293
+ expressionEvaluationDetails: expressionEvaluationDetails[] | null;
294
+ expressionResult: boolean;
295
+ propertyToEvaluate: propertyToEvaluate | null;
296
+ }
297
+
246
298
  @complex model extensionSchemaProperty {
247
299
  name: string | null;
248
300
  type: string | null;
@@ -259,6 +311,7 @@ namespace reference.`microsoft.graph` {
259
311
 
260
312
  @complex model identifierUriConfiguration {
261
313
  nonDefaultUriAddition: identifierUriRestriction | null;
314
+ uriAdditionWithoutUniqueTenantIdentifier: identifierUriRestriction | null;
262
315
  }
263
316
 
264
317
  @complex model identifierUriRestriction {
@@ -320,6 +373,7 @@ namespace reference.`microsoft.graph` {
320
373
  usage: string | null;
321
374
  }
322
375
 
376
+
323
377
  @complex model keyValue {
324
378
  key: string | null;
325
379
  value: string | null;
@@ -344,6 +398,15 @@ namespace reference.`microsoft.graph` {
344
398
  warning: int32 | null;
345
399
  }
346
400
 
401
+ @complex model localAdminPasswordSettings {
402
+ isEnabled: boolean | null;
403
+ }
404
+
405
+ @complex model localAdminSettings {
406
+ enableGlobalAdmins: boolean | null;
407
+ registeringUsers: deviceRegistrationMembership | null;
408
+ }
409
+
347
410
  @complex model loginPageBrandingVisualElement {
348
411
  customText: string | null;
349
412
  customUrl: string | null;
@@ -365,6 +428,19 @@ namespace reference.`microsoft.graph` {
365
428
  hideTermsOfUse: boolean | null;
366
429
  }
367
430
 
431
+ @complex model membershipRuleEvaluationDetails {
432
+ membershipRuleEvaluationDetails: expressionEvaluationDetails | null;
433
+ }
434
+
435
+ @complex model membershipRuleProcessingStatus {
436
+ errorMessage: string | null;
437
+ lastMembershipUpdated: offsetDateTime | null;
438
+ status: MembershipRuleProcessingStatusDetails | null;
439
+ }
440
+
441
+ @complex model noDeviceRegistrationMembership extends deviceRegistrationMembership {
442
+ }
443
+
368
444
  @complex model noScopes extends inheritableScopes {
369
445
  }
370
446
 
@@ -458,6 +534,7 @@ namespace reference.`microsoft.graph` {
458
534
  startDateTime: offsetDateTime | null;
459
535
  }
460
536
 
537
+
461
538
  @complex model passwordProfile {
462
539
  forceChangePasswordNextSignIn: boolean | null;
463
540
  forceChangePasswordNextSignInWithMfa: boolean | null;
@@ -476,6 +553,11 @@ namespace reference.`microsoft.graph` {
476
553
  value: string | null;
477
554
  }
478
555
 
556
+ @complex model perTenantTrafficSegmentsOverride {
557
+ percentage: int32;
558
+ tenantId: guid;
559
+ }
560
+
479
561
  @complex model phone {
480
562
  number: string | null;
481
563
  type: phoneType | null;
@@ -512,6 +594,11 @@ namespace reference.`microsoft.graph` {
512
594
  statementUrl: string | null;
513
595
  }
514
596
 
597
+ @complex model propertyToEvaluate {
598
+ propertyName: string | null;
599
+ propertyValue: string | null;
600
+ }
601
+
515
602
  @complex model provisionedPlan {
516
603
  capabilityStatus: string | null;
517
604
  provisioningStatus: string | null;
@@ -738,9 +825,11 @@ namespace reference.`microsoft.graph` {
738
825
  identifierUris: string[];
739
826
  info: informationalUrl | null;
740
827
  isDeviceOnlyAuthSupported: boolean | null;
828
+ isDisabled: boolean | null;
741
829
  isFallbackPublicClient: boolean | null;
742
830
  keyCredentials: keyCredential[];
743
831
  logo: stream;
832
+ managerApplications: guid;
744
833
  notes: string | null;
745
834
  optionalClaims: optionalClaims | null;
746
835
  parentalControlSettings: parentalControlSettings | null;
@@ -784,6 +873,10 @@ namespace reference.`microsoft.graph` {
784
873
  resourceId: guid | null;
785
874
  }
786
875
 
876
+ @entity model approvedClientApp extends entity {
877
+ displayName: string | null;
878
+ }
879
+
787
880
  @entity model appScope extends entity {
788
881
  displayName: string | null;
789
882
  type: string | null;
@@ -813,6 +906,17 @@ namespace reference.`microsoft.graph` {
813
906
  permissionGrantPolicyIdsAssignedToDefaultUserRole: string[] | null;
814
907
  }
815
908
 
909
+ @entity model bitlocker extends entity {
910
+ @contains recoveryKeys: bitlockerRecoveryKey[];
911
+ }
912
+
913
+ @entity model bitlockerRecoveryKey extends entity {
914
+ @computed createdDateTime: offsetDateTime;
915
+ deviceId: string | null;
916
+ key: string;
917
+ volumeType: volumeType | null;
918
+ }
919
+
816
920
  @entity model certificateAuthorityAsEntity extends entity {
817
921
  certificate: binary;
818
922
  isRootAuthority: boolean;
@@ -932,15 +1036,6 @@ namespace reference.`microsoft.graph` {
932
1036
  @contains allowedValues: allowedValue[];
933
1037
  }
934
1038
 
935
- @abstract
936
- @entity model customSecurityAttributeExemption extends entity {
937
- operator: customSecurityAttributeComparisonOperator | null;
938
- }
939
-
940
- @entity model customSecurityAttributeStringValueExemption extends customSecurityAttributeExemption {
941
- value: string | null;
942
- }
943
-
944
1039
  @entity model delegatedPermissionClassification extends entity {
945
1040
  classification: permissionClassificationType | null;
946
1041
  permissionId: string | null;
@@ -988,12 +1083,30 @@ namespace reference.`microsoft.graph` {
988
1083
  @references transitiveMemberOf: directoryObject[];
989
1084
  }
990
1085
 
1086
+ @entity model deviceLocalCredentialInfo extends entity {
1087
+ credentials: deviceLocalCredential[];
1088
+ deviceName: string;
1089
+ @computed lastBackupDateTime: offsetDateTime;
1090
+ refreshDateTime: offsetDateTime;
1091
+ }
1092
+
1093
+ @entity model deviceRegistrationPolicy extends entity {
1094
+ azureADJoin: azureADJoinPolicy | null;
1095
+ azureADRegistration: azureADRegistrationPolicy | null;
1096
+ description: string | null;
1097
+ displayName: string | null;
1098
+ localAdminPassword: localAdminPasswordSettings | null;
1099
+ multiFactorAuthConfiguration: multiFactorAuthConfiguration;
1100
+ userDeviceQuota: int32;
1101
+ }
1102
+
991
1103
  @entity model directory extends entity {
992
1104
  @contains administrativeUnits: administrativeUnit[];
993
1105
  @contains attributeSets: attributeSet[];
994
1106
  @contains certificateAuthorities: certificateAuthorityPath | null;
995
1107
  @contains customSecurityAttributeDefinitions: customSecurityAttributeDefinition[];
996
1108
  @contains deletedItems: directoryObject[];
1109
+ @contains deviceLocalCredentials: deviceLocalCredentialInfo[];
997
1110
  @contains federationConfigurations: identityProviderBase[];
998
1111
  @contains onPremisesSynchronization: onPremisesDirectorySynchronization[];
999
1112
  @contains publicKeyInfrastructure: publicKeyInfrastructureRoot | null;
@@ -1163,13 +1276,16 @@ namespace reference.`microsoft.graph` {
1163
1276
  mailNickname: string | null;
1164
1277
  membershipRule: string | null;
1165
1278
  membershipRuleProcessingState: string | null;
1279
+ membershipRuleProcessingStatus: membershipRuleProcessingStatus | null;
1166
1280
  onPremisesDomainName: string | null;
1281
+ onPremisesExtensionAttributes: onPremisesExtensionAttributes | null;
1167
1282
  onPremisesLastSyncDateTime: offsetDateTime | null;
1168
1283
  onPremisesNetBiosName: string | null;
1169
1284
  onPremisesProvisioningErrors: onPremisesProvisioningError[] | null;
1170
1285
  onPremisesSamAccountName: string | null;
1171
1286
  onPremisesSecurityIdentifier: string | null;
1172
1287
  onPremisesSyncEnabled: boolean | null;
1288
+ organizationId: string | null;
1173
1289
  preferredDataLocation: string | null;
1174
1290
  preferredLanguage: string | null;
1175
1291
  proxyAddresses: string[];
@@ -1186,6 +1302,7 @@ namespace reference.`microsoft.graph` {
1186
1302
  @references createdOnBehalfOf: directoryObject | null;
1187
1303
  @contains endpoints: endpoint[];
1188
1304
  @contains extensions: extension[];
1305
+ @contains groupLifecyclePolicies: groupLifecyclePolicy[];
1189
1306
  @references memberOf: directoryObject[];
1190
1307
  @references members: directoryObject[];
1191
1308
  @references membersWithLicenseErrors: directoryObject[];
@@ -1197,6 +1314,12 @@ namespace reference.`microsoft.graph` {
1197
1314
  @references transitiveMembers: directoryObject[];
1198
1315
  }
1199
1316
 
1317
+ @entity model groupLifecyclePolicy extends entity {
1318
+ alternateNotificationEmails: string | null;
1319
+ groupLifetimeInDays: int32 | null;
1320
+ managedGroupTypes: string | null;
1321
+ }
1322
+
1200
1323
  @entity model homeRealmDiscoveryPolicy extends stsPolicy {
1201
1324
  }
1202
1325
 
@@ -1215,8 +1338,12 @@ namespace reference.`microsoft.graph` {
1215
1338
  userPrincipalName: string;
1216
1339
  }
1217
1340
 
1341
+ @entity model informationProtection extends MsGraph.SharedModels.entity {
1342
+ @contains bitlocker: bitlocker | null;
1343
+ }
1344
+
1218
1345
  @entity model inheritablePermission extends MsGraph.SharedModels.entity {
1219
- inheritableScopes: inheritableScopes;
1346
+ inheritableScopes: inheritableScopes | null;
1220
1347
  @computed @key resourceAppId: string;
1221
1348
  }
1222
1349
 
@@ -1231,7 +1358,6 @@ namespace reference.`microsoft.graph` {
1231
1358
  signOutUri: string | null;
1232
1359
  }
1233
1360
 
1234
-
1235
1361
  @entity model licenseDetails extends entity {
1236
1362
  servicePlans: servicePlanInfo[];
1237
1363
  skuId: guid | null;
@@ -1370,7 +1496,6 @@ namespace reference.`microsoft.graph` {
1370
1496
  supportUrl: string | null;
1371
1497
  }
1372
1498
 
1373
-
1374
1499
  @entity model permissionGrantConditionSet extends entity {
1375
1500
  clientApplicationIds: string[] | null;
1376
1501
  clientApplicationPublisherIds: string[] | null;
@@ -1407,6 +1532,7 @@ namespace reference.`microsoft.graph` {
1407
1532
  @contains claimsMappingPolicies: claimsMappingPolicy[];
1408
1533
  @contains crossTenantAccessPolicy: crossTenantAccessPolicy | null;
1409
1534
  @contains defaultAppManagementPolicy: tenantAppManagementPolicy | null;
1535
+ @contains deviceRegistrationPolicy: deviceRegistrationPolicy | null;
1410
1536
  @contains externalIdentitiesPolicy: externalIdentitiesPolicy | null;
1411
1537
  @contains federatedTokenValidationPolicy: federatedTokenValidationPolicy | null;
1412
1538
  @contains homeRealmDiscoveryPolicies: homeRealmDiscoveryPolicy[];
@@ -1435,6 +1561,7 @@ namespace reference.`microsoft.graph` {
1435
1561
 
1436
1562
  @entity model remoteDesktopSecurityConfiguration extends entity {
1437
1563
  isRemoteDesktopProtocolEnabled: boolean;
1564
+ @contains approvedClientApps: approvedClientApp[];
1438
1565
  @contains targetDeviceGroups: targetDeviceGroup[];
1439
1566
  }
1440
1567
 
@@ -1497,6 +1624,7 @@ namespace reference.`microsoft.graph` {
1497
1624
  errorUrl: string | null;
1498
1625
  homepage: string | null;
1499
1626
  info: informationalUrl | null;
1627
+ isDisabled: boolean | null;
1500
1628
  keyCredentials: keyCredential[];
1501
1629
  loginUrl: string | null;
1502
1630
  logoutUrl: string | null;
@@ -1844,6 +1972,21 @@ namespace reference.`microsoft.graph` {
1844
1972
  unknownFutureValue: 10,
1845
1973
  }
1846
1974
 
1975
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1976
+ enum MembershipRuleProcessingStatusDetails {
1977
+ NotStarted: 0,
1978
+ Running: 1,
1979
+ Failed: 2,
1980
+ Succeeded: 3,
1981
+ UnsupportedFutureValue: 4,
1982
+ }
1983
+
1984
+ enum multiFactorAuthConfiguration {
1985
+ notRequired: 0,
1986
+ required: 1,
1987
+ unknownFutureValue: 2,
1988
+ }
1989
+
1847
1990
  enum onPremisesDirectorySynchronizationDeletionPreventionType {
1848
1991
  disabled: 0,
1849
1992
  enabledForCount: 1,
@@ -1936,6 +2079,13 @@ namespace reference.`microsoft.graph` {
1936
2079
  unknownFutureValue: 4,
1937
2080
  }
1938
2081
 
2082
+ enum volumeType {
2083
+ operatingSystemVolume: 1,
2084
+ fixedDataVolume: 2,
2085
+ removableDataVolume: 3,
2086
+ unknownFutureValue: 4,
2087
+ }
2088
+
1939
2089
  @graphFlags
1940
2090
  enum weakAlgorithms {
1941
2091
  rsaSha1: 1,