Skip to content

Commit 81c63dd

Browse files
Merge pull request #3343 from microsoftgraph/ramsess/directivesHotfix
fix specific directive files
2 parents 961443e + 81538ed commit 81c63dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+40226
-126215
lines changed

.azure-pipelines/common-templates/install-tools.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ steps:
3535
inputs:
3636
command: custom
3737
customCommand: install -g autorest@latest
38+
39+
- task: Npm@1
40+
displayName: Install AutorestCore
41+
inputs:
42+
command: custom
43+
customCommand: install -g @autorest/[email protected]
3844

3945
- task: Npm@1
4046
displayName: Install Rush

openApiDocs/beta/Applications.yml

Lines changed: 712 additions & 46 deletions
Large diffs are not rendered by default.

openApiDocs/beta/BackupRestore.yml

Lines changed: 162 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,91 @@ paths:
658658
$ref: '#/components/responses/ODataCountResponse'
659659
default:
660660
$ref: '#/components/responses/error'
661+
/solutions/backupRestore/emailNotificationsSetting:
662+
get:
663+
tags:
664+
- solutions.backupRestoreRoot
665+
summary: Get emailNotificationsSetting
666+
description: Read the properties and relationships of an emailNotificationsSetting object.
667+
externalDocs:
668+
description: Find more info here
669+
url: https://learn.microsoft.com/graph/api/emailnotificationssetting-get?view=graph-rest-beta
670+
operationId: solution.backupRestore_GetEmailNotificationsSetting
671+
parameters:
672+
- name: $select
673+
in: query
674+
description: Select properties to be returned
675+
style: form
676+
explode: false
677+
schema:
678+
uniqueItems: true
679+
type: array
680+
items:
681+
type: string
682+
- name: $expand
683+
in: query
684+
description: Expand related entities
685+
style: form
686+
explode: false
687+
schema:
688+
uniqueItems: true
689+
type: array
690+
items:
691+
type: string
692+
responses:
693+
2XX:
694+
description: Retrieved navigation property
695+
content:
696+
application/json:
697+
schema:
698+
$ref: '#/components/schemas/microsoft.graph.emailNotificationsSetting'
699+
default:
700+
$ref: '#/components/responses/error'
701+
x-ms-docs-operation-type: operation
702+
patch:
703+
tags:
704+
- solutions.backupRestoreRoot
705+
summary: Update emailNotificationsSetting
706+
description: Update the properties of an emailNotificationsSetting object.
707+
externalDocs:
708+
description: Find more info here
709+
url: https://learn.microsoft.com/graph/api/emailnotificationssetting-update?view=graph-rest-beta
710+
operationId: solution.backupRestore_UpdateEmailNotificationsSetting
711+
requestBody:
712+
description: New navigation property values
713+
content:
714+
application/json:
715+
schema:
716+
$ref: '#/components/schemas/microsoft.graph.emailNotificationsSetting'
717+
required: true
718+
responses:
719+
2XX:
720+
description: Success
721+
content:
722+
application/json:
723+
schema:
724+
$ref: '#/components/schemas/microsoft.graph.emailNotificationsSetting'
725+
default:
726+
$ref: '#/components/responses/error'
727+
x-ms-docs-operation-type: operation
728+
delete:
729+
tags:
730+
- solutions.backupRestoreRoot
731+
summary: Delete navigation property emailNotificationsSetting for solutions
732+
operationId: solution.backupRestore_DeleteEmailNotificationsSetting
733+
parameters:
734+
- name: If-Match
735+
in: header
736+
description: ETag
737+
style: simple
738+
schema:
739+
type: string
740+
responses:
741+
2XX:
742+
description: Success
743+
default:
744+
$ref: '#/components/responses/error'
745+
x-ms-docs-operation-type: operation
661746
/solutions/backupRestore/exchangeProtectionPolicies:
662747
get:
663748
tags:
@@ -7755,6 +7840,8 @@ components:
77557840
items:
77567841
$ref: '#/components/schemas/microsoft.graph.driveProtectionUnitsBulkAdditionJob'
77577842
x-ms-navigationProperty: true
7843+
emailNotificationsSetting:
7844+
$ref: '#/components/schemas/microsoft.graph.emailNotificationsSetting'
77587845
exchangeProtectionPolicies:
77597846
type: array
77607847
items:
@@ -7911,6 +7998,21 @@ components:
79117998
description: The list of email addresses to add to the OneDrive protection policy.
79127999
additionalProperties:
79138000
type: object
8001+
microsoft.graph.emailNotificationsSetting:
8002+
allOf:
8003+
- $ref: '#/components/schemas/microsoft.graph.entity'
8004+
- title: emailNotificationsSetting
8005+
type: object
8006+
properties:
8007+
additionalEvents:
8008+
$ref: '#/components/schemas/microsoft.graph.notificationEventsType'
8009+
isEnabled:
8010+
type: boolean
8011+
description: Indicates whether notifications are enabled.
8012+
recipients:
8013+
$ref: '#/components/schemas/microsoft.graph.notificationRecipients'
8014+
additionalProperties:
8015+
type: object
79148016
microsoft.graph.exchangeProtectionPolicy:
79158017
allOf:
79168018
- $ref: '#/components/schemas/microsoft.graph.protectionPolicyBase'
@@ -8094,7 +8196,7 @@ components:
80948196
items:
80958197
type: string
80968198
nullable: true
8097-
description: The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use.
8199+
description: The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation.
80988200
mailboxes:
80998201
type: array
81008202
items:
@@ -8213,7 +8315,7 @@ components:
82138315
items:
82148316
type: string
82158317
nullable: true
8216-
description: The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use.
8318+
description: The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation.
82178319
drives:
82188320
type: array
82198321
items:
@@ -8281,6 +8383,12 @@ components:
82818383
description: Timestamp of the last modification of this protection unit.
82828384
format: date-time
82838385
nullable: true
8386+
offboardRequestedDateTime:
8387+
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
8388+
type: string
8389+
description: The time when protection unit offboard was requested.
8390+
format: date-time
8391+
nullable: true
82848392
policyId:
82858393
type: string
82868394
description: The unique identifier of the protection policy based on which protection unit was created.
@@ -8560,7 +8668,7 @@ components:
85608668
items:
85618669
type: string
85628670
nullable: true
8563-
description: The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use.
8671+
description: The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation.
85648672
siteWebUrls:
85658673
type: array
85668674
items:
@@ -8642,6 +8750,28 @@ components:
86428750
$ref: '#/components/schemas/microsoft.graph.protectionUnitsBulkJobStatus'
86438751
additionalProperties:
86448752
type: object
8753+
microsoft.graph.notificationEventsType:
8754+
title: notificationEventsType
8755+
enum:
8756+
- none
8757+
- restoreAndPolicyUpdates
8758+
- unknownFutureValue
8759+
type: string
8760+
x-ms-enum-flags:
8761+
isFlags: true
8762+
microsoft.graph.notificationRecipients:
8763+
title: notificationRecipients
8764+
type: object
8765+
properties:
8766+
customRecipients:
8767+
type: array
8768+
items:
8769+
$ref: '#/components/schemas/microsoft.graph.emailIdentity'
8770+
description: A list of users or groups that receive notifications. Only specify this property when role is set to custom.
8771+
role:
8772+
$ref: '#/components/schemas/microsoft.graph.notificationRecipientsType'
8773+
additionalProperties:
8774+
type: object
86458775
microsoft.graph.mailboxType:
86468776
title: mailboxType
86478777
enum:
@@ -8831,6 +8961,9 @@ components:
88318961
- unprotected
88328962
- removeRequested
88338963
- unknownFutureValue
8964+
- offboardRequested
8965+
- offboarded
8966+
- cancelOffboardRequested
88348967
type: string
88358968
microsoft.graph.restorableArtifact:
88368969
title: restorableArtifact
@@ -8911,11 +9044,11 @@ components:
89119044
properties:
89129045
displayName:
89139046
type: string
8914-
description: The display name of the identity. This property is read-only.
9047+
description: 'The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don''t show up as changed when using delta.'
89159048
nullable: true
89169049
id:
89179050
type: string
8918-
description: The identifier of the identity. This property is read-only.
9051+
description: 'Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that''s subject to review.'
89199052
nullable: true
89209053
additionalProperties:
89219054
type: object
@@ -9311,6 +9444,30 @@ components:
93119444
- completedWithErrors
93129445
- unknownFutureValue
93139446
type: string
9447+
microsoft.graph.emailIdentity:
9448+
allOf:
9449+
- $ref: '#/components/schemas/microsoft.graph.identity'
9450+
- title: emailIdentity
9451+
type: object
9452+
properties:
9453+
email:
9454+
type: string
9455+
description: Email address of the user.
9456+
nullable: true
9457+
additionalProperties:
9458+
type: object
9459+
microsoft.graph.notificationRecipientsType:
9460+
title: notificationRecipientsType
9461+
enum:
9462+
- none
9463+
- globalAdmins
9464+
- backupAdmins
9465+
- custom
9466+
- allAdmins
9467+
- unknownFutureValue
9468+
type: string
9469+
x-ms-enum-flags:
9470+
isFlags: true
93149471
microsoft.graph.destinationType:
93159472
title: destinationType
93169473
enum:

0 commit comments

Comments
 (0)