Skip to content
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dir": "azure-resourcemanager-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.azure.resourcemanager.compute",
"args": "--tag=package-2022-04-04 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
"args": "--tag=package-2022-08-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
},
"compute-hybrid": {
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

## 2.19.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Property `protectedSettingsFromKeyVault` in `VirtualMachineExtensionUpdate` changed from `Object` to `KeyVaultSecretReference`.

### Other Changes

#### Dependency Updates

- Updated `api-version` to `2022-08-01`.

## 2.18.0 (2022-08-26)

### Bugs Fixed
Expand Down
3 changes: 3 additions & 0 deletions sdk/resourcemanager/azure-resourcemanager-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
--add-opens com.azure.resourcemanager.resources/com.azure.resourcemanager.resources=ALL-UNNAMED
--add-opens com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.fluentcore.arm=ALL-UNNAMED
--add-opens com.azure.resourcemanager.storage/com.azure.resourcemanager.storage=ALL-UNNAMED

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<revapi.skip>true</revapi.skip>
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@ public String reservationId() {
return this.innerProperties() == null ? null : this.innerProperties().reservationId();
}

/**
* Get the platformFaultDomainCount property: Specifies the value of fault domain count that Capacity Reservation
* supports for requested VM size.&lt;br&gt;NOTE: The fault domain count specified for a resource (like virtual
* machines scale set) must be less than or equal to this value if it deploys using capacity
* reservation.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-08-01.
*
* @return the platformFaultDomainCount value.
*/
public Integer platformFaultDomainCount() {
return this.innerProperties() == null ? null : this.innerProperties().platformFaultDomainCount();
}

/**
* Get the virtualMachinesAssociated property: A list of all virtual machine resource ids that are associated with
* the capacity reservation.
Expand Down Expand Up @@ -166,7 +178,7 @@ public CapacityReservationInstanceView instanceView() {

/**
* Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-03-01.
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ public final class CapacityReservationProperties {
@JsonProperty(value = "reservationId", access = JsonProperty.Access.WRITE_ONLY)
private String reservationId;

/*
* Specifies the value of fault domain count that Capacity Reservation supports for requested VM size.<br>NOTE: The
* fault domain count specified for a resource (like virtual machines scale set) must be less than or equal to this
* value if it deploys using capacity reservation.<br><br>Minimum api-version: 2022-08-01.
*/
@JsonProperty(value = "platformFaultDomainCount", access = JsonProperty.Access.WRITE_ONLY)
private Integer platformFaultDomainCount;

/*
* A list of all virtual machine resource ids that are associated with the capacity reservation.
*/
Expand All @@ -47,7 +55,7 @@ public final class CapacityReservationProperties {

/*
* Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version:
* 2022-03-01.
* 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
Expand All @@ -62,6 +70,18 @@ public String reservationId() {
return this.reservationId;
}

/**
* Get the platformFaultDomainCount property: Specifies the value of fault domain count that Capacity Reservation
* supports for requested VM size.&lt;br&gt;NOTE: The fault domain count specified for a resource (like virtual
* machines scale set) must be less than or equal to this value if it deploys using capacity
* reservation.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-08-01.
*
* @return the platformFaultDomainCount value.
*/
public Integer platformFaultDomainCount() {
return this.platformFaultDomainCount;
}

/**
* Get the virtualMachinesAssociated property: A list of all virtual machine resource ids that are associated with
* the capacity reservation.
Expand Down Expand Up @@ -101,7 +121,7 @@ public CapacityReservationInstanceView instanceView() {

/**
* Get the timeCreated property: Specifies the time at which the Capacity Reservation resource was
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-03-01.
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

package com.azure.resourcemanager.compute.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Describes the properties of a Compute Operation value. */
@Fluent
@Immutable
public final class ComputeOperationValueInner {
/*
* The origin of the compute operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public DedicatedHostInstanceView instanceView() {

/**
* Get the timeCreated property: Specifies the time at which the Dedicated Host resource was
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-03-01.
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public final class DedicatedHostProperties {
private DedicatedHostInstanceView instanceView;

/*
* Specifies the time at which the Dedicated Host resource was created.<br><br>Minimum api-version: 2022-03-01.
* Specifies the time at which the Dedicated Host resource was created.<br><br>Minimum api-version: 2021-11-01.
*/
@JsonProperty(value = "timeCreated", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeCreated;
Expand Down Expand Up @@ -189,7 +189,7 @@ public DedicatedHostInstanceView instanceView() {

/**
* Get the timeCreated property: Specifies the time at which the Dedicated Host resource was
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2022-03-01.
* created.&lt;br&gt;&lt;br&gt;Minimum api-version: 2021-11-01.
*
* @return the timeCreated value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,15 @@ public DiskInner withDiskAccessId(String diskAccessId) {
return this;
}

/**
* Get the burstingEnabledTime property: Latest time when bursting was last enabled on a disk.
*
* @return the burstingEnabledTime value.
*/
public OffsetDateTime burstingEnabledTime() {
return this.innerProperties() == null ? null : this.innerProperties().burstingEnabledTime();
}

/**
* Get the tier property: Performance tier of the disk (e.g, P4, S10) as described here:
* https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
Expand Down Expand Up @@ -780,6 +789,35 @@ public DiskInner withDataAccessAuthMode(DataAccessAuthMode dataAccessAuthMode) {
return this;
}

/**
* Get the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @return the optimizedForFrequentAttach value.
*/
public Boolean optimizedForFrequentAttach() {
return this.innerProperties() == null ? null : this.innerProperties().optimizedForFrequentAttach();
}

/**
* Set the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @param optimizedForFrequentAttach the optimizedForFrequentAttach value to set.
* @return the DiskInner object itself.
*/
public DiskInner withOptimizedForFrequentAttach(Boolean optimizedForFrequentAttach) {
if (this.innerProperties() == null) {
this.innerProperties = new DiskProperties();
}
this.innerProperties().withOptimizedForFrequentAttach(optimizedForFrequentAttach);
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ public final class DiskProperties {
@JsonProperty(value = "diskAccessId")
private String diskAccessId;

/*
* Latest time when bursting was last enabled on a disk.
*/
@JsonProperty(value = "burstingEnabledTime", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime burstingEnabledTime;

/*
* Performance tier of the disk (e.g, P4, S10) as described here:
* https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
Expand Down Expand Up @@ -213,6 +219,15 @@ public final class DiskProperties {
@JsonProperty(value = "dataAccessAuthMode")
private DataAccessAuthMode dataAccessAuthMode;

/*
* Setting this property to true improves reliability and performance of data disks that are frequently (more than
* 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for
* disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of
* the virtual machine.
*/
@JsonProperty(value = "optimizedForFrequentAttach")
private Boolean optimizedForFrequentAttach;

/**
* Get the timeCreated property: The time when the disk was created.
*
Expand Down Expand Up @@ -596,6 +611,15 @@ public DiskProperties withDiskAccessId(String diskAccessId) {
return this;
}

/**
* Get the burstingEnabledTime property: Latest time when bursting was last enabled on a disk.
*
* @return the burstingEnabledTime value.
*/
public OffsetDateTime burstingEnabledTime() {
return this.burstingEnabledTime;
}

/**
* Get the tier property: Performance tier of the disk (e.g, P4, S10) as described here:
* https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
Expand Down Expand Up @@ -753,6 +777,32 @@ public DiskProperties withDataAccessAuthMode(DataAccessAuthMode dataAccessAuthMo
return this;
}

/**
* Get the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @return the optimizedForFrequentAttach value.
*/
public Boolean optimizedForFrequentAttach() {
return this.optimizedForFrequentAttach;
}

/**
* Set the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @param optimizedForFrequentAttach the optimizedForFrequentAttach value to set.
* @return the DiskProperties object itself.
*/
public DiskProperties withOptimizedForFrequentAttach(Boolean optimizedForFrequentAttach) {
this.optimizedForFrequentAttach = optimizedForFrequentAttach;
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ public final class DiskUpdateProperties {
@JsonProperty(value = "dataAccessAuthMode")
private DataAccessAuthMode dataAccessAuthMode;

/*
* Setting this property to true improves reliability and performance of data disks that are frequently (more than
* 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for
* disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of
* the virtual machine.
*/
@JsonProperty(value = "optimizedForFrequentAttach")
private Boolean optimizedForFrequentAttach;

/**
* Get the osType property: the Operating System type.
*
Expand Down Expand Up @@ -541,6 +550,32 @@ public DiskUpdateProperties withDataAccessAuthMode(DataAccessAuthMode dataAccess
return this;
}

/**
* Get the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @return the optimizedForFrequentAttach value.
*/
public Boolean optimizedForFrequentAttach() {
return this.optimizedForFrequentAttach;
}

/**
* Set the optimizedForFrequentAttach property: Setting this property to true improves reliability and performance
* of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to
* another. This property should not be set for disks that are not detached and attached frequently as it causes the
* disks to not align with the fault domain of the virtual machine.
*
* @param optimizedForFrequentAttach the optimizedForFrequentAttach value to set.
* @return the DiskUpdateProperties object itself.
*/
public DiskUpdateProperties withOptimizedForFrequentAttach(Boolean optimizedForFrequentAttach) {
this.optimizedForFrequentAttach = optimizedForFrequentAttach;
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,16 @@ public SnapshotInner withIncremental(Boolean incremental) {
return this;
}

/**
* Get the incrementalSnapshotFamilyId property: Incremental snapshots for a disk share an incremental snapshot
* family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
*
* @return the incrementalSnapshotFamilyId value.
*/
public String incrementalSnapshotFamilyId() {
return this.innerProperties() == null ? null : this.innerProperties().incrementalSnapshotFamilyId();
}

/**
* Get the encryption property: Encryption property can be used to encrypt data at rest with customer managed keys
* or platform managed keys.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ public final class SnapshotProperties {
@JsonProperty(value = "incremental")
private Boolean incremental;

/*
* Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only
* be called on incremental snapshots with the same family id.
*/
@JsonProperty(value = "incrementalSnapshotFamilyId", access = JsonProperty.Access.WRITE_ONLY)
private String incrementalSnapshotFamilyId;

/*
* Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
*/
Expand Down Expand Up @@ -384,6 +391,16 @@ public SnapshotProperties withIncremental(Boolean incremental) {
return this;
}

/**
* Get the incrementalSnapshotFamilyId property: Incremental snapshots for a disk share an incremental snapshot
* family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
*
* @return the incrementalSnapshotFamilyId value.
*/
public String incrementalSnapshotFamilyId() {
return this.incrementalSnapshotFamilyId;
}

/**
* Get the encryption property: Encryption property can be used to encrypt data at rest with customer managed keys
* or platform managed keys.
Expand Down
Loading