Skip to content

Commit b30bfe7

Browse files
mgmt, upgrade compute to 2020-12-01 (Azure#19347)
1 parent 53ee39e commit b30bfe7

File tree

303 files changed

+556094
-481618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+556094
-481618
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"dir": "azure-resourcemanager-compute",
7777
"source": "specification/compute/resource-manager/readme.md",
7878
"package": "com.azure.resourcemanager.compute",
79-
"args": "--payload-flattening-threshold=1 --tag=package-2020-06-30 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities"
79+
"args": "--payload-flattening-threshold=1 --tag=package-2020-12-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities"
8080
},
8181
"consumption": {
8282
"dir": "azure-resourcemanager-consumption",

sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## 2.2.0-beta.1 (Unreleased)
44

5-
- Updated `api-version` to `2020-06-01`
6-
- Supported virtual machines force delete
5+
- Updated `api-version` to `2020-12-01`
6+
- Supported force deletion on virtual machines and virtual machine scale sets
7+
- Removed container service as it is deprecated in compute, please use `KubernetesCluster` from `azure-resourcemanager-containerservice`
78

89
## 2.1.0 (2020-11-24)
910

sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/AvailabilitySetsClient.java

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ public interface AvailabilitySetsClient
2828
*
2929
* @param resourceGroupName The name of the resource group.
3030
* @param availabilitySetName The name of the availability set.
31-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
32-
* to. Virtual machines specified in the same availability set are allocated to different nodes to maximize
33-
* availability. For more information about availability sets, see [Manage the availability of virtual
34-
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
35-
* <br><br> For more information on Azure planned maintenance, see [Planned maintenance for virtual
36-
* machines in
37-
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
38-
* <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM
39-
* cannot be added to an availability set.
31+
* @param parameters Parameters supplied to the Create Availability Set operation.
4032
* @throws IllegalArgumentException thrown if parameters fail the validation.
4133
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4234
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -51,15 +43,7 @@ Mono<Response<AvailabilitySetInner>> createOrUpdateWithResponseAsync(
5143
*
5244
* @param resourceGroupName The name of the resource group.
5345
* @param availabilitySetName The name of the availability set.
54-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
55-
* to. Virtual machines specified in the same availability set are allocated to different nodes to maximize
56-
* availability. For more information about availability sets, see [Manage the availability of virtual
57-
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
58-
* &lt;br&gt;&lt;br&gt; For more information on Azure planned maintenance, see [Planned maintenance for virtual
59-
* machines in
60-
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
61-
* &lt;br&gt;&lt;br&gt; Currently, a VM can only be added to availability set at creation time. An existing VM
62-
* cannot be added to an availability set.
46+
* @param parameters Parameters supplied to the Create Availability Set operation.
6347
* @throws IllegalArgumentException thrown if parameters fail the validation.
6448
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6549
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -74,15 +58,7 @@ Mono<AvailabilitySetInner> createOrUpdateAsync(
7458
*
7559
* @param resourceGroupName The name of the resource group.
7660
* @param availabilitySetName The name of the availability set.
77-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
78-
* to. Virtual machines specified in the same availability set are allocated to different nodes to maximize
79-
* availability. For more information about availability sets, see [Manage the availability of virtual
80-
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
81-
* &lt;br&gt;&lt;br&gt; For more information on Azure planned maintenance, see [Planned maintenance for virtual
82-
* machines in
83-
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
84-
* &lt;br&gt;&lt;br&gt; Currently, a VM can only be added to availability set at creation time. An existing VM
85-
* cannot be added to an availability set.
61+
* @param parameters Parameters supplied to the Create Availability Set operation.
8662
* @throws IllegalArgumentException thrown if parameters fail the validation.
8763
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
8864
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -97,15 +73,7 @@ AvailabilitySetInner createOrUpdate(
9773
*
9874
* @param resourceGroupName The name of the resource group.
9975
* @param availabilitySetName The name of the availability set.
100-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
101-
* to. Virtual machines specified in the same availability set are allocated to different nodes to maximize
102-
* availability. For more information about availability sets, see [Manage the availability of virtual
103-
* machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
104-
* &lt;br&gt;&lt;br&gt; For more information on Azure planned maintenance, see [Planned maintenance for virtual
105-
* machines in
106-
* Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
107-
* &lt;br&gt;&lt;br&gt; Currently, a VM can only be added to availability set at creation time. An existing VM
108-
* cannot be added to an availability set.
76+
* @param parameters Parameters supplied to the Create Availability Set operation.
10977
* @param context The context to associate with this operation.
11078
* @throws IllegalArgumentException thrown if parameters fail the validation.
11179
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -121,8 +89,7 @@ Response<AvailabilitySetInner> createOrUpdateWithResponse(
12189
*
12290
* @param resourceGroupName The name of the resource group.
12391
* @param availabilitySetName The name of the availability set.
124-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
125-
* to. Only tags may be updated.
92+
* @param parameters Parameters supplied to the Update Availability Set operation.
12693
* @throws IllegalArgumentException thrown if parameters fail the validation.
12794
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
12895
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -137,8 +104,7 @@ Mono<Response<AvailabilitySetInner>> updateWithResponseAsync(
137104
*
138105
* @param resourceGroupName The name of the resource group.
139106
* @param availabilitySetName The name of the availability set.
140-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
141-
* to. Only tags may be updated.
107+
* @param parameters Parameters supplied to the Update Availability Set operation.
142108
* @throws IllegalArgumentException thrown if parameters fail the validation.
143109
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
144110
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -153,8 +119,7 @@ Mono<AvailabilitySetInner> updateAsync(
153119
*
154120
* @param resourceGroupName The name of the resource group.
155121
* @param availabilitySetName The name of the availability set.
156-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
157-
* to. Only tags may be updated.
122+
* @param parameters Parameters supplied to the Update Availability Set operation.
158123
* @throws IllegalArgumentException thrown if parameters fail the validation.
159124
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
160125
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -168,8 +133,7 @@ Mono<AvailabilitySetInner> updateAsync(
168133
*
169134
* @param resourceGroupName The name of the resource group.
170135
* @param availabilitySetName The name of the availability set.
171-
* @param parameters Specifies information about the availability set that the virtual machine should be assigned
172-
* to. Only tags may be updated.
136+
* @param parameters Parameters supplied to the Update Availability Set operation.
173137
* @param context The context to associate with this operation.
174138
* @throws IllegalArgumentException thrown if parameters fail the validation.
175139
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.

sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/ComputeManagementClient.java

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ public interface ComputeManagementClient {
101101
*/
102102
VirtualMachineImagesClient getVirtualMachineImages();
103103

104+
/**
105+
* Gets the VirtualMachineImagesEdgeZonesClient object to access its operations.
106+
*
107+
* @return the VirtualMachineImagesEdgeZonesClient object.
108+
*/
109+
VirtualMachineImagesEdgeZonesClient getVirtualMachineImagesEdgeZones();
110+
104111
/**
105112
* Gets the UsagesClient object to access its operations.
106113
*
@@ -115,6 +122,13 @@ public interface ComputeManagementClient {
115122
*/
116123
VirtualMachinesClient getVirtualMachines();
117124

125+
/**
126+
* Gets the VirtualMachineScaleSetsClient object to access its operations.
127+
*
128+
* @return the VirtualMachineScaleSetsClient object.
129+
*/
130+
VirtualMachineScaleSetsClient getVirtualMachineScaleSets();
131+
118132
/**
119133
* Gets the VirtualMachineSizesClient object to access its operations.
120134
*
@@ -129,13 +143,6 @@ public interface ComputeManagementClient {
129143
*/
130144
ImagesClient getImages();
131145

132-
/**
133-
* Gets the VirtualMachineScaleSetsClient object to access its operations.
134-
*
135-
* @return the VirtualMachineScaleSetsClient object.
136-
*/
137-
VirtualMachineScaleSetsClient getVirtualMachineScaleSets();
138-
139146
/**
140147
* Gets the VirtualMachineScaleSetExtensionsClient object to access its operations.
141148
*
@@ -220,6 +227,13 @@ public interface ComputeManagementClient {
220227
*/
221228
DiskAccessesClient getDiskAccesses();
222229

230+
/**
231+
* Gets the DiskRestorePointsClient object to access its operations.
232+
*
233+
* @return the DiskRestorePointsClient object.
234+
*/
235+
DiskRestorePointsClient getDiskRestorePoints();
236+
223237
/**
224238
* Gets the GalleriesClient object to access its operations.
225239
*
@@ -254,11 +268,4 @@ public interface ComputeManagementClient {
254268
* @return the GalleryApplicationVersionsClient object.
255269
*/
256270
GalleryApplicationVersionsClient getGalleryApplicationVersions();
257-
258-
/**
259-
* Gets the ContainerServicesClient object to access its operations.
260-
*
261-
* @return the ContainerServicesClient object.
262-
*/
263-
ContainerServicesClient getContainerServices();
264271
}

0 commit comments

Comments
 (0)