Skip to content

Commit 5e744be

Browse files
github-actions[bot]peombwaMicrosoft Graph DevX Tooling
authored
Weekly OpenApiDocs Download (#1373)
* Add option to skip force refresh. * Add option to set base branch. * Weekly OpenApiDocs Download. [run ci] Co-authored-by: Peter Ombwa <[email protected]> Co-authored-by: Microsoft Graph DevX Tooling <[email protected]> Co-authored-by: Peter Ombwa <[email protected]>
1 parent ab803c1 commit 5e744be

31 files changed

+2154
-331
lines changed

.azure-pipelines/common-templates/download-openapi-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ parameters:
88
type: string
99
- name: BuildAgent
1010
displayName: Build Agent
11+
- name: SkipForceRefresh
12+
type: string
1113

1214
jobs:
1315
- job: GetLatestDocs
@@ -45,14 +47,15 @@ jobs:
4547
continueOnError: false
4648
inputs:
4749
filePath: "$(System.DefaultWorkingDirectory)/tools/UpdateOpenApi.ps1"
50+
arguments: -SkipForceRefresh:$$(SkipForceRefresh)
4851
pwsh: true
4952

5053
- task: PowerShell@2
5154
displayName: Download beta OpenApi docs
5255
continueOnError: false
5356
inputs:
5457
filePath: "$(System.DefaultWorkingDirectory)/tools/UpdateOpenApi.ps1"
55-
arguments: "-BetaGraphVersion"
58+
arguments: -BetaGraphVersion -SkipForceRefresh:$$(SkipForceRefresh)
5659
pwsh: true
5760

5861
- task: PowerShell@2

.azure-pipelines/weekly-generation.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
55

66
parameters:
77
- name: BuildAgent
8-
default: 1es-windows-ps-compute
98
displayName: Build Agent
9+
default: 1es-windows-ps-compute
10+
- name: BaseBranch
11+
displayName: Base Branch
12+
default: dev
13+
- name: SkipForceRefresh
14+
displayName: Skip Force Refresh
15+
default: false
16+
type: boolean
1017

1118
variables:
1219
Branch: "WeeklyOpenApiDocsDownload"
13-
BaseBranch: "dev"
20+
BaseBranch: ${{ parameters.BaseBranch }}
1421
BuildAgent: ${{ parameters.BuildAgent }}
22+
SkipForceRefresh: ${{ parameters.SkipForceRefresh }}
1523

1624
pool: $(BuildAgent)
1725
trigger: none
@@ -33,6 +41,7 @@ stages:
3341
Branch: $(Branch)
3442
BaseBranch: $(BaseBranch)
3543
BuildAgent: $(BuildAgent)
44+
SkipForceRefresh: $(SkipForceRefresh)
3645

3746
- stage: GenerateServiceModules
3847
displayName: Generate service modules

openApiDocs/beta/CloudCommunications.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8595,11 +8595,11 @@ components:
85958595
properties:
85968596
displayName:
85978597
type: string
8598-
description: 'The identity''s display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won''t show up as having changed when using delta.'
8598+
description: The display name of the identity. This property is read-only.
85998599
nullable: true
86008600
id:
86018601
type: string
8602-
description: Unique identifier for the identity.
8602+
description: The identifier of the identity. This property is read-only.
86038603
nullable: true
86048604
additionalProperties:
86058605
type: object
@@ -9036,7 +9036,7 @@ components:
90369036
type: array
90379037
items:
90389038
$ref: '#/components/schemas/microsoft.graph.callRecords.traceRouteHop'
9039-
description: List of network trace route hops collected for this media stream.*
9039+
description: List of network trace route hops collected for this media stream.
90409040
wifiBand:
90419041
$ref: '#/components/schemas/microsoft.graph.callRecords.wifiBand'
90429042
wifiBatteryCharge:
@@ -9396,7 +9396,7 @@ components:
93969396
maximum: 2147483647
93979397
minimum: -2147483648
93989398
type: integer
9399-
description: The network path count of this hop that was used to compute the round-trip time.
9399+
description: The network path count of this hop that was used to compute the RTT.
94009400
format: int32
94019401
nullable: true
94029402
ipAddress:

openApiDocs/beta/DeviceManagement.Enrolment.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22056,7 +22056,7 @@ components:
2205622056
properties:
2205722057
memberType:
2205822058
type: string
22059-
description: 'Membership type of the eligible assignment. It can either be Inherited, Direct, or Group.'
22059+
description: 'Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. Supports $filter (eq).'
2206022060
nullable: true
2206122061
scheduleInfo:
2206222062
$ref: '#/components/schemas/microsoft.graph.requestSchedule'
@@ -22110,37 +22110,37 @@ components:
2211022110
properties:
2211122111
action:
2211222112
type: string
22113-
description: 'Represents the type of the operation on the role eligibility assignment. The possible values are: AdminAssign: For administrators to assign role eligibility to users or groups to roles.AdminExtend: For administrators to extend expiring assignments.AdminUpdate: For administrators to change existing role assignments.AdminRenew: For administrators to renew expired assignments.AdminRemove: For administrators to remove users or groups from eligible roles.UserAdd: For users to activate their eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserRenew: For users to request to renew their expired eligible assignments.'
22113+
description: 'Represents the type of operation on the role eligibility request. The possible values are: AdminAssign: For administrators to assign eligible roles to principals.AdminRemove: For administrators to remove eligible roles from principals. AdminUpdate: For administrators to change existing role eligibilities.AdminExtend: For administrators to extend expiring role eligibilities.AdminRenew: For administrators to renew expired eligibilities.UserAdd: For users to activate their eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRenew: For users to request to renew their expired eligible assignments.'
2211422114
nullable: true
2211522115
appScopeId:
2211622116
type: string
22117-
description: 'Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.'
22117+
description: 'Identifier of the app-specific scope when the role eligibility is scoped to an app. The scope of a role eligibility determines the set of resources for which the principal is eligible to access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Supports $filter (eq, ne, and on null values).'
2211822118
nullable: true
2211922119
directoryScopeId:
2212022120
type: string
22121-
description: Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
22121+
description: 'Identifier of the directory object representing the scope of the role eligibility. The scope of a role eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Supports $filter (eq, ne, and on null values).'
2212222122
nullable: true
2212322123
isValidationOnly:
2212422124
type: boolean
22125-
description: A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
22125+
description: Determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request.
2212622126
nullable: true
2212722127
justification:
2212822128
type: string
22129-
description: A message provided by users and administrators when create the request about why it is needed.
22129+
description: A message provided by users and administrators when create they create the unifiedRoleEligibilityScheduleRequest object.
2213022130
nullable: true
2213122131
principalId:
2213222132
type: string
22133-
description: 'Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true.'
22133+
description: 'Identifier of the principal that has been granted the role eligibility. Supports $filter (eq, ne).'
2213422134
nullable: true
2213522135
roleDefinitionId:
2213622136
type: string
22137-
description: Identifier of the unifiedRoleDefinition the assignment is for. Read only.
22137+
description: 'Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne).'
2213822138
nullable: true
2213922139
scheduleInfo:
2214022140
$ref: '#/components/schemas/microsoft.graph.requestSchedule'
2214122141
targetScheduleId:
2214222142
type: string
22143-
description: The time period for which the eligibility assignment is valid.
22143+
description: 'Identifier of the schedule object that''s linked to the eligibility request. Supports $filter (eq, ne).'
2214422144
nullable: true
2214522145
ticketInfo:
2214622146
$ref: '#/components/schemas/microsoft.graph.ticketInfo'
@@ -22979,11 +22979,11 @@ components:
2297922979
properties:
2298022980
displayName:
2298122981
type: string
22982-
description: The display name of the identity. This property is read-only.
22982+
description: 'The identity''s display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won''t show up as having changed when using delta.'
2298322983
nullable: true
2298422984
id:
2298522985
type: string
22986-
description: The identifier of the identity. This property is read-only.
22986+
description: Unique identifier for the identity.
2298722987
nullable: true
2298822988
additionalProperties:
2298922989
type: object

openApiDocs/beta/DeviceManagement.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56511,7 +56511,7 @@ components:
5651156511
description: State of license assignments for this user. Read-only. Returned only on $select.
5651256512
mail:
5651356513
type: string
56514-
description: 'The SMTP address for the user, for example, [email protected]. Changes to this property will also update the user''s proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values).'
56514+
description: 'The SMTP address for the user, for example, [email protected]. Changes to this property will also update the user''s proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values).'
5651556515
nullable: true
5651656516
mailNickname:
5651756517
type: string
@@ -69160,11 +69160,11 @@ components:
6916069160
properties:
6916169161
displayName:
6916269162
type: string
69163-
description: 'The identity''s display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won''t show up as having changed when using delta.'
69163+
description: The display name of the identity. This property is read-only.
6916469164
nullable: true
6916569165
id:
6916669166
type: string
69167-
description: Unique identifier for the identity.
69167+
description: The identifier of the identity. This property is read-only.
6916869168
nullable: true
6916969169
additionalProperties:
6917069170
type: object

openApiDocs/beta/Devices.CloudPrint.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14902,7 +14902,7 @@ components:
1490214902
type: array
1490314903
items:
1490414904
type: string
14905-
description: 'A list of additional email addresses for the user; for example: [''[email protected]'', ''[email protected]''].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections).'
14905+
description: 'A list of additional email addresses for the user; for example: [''[email protected]'', ''[email protected]''].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, and counting empty collections).'
1490614906
passwordPolicies:
1490714907
type: string
1490814908
description: 'Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values).'
@@ -15179,7 +15179,7 @@ components:
1517915179
type: array
1518015180
items:
1518115181
$ref: '#/components/schemas/microsoft.graph.extension'
15182-
description: The collection of open extensions defined for the user. Nullable.
15182+
description: The collection of open extensions defined for the user. Supports $expand. Nullable.
1518315183
appConsentRequestsForApproval:
1518415184
type: array
1518515185
items:
@@ -16078,6 +16078,7 @@ components:
1607816078
properties:
1607916079
onPremisesGroupType:
1608016080
type: string
16081+
description: 'Indicates the target on-premise group type the cloud object will be written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. + If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. + Azure AD security groups can be written back as universalSecurityGroup. + If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property is not explicitly configured: + Microsoft 365 groups will be written back as universalDistributionGroup by default + Security groups will be written back as universalSecurityGroup by default'
1608116082
nullable: true
1608216083
additionalProperties:
1608316084
type: object
@@ -19223,6 +19224,10 @@ components:
1922319224
description: The content stream of the alternative recording of a Microsoft Teams live event. Read-only.
1922419225
format: base64url
1922519226
nullable: true
19227+
anonymizeIdentityForRoles:
19228+
type: array
19229+
items:
19230+
$ref: '#/components/schemas/microsoft.graph.onlineMeetingRole'
1922619231
attendeeReport:
1922719232
type: string
1922819233
description: The content stream of the attendee report of a Teams live event. Read-only.
@@ -20595,6 +20600,7 @@ components:
2059520600
properties:
2059620601
isEnabled:
2059720602
type: boolean
20603+
description: Indicates whether writeback of cloud groups to on-premise Active Directory is enabled. Default value is true for Microsoft 365 groups and false for security groups.
2059820604
nullable: true
2059920605
additionalProperties:
2060020606
type: object
@@ -26117,6 +26123,15 @@ components:
2611726123
- limited
2611826124
- unknownFutureValue
2611926125
type: string
26126+
microsoft.graph.onlineMeetingRole:
26127+
title: onlineMeetingRole
26128+
enum:
26129+
- attendee
26130+
- presenter
26131+
- unknownFutureValue
26132+
- producer
26133+
- coorganizer
26134+
type: string
2612026135
microsoft.graph.audioConferencing:
2612126136
title: audioConferencing
2612226137
type: object
@@ -31748,6 +31763,8 @@ components:
3174831763
$ref: '#/components/schemas/microsoft.graph.patternedRecurrence'
3174931764
reminderDateTime:
3175031765
$ref: '#/components/schemas/microsoft.graph.dateTimeTimeZone'
31766+
startDateTime:
31767+
$ref: '#/components/schemas/microsoft.graph.dateTimeTimeZone'
3175131768
status:
3175231769
$ref: '#/components/schemas/microsoft.graph.taskStatus'
3175331770
title:
@@ -33647,15 +33664,6 @@ components:
3364733664
- other
3364833665
- unknownFutureValue
3364933666
type: string
33650-
microsoft.graph.onlineMeetingRole:
33651-
title: onlineMeetingRole
33652-
enum:
33653-
- attendee
33654-
- presenter
33655-
- unknownFutureValue
33656-
- producer
33657-
- coorganizer
33658-
type: string
3365933667
microsoft.graph.attendanceInterval:
3366033668
title: attendanceInterval
3366133669
type: object

0 commit comments

Comments
 (0)