Skip to content

Commit 089c816

Browse files
authored
mgmt, local generation for Compute DiskRP 2024-03-02 (#41259)
mgmt, local generation for Compute DiskRP 2024-03-02
1 parent 1dcecc0 commit 089c816

File tree

95 files changed

+834
-848
lines changed

Some content is hidden

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

95 files changed

+834
-848
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"dir": "azure-resourcemanager-compute",
4141
"source": "specification/compute/resource-manager/readme.md",
4242
"package": "com.azure.resourcemanager.compute",
43-
"args": "--tag=package-2024-03-01 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
43+
"args": "--tag=package-2024-03-02 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
4444
},
4545
"compute-hybrid": {
4646
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
- Changed type from `List<VirtualMachineExtensionInner>` to `List<String>` of `excludeExtensions` property in `SecurityPostureReference` class.
88

9+
### Other Changes
10+
11+
#### Dependency Updates
12+
13+
- Updated `api-version` of DiskRP to `2024-03-02`.
14+
915
## 2.40.0 (2024-06-24)
1016

1117
### Other Changes

sdk/resourcemanager/azure-resourcemanager-compute/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/resourcemanager/azure-resourcemanager-compute",
5-
"Tag": "java/resourcemanager/azure-resourcemanager-compute_cecec9770a"
5+
"Tag": "java/resourcemanager/azure-resourcemanager-compute_b77244749d"
66
}

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.azure.resourcemanager.compute.models.InstanceViewStatus;
1111
import com.azure.resourcemanager.compute.models.Sku;
1212
import com.fasterxml.jackson.annotation.JsonProperty;
13-
1413
import java.util.List;
1514
import java.util.Map;
1615

@@ -47,7 +46,7 @@ public AvailabilitySetInner() {
4746

4847
/**
4948
* Get the innerProperties property: The instance view of a resource.
50-
*
49+
*
5150
* @return the innerProperties value.
5251
*/
5352
private AvailabilitySetProperties innerProperties() {
@@ -58,7 +57,7 @@ private AvailabilitySetProperties innerProperties() {
5857
* Get the sku property: Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes
5958
* for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual
6059
* machines with unmanaged disks. Default value is 'Classic'.
61-
*
60+
*
6261
* @return the sku value.
6362
*/
6463
public Sku sku() {
@@ -69,7 +68,7 @@ public Sku sku() {
6968
* Set the sku property: Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes
7069
* for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual
7170
* machines with unmanaged disks. Default value is 'Classic'.
72-
*
71+
*
7372
* @param sku the sku value to set.
7473
* @return the AvailabilitySetInner object itself.
7574
*/
@@ -98,7 +97,7 @@ public AvailabilitySetInner withTags(Map<String, String> tags) {
9897

9998
/**
10099
* Get the platformUpdateDomainCount property: Update Domain count.
101-
*
100+
*
102101
* @return the platformUpdateDomainCount value.
103102
*/
104103
public Integer platformUpdateDomainCount() {
@@ -107,7 +106,7 @@ public Integer platformUpdateDomainCount() {
107106

108107
/**
109108
* Set the platformUpdateDomainCount property: Update Domain count.
110-
*
109+
*
111110
* @param platformUpdateDomainCount the platformUpdateDomainCount value to set.
112111
* @return the AvailabilitySetInner object itself.
113112
*/
@@ -121,7 +120,7 @@ public AvailabilitySetInner withPlatformUpdateDomainCount(Integer platformUpdate
121120

122121
/**
123122
* Get the platformFaultDomainCount property: Fault Domain count.
124-
*
123+
*
125124
* @return the platformFaultDomainCount value.
126125
*/
127126
public Integer platformFaultDomainCount() {
@@ -130,7 +129,7 @@ public Integer platformFaultDomainCount() {
130129

131130
/**
132131
* Set the platformFaultDomainCount property: Fault Domain count.
133-
*
132+
*
134133
* @param platformFaultDomainCount the platformFaultDomainCount value to set.
135134
* @return the AvailabilitySetInner object itself.
136135
*/
@@ -144,7 +143,7 @@ public AvailabilitySetInner withPlatformFaultDomainCount(Integer platformFaultDo
144143

145144
/**
146145
* Get the virtualMachines property: A list of references to all virtual machines in the availability set.
147-
*
146+
*
148147
* @return the virtualMachines value.
149148
*/
150149
public List<SubResource> virtualMachines() {
@@ -153,7 +152,7 @@ public List<SubResource> virtualMachines() {
153152

154153
/**
155154
* Set the virtualMachines property: A list of references to all virtual machines in the availability set.
156-
*
155+
*
157156
* @param virtualMachines the virtualMachines value to set.
158157
* @return the AvailabilitySetInner object itself.
159158
*/
@@ -168,7 +167,7 @@ public AvailabilitySetInner withVirtualMachines(List<SubResource> virtualMachine
168167
/**
169168
* Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
170169
* availability set should be assigned to. Minimum api-version: 2018-04-01.
171-
*
170+
*
172171
* @return the proximityPlacementGroup value.
173172
*/
174173
public SubResource proximityPlacementGroup() {
@@ -178,7 +177,7 @@ public SubResource proximityPlacementGroup() {
178177
/**
179178
* Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
180179
* availability set should be assigned to. Minimum api-version: 2018-04-01.
181-
*
180+
*
182181
* @param proximityPlacementGroup the proximityPlacementGroup value to set.
183182
* @return the AvailabilitySetInner object itself.
184183
*/
@@ -192,7 +191,7 @@ public AvailabilitySetInner withProximityPlacementGroup(SubResource proximityPla
192191

193192
/**
194193
* Get the statuses property: The resource status information.
195-
*
194+
*
196195
* @return the statuses value.
197196
*/
198197
public List<InstanceViewStatus> statuses() {
@@ -201,7 +200,7 @@ public List<InstanceViewStatus> statuses() {
201200

202201
/**
203202
* Validates the instance.
204-
*
203+
*
205204
* @throws IllegalArgumentException thrown if the instance is not valid.
206205
*/
207206
public void validate() {

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.azure.resourcemanager.compute.models.ResourceSharingProfile;
1111
import com.azure.resourcemanager.compute.models.SubResourceReadOnly;
1212
import com.fasterxml.jackson.annotation.JsonProperty;
13-
1413
import java.util.List;
1514
import java.util.Map;
1615

@@ -43,7 +42,7 @@ public CapacityReservationGroupInner() {
4342

4443
/**
4544
* Get the innerProperties property: capacity reservation group Properties.
46-
*
45+
*
4746
* @return the innerProperties value.
4847
*/
4948
private CapacityReservationGroupProperties innerProperties() {
@@ -54,7 +53,7 @@ private CapacityReservationGroupProperties innerProperties() {
5453
* Get the zones property: Availability Zones to use for this capacity reservation group. The zones can be assigned
5554
* only during creation. If not provided, the group supports only regional resources in the region. If provided,
5655
* enforces each capacity reservation in the group to be in one of the zones.
57-
*
56+
*
5857
* @return the zones value.
5958
*/
6059
public List<String> zones() {
@@ -65,7 +64,7 @@ public List<String> zones() {
6564
* Set the zones property: Availability Zones to use for this capacity reservation group. The zones can be assigned
6665
* only during creation. If not provided, the group supports only regional resources in the region. If provided,
6766
* enforces each capacity reservation in the group to be in one of the zones.
68-
*
67+
*
6968
* @param zones the zones value to set.
7069
* @return the CapacityReservationGroupInner object itself.
7170
*/
@@ -95,7 +94,7 @@ public CapacityReservationGroupInner withTags(Map<String, String> tags) {
9594
/**
9695
* Get the capacityReservations property: A list of all capacity reservation resource ids that belong to capacity
9796
* reservation group.
98-
*
97+
*
9998
* @return the capacityReservations value.
10099
*/
101100
public List<SubResourceReadOnly> capacityReservations() {
@@ -105,7 +104,7 @@ public List<SubResourceReadOnly> capacityReservations() {
105104
/**
106105
* Get the virtualMachinesAssociated property: A list of references to all virtual machines associated to the
107106
* capacity reservation group.
108-
*
107+
*
109108
* @return the virtualMachinesAssociated value.
110109
*/
111110
public List<SubResourceReadOnly> virtualMachinesAssociated() {
@@ -115,7 +114,7 @@ public List<SubResourceReadOnly> virtualMachinesAssociated() {
115114
/**
116115
* Get the instanceView property: The capacity reservation group instance view which has the list of instance views
117116
* for all the capacity reservations that belong to the capacity reservation group.
118-
*
117+
*
119118
* @return the instanceView value.
120119
*/
121120
public CapacityReservationGroupInstanceView instanceView() {
@@ -128,7 +127,7 @@ public CapacityReservationGroupInstanceView instanceView() {
128127
* across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship
129128
* established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to
130129
* https://aka.ms/computereservationsharing for more details.
131-
*
130+
*
132131
* @return the sharingProfile value.
133132
*/
134133
public ResourceSharingProfile sharingProfile() {
@@ -141,7 +140,7 @@ public ResourceSharingProfile sharingProfile() {
141140
* across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship
142141
* established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to
143142
* https://aka.ms/computereservationsharing for more details.
144-
*
143+
*
145144
* @param sharingProfile the sharingProfile value to set.
146145
* @return the CapacityReservationGroupInner object itself.
147146
*/
@@ -155,7 +154,7 @@ public CapacityReservationGroupInner withSharingProfile(ResourceSharingProfile s
155154

156155
/**
157156
* Validates the instance.
158-
*
157+
*
159158
* @throws IllegalArgumentException thrown if the instance is not valid.
160159
*/
161160
public void validate() {

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import com.azure.resourcemanager.compute.models.ResourceSharingProfile;
1010
import com.azure.resourcemanager.compute.models.SubResourceReadOnly;
1111
import com.fasterxml.jackson.annotation.JsonProperty;
12-
1312
import java.util.List;
1413

1514
/**
@@ -55,7 +54,7 @@ public CapacityReservationGroupProperties() {
5554
/**
5655
* Get the capacityReservations property: A list of all capacity reservation resource ids that belong to capacity
5756
* reservation group.
58-
*
57+
*
5958
* @return the capacityReservations value.
6059
*/
6160
public List<SubResourceReadOnly> capacityReservations() {
@@ -65,7 +64,7 @@ public List<SubResourceReadOnly> capacityReservations() {
6564
/**
6665
* Get the virtualMachinesAssociated property: A list of references to all virtual machines associated to the
6766
* capacity reservation group.
68-
*
67+
*
6968
* @return the virtualMachinesAssociated value.
7069
*/
7170
public List<SubResourceReadOnly> virtualMachinesAssociated() {
@@ -75,7 +74,7 @@ public List<SubResourceReadOnly> virtualMachinesAssociated() {
7574
/**
7675
* Get the instanceView property: The capacity reservation group instance view which has the list of instance views
7776
* for all the capacity reservations that belong to the capacity reservation group.
78-
*
77+
*
7978
* @return the instanceView value.
8079
*/
8180
public CapacityReservationGroupInstanceView instanceView() {
@@ -88,7 +87,7 @@ public CapacityReservationGroupInstanceView instanceView() {
8887
* across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship
8988
* established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to
9089
* https://aka.ms/computereservationsharing for more details.
91-
*
90+
*
9291
* @return the sharingProfile value.
9392
*/
9493
public ResourceSharingProfile sharingProfile() {
@@ -101,7 +100,7 @@ public ResourceSharingProfile sharingProfile() {
101100
* across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship
102101
* established between the AAD tenants. **Note:** Minimum api-version: 2024-03-01. Please refer to
103102
* https://aka.ms/computereservationsharing for more details.
104-
*
103+
*
105104
* @param sharingProfile the sharingProfile value to set.
106105
* @return the CapacityReservationGroupProperties object itself.
107106
*/
@@ -112,7 +111,7 @@ public CapacityReservationGroupProperties withSharingProfile(ResourceSharingProf
112111

113112
/**
114113
* Validates the instance.
115-
*
114+
*
116115
* @throws IllegalArgumentException thrown if the instance is not valid.
117116
*/
118117
public void validate() {

0 commit comments

Comments
 (0)