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 policyinsights/resource-manager] [Hub Generated] Review request for Microsoft.PolicyInsights to add version preview/2017-08-09-preview #3378

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
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,7 +90,7 @@ 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);
Observable<PolicyEvent> listQueryResultsForResourceGroupLevelPolicyAssignmentAsync(final String subscriptionId, final String resourceGroupName, final String policyAssignmentName);

/**
* Gets OData metadata XML document.
Expand Down
Loading