11// <auto-generated>
2+ // Copyright (c) Microsoft Corporation. All rights reserved.
3+ // Licensed under the MIT License. See License.txt in the project root for
4+ // license information.
5+ //
26// Code generated by Microsoft (R) AutoRest Code Generator.
37// Changes may cause incorrect behavior and will be lost if the code is
48// regenerated.
59// </auto-generated>
610
7- namespace Microsoft . Azure . Management . PolicyInsights_2018_04_04
11+ namespace Microsoft . Azure . Management . PolicyInsights_2018_04
812{
913 using Microsoft . Rest ;
14+ using Microsoft . Rest . Azure ;
1015 using Models ;
1116 using System . Collections ;
1217 using System . Collections . Generic ;
1318 using System . Threading ;
1419 using System . Threading . Tasks ;
1520
1621 /// <summary>
17- /// PolicyEvents operations.
22+ /// PolicyEventsOperations operations.
1823 /// </summary>
19- public partial interface IPolicyEvents
24+ public partial interface IPolicyEventsOperations
2025 {
2126 /// <summary>
2227 /// Queries policy events for the resources under the management group.
@@ -42,7 +47,7 @@ public partial interface IPolicyEvents
4247 /// <exception cref="Microsoft.Rest.ValidationException">
4348 /// Thrown when a required parameter is null
4449 /// </exception>
45- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForManagementGroupWithHttpMessagesAsync ( string managementGroupName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
50+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForManagementGroupWithHttpMessagesAsync ( string managementGroupName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
4651 /// <summary>
4752 /// Queries policy events for the resources under the subscription.
4853 /// </summary>
@@ -67,7 +72,7 @@ public partial interface IPolicyEvents
6772 /// <exception cref="Microsoft.Rest.ValidationException">
6873 /// Thrown when a required parameter is null
6974 /// </exception>
70- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForSubscriptionWithHttpMessagesAsync ( string subscriptionId , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
75+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForSubscriptionWithHttpMessagesAsync ( string subscriptionId , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
7176 /// <summary>
7277 /// Queries policy events for the resources under the resource group.
7378 /// </summary>
@@ -95,7 +100,7 @@ public partial interface IPolicyEvents
95100 /// <exception cref="Microsoft.Rest.ValidationException">
96101 /// Thrown when a required parameter is null
97102 /// </exception>
98- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceGroupWithHttpMessagesAsync ( string subscriptionId , string resourceGroupName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
103+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceGroupWithHttpMessagesAsync ( string subscriptionId , string resourceGroupName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
99104 /// <summary>
100105 /// Queries policy events for the resource.
101106 /// </summary>
@@ -120,7 +125,7 @@ public partial interface IPolicyEvents
120125 /// <exception cref="Microsoft.Rest.ValidationException">
121126 /// Thrown when a required parameter is null
122127 /// </exception>
123- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceWithHttpMessagesAsync ( string resourceId , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
128+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceWithHttpMessagesAsync ( string resourceId , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
124129 /// <summary>
125130 /// Queries policy events for the subscription level policy set
126131 /// definition.
@@ -149,7 +154,7 @@ public partial interface IPolicyEvents
149154 /// <exception cref="Microsoft.Rest.ValidationException">
150155 /// Thrown when a required parameter is null
151156 /// </exception>
152- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForPolicySetDefinitionWithHttpMessagesAsync ( string subscriptionId , string policySetDefinitionName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
157+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForPolicySetDefinitionWithHttpMessagesAsync ( string subscriptionId , string policySetDefinitionName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
153158 /// <summary>
154159 /// Queries policy events for the subscription level policy definition.
155160 /// </summary>
@@ -177,7 +182,7 @@ public partial interface IPolicyEvents
177182 /// <exception cref="Microsoft.Rest.ValidationException">
178183 /// Thrown when a required parameter is null
179184 /// </exception>
180- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForPolicyDefinitionWithHttpMessagesAsync ( string subscriptionId , string policyDefinitionName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
185+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForPolicyDefinitionWithHttpMessagesAsync ( string subscriptionId , string policyDefinitionName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
181186 /// <summary>
182187 /// Queries policy events for the subscription level policy assignment.
183188 /// </summary>
@@ -205,7 +210,7 @@ public partial interface IPolicyEvents
205210 /// <exception cref="Microsoft.Rest.ValidationException">
206211 /// Thrown when a required parameter is null
207212 /// </exception>
208- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForSubscriptionLevelPolicyAssignmentWithHttpMessagesAsync ( string subscriptionId , string policyAssignmentName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
213+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForSubscriptionLevelPolicyAssignmentWithHttpMessagesAsync ( string subscriptionId , string policyAssignmentName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
209214 /// <summary>
210215 /// Queries policy events for the resource group level policy
211216 /// assignment.
@@ -237,7 +242,7 @@ public partial interface IPolicyEvents
237242 /// <exception cref="Microsoft.Rest.ValidationException">
238243 /// Thrown when a required parameter is null
239244 /// </exception>
240- Task < HttpOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceGroupLevelPolicyAssignmentWithHttpMessagesAsync ( string subscriptionId , string resourceGroupName , string policyAssignmentName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
245+ Task < AzureOperationResponse < PolicyEventsQueryResults > > ListQueryResultsForResourceGroupLevelPolicyAssignmentWithHttpMessagesAsync ( string subscriptionId , string resourceGroupName , string policyAssignmentName , QueryOptions queryOptions = default ( QueryOptions ) , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
241246 /// <summary>
242247 /// Gets OData metadata XML document.
243248 /// </summary>
@@ -260,6 +265,6 @@ public partial interface IPolicyEvents
260265 /// <exception cref="Microsoft.Rest.ValidationException">
261266 /// Thrown when a required parameter is null
262267 /// </exception>
263- Task < HttpOperationResponse < string > > GetMetadataWithHttpMessagesAsync ( string scope , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
268+ Task < AzureOperationResponse < string > > GetMetadataWithHttpMessagesAsync ( string scope , Dictionary < string , List < string > > customHeaders = null , CancellationToken cancellationToken = default ( CancellationToken ) ) ;
264269 }
265270}
0 commit comments