Skip to content

Commit 1d76308

Browse files
author
SDK Automation
committed
Generated from 1144249e38328c6892ac246382220254c63249af
1 parent 469f7af commit 1d76308

File tree

19 files changed

+5136
-994
lines changed

19 files changed

+5136
-994
lines changed

sdk/policyinsights/mgmt-v2018_07_01_preview/pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-policyinsights</artifactId>
1818
<version>1.0.0-beta</version>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
/**
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+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.policyinsights.v2018_07_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.policyinsights.v2018_07_01_preview.implementation.PolicyInsightsManager;
14+
import com.microsoft.azure.management.policyinsights.v2018_07_01_preview.implementation.PolicyEventInner;
15+
import java.util.Map;
16+
import org.joda.time.DateTime;
17+
18+
/**
19+
* Type representing PolicyEvent.
20+
*/
21+
public interface PolicyEvent extends HasInner<PolicyEventInner>, HasManager<PolicyInsightsManager> {
22+
/**
23+
* @return the additionalProperties value.
24+
*/
25+
Map<String, Object> additionalProperties();
26+
27+
/**
28+
* @return the effectiveParameters value.
29+
*/
30+
String effectiveParameters();
31+
32+
/**
33+
* @return the isCompliant value.
34+
*/
35+
Boolean isCompliant();
36+
37+
/**
38+
* @return the managementGroupIds value.
39+
*/
40+
String managementGroupIds();
41+
42+
/**
43+
* @return the odatacontext value.
44+
*/
45+
String odatacontext();
46+
47+
/**
48+
* @return the odataid value.
49+
*/
50+
String odataid();
51+
52+
/**
53+
* @return the policyAssignmentId value.
54+
*/
55+
String policyAssignmentId();
56+
57+
/**
58+
* @return the policyAssignmentName value.
59+
*/
60+
String policyAssignmentName();
61+
62+
/**
63+
* @return the policyAssignmentOwner value.
64+
*/
65+
String policyAssignmentOwner();
66+
67+
/**
68+
* @return the policyAssignmentParameters value.
69+
*/
70+
String policyAssignmentParameters();
71+
72+
/**
73+
* @return the policyAssignmentScope value.
74+
*/
75+
String policyAssignmentScope();
76+
77+
/**
78+
* @return the policyDefinitionAction value.
79+
*/
80+
String policyDefinitionAction();
81+
82+
/**
83+
* @return the policyDefinitionCategory value.
84+
*/
85+
String policyDefinitionCategory();
86+
87+
/**
88+
* @return the policyDefinitionId value.
89+
*/
90+
String policyDefinitionId();
91+
92+
/**
93+
* @return the policyDefinitionName value.
94+
*/
95+
String policyDefinitionName();
96+
97+
/**
98+
* @return the policyDefinitionReferenceId value.
99+
*/
100+
String policyDefinitionReferenceId();
101+
102+
/**
103+
* @return the policySetDefinitionCategory value.
104+
*/
105+
String policySetDefinitionCategory();
106+
107+
/**
108+
* @return the policySetDefinitionId value.
109+
*/
110+
String policySetDefinitionId();
111+
112+
/**
113+
* @return the policySetDefinitionName value.
114+
*/
115+
String policySetDefinitionName();
116+
117+
/**
118+
* @return the policySetDefinitionOwner value.
119+
*/
120+
String policySetDefinitionOwner();
121+
122+
/**
123+
* @return the policySetDefinitionParameters value.
124+
*/
125+
String policySetDefinitionParameters();
126+
127+
/**
128+
* @return the principalOid value.
129+
*/
130+
String principalOid();
131+
132+
/**
133+
* @return the resourceGroup value.
134+
*/
135+
String resourceGroup();
136+
137+
/**
138+
* @return the resourceId value.
139+
*/
140+
String resourceId();
141+
142+
/**
143+
* @return the resourceLocation value.
144+
*/
145+
String resourceLocation();
146+
147+
/**
148+
* @return the resourceTags value.
149+
*/
150+
String resourceTags();
151+
152+
/**
153+
* @return the resourceType value.
154+
*/
155+
String resourceType();
156+
157+
/**
158+
* @return the subscriptionId value.
159+
*/
160+
String subscriptionId();
161+
162+
/**
163+
* @return the tenantId value.
164+
*/
165+
String tenantId();
166+
167+
/**
168+
* @return the timestamp value.
169+
*/
170+
DateTime timestamp();
171+
172+
}

sdk/policyinsights/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/PolicyEvents.java

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)