diff --git a/sdk/compute/mgmt-v2019_07_01/pom.xml b/sdk/compute/mgmt-v2019_07_01/pom.xml index feadf451d018..0da70757feb3 100644 --- a/sdk/compute/mgmt-v2019_07_01/pom.xml +++ b/sdk/compute/mgmt-v2019_07_01/pom.xml @@ -11,8 +11,8 @@ com.microsoft.azure azure-arm-parent - 1.3.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-compute 1.0.0-beta diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachine.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachine.java index 194b4e3a1c26..7e4a8cd555fc 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachine.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachine.java @@ -158,7 +158,7 @@ public interface VirtualMachine extends HasInner, Indexable /** * The entirety of the VirtualMachine definition. */ - interface Definition extends DefinitionStages.Blank, DefinitionStages.WithLocation, DefinitionStages.WithResourceGroup, DefinitionStages.WithCreate { + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithLocation, DefinitionStages.WithLocation, DefinitionStages.WithCreate { } /** @@ -172,15 +172,15 @@ interface Blank extends WithLocation { } /** - * The stage of the virtualmachine definition allowing to specify resource group. + * The stage of the virtualmachine definition allowing to specify Location. */ - interface WithResourceGroup { + interface WithLocation { /** * Specifies resourceGroupName. * @param resourceGroupName The name of the resource group * @return the next definition stage */ - WithLocation withExistingResourceGroup(String resourceGroupName); + WithLocation withExistingLocation(String resourceGroupName); } /** diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachineScaleSetVMs.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachineScaleSetVMs.java index 1a124e46e224..d89d7f7059c9 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachineScaleSetVMs.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/VirtualMachineScaleSetVMs.java @@ -106,7 +106,7 @@ public interface VirtualMachineScaleSetVMs extends HasInner instanceViewAsync(String resourceGroupName, String vmName); /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -165,7 +165,7 @@ public interface VirtualMachines { Completable reimageAsync(String resourceGroupName, String vmName); /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/ProximityPlacementGroupImpl.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/ProximityPlacementGroupImpl.java index e1c1200832e1..88650790d6aa 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/ProximityPlacementGroupImpl.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/ProximityPlacementGroupImpl.java @@ -18,6 +18,7 @@ import com.microsoft.azure.management.compute.v2019_07_01.InstanceViewStatus; class ProximityPlacementGroupImpl extends GroupableResourceCoreImpl implements ProximityPlacementGroup, ProximityPlacementGroup.Definition, ProximityPlacementGroup.Update { + private Map utags; ProximityPlacementGroupImpl(String name, ProximityPlacementGroupInner inner, ComputeManager manager) { super(name, inner, manager); } @@ -32,7 +33,7 @@ public Observable createResourceAsync() { @Override public Observable updateResourceAsync() { ProximityPlacementGroupsInner client = this.manager().inner().proximityPlacementGroups(); - return client.updateAsync(this.resourceGroupName(), this.name(), this.tags()) + return client.updateAsync(this.resourceGroupName(), this.name(), this.utags) .map(innerToFluentMap(this)); } @@ -84,4 +85,11 @@ public ProximityPlacementGroupImpl withProximityPlacementGroupType(ProximityPlac this.inner().withProximityPlacementGroupType(proximityPlacementGroupType); return this; } + + @Override + public ProximityPlacementGroupImpl withTags(Map tags) { + this.utags = tags; + return this; + } + } diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineImpl.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineImpl.java index d11b318816a4..b5cb551cb676 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineImpl.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineImpl.java @@ -248,7 +248,7 @@ public List zones() { } @Override - public VirtualMachineImpl withExistingResourceGroup(String resourceGroupName) { + public VirtualMachineImpl withExistingLocation(String resourceGroupName) { this.resourceGroupName = resourceGroupName; return this; } diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineScaleSetVMsInner.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineScaleSetVMsInner.java index 775c60bddc7a..f1fb1937d7d2 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineScaleSetVMsInner.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachineScaleSetVMsInner.java @@ -2537,7 +2537,7 @@ private ServiceResponse beginRedeployDelegate(Response respo } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2551,7 +2551,7 @@ public void performMaintenance(String resourceGroupName, String vmScaleSetName, } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2565,7 +2565,7 @@ public ServiceFuture performMaintenanceAsync(String resourceGroupName, Str } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2583,7 +2583,7 @@ public Void call(ServiceResponse response) { } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2610,7 +2610,7 @@ public Observable> performMaintenanceWithServiceResponseAs } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2624,7 +2624,7 @@ public void beginPerformMaintenance(String resourceGroupName, String vmScaleSetN } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2638,7 +2638,7 @@ public ServiceFuture beginPerformMaintenanceAsync(String resourceGroupName } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. @@ -2656,7 +2656,7 @@ public Void call(ServiceResponse response) { } /** - * Performs maintenance on a virtual machine in a VM scale set. + * Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. diff --git a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachinesInner.java b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachinesInner.java index 70cbefb22714..e99d6824909a 100644 --- a/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachinesInner.java +++ b/sdk/compute/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/compute/v2019_07_01/implementation/VirtualMachinesInner.java @@ -1246,7 +1246,7 @@ private ServiceResponse instanceViewDelegate(Re } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1259,7 +1259,7 @@ public void convertToManagedDisks(String resourceGroupName, String vmName) { } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1272,7 +1272,7 @@ public ServiceFuture convertToManagedDisksAsync(String resourceGroupName, } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1289,7 +1289,7 @@ public Void call(ServiceResponse response) { } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1312,7 +1312,7 @@ public Observable> convertToManagedDisksWithServiceRespons } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1325,7 +1325,7 @@ public void beginConvertToManagedDisks(String resourceGroupName, String vmName) } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1338,7 +1338,7 @@ public ServiceFuture beginConvertToManagedDisksAsync(String resourceGroupN } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -1355,7 +1355,7 @@ public Void call(ServiceResponse response) { } /** - * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. + * Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. <br>For Windows, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks).<br>For Linux, please refer to [Convert a virtual machine from unmanaged disks to managed disks.](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/convert-unmanaged-to-managed-disks). * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3256,7 +3256,7 @@ private ServiceResponse beginReimageDelegate(Response respon } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3269,7 +3269,7 @@ public void performMaintenance(String resourceGroupName, String vmName) { } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3282,7 +3282,7 @@ public ServiceFuture performMaintenanceAsync(String resourceGroupName, Str } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3299,7 +3299,7 @@ public Void call(ServiceResponse response) { } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3322,7 +3322,7 @@ public Observable> performMaintenanceWithServiceResponseAs } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3335,7 +3335,7 @@ public void beginPerformMaintenance(String resourceGroupName, String vmName) { } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3348,7 +3348,7 @@ public ServiceFuture beginPerformMaintenanceAsync(String resourceGroupName } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine. @@ -3365,7 +3365,7 @@ public Void call(ServiceResponse response) { } /** - * The operation to perform maintenance on a virtual machine. + * Shuts down the virtual machine, moves it to an already updated node, and powers it back on during the self-service phase of planned maintenance. * * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine.