diff --git a/policyinsights/resource-manager/v2018_07_01_preview/pom.xml b/policyinsights/resource-manager/v2018_07_01_preview/pom.xml
index 54da09393297..39186945df1c 100644
--- a/policyinsights/resource-manager/v2018_07_01_preview/pom.xml
+++ b/policyinsights/resource-manager/v2018_07_01_preview/pom.xml
@@ -11,8 +11,8 @@
com.microsoft.azure
azure-arm-parent
- 1.1.0
- ../../../pom.management.xml
+ 0.0.3-beta
+ ../../../pom.xml
azure-mgmt-policyinsights
1.0.0-beta
diff --git a/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/Remediation.java b/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/Remediation.java
index 3e892d592505..49d3df8de9af 100644
--- a/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/Remediation.java
+++ b/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/Remediation.java
@@ -75,7 +75,7 @@ public interface Remediation extends HasInner, Indexable, Upda
/**
* The entirety of the Remediation definition.
*/
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithManagementGroup, DefinitionStages.WithCreate {
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithMicrosoft.PolicyInsight, DefinitionStages.WithCreate {
}
/**
@@ -85,19 +85,19 @@ interface DefinitionStages {
/**
* The first stage of a Remediation definition.
*/
- interface Blank extends WithManagementGroup {
+ interface Blank extends WithMicrosoft.PolicyInsight {
}
/**
* The stage of the remediation definition allowing to specify Microsoft.PolicyInsight.
*/
- interface WithManagementGroup {
+ interface WithMicrosoft.PolicyInsight {
/**
* Specifies managementGroupId.
* @param managementGroupId Management group ID
* @return the next definition stage
*/
- WithCreate withManagementGroupId(String managementGroupId);
+ WithCreate withExistingMicrosoft.PolicyInsight(String managementGroupId);
}
/**
diff --git a/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/RemediationImpl.java b/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/RemediationImpl.java
index ef922cadedfe..bb0988bbdd83 100644
--- a/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/RemediationImpl.java
+++ b/policyinsights/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/RemediationImpl.java
@@ -121,7 +121,7 @@ public String type() {
}
@Override
- public RemediationImpl withManagementGroupId(String managementGroupId) {
+ public RemediationImpl withExistingMicrosoft.PolicyInsight(String managementGroupId) {
this.managementGroupId = managementGroupId;
return this;
}