-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PolicyInsights] Resolve review comments and support partial resource (…
…#31482) * resolve policy insights comments * update api * use customization to support partial resource * push unfinished change * resolve comments * resolve comments * update changelog * re-trigger pipeline
- Loading branch information
Showing
56 changed files
with
3,238 additions
and
3,193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
274 changes: 134 additions & 140 deletions
274
...ResourceManager.PolicyInsights/api/Azure.ResourceManager.PolicyInsights.netstandard2.0.cs
Large diffs are not rendered by default.
Oops, something went wrong.
419 changes: 419 additions & 0 deletions
419
...nager.PolicyInsights/src/Customized/Extensions/PolicyAssignmentResourceExtensionClient.cs
Large diffs are not rendered by default.
Oops, something went wrong.
352 changes: 352 additions & 0 deletions
352
...zure.ResourceManager.PolicyInsights/src/Customized/Extensions/PolicyInsightsExtensions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...eManager.PolicyInsights/src/Customized/Extensions/ResourceGroupResourceExtensionClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#nullable disable | ||
|
||
using System.Threading; | ||
using Azure.Core; | ||
using Azure.ResourceManager.PolicyInsights.Models; | ||
|
||
namespace Azure.ResourceManager.PolicyInsights | ||
{ | ||
/// <summary> A class to add extension methods to ResourceGroupResource. </summary> | ||
[CodeGenSuppress("GetQueryResultsForResourceGroupLevelPolicyAssignmentPolicyEvents", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForResourceGroupLevelPolicyAssignmentPolicyEventsAsync", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForResourceGroupLevelPolicyAssignmentPolicyStates", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForResourceGroupLevelPolicyAssignmentPolicyStatesAsync", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForResourceGroupLevelPolicyAssignmentPolicyStates", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForResourceGroupLevelPolicyAssignmentPolicyStatesAsync", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
internal partial class ResourceGroupResourceExtensionClient : ArmResource | ||
{ | ||
} | ||
} |
284 changes: 284 additions & 0 deletions
284
...Insights/src/Customized/Extensions/SubscriptionPolicyDefinitionResourceExtensionClient.cs
Large diffs are not rendered by default.
Oops, something went wrong.
283 changes: 283 additions & 0 deletions
283
...ights/src/Customized/Extensions/SubscriptionPolicySetDefinitionResourceExtensionClient.cs
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...ceManager.PolicyInsights/src/Customized/Extensions/SubscriptionResourceExtensionClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
// <auto-generated/> | ||
|
||
#nullable disable | ||
|
||
using System.Threading; | ||
using Azure.Core; | ||
using Azure.ResourceManager.PolicyInsights.Models; | ||
|
||
namespace Azure.ResourceManager.PolicyInsights | ||
{ | ||
/// <summary> A class to add extension methods to SubscriptionResource. </summary> | ||
[CodeGenSuppress("GetQueryResultsForPolicyDefinitionPolicyEvents", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicyDefinitionPolicyEventsAsync", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicySetDefinitionPolicyEvents", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicySetDefinitionPolicyEventsAsync", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForSubscriptionLevelPolicyAssignmentPolicyEvents", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForSubscriptionLevelPolicyAssignmentPolicyEventsAsync", typeof(PolicyEventType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicyDefinitionPolicyStates", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicyDefinitionPolicyStatesAsync", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicySetDefinitionPolicyStates", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForPolicySetDefinitionPolicyStatesAsync", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForSubscriptionLevelPolicyAssignmentPolicyStates", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("GetQueryResultsForSubscriptionLevelPolicyAssignmentPolicyStatesAsync", typeof(PolicyStateType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForPolicyDefinitionPolicyStates", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForPolicyDefinitionPolicyStatesAsync", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForPolicySetDefinitionPolicyStates", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForPolicySetDefinitionPolicyStatesAsync", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForSubscriptionLevelPolicyAssignmentPolicyStates", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
[CodeGenSuppress("SummarizeForSubscriptionLevelPolicyAssignmentPolicyStatesAsync", typeof(PolicyStateSummaryType), typeof(string), typeof(PolicyQuerySettings), typeof(CancellationToken))] | ||
internal partial class SubscriptionResourceExtensionClient : ArmResource | ||
{ | ||
} | ||
} |
16 changes: 8 additions & 8 deletions
16
...ure.ResourceManager.PolicyInsights/src/Generated/Extensions/ArmResourceExtensionClient.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.