@@ -21,7 +21,7 @@ public interface PolicyEvents {
2121 * @throws IllegalArgumentException thrown if parameters fail the validation
2222 * @return the observable for the request
2323 */
24- Observable <PolicyEventsQueryResults > listQueryResultsForManagementGroupAsync (String managementGroupName );
24+ Observable <PolicyEvent > listQueryResultsForManagementGroupAsync (final String managementGroupName );
2525
2626 /**
2727 * Queries policy events for the resources under the subscription.
@@ -30,7 +30,7 @@ public interface PolicyEvents {
3030 * @throws IllegalArgumentException thrown if parameters fail the validation
3131 * @return the observable for the request
3232 */
33- Observable <PolicyEventsQueryResults > listQueryResultsForSubscriptionAsync (String subscriptionId );
33+ Observable <PolicyEvent > listQueryResultsForSubscriptionAsync (final String subscriptionId );
3434
3535 /**
3636 * Queries policy events for the resources under the resource group.
@@ -40,7 +40,7 @@ public interface PolicyEvents {
4040 * @throws IllegalArgumentException thrown if parameters fail the validation
4141 * @return the observable for the request
4242 */
43- Observable <PolicyEventsQueryResults > listQueryResultsForResourceGroupAsync (String subscriptionId , String resourceGroupName );
43+ Observable <PolicyEvent > listQueryResultsForResourceGroupAsync (final String subscriptionId , final String resourceGroupName );
4444
4545 /**
4646 * Queries policy events for the resource.
@@ -49,7 +49,7 @@ public interface PolicyEvents {
4949 * @throws IllegalArgumentException thrown if parameters fail the validation
5050 * @return the observable for the request
5151 */
52- Observable <PolicyEventsQueryResults > listQueryResultsForResourceAsync (String resourceId );
52+ Observable <PolicyEvent > listQueryResultsForResourceAsync (final String resourceId );
5353
5454 /**
5555 * Queries policy events for the subscription level policy set definition.
@@ -59,7 +59,7 @@ public interface PolicyEvents {
5959 * @throws IllegalArgumentException thrown if parameters fail the validation
6060 * @return the observable for the request
6161 */
62- Observable <PolicyEventsQueryResults > listQueryResultsForPolicySetDefinitionAsync (String subscriptionId , String policySetDefinitionName );
62+ Observable <PolicyEvent > listQueryResultsForPolicySetDefinitionAsync (final String subscriptionId , final String policySetDefinitionName );
6363
6464 /**
6565 * Queries policy events for the subscription level policy definition.
@@ -69,7 +69,7 @@ public interface PolicyEvents {
6969 * @throws IllegalArgumentException thrown if parameters fail the validation
7070 * @return the observable for the request
7171 */
72- Observable <PolicyEventsQueryResults > listQueryResultsForPolicyDefinitionAsync (String subscriptionId , String policyDefinitionName );
72+ Observable <PolicyEvent > listQueryResultsForPolicyDefinitionAsync (final String subscriptionId , final String policyDefinitionName );
7373
7474 /**
7575 * Queries policy events for the subscription level policy assignment.
@@ -79,7 +79,7 @@ public interface PolicyEvents {
7979 * @throws IllegalArgumentException thrown if parameters fail the validation
8080 * @return the observable for the request
8181 */
82- Observable <PolicyEventsQueryResults > listQueryResultsForSubscriptionLevelPolicyAssignmentAsync (String subscriptionId , String policyAssignmentName );
82+ Observable <PolicyEvent > listQueryResultsForSubscriptionLevelPolicyAssignmentAsync (final String subscriptionId , final String policyAssignmentName );
8383
8484 /**
8585 * Queries policy events for the resource group level policy assignment.
@@ -90,15 +90,6 @@ public interface PolicyEvents {
9090 * @throws IllegalArgumentException thrown if parameters fail the validation
9191 * @return the observable for the request
9292 */
93- Observable <PolicyEventsQueryResults > listQueryResultsForResourceGroupLevelPolicyAssignmentAsync (String subscriptionId , String resourceGroupName , String policyAssignmentName );
94-
95- /**
96- * Gets OData metadata XML document.
97- *
98- * @param scope A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.
99- * @throws IllegalArgumentException thrown if parameters fail the validation
100- * @return the observable for the request
101- */
102- Observable <String > getMetadataAsync (String scope );
93+ Observable <PolicyEvent > listQueryResultsForResourceGroupLevelPolicyAssignmentAsync (final String subscriptionId , final String resourceGroupName , final String policyAssignmentName );
10394
10495}
0 commit comments