Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgmt, local generation for Azure Compute CloudService 2024-11-04 #43766

Merged
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 @@ -40,7 +40,7 @@
"dir": "azure-resourcemanager-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.azure.resourcemanager.compute",
"args": "--tag=package-2024-10-01 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
"args": "--tag=package-2024-11-04 --modelerfour.lenient-model-deduplication=true --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes --remove-inner=StorageProfile"
},
"compute-hybrid": {
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

## 2.47.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `api-version` of CloudserviceRP to `2024-11-04`.

## 2.46.0 (2024-12-23)

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_7fa2d65716"
"Tag": "java/resourcemanager/azure-resourcemanager-compute_ae776f2c6a"
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public Mono<Response<OSVersionInner>> getOSVersionWithResponseAsync(String locat
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.getOSVersion(this.client.getEndpoint(), location, osVersionName,
Expand Down Expand Up @@ -181,7 +181,7 @@ private Mono<Response<OSVersionInner>> getOSVersionWithResponseAsync(String loca
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.getOSVersion(this.client.getEndpoint(), location, osVersionName, this.client.getSubscriptionId(),
Expand Down Expand Up @@ -265,7 +265,7 @@ private Mono<PagedResponse<OSVersionInner>> listOSVersionsSinglePageAsync(String
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listOSVersions(this.client.getEndpoint(), location,
Expand Down Expand Up @@ -301,7 +301,7 @@ private Mono<PagedResponse<OSVersionInner>> listOSVersionsSinglePageAsync(String
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -411,7 +411,7 @@ public Mono<Response<OSFamilyInner>> getOSFamilyWithResponseAsync(String locatio
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.getOSFamily(this.client.getEndpoint(), location, osFamilyName,
Expand Down Expand Up @@ -449,7 +449,7 @@ private Mono<Response<OSFamilyInner>> getOSFamilyWithResponseAsync(String locati
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.getOSFamily(this.client.getEndpoint(), location, osFamilyName, this.client.getSubscriptionId(),
Expand Down Expand Up @@ -533,7 +533,7 @@ private Mono<PagedResponse<OSFamilyInner>> listOSFamiliesSinglePageAsync(String
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listOSFamilies(this.client.getEndpoint(), location,
Expand Down Expand Up @@ -569,7 +569,7 @@ private Mono<PagedResponse<OSFamilyInner>> listOSFamiliesSinglePageAsync(String
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String roleInsta
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.delete(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down Expand Up @@ -239,7 +239,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String roleInst
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.delete(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -426,7 +426,7 @@ public Mono<Response<RoleInstanceInner>> getWithResponseAsync(String roleInstanc
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.get(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down Expand Up @@ -471,7 +471,7 @@ private Mono<Response<RoleInstanceInner>> getWithResponseAsync(String roleInstan
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.get(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -568,7 +568,7 @@ public Mono<Response<RoleInstanceViewInner>> getInstanceViewWithResponseAsync(St
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.getInstanceView(this.client.getEndpoint(), roleInstanceName,
Expand Down Expand Up @@ -612,7 +612,7 @@ private Mono<Response<RoleInstanceViewInner>> getInstanceViewWithResponseAsync(S
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.getInstanceView(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -705,7 +705,7 @@ private Mono<PagedResponse<RoleInstanceInner>> listSinglePageAsync(String resour
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -748,7 +748,7 @@ private Mono<PagedResponse<RoleInstanceInner>> listSinglePageAsync(String resour
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -885,7 +885,7 @@ public Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String roleInst
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.restart(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down Expand Up @@ -928,7 +928,7 @@ private Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String roleIns
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.restart(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -1114,7 +1114,7 @@ public Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String roleInst
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.reimage(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down Expand Up @@ -1158,7 +1158,7 @@ private Mono<Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String roleIns
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.reimage(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -1353,7 +1353,7 @@ public Mono<Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String roleInst
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.rebuild(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down Expand Up @@ -1398,7 +1398,7 @@ private Mono<Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String roleIns
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.rebuild(this.client.getEndpoint(), roleInstanceName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -1600,7 +1600,7 @@ public Mono<Response<BinaryData>> getRemoteDesktopFileWithResponseAsync(String r
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/x-rdp";
return FluxUtil
.withContext(context -> service.getRemoteDesktopFile(this.client.getEndpoint(), roleInstanceName,
Expand Down Expand Up @@ -1644,7 +1644,7 @@ private Mono<Response<BinaryData>> getRemoteDesktopFileWithResponseAsync(String
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/x-rdp";
context = this.client.mergeContext(context);
return service.getRemoteDesktopFile(this.client.getEndpoint(), roleInstanceName, resourceGroupName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public Mono<Response<CloudServiceRoleInner>> getWithResponseAsync(String roleNam
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.get(this.client.getEndpoint(), roleName, resourceGroupName,
Expand Down Expand Up @@ -164,7 +164,7 @@ private Mono<Response<CloudServiceRoleInner>> getWithResponseAsync(String roleNa
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service.get(this.client.getEndpoint(), roleName, resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -253,7 +253,7 @@ private Mono<PagedResponse<CloudServiceRoleInner>> listSinglePageAsync(String re
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, cloudServiceName,
Expand Down Expand Up @@ -295,7 +295,7 @@ private Mono<PagedResponse<CloudServiceRoleInner>> listSinglePageAsync(String re
return Mono.error(new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2022-09-04";
final String apiVersion = "2024-11-04";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Loading
Loading