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
Jump to file
Failed to load files.
Loading
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-2023-03-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
"args": "--tag=package-2023-01-02 --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,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/resourcemanager/azure-resourcemanager-compute",
"Tag": "java/resourcemanager/azure-resourcemanager-compute_ceadc5e7d6"
"Tag": "java/resourcemanager/azure-resourcemanager-compute_971172d297"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.compute.models.Architecture;
import com.azure.resourcemanager.compute.models.CommunityGalleryImageIdentifier;
import com.azure.resourcemanager.compute.models.Disallowed;
import com.azure.resourcemanager.compute.models.GalleryImageFeature;
import com.azure.resourcemanager.compute.models.GalleryImageIdentifier;
import com.azure.resourcemanager.compute.models.HyperVGeneration;
import com.azure.resourcemanager.compute.models.ImagePurchasePlan;
import com.azure.resourcemanager.compute.models.OperatingSystemStateTypes;
Expand Down Expand Up @@ -126,21 +126,21 @@ public CommunityGalleryImageInner withEndOfLifeDate(OffsetDateTime endOfLifeDate
}

/**
* Get the identifier property: This is the gallery image definition identifier.
* Get the identifier property: This is the community gallery image definition identifier.
*
* @return the identifier value.
*/
public GalleryImageIdentifier identifier() {
public CommunityGalleryImageIdentifier identifier() {
return this.innerProperties() == null ? null : this.innerProperties().identifier();
}

/**
* Set the identifier property: This is the gallery image definition identifier.
* Set the identifier property: This is the community gallery image definition identifier.
*
* @param identifier the identifier value to set.
* @return the CommunityGalleryImageInner object itself.
*/
public CommunityGalleryImageInner withIdentifier(GalleryImageIdentifier identifier) {
public CommunityGalleryImageInner withIdentifier(CommunityGalleryImageIdentifier identifier) {
if (this.innerProperties() == null) {
this.innerProperties = new CommunityGalleryImageProperties();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.compute.models.Architecture;
import com.azure.resourcemanager.compute.models.CommunityGalleryImageIdentifier;
import com.azure.resourcemanager.compute.models.Disallowed;
import com.azure.resourcemanager.compute.models.GalleryImageFeature;
import com.azure.resourcemanager.compute.models.GalleryImageIdentifier;
import com.azure.resourcemanager.compute.models.HyperVGeneration;
import com.azure.resourcemanager.compute.models.ImagePurchasePlan;
import com.azure.resourcemanager.compute.models.OperatingSystemStateTypes;
Expand Down Expand Up @@ -44,10 +44,10 @@ public final class CommunityGalleryImageProperties {
private OffsetDateTime endOfLifeDate;

/*
* This is the gallery image definition identifier.
* This is the community gallery image definition identifier.
*/
@JsonProperty(value = "identifier", required = true)
private GalleryImageIdentifier identifier;
private CommunityGalleryImageIdentifier identifier;

/*
* The properties describe the recommended machine configuration for this Image Definition. These properties are
Expand Down Expand Up @@ -171,21 +171,21 @@ public CommunityGalleryImageProperties withEndOfLifeDate(OffsetDateTime endOfLif
}

/**
* Get the identifier property: This is the gallery image definition identifier.
* Get the identifier property: This is the community gallery image definition identifier.
*
* @return the identifier value.
*/
public GalleryImageIdentifier identifier() {
public CommunityGalleryImageIdentifier identifier() {
return this.identifier;
}

/**
* Set the identifier property: This is the gallery image definition identifier.
* Set the identifier property: This is the community gallery image definition identifier.
*
* @param identifier the identifier value to set.
* @return the CommunityGalleryImageProperties object itself.
*/
public CommunityGalleryImageProperties withIdentifier(GalleryImageIdentifier identifier) {
public CommunityGalleryImageProperties withIdentifier(CommunityGalleryImageIdentifier identifier) {
this.identifier = identifier;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
} else {
diskAccess.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -363,7 +363,7 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
} else {
diskAccess.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -592,7 +592,7 @@ public Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(
} else {
diskAccess.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -651,7 +651,7 @@ private Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(
} else {
diskAccess.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -874,7 +874,7 @@ public Mono<Response<DiskAccessInner>> getByResourceGroupWithResponseAsync(
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -927,7 +927,7 @@ private Mono<Response<DiskAccessInner>> getByResourceGroupWithResponseAsync(
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -1028,7 +1028,7 @@ public Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceG
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -1080,7 +1080,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -1274,7 +1274,7 @@ private Mono<PagedResponse<DiskAccessInner>> listByResourceGroupSinglePageAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -1329,7 +1329,7 @@ private Mono<PagedResponse<DiskAccessInner>> listByResourceGroupSinglePageAsync(
return Mono
.error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -1435,7 +1435,7 @@ private Mono<PagedResponse<DiskAccessInner>> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -1478,7 +1478,7 @@ private Mono<PagedResponse<DiskAccessInner>> listSinglePageAsync(Context context
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -1582,7 +1582,7 @@ public Mono<Response<PrivateLinkResourceListResultInner>> getPrivateLinkResource
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -1635,7 +1635,7 @@ private Mono<Response<PrivateLinkResourceListResultInner>> getPrivateLinkResourc
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -1760,7 +1760,7 @@ public Mono<Response<Flux<ByteBuffer>>> updateAPrivateEndpointConnectionWithResp
} else {
privateEndpointConnection.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -1837,7 +1837,7 @@ private Mono<Response<Flux<ByteBuffer>>> updateAPrivateEndpointConnectionWithRes
} else {
privateEndpointConnection.validate();
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -2144,7 +2144,7 @@ public Mono<Response<PrivateEndpointConnectionInner>> getAPrivateEndpointConnect
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -2205,7 +2205,7 @@ private Mono<Response<PrivateEndpointConnectionInner>> getAPrivateEndpointConnec
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -2326,7 +2326,7 @@ public Mono<Response<Flux<ByteBuffer>>> deleteAPrivateEndpointConnectionWithResp
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -2386,7 +2386,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteAPrivateEndpointConnectionWithRes
new IllegalArgumentException(
"Parameter privateEndpointConnectionName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -2615,7 +2615,7 @@ private Mono<PagedResponse<PrivateEndpointConnectionInner>> listPrivateEndpointC
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -2677,7 +2677,7 @@ private Mono<PagedResponse<PrivateEndpointConnectionInner>> listPrivateEndpointC
if (diskAccessName == null) {
return Mono.error(new IllegalArgumentException("Parameter diskAccessName is required and cannot be null."));
}
final String apiVersion = "2022-07-02";
final String apiVersion = "2023-01-02";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Loading