Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/policyinsights/mgmt-v2018_07_01_preview] Fix some bad output-folder for go SDK #4295

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sdk/policyinsights/mgmt-v2018_07_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-policyinsights</artifactId>
<version>1.0.0-beta</version>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.policyinsights.v2018_07_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.policyinsights.v2018_07_01_preview.implementation.PolicyInsightsManager;
import com.microsoft.azure.management.policyinsights.v2018_07_01_preview.implementation.PolicyEventInner;
import java.util.Map;
import org.joda.time.DateTime;

/**
* Type representing PolicyEvent.
*/
public interface PolicyEvent extends HasInner<PolicyEventInner>, HasManager<PolicyInsightsManager> {
/**
* @return the additionalProperties value.
*/
Map<String, Object> additionalProperties();

/**
* @return the effectiveParameters value.
*/
String effectiveParameters();

/**
* @return the isCompliant value.
*/
Boolean isCompliant();

/**
* @return the managementGroupIds value.
*/
String managementGroupIds();

/**
* @return the odatacontext value.
*/
String odatacontext();

/**
* @return the odataid value.
*/
String odataid();

/**
* @return the policyAssignmentId value.
*/
String policyAssignmentId();

/**
* @return the policyAssignmentName value.
*/
String policyAssignmentName();

/**
* @return the policyAssignmentOwner value.
*/
String policyAssignmentOwner();

/**
* @return the policyAssignmentParameters value.
*/
String policyAssignmentParameters();

/**
* @return the policyAssignmentScope value.
*/
String policyAssignmentScope();

/**
* @return the policyDefinitionAction value.
*/
String policyDefinitionAction();

/**
* @return the policyDefinitionCategory value.
*/
String policyDefinitionCategory();

/**
* @return the policyDefinitionId value.
*/
String policyDefinitionId();

/**
* @return the policyDefinitionName value.
*/
String policyDefinitionName();

/**
* @return the policyDefinitionReferenceId value.
*/
String policyDefinitionReferenceId();

/**
* @return the policySetDefinitionCategory value.
*/
String policySetDefinitionCategory();

/**
* @return the policySetDefinitionId value.
*/
String policySetDefinitionId();

/**
* @return the policySetDefinitionName value.
*/
String policySetDefinitionName();

/**
* @return the policySetDefinitionOwner value.
*/
String policySetDefinitionOwner();

/**
* @return the policySetDefinitionParameters value.
*/
String policySetDefinitionParameters();

/**
* @return the principalOid value.
*/
String principalOid();

/**
* @return the resourceGroup value.
*/
String resourceGroup();

/**
* @return the resourceId value.
*/
String resourceId();

/**
* @return the resourceLocation value.
*/
String resourceLocation();

/**
* @return the resourceTags value.
*/
String resourceTags();

/**
* @return the resourceType value.
*/
String resourceType();

/**
* @return the subscriptionId value.
*/
String subscriptionId();

/**
* @return the tenantId value.
*/
String tenantId();

/**
* @return the timestamp value.
*/
DateTime timestamp();

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForManagementGroupAsync(String managementGroupName);
Observable<PolicyEvent> listQueryResultsForManagementGroupAsync(final String managementGroupName);

/**
* Queries policy events for the resources under the subscription.
Expand All @@ -30,7 +30,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForSubscriptionAsync(String subscriptionId);
Observable<PolicyEvent> listQueryResultsForSubscriptionAsync(final String subscriptionId);

/**
* Queries policy events for the resources under the resource group.
Expand All @@ -40,7 +40,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForResourceGroupAsync(String subscriptionId, String resourceGroupName);
Observable<PolicyEvent> listQueryResultsForResourceGroupAsync(final String subscriptionId, final String resourceGroupName);

/**
* Queries policy events for the resource.
Expand All @@ -49,7 +49,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForResourceAsync(String resourceId);
Observable<PolicyEvent> listQueryResultsForResourceAsync(final String resourceId);

/**
* Queries policy events for the subscription level policy set definition.
Expand All @@ -59,7 +59,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForPolicySetDefinitionAsync(String subscriptionId, String policySetDefinitionName);
Observable<PolicyEvent> listQueryResultsForPolicySetDefinitionAsync(final String subscriptionId, final String policySetDefinitionName);

/**
* Queries policy events for the subscription level policy definition.
Expand All @@ -69,7 +69,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForPolicyDefinitionAsync(String subscriptionId, String policyDefinitionName);
Observable<PolicyEvent> listQueryResultsForPolicyDefinitionAsync(final String subscriptionId, final String policyDefinitionName);

/**
* Queries policy events for the subscription level policy assignment.
Expand All @@ -79,7 +79,7 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForSubscriptionLevelPolicyAssignmentAsync(String subscriptionId, String policyAssignmentName);
Observable<PolicyEvent> listQueryResultsForSubscriptionLevelPolicyAssignmentAsync(final String subscriptionId, final String policyAssignmentName);

/**
* Queries policy events for the resource group level policy assignment.
Expand All @@ -90,15 +90,6 @@ public interface PolicyEvents {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<PolicyEventsQueryResults> listQueryResultsForResourceGroupLevelPolicyAssignmentAsync(String subscriptionId, String resourceGroupName, String policyAssignmentName);

/**
* Gets OData metadata XML document.
*
* @param scope A valid scope, i.e. management group, subscription, resource group, or resource ID. Scope used has no effect on metadata returned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<String> getMetadataAsync(String scope);
Observable<PolicyEvent> listQueryResultsForResourceGroupLevelPolicyAssignmentAsync(final String subscriptionId, final String resourceGroupName, final String policyAssignmentName);

}
Loading