Skip to content

Commit a7993cb

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update clean metadata file with 199559
1 parent 7b4e68b commit a7993cb

File tree

3 files changed

+168
-6
lines changed

3 files changed

+168
-6
lines changed

clean_v10_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrorsv1.0.xml

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19165,15 +19165,17 @@
1916519165
<Property Name="error" Type="graph.publicError">
1916619166
<Annotation Term="Org.OData.Core.V1.Description" String="Contains error details if an operation on a rule fails." />
1916719167
</Property>
19168-
<Property Name="isAutoApplyEnabled" Type="Edm.Boolean" />
19168+
<Property Name="isAutoApplyEnabled" Type="Edm.Boolean">
19169+
<Annotation Term="Org.OData.Core.V1.Description" String="true indicates that the protection rule is dynamic; false that it's static." />
19170+
</Property>
1916919171
<Property Name="lastModifiedBy" Type="graph.identitySet">
1917019172
<Annotation Term="Org.OData.Core.V1.Description" String="The identity of the person who last modified the rule." />
1917119173
</Property>
1917219174
<Property Name="lastModifiedDateTime" Type="Edm.DateTimeOffset">
1917319175
<Annotation Term="Org.OData.Core.V1.Description" String="Timestamp of the last modification made to the rule." />
1917419176
</Property>
1917519177
<Property Name="status" Type="graph.protectionRuleStatus">
19176-
<Annotation Term="Org.OData.Core.V1.Description" String="The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported." />
19178+
<Annotation Term="Org.OData.Core.V1.Description" String="The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue, updateRequested, deleteRequested. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: updateRequested , deleteRequested. The draft member is currently unsupported." />
1917719179
</Property>
1917819180
</EntityType>
1917919181
<EntityType Name="protectionUnitBase" BaseType="graph.entity" Abstract="true">
@@ -83119,6 +83121,10 @@
8311983121
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/get" />
8312083122
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-1.0" />
8312183123
</Record>
83124+
<Record>
83125+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/update" />
83126+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-update?view=graph-rest-1.0" />
83127+
</Record>
8312283128
</Collection>
8312383129
</Annotation>
8312483130
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83133,6 +83139,28 @@
8313383139
<PropertyValue Property="LongDescription" String="Delete a protection rule from a protection policy. You can delete a rule when the state is completed or completedWithErrors. Deleting a protection rule doesn't remove the corresponding protection units from the protection policy." />
8313483140
</Record>
8313583141
</Annotation>
83142+
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
83143+
<Record>
83144+
<PropertyValue Property="Description" String="Update protectionRuleBase" />
83145+
<PropertyValue Property="LongDescription" String="Update the properties of a protectionRuleBase object. This method is only supported for the dynamic rules of exchangeProtectionPolicy and onedriveForBusinessProtectionPolicy objects. After the update is applied, the value of the status property of the protectionRuleBase object is set to updateRequested." />
83146+
</Record>
83147+
</Annotation>
83148+
</Annotations>
83149+
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/exchangeProtectionPolicies/mailboxInclusionRules/deleteAndUnprotect">
83150+
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
83151+
<Record>
83152+
<PropertyValue Property="Description" String="protectionRuleBase: deleteAndUnprotect" />
83153+
<PropertyValue Property="LongDescription" String="Delete and unprotect all the artifacts protected by a dynamic rule. This action is only applicable to dynamic rules. The following points apply when you delete a dynamic rule and unprotect all artifacts it protects.&#xD;&#xA;- The rule moves to the deleteRequested status when this action is performed on a dynamic rule.&#xD;&#xA;- Unprotecting artifacts and deleting rules are asynchronous operations, and they might not complete immediately. &#xD;&#xA;- This action resets the dynamicRule protection source. If the artifact is also protected by another protection source, it's only protected by that source afterward.&#xD;&#xA;- No operation is allowed on a dynamic rule once a rule is in the deleteRequested state." />
83154+
</Record>
83155+
</Annotation>
83156+
<Annotation Term="Org.OData.Core.V1.Links">
83157+
<Collection>
83158+
<Record>
83159+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/create" />
83160+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-deleteandunprotect?view=graph-rest-1.0" />
83161+
</Record>
83162+
</Collection>
83163+
</Annotation>
8313683164
</Annotations>
8313783165
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/exchangeProtectionPolicies/mailboxInclusionRules/run">
8313883166
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83331,6 +83359,10 @@
8333183359
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/get" />
8333283360
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-1.0" />
8333383361
</Record>
83362+
<Record>
83363+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/update" />
83364+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-update?view=graph-rest-1.0" />
83365+
</Record>
8333483366
</Collection>
8333583367
</Annotation>
8333683368
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83345,6 +83377,28 @@
8334583377
<PropertyValue Property="LongDescription" String="Delete a protection rule from a protection policy. You can delete a rule when the state is completed or completedWithErrors. Deleting a protection rule doesn't remove the corresponding protection units from the protection policy." />
8334683378
</Record>
8334783379
</Annotation>
83380+
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
83381+
<Record>
83382+
<PropertyValue Property="Description" String="Update protectionRuleBase" />
83383+
<PropertyValue Property="LongDescription" String="Update the properties of a protectionRuleBase object. This method is only supported for the dynamic rules of exchangeProtectionPolicy and onedriveForBusinessProtectionPolicy objects. After the update is applied, the value of the status property of the protectionRuleBase object is set to updateRequested." />
83384+
</Record>
83385+
</Annotation>
83386+
</Annotations>
83387+
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/driveInclusionRules/deleteAndUnprotect">
83388+
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
83389+
<Record>
83390+
<PropertyValue Property="Description" String="protectionRuleBase: deleteAndUnprotect" />
83391+
<PropertyValue Property="LongDescription" String="Delete and unprotect all the artifacts protected by a dynamic rule. This action is only applicable to dynamic rules. The following points apply when you delete a dynamic rule and unprotect all artifacts it protects.&#xD;&#xA;- The rule moves to the deleteRequested status when this action is performed on a dynamic rule.&#xD;&#xA;- Unprotecting artifacts and deleting rules are asynchronous operations, and they might not complete immediately. &#xD;&#xA;- This action resets the dynamicRule protection source. If the artifact is also protected by another protection source, it's only protected by that source afterward.&#xD;&#xA;- No operation is allowed on a dynamic rule once a rule is in the deleteRequested state." />
83392+
</Record>
83393+
</Annotation>
83394+
<Annotation Term="Org.OData.Core.V1.Links">
83395+
<Collection>
83396+
<Record>
83397+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/create" />
83398+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-deleteandunprotect?view=graph-rest-1.0" />
83399+
</Record>
83400+
</Collection>
83401+
</Annotation>
8334883402
</Annotations>
8334983403
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/driveInclusionRules/run">
8335083404
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">

clean_v10_metadata/cleanMetadataWithDescriptionsAndAnnotationsv1.0.xml

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19165,15 +19165,17 @@
1916519165
<Property Name="error" Type="graph.publicError">
1916619166
<Annotation Term="Org.OData.Core.V1.Description" String="Contains error details if an operation on a rule fails." />
1916719167
</Property>
19168-
<Property Name="isAutoApplyEnabled" Type="Edm.Boolean" />
19168+
<Property Name="isAutoApplyEnabled" Type="Edm.Boolean">
19169+
<Annotation Term="Org.OData.Core.V1.Description" String="true indicates that the protection rule is dynamic; false that it's static." />
19170+
</Property>
1916919171
<Property Name="lastModifiedBy" Type="graph.identitySet">
1917019172
<Annotation Term="Org.OData.Core.V1.Description" String="The identity of the person who last modified the rule." />
1917119173
</Property>
1917219174
<Property Name="lastModifiedDateTime" Type="Edm.DateTimeOffset">
1917319175
<Annotation Term="Org.OData.Core.V1.Description" String="Timestamp of the last modification made to the rule." />
1917419176
</Property>
1917519177
<Property Name="status" Type="graph.protectionRuleStatus">
19176-
<Annotation Term="Org.OData.Core.V1.Description" String="The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported." />
19178+
<Annotation Term="Org.OData.Core.V1.Description" String="The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue, updateRequested, deleteRequested. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: updateRequested , deleteRequested. The draft member is currently unsupported." />
1917719179
</Property>
1917819180
</EntityType>
1917919181
<EntityType Name="protectionUnitBase" BaseType="graph.entity" Abstract="true">
@@ -83306,6 +83308,10 @@
8330683308
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/get" />
8330783309
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-1.0" />
8330883310
</Record>
83311+
<Record>
83312+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/update" />
83313+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-update?view=graph-rest-1.0" />
83314+
</Record>
8330983315
</Collection>
8331083316
</Annotation>
8331183317
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83320,6 +83326,28 @@
8332083326
<PropertyValue Property="LongDescription" String="Delete a protection rule from a protection policy. You can delete a rule when the state is completed or completedWithErrors. Deleting a protection rule doesn't remove the corresponding protection units from the protection policy." />
8332183327
</Record>
8332283328
</Annotation>
83329+
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
83330+
<Record>
83331+
<PropertyValue Property="Description" String="Update protectionRuleBase" />
83332+
<PropertyValue Property="LongDescription" String="Update the properties of a protectionRuleBase object. This method is only supported for the dynamic rules of exchangeProtectionPolicy and onedriveForBusinessProtectionPolicy objects. After the update is applied, the value of the status property of the protectionRuleBase object is set to updateRequested." />
83333+
</Record>
83334+
</Annotation>
83335+
</Annotations>
83336+
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/exchangeProtectionPolicies/mailboxInclusionRules/deleteAndUnprotect">
83337+
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
83338+
<Record>
83339+
<PropertyValue Property="Description" String="protectionRuleBase: deleteAndUnprotect" />
83340+
<PropertyValue Property="LongDescription" String="Delete and unprotect all the artifacts protected by a dynamic rule. This action is only applicable to dynamic rules. The following points apply when you delete a dynamic rule and unprotect all artifacts it protects.&#xD;&#xA;- The rule moves to the deleteRequested status when this action is performed on a dynamic rule.&#xD;&#xA;- Unprotecting artifacts and deleting rules are asynchronous operations, and they might not complete immediately. &#xD;&#xA;- This action resets the dynamicRule protection source. If the artifact is also protected by another protection source, it's only protected by that source afterward.&#xD;&#xA;- No operation is allowed on a dynamic rule once a rule is in the deleteRequested state." />
83341+
</Record>
83342+
</Annotation>
83343+
<Annotation Term="Org.OData.Core.V1.Links">
83344+
<Collection>
83345+
<Record>
83346+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/create" />
83347+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-deleteandunprotect?view=graph-rest-1.0" />
83348+
</Record>
83349+
</Collection>
83350+
</Annotation>
8332383351
</Annotations>
8332483352
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/exchangeProtectionPolicies/mailboxInclusionRules/run">
8332583353
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83518,6 +83546,10 @@
8351883546
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/get" />
8351983547
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-get?view=graph-rest-1.0" />
8352083548
</Record>
83549+
<Record>
83550+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/update" />
83551+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-update?view=graph-rest-1.0" />
83552+
</Record>
8352183553
</Collection>
8352283554
</Annotation>
8352383555
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
@@ -83532,6 +83564,28 @@
8353283564
<PropertyValue Property="LongDescription" String="Delete a protection rule from a protection policy. You can delete a rule when the state is completed or completedWithErrors. Deleting a protection rule doesn't remove the corresponding protection units from the protection policy." />
8353383565
</Record>
8353483566
</Annotation>
83567+
<Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
83568+
<Record>
83569+
<PropertyValue Property="Description" String="Update protectionRuleBase" />
83570+
<PropertyValue Property="LongDescription" String="Update the properties of a protectionRuleBase object. This method is only supported for the dynamic rules of exchangeProtectionPolicy and onedriveForBusinessProtectionPolicy objects. After the update is applied, the value of the status property of the protectionRuleBase object is set to updateRequested." />
83571+
</Record>
83572+
</Annotation>
83573+
</Annotations>
83574+
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/driveInclusionRules/deleteAndUnprotect">
83575+
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
83576+
<Record>
83577+
<PropertyValue Property="Description" String="protectionRuleBase: deleteAndUnprotect" />
83578+
<PropertyValue Property="LongDescription" String="Delete and unprotect all the artifacts protected by a dynamic rule. This action is only applicable to dynamic rules. The following points apply when you delete a dynamic rule and unprotect all artifacts it protects.&#xD;&#xA;- The rule moves to the deleteRequested status when this action is performed on a dynamic rule.&#xD;&#xA;- Unprotecting artifacts and deleting rules are asynchronous operations, and they might not complete immediately. &#xD;&#xA;- This action resets the dynamicRule protection source. If the artifact is also protected by another protection source, it's only protected by that source afterward.&#xD;&#xA;- No operation is allowed on a dynamic rule once a rule is in the deleteRequested state." />
83579+
</Record>
83580+
</Annotation>
83581+
<Annotation Term="Org.OData.Core.V1.Links">
83582+
<Collection>
83583+
<Record>
83584+
<PropertyValue Property="rel" String="https://graph.microsoft.com/rels/docs/create" />
83585+
<PropertyValue Property="href" String="https://learn.microsoft.com/graph/api/protectionrulebase-deleteandunprotect?view=graph-rest-1.0" />
83586+
</Record>
83587+
</Collection>
83588+
</Annotation>
8353583589
</Annotations>
8353683590
<Annotations Target="microsoft.graph.GraphService/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/driveInclusionRules/run">
8353783591
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">

0 commit comments

Comments
 (0)