diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/CHANGELOG.md b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/CHANGELOG.md
index 3ed4dee14559..272b4a87f46e 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/CHANGELOG.md
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/CHANGELOG.md
@@ -1,14 +1,60 @@
# Release History
-## 1.3.0-beta.3 (Unreleased)
+## 1.3.0-beta.3 (2026-02-25)
-### Features Added
+- Azure Resource Manager Container Service Fleet client library for Java. This package contains Microsoft Azure SDK for Container Service Fleet Management SDK. Azure Kubernetes Fleet Manager api client. Package api-version 2025-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.FleetUpdateStrategies` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.Fleets` was modified
+
+* `list(com.azure.core.util.Context)` was removed
+
+#### `models.FleetMembers` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.Gates` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.UpdateRuns` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.AutoUpgradeProfiles` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+### Features Added
+
+#### `models.FleetUpdateStrategies` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.Fleets` was modified
+
+* `list(java.lang.Integer,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.FleetMembers` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.Gates` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.UpdateRuns` was modified
+
+* `listByFleet(java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.AutoUpgradeProfiles` was modified
-### Other Changes
+* `listByFleet(java.lang.String,java.lang.String,java.lang.Integer,java.lang.String,com.azure.core.util.Context)` was added
## 1.3.0-beta.2 (2025-12-03)
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/README.md b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/README.md
index 84ad07adbe11..38edb502db58 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/README.md
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-containerservicefleet
- 1.3.0-beta.2
+ 1.3.0-beta.3
```
[//]: # ({x-version-update-end})
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/SAMPLE.md b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/SAMPLE.md
index f36b61b434f5..13f6812d0643 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/SAMPLE.md
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/SAMPLE.md
@@ -234,7 +234,7 @@ public final class AutoUpgradeProfilesListByFleetSamples {
*/
public static void listsTheAutoUpgradeProfileResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.autoUpgradeProfiles().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.autoUpgradeProfiles().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -247,7 +247,7 @@ public final class AutoUpgradeProfilesListByFleetSamples {
*/
public static void listsTheAutoUpgradeProfileResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.autoUpgradeProfiles().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.autoUpgradeProfiles().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -589,7 +589,7 @@ public final class FleetMembersListByFleetSamples {
*/
public static void listsTheMembersOfAFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetMembers().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetMembers().listByFleet("rgfleets", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -602,7 +602,7 @@ public final class FleetMembersListByFleetSamples {
*/
public static void
listsTheMembersOfAFleet(com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetMembers().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetMembers().listByFleet("rg1", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -803,7 +803,7 @@ public final class FleetUpdateStrategiesListByFleetSamples {
*/
public static void listTheFleetUpdateStrategyResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetUpdateStrategies().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetUpdateStrategies().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -816,7 +816,7 @@ public final class FleetUpdateStrategiesListByFleetSamples {
*/
public static void listTheFleetUpdateStrategyResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetUpdateStrategies().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetUpdateStrategies().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -990,7 +990,7 @@ public final class FleetsListSamples {
*/
public static void listsTheFleetResourcesInASubscriptionGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleets().list(com.azure.core.util.Context.NONE);
+ manager.fleets().list(null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -1003,7 +1003,7 @@ public final class FleetsListSamples {
*/
public static void listsTheFleetResourcesInASubscription(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleets().list(com.azure.core.util.Context.NONE);
+ manager.fleets().list(null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -1198,7 +1198,7 @@ public final class GatesListByFleetSamples {
*/
public static void
listsTheGatesOfAFleet(com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.gates().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.gates().listByFleet("rg1", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -1211,7 +1211,7 @@ public final class GatesListByFleetSamples {
*/
public static void gatesListByFleetMaximumSet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.gates().listByFleet("rgfleets", "fleet-1", com.azure.core.util.Context.NONE);
+ manager.gates().listByFleet("rgfleets", "fleet-1", null, null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -1480,7 +1480,7 @@ public final class UpdateRunsListByFleetSamples {
*/
public static void listsTheUpdateRunResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.updateRuns().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.updateRuns().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -1493,7 +1493,7 @@ public final class UpdateRunsListByFleetSamples {
*/
public static void listsTheUpdateRunResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.updateRuns().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.updateRuns().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
```
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/pom.xml b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/pom.xml
index 2e556b3f6632..bb67472f55a6 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/pom.xml
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/pom.xml
@@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
-
+
4.0.0
com.azure
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/AutoUpgradeProfilesClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/AutoUpgradeProfilesClient.java
index 35cbde2a9095..d5d456f0f57d 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/AutoUpgradeProfilesClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/AutoUpgradeProfilesClient.java
@@ -197,6 +197,8 @@ void delete(String resourceGroupName, String fleetName, String autoUpgradeProfil
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -204,5 +206,6 @@ void delete(String resourceGroupName, String fleetName, String autoUpgradeProfil
* @return the response of a AutoUpgradeProfile list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
index e17fad6f0642..df3a30acc370 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetMembersClient.java
@@ -263,6 +263,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -270,5 +273,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @return the response of a FleetMember list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, String filter, Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
index 8b4cafc7c355..3c20920dbc80 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetUpdateStrategiesClient.java
@@ -198,6 +198,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -205,5 +207,6 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @return the response of a FleetUpdateStrategy list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
index 1cf1a0a3690e..73f77ad87540 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/FleetsClient.java
@@ -267,6 +267,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -274,7 +276,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @return the response of a Fleet list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
+ PagedIterable list(Integer top, String skipToken, Context context);
/**
* Lists the user credentials of a Fleet.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/GatesClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/GatesClient.java
index 404919700934..fe704d639544 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/GatesClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/GatesClient.java
@@ -134,6 +134,9 @@ GateInner update(String resourceGroupName, String fleetName, String gateName, Ga
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -141,5 +144,6 @@ GateInner update(String resourceGroupName, String fleetName, String gateName, Ga
* @return the response of a Gate list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, String filter, Integer top,
+ String skipToken, Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
index c099695b3641..01322c3fc868 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/fluent/UpdateRunsClient.java
@@ -198,6 +198,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -205,7 +207,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @return the response of a UpdateRun list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top, String skipToken,
+ Context context);
/**
* Starts an UpdateRun.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesClientImpl.java
index 162953228d6c..2f66b5fbcd44 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesClientImpl.java
@@ -140,6 +140,7 @@ Response deleteSync(@HostParam("endpoint") String endpoint,
Mono> listByFleet(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -149,6 +150,7 @@ Mono> listByFleet(@HostParam("endpoint")
Response listByFleetSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -765,6 +767,8 @@ public void delete(String resourceGroupName, String fleetName, String autoUpgrad
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -773,16 +777,35 @@ public void delete(String resourceGroupName, String fleetName, String autoUpgrad
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByFleetSinglePageAsync(String resourceGroupName,
- String fleetName) {
+ String fleetName, Integer top, String skipToken) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context))
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(),
res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * List AutoUpgradeProfile resources by Fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AutoUpgradeProfile list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName, Integer top,
+ String skipToken) {
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
+ nextLink -> listByFleetNextSinglePageAsync(nextLink));
+ }
+
/**
* List AutoUpgradeProfile resources by Fleet.
*
@@ -795,7 +818,9 @@ private Mono> listByFleetSinglePageAsync(
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
@@ -804,17 +829,20 @@ private PagedFlux listByFleetAsync(String resourceGroup
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a AutoUpgradeProfile list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
+ Integer top, String skipToken) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, Context.NONE);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -824,6 +852,8 @@ private PagedResponse listByFleetSinglePage(String reso
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -832,11 +862,11 @@ private PagedResponse listByFleetSinglePage(String reso
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
- Context context) {
+ Integer top, String skipToken, Context context) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -853,7 +883,9 @@ private PagedResponse listByFleetSinglePage(String reso
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable listByFleet(String resourceGroupName, String fleetName) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePage(nextLink));
}
@@ -862,6 +894,8 @@ public PagedIterable listByFleet(String resourceGroupNa
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -869,9 +903,9 @@ public PagedIterable listByFleet(String resourceGroupNa
* @return the response of a AutoUpgradeProfile list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listByFleet(String resourceGroupName, String fleetName,
- Context context) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, context),
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken, context),
nextLink -> listByFleetNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesImpl.java
index 5702152a9b0a..127fd5c0324b 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/AutoUpgradeProfilesImpl.java
@@ -62,9 +62,10 @@ public PagedIterable listByFleet(String resourceGroupName, S
return ResourceManagerUtils.mapPage(inner, inner1 -> new AutoUpgradeProfileImpl(inner1, this.manager()));
}
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
PagedIterable inner
- = this.serviceClient().listByFleet(resourceGroupName, fleetName, context);
+ = this.serviceClient().listByFleet(resourceGroupName, fleetName, top, skipToken, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new AutoUpgradeProfileImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
index 6c95d82eba5f..bc449318a800 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersClientImpl.java
@@ -162,7 +162,8 @@ Response deleteSync(@HostParam("endpoint") String endpoint,
Mono> listByFleet(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
- @HeaderParam("Accept") String accept, Context context);
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
+ @QueryParam("$filter") String filter, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members")
@@ -171,7 +172,8 @@ Mono> listByFleet(@HostParam("endpoint") String
Response listByFleetSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
- @HeaderParam("Accept") String accept, Context context);
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
+ @QueryParam("$filter") String filter, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@@ -1040,6 +1042,9 @@ public void delete(String resourceGroupName, String fleetName, String fleetMembe
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -1047,17 +1052,37 @@ public void delete(String resourceGroupName, String fleetName, String fleetMembe
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByFleetSinglePageAsync(String resourceGroupName,
- String fleetName) {
+ private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName,
+ Integer top, String skipToken, String filter) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context))
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, filter, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * List FleetMember resources by Fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FleetMember list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, String filter) {
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken, filter),
+ nextLink -> listByFleetNextSinglePageAsync(nextLink));
+ }
+
/**
* List FleetMember resources by Fleet.
*
@@ -1070,7 +1095,10 @@ private Mono> listByFleetSinglePageAsync(String
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ final String filter = null;
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken, filter),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
@@ -1079,17 +1107,21 @@ private PagedFlux listByFleetAsync(String resourceGroupName, S
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a FleetMember list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
+ Integer top, String skipToken, String filter) {
final String accept = "application/json";
- Response res
- = service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, Context.NONE);
+ Response res = service.listByFleetSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken,
+ filter, accept, Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -1099,6 +1131,9 @@ private PagedResponse listByFleetSinglePage(String resourceGro
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1107,11 +1142,11 @@ private PagedResponse listByFleetSinglePage(String resourceGro
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
- Context context) {
+ Integer top, String skipToken, String filter, Context context) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, filter, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -1128,7 +1163,10 @@ private PagedResponse listByFleetSinglePage(String resourceGro
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable listByFleet(String resourceGroupName, String fleetName) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ final String filter = null;
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken, filter),
nextLink -> listByFleetNextSinglePage(nextLink));
}
@@ -1137,6 +1175,9 @@ public PagedIterable listByFleet(String resourceGroupName, Str
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1144,8 +1185,10 @@ public PagedIterable listByFleet(String resourceGroupName, Str
* @return the response of a FleetMember list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, context),
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, String filter, Context context) {
+ return new PagedIterable<>(
+ () -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken, filter, context),
nextLink -> listByFleetNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersImpl.java
index b1f812628173..f6a6ea716d54 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetMembersImpl.java
@@ -62,8 +62,10 @@ public PagedIterable listByFleet(String resourceGroupName, String f
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetMemberImpl(inner1, this.manager()));
}
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- PagedIterable inner = this.serviceClient().listByFleet(resourceGroupName, fleetName, context);
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, String filter, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByFleet(resourceGroupName, fleetName, top, skipToken, filter, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetMemberImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesClientImpl.java
index 48573b0816b5..c1757261e672 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesClientImpl.java
@@ -140,6 +140,7 @@ Response deleteSync(@HostParam("endpoint") String endpoint,
Mono> listByFleet(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -149,6 +150,7 @@ Mono> listByFleet(@HostParam("endpoint")
Response listByFleetSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -773,6 +775,8 @@ public void delete(String resourceGroupName, String fleetName, String updateStra
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -781,16 +785,35 @@ public void delete(String resourceGroupName, String fleetName, String updateStra
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByFleetSinglePageAsync(String resourceGroupName,
- String fleetName) {
+ String fleetName, Integer top, String skipToken) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context))
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(),
res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * List FleetUpdateStrategy resources by Fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FleetUpdateStrategy list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName,
+ Integer top, String skipToken) {
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
+ nextLink -> listByFleetNextSinglePageAsync(nextLink));
+ }
+
/**
* List FleetUpdateStrategy resources by Fleet.
*
@@ -803,7 +826,9 @@ private Mono> listByFleetSinglePageAsync
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
@@ -812,17 +837,20 @@ private PagedFlux listByFleetAsync(String resourceGrou
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a FleetUpdateStrategy list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
+ Integer top, String skipToken) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, Context.NONE);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -832,6 +860,8 @@ private PagedResponse listByFleetSinglePage(String res
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -840,11 +870,11 @@ private PagedResponse listByFleetSinglePage(String res
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
- Context context) {
+ Integer top, String skipToken, Context context) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -861,7 +891,9 @@ private PagedResponse listByFleetSinglePage(String res
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable listByFleet(String resourceGroupName, String fleetName) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePage(nextLink));
}
@@ -870,6 +902,8 @@ public PagedIterable listByFleet(String resourceGroupN
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -877,9 +911,9 @@ public PagedIterable listByFleet(String resourceGroupN
* @return the response of a FleetUpdateStrategy list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listByFleet(String resourceGroupName, String fleetName,
- Context context) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, context),
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken, context),
nextLink -> listByFleetNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesImpl.java
index f91436300fe5..b024eb6ff31e 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetUpdateStrategiesImpl.java
@@ -62,9 +62,10 @@ public PagedIterable listByFleet(String resourceGroupName,
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetUpdateStrategyImpl(inner1, this.manager()));
}
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
PagedIterable inner
- = this.serviceClient().listByFleet(resourceGroupName, fleetName, context);
+ = this.serviceClient().listByFleet(resourceGroupName, fleetName, top, skipToken, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetUpdateStrategyImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsClientImpl.java
index 54fbda30299c..38e0ed5fe31b 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsClientImpl.java
@@ -174,6 +174,7 @@ Response listByResourceGroupSync(@HostParam("endpoint") String
@UnexpectedResponseExceptionType(ManagementException.class)
Mono> list(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -182,6 +183,7 @@ Mono> list(@HostParam("endpoint") String endpoint,
@UnexpectedResponseExceptionType(ManagementException.class)
Response listSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -1126,22 +1128,41 @@ public PagedIterable listByResourceGroup(String resourceGroupName, C
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Fleet list operation along with {@link PagedResponse} on successful completion of
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync() {
+ private Mono> listSinglePageAsync(Integer top, String skipToken) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), accept, context))
+ this.client.getSubscriptionId(), top, skipToken, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * Lists fleets in the specified subscription.
+ *
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Fleet list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listAsync(Integer top, String skipToken) {
+ return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken),
+ nextLink -> listBySubscriptionNextSinglePageAsync(nextLink));
+ }
+
/**
* Lists fleets in the specified subscription.
*
@@ -1151,22 +1172,27 @@ private Mono> listSinglePageAsync() {
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync() {
- return new PagedFlux<>(() -> listSinglePageAsync(),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken),
nextLink -> listBySubscriptionNextSinglePageAsync(nextLink));
}
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Fleet list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listSinglePage() {
+ private PagedResponse listSinglePage(Integer top, String skipToken) {
final String accept = "application/json";
Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), accept, Context.NONE);
+ this.client.getSubscriptionId(), top, skipToken, accept, Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -1174,6 +1200,8 @@ private PagedResponse listSinglePage() {
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1181,10 +1209,10 @@ private PagedResponse listSinglePage() {
* @return the response of a Fleet list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listSinglePage(Context context) {
+ private PagedResponse listSinglePage(Integer top, String skipToken, Context context) {
final String accept = "application/json";
Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), accept, context);
+ this.client.getSubscriptionId(), top, skipToken, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -1198,12 +1226,17 @@ private PagedResponse listSinglePage(Context context) {
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable list() {
- return new PagedIterable<>(() -> listSinglePage(), nextLink -> listBySubscriptionNextSinglePage(nextLink));
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedIterable<>(() -> listSinglePage(top, skipToken),
+ nextLink -> listBySubscriptionNextSinglePage(nextLink));
}
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1211,8 +1244,8 @@ public PagedIterable list() {
* @return the response of a Fleet list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(Context context) {
- return new PagedIterable<>(() -> listSinglePage(context),
+ public PagedIterable list(Integer top, String skipToken, Context context) {
+ return new PagedIterable<>(() -> listSinglePage(top, skipToken, context),
nextLink -> listBySubscriptionNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsImpl.java
index c4851c96f0c6..0af12799dd06 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/FleetsImpl.java
@@ -72,8 +72,8 @@ public PagedIterable list() {
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetImpl(inner1, this.manager()));
}
- public PagedIterable list(Context context) {
- PagedIterable inner = this.serviceClient().list(context);
+ public PagedIterable list(Integer top, String skipToken, Context context) {
+ PagedIterable inner = this.serviceClient().list(top, skipToken, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new FleetImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesClientImpl.java
index 75b85d057fdd..0f817b17141d 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesClientImpl.java
@@ -115,7 +115,8 @@ Response updateSync(@HostParam("endpoint") String endpoint,
Mono> listByFleet(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
- @HeaderParam("Accept") String accept, Context context);
+ @QueryParam("$filter") String filter, @QueryParam("$top") Integer top,
+ @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/gates")
@@ -124,7 +125,8 @@ Mono> listByFleet(@HostParam("endpoint") String endpoin
Response listByFleetSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
- @HeaderParam("Accept") String accept, Context context);
+ @QueryParam("$filter") String filter, @QueryParam("$top") Integer top,
+ @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@Get("{nextLink}")
@@ -492,6 +494,9 @@ public GateInner update(String resourceGroupName, String fleetName, String gateN
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -499,16 +504,37 @@ public GateInner update(String resourceGroupName, String fleetName, String gateN
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName) {
+ private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName,
+ String filter, Integer top, String skipToken) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context))
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, filter, top, skipToken, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * List Gate resources by Fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Gate list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName, String filter,
+ Integer top, String skipToken) {
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, filter, top, skipToken),
+ nextLink -> listByFleetNextSinglePageAsync(nextLink));
+ }
+
/**
* List Gate resources by Fleet.
*
@@ -521,7 +547,10 @@ private Mono> listByFleetSinglePageAsync(String resourc
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ final String filter = null;
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, filter, top, skipToken),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
@@ -530,16 +559,21 @@ private PagedFlux listByFleetAsync(String resourceGroupName, String f
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Gate list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName, String filter,
+ Integer top, String skipToken) {
final String accept = "application/json";
Response res = service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, Context.NONE);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, filter, top, skipToken, accept,
+ Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -549,6 +583,9 @@ private PagedResponse listByFleetSinglePage(String resourceGroupName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -556,11 +593,11 @@ private PagedResponse listByFleetSinglePage(String resourceGroupName,
* @return the response of a Gate list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
- Context context) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName, String filter,
+ Integer top, String skipToken, Context context) {
final String accept = "application/json";
Response res = service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, filter, top, skipToken, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -577,7 +614,10 @@ private PagedResponse listByFleetSinglePage(String resourceGroupName,
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable listByFleet(String resourceGroupName, String fleetName) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName),
+ final String filter = null;
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, filter, top, skipToken),
nextLink -> listByFleetNextSinglePage(nextLink));
}
@@ -586,6 +626,9 @@ public PagedIterable listByFleet(String resourceGroupName, String fle
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -593,8 +636,10 @@ public PagedIterable listByFleet(String resourceGroupName, String fle
* @return the response of a Gate list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, context),
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, String filter, Integer top,
+ String skipToken, Context context) {
+ return new PagedIterable<>(
+ () -> listByFleetSinglePage(resourceGroupName, fleetName, filter, top, skipToken, context),
nextLink -> listByFleetNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesImpl.java
index 3cdfd83388e0..da5f92e0c6f5 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/GatesImpl.java
@@ -74,8 +74,10 @@ public PagedIterable listByFleet(String resourceGroupName, String fleetNam
return ResourceManagerUtils.mapPage(inner, inner1 -> new GateImpl(inner1, this.manager()));
}
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- PagedIterable inner = this.serviceClient().listByFleet(resourceGroupName, fleetName, context);
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, String filter, Integer top,
+ String skipToken, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByFleet(resourceGroupName, fleetName, filter, top, skipToken, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new GateImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsClientImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsClientImpl.java
index 5608de146862..959535995886 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsClientImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsClientImpl.java
@@ -140,6 +140,7 @@ Response deleteSync(@HostParam("endpoint") String endpoint,
Mono> listByFleet(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -149,6 +150,7 @@ Mono> listByFleet(@HostParam("endpoint") String en
Response listByFleetSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName, @PathParam("fleetName") String fleetName,
+ @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@@ -825,6 +827,8 @@ public void delete(String resourceGroupName, String fleetName, String updateRunN
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -832,16 +836,36 @@ public void delete(String resourceGroupName, String fleetName, String updateRunN
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName) {
+ private Mono> listByFleetSinglePageAsync(String resourceGroupName, String fleetName,
+ Integer top, String skipToken) {
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.listByFleet(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context))
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context))
.>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(),
res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
+ /**
+ * List UpdateRun resources by Fleet.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a UpdateRun list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName, Integer top,
+ String skipToken) {
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
+ nextLink -> listByFleetNextSinglePageAsync(nextLink));
+ }
+
/**
* List UpdateRun resources by Fleet.
*
@@ -854,7 +878,9 @@ private Mono> listByFleetSinglePageAsync(String re
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listByFleetAsync(String resourceGroupName, String fleetName) {
- return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listByFleetSinglePageAsync(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePageAsync(nextLink));
}
@@ -863,17 +889,20 @@ private PagedFlux listByFleetAsync(String resourceGroupName, Str
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a UpdateRun list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName, Integer top,
+ String skipToken) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, Context.NONE);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, Context.NONE);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -883,6 +912,8 @@ private PagedResponse listByFleetSinglePage(String resourceGroup
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -890,12 +921,12 @@ private PagedResponse listByFleetSinglePage(String resourceGroup
* @return the response of a UpdateRun list operation along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName,
- Context context) {
+ private PagedResponse listByFleetSinglePage(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
final String accept = "application/json";
Response res
= service.listByFleetSync(this.client.getEndpoint(), this.client.getApiVersion(),
- this.client.getSubscriptionId(), resourceGroupName, fleetName, accept, context);
+ this.client.getSubscriptionId(), resourceGroupName, fleetName, top, skipToken, accept, context);
return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
res.getValue().nextLink(), null);
}
@@ -912,7 +943,9 @@ private PagedResponse listByFleetSinglePage(String resourceGroup
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable listByFleet(String resourceGroupName, String fleetName) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName),
+ final Integer top = null;
+ final String skipToken = null;
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken),
nextLink -> listByFleetNextSinglePage(nextLink));
}
@@ -921,6 +954,8 @@ public PagedIterable listByFleet(String resourceGroupName, Strin
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -928,8 +963,9 @@ public PagedIterable listByFleet(String resourceGroupName, Strin
* @return the response of a UpdateRun list operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, context),
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
+ return new PagedIterable<>(() -> listByFleetSinglePage(resourceGroupName, fleetName, top, skipToken, context),
nextLink -> listByFleetNextSinglePage(nextLink, context));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsImpl.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsImpl.java
index 23a5c1a34b2e..895998d7d921 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsImpl.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/implementation/UpdateRunsImpl.java
@@ -63,8 +63,10 @@ public PagedIterable listByFleet(String resourceGroupName, String fle
return ResourceManagerUtils.mapPage(inner, inner1 -> new UpdateRunImpl(inner1, this.manager()));
}
- public PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context) {
- PagedIterable inner = this.serviceClient().listByFleet(resourceGroupName, fleetName, context);
+ public PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByFleet(resourceGroupName, fleetName, top, skipToken, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new UpdateRunImpl(inner1, this.manager()));
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/AutoUpgradeProfiles.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/AutoUpgradeProfiles.java
index 9edaedb1018e..5779efdfc3fb 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/AutoUpgradeProfiles.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/AutoUpgradeProfiles.java
@@ -84,13 +84,16 @@ void delete(String resourceGroupName, String fleetName, String autoUpgradeProfil
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a AutoUpgradeProfile list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context);
/**
* Get a AutoUpgradeProfile.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetMembers.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetMembers.java
index 427da4b65599..e21ce480bd48 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetMembers.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetMembers.java
@@ -83,13 +83,17 @@ Response getWithResponse(String resourceGroupName, String fleetName
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
+ * @param filter Filter the result list using the given expression.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a FleetMember list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top, String skipToken,
+ String filter, Context context);
/**
* Get a FleetMember.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetUpdateStrategies.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetUpdateStrategies.java
index cbe0e251f2f9..0edef1b10fdd 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetUpdateStrategies.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/FleetUpdateStrategies.java
@@ -83,13 +83,16 @@ Response getWithResponse(String resourceGroupName, String f
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a FleetUpdateStrategy list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top,
+ String skipToken, Context context);
/**
* Get a FleetUpdateStrategy.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Fleets.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Fleets.java
index 913990a5fa31..fc2e43de4b44 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Fleets.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Fleets.java
@@ -96,13 +96,15 @@ public interface Fleets {
/**
* Lists fleets in the specified subscription.
*
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Fleet list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable list(Context context);
+ PagedIterable list(Integer top, String skipToken, Context context);
/**
* Lists the user credentials of a Fleet.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Gates.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Gates.java
index df4e3102cd22..6381e004288c 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Gates.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/Gates.java
@@ -88,11 +88,15 @@ Gate update(String resourceGroupName, String fleetName, String gateName, GatePat
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param filter Filter the result list using the given expression.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Gate list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, String filter, Integer top,
+ String skipToken, Context context);
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/UpdateRuns.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/UpdateRuns.java
index 0c1d21b1c5f1..05271c638e9f 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/UpdateRuns.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/main/java/com/azure/resourcemanager/containerservicefleet/models/UpdateRuns.java
@@ -83,13 +83,16 @@ Response getWithResponse(String resourceGroupName, String fleetName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
+ * @param top The number of result items to return.
+ * @param skipToken The page-continuation token to use with a paged version of this API.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a UpdateRun list operation as paginated response with {@link PagedIterable}.
*/
- PagedIterable listByFleet(String resourceGroupName, String fleetName, Context context);
+ PagedIterable listByFleet(String resourceGroupName, String fleetName, Integer top, String skipToken,
+ Context context);
/**
* Starts an UpdateRun.
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfilesListByFleetSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfilesListByFleetSamples.java
index 30f81bb9483b..69b52a77af66 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfilesListByFleetSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfilesListByFleetSamples.java
@@ -18,7 +18,7 @@ public final class AutoUpgradeProfilesListByFleetSamples {
*/
public static void listsTheAutoUpgradeProfileResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.autoUpgradeProfiles().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.autoUpgradeProfiles().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public static void listsTheAutoUpgradeProfileResourcesByFleet(
*/
public static void listsTheAutoUpgradeProfileResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.autoUpgradeProfiles().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.autoUpgradeProfiles().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersListByFleetSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersListByFleetSamples.java
index 6920814ef09d..821210e6ce3b 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersListByFleetSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersListByFleetSamples.java
@@ -18,7 +18,7 @@ public final class FleetMembersListByFleetSamples {
*/
public static void listsTheMembersOfAFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetMembers().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetMembers().listByFleet("rgfleets", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public static void listsTheMembersOfAFleetGeneratedByMaximumSetRule(
*/
public static void
listsTheMembersOfAFleet(com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetMembers().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetMembers().listByFleet("rg1", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetSamples.java
index 0149cc2653e5..9c7af390007e 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetSamples.java
@@ -18,7 +18,7 @@ public final class FleetUpdateStrategiesListByFleetSamples {
*/
public static void listTheFleetUpdateStrategyResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetUpdateStrategies().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetUpdateStrategies().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public static void listTheFleetUpdateStrategyResourcesByFleet(
*/
public static void listTheFleetUpdateStrategyResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleetUpdateStrategies().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.fleetUpdateStrategies().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListSamples.java
index 5f485623b95f..9830cd996dc8 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListSamples.java
@@ -18,7 +18,7 @@ public final class FleetsListSamples {
*/
public static void listsTheFleetResourcesInASubscriptionGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleets().list(com.azure.core.util.Context.NONE);
+ manager.fleets().list(null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public static void listsTheFleetResourcesInASubscriptionGeneratedByMaximumSetRul
*/
public static void listsTheFleetResourcesInASubscription(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.fleets().list(com.azure.core.util.Context.NONE);
+ manager.fleets().list(null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetSamples.java
index 029aa771d415..540c62594a7b 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetSamples.java
@@ -18,7 +18,7 @@ public final class GatesListByFleetSamples {
*/
public static void
listsTheGatesOfAFleet(com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.gates().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.gates().listByFleet("rg1", "fleet1", null, null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public final class GatesListByFleetSamples {
*/
public static void gatesListByFleetMaximumSet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.gates().listByFleet("rgfleets", "fleet-1", com.azure.core.util.Context.NONE);
+ manager.gates().listByFleet("rgfleets", "fleet-1", null, null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsListByFleetSamples.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsListByFleetSamples.java
index b1d8dac7f41a..a1ab99309277 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsListByFleetSamples.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/samples/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsListByFleetSamples.java
@@ -18,7 +18,7 @@ public final class UpdateRunsListByFleetSamples {
*/
public static void listsTheUpdateRunResourcesByFleet(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.updateRuns().listByFleet("rg1", "fleet1", com.azure.core.util.Context.NONE);
+ manager.updateRuns().listByFleet("rg1", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
/*
@@ -31,6 +31,6 @@ public static void listsTheUpdateRunResourcesByFleet(
*/
public static void listsTheUpdateRunResourcesByFleetGeneratedByMaximumSetRule(
com.azure.resourcemanager.containerservicefleet.ContainerServiceFleetManager manager) {
- manager.updateRuns().listByFleet("rgfleets", "fleet1", com.azure.core.util.Context.NONE);
+ manager.updateRuns().listByFleet("rgfleets", "fleet1", null, null, com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfileOperationsGenerateUpdateRunMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfileOperationsGenerateUpdateRunMockTests.java
index a42f6d1e68fd..af96c3c8fb45 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfileOperationsGenerateUpdateRunMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/AutoUpgradeProfileOperationsGenerateUpdateRunMockTests.java
@@ -19,7 +19,7 @@
public final class AutoUpgradeProfileOperationsGenerateUpdateRunMockTests {
@Test
public void testGenerateUpdateRun() throws Exception {
- String responseStr = "{\"id\":\"rkambt\"}";
+ String responseStr = "{\"id\":\"hmfdnbzydvfvfcj\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,7 +29,7 @@ public void testGenerateUpdateRun() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
GenerateResponse response = manager.autoUpgradeProfileOperations()
- .generateUpdateRun("uxrkjp", "dwxf", "wiivwzjbhyzsx", com.azure.core.util.Context.NONE);
+ .generateUpdateRun("unzo", "ud", "cxgkmoyxcdyui", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersDeleteMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersDeleteMockTests.java
index 1159d7096f92..0f419c1395ae 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersDeleteMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetMembersDeleteMockTests.java
@@ -27,8 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.fleetMembers()
- .delete("oxciqopidoamcio", "hkh", "zxkhnzbonlwnto", "gokdwbwhks", com.azure.core.util.Context.NONE);
+ manager.fleetMembers().delete("i", "ybxarzgszu", "oxciqopidoamcio", "hkh", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesCreateOrUpdateMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesCreateOrUpdateMockTests.java
index 698e33d9690b..f00571df780e 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesCreateOrUpdateMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesCreateOrUpdateMockTests.java
@@ -27,7 +27,7 @@ public final class FleetUpdateStrategiesCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"strategy\":{\"stages\":[{\"name\":\"yvudtjuewbci\",\"groups\":[{\"name\":\"uwhcjyxccybv\"},{\"name\":\"ayakkudzpx\"},{\"name\":\"wjplma\"}],\"afterStageWaitInSeconds\":625665728,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"dg\",\"groups\":[{\"name\":\"sjkmnwqj\"}],\"afterStageWaitInSeconds\":1313812453,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]},{\"name\":\"iacegfnmn\",\"groups\":[{\"name\":\"mvmemfnczd\"},{\"name\":\"vvbalx\"},{\"name\":\"l\"},{\"name\":\"chp\"}],\"afterStageWaitInSeconds\":1628077523,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]}]}},\"eTag\":\"ukuv\",\"id\":\"cswsmystul\",\"name\":\"qypfcv\",\"type\":\"er\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"strategy\":{\"stages\":[{\"name\":\"bhyzsxjr\",\"groups\":[{\"name\":\"btrnegvm\"},{\"name\":\"vuqeqvldspast\"},{\"name\":\"bkkd\"}],\"afterStageWaitInSeconds\":847248075,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"ril\",\"groups\":[{\"name\":\"peewchpxlkt\"},{\"name\":\"kuziycsle\"},{\"name\":\"ufuztcktyhjtq\"}],\"afterStageWaitInSeconds\":1336110134,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]},{\"name\":\"z\",\"groups\":[{\"name\":\"jvpglydzgk\"},{\"name\":\"vqeevtoep\"},{\"name\":\"yutnwytpzdmov\"},{\"name\":\"vf\"}],\"afterStageWaitInSeconds\":1925116648,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]},{\"name\":\"gzuriglaecxndt\",\"groups\":[{\"name\":\"kpvzmlq\"},{\"name\":\"mldgxobfirc\"}],\"afterStageWaitInSeconds\":563418466,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]}]}},\"eTag\":\"awfvjlboxqvkjl\",\"id\":\"ho\",\"name\":\"dynhdwdigum\",\"type\":\"nraauzz\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -38,40 +38,56 @@ public void testCreateOrUpdate() throws Exception {
FleetUpdateStrategy response
= manager.fleetUpdateStrategies()
- .define("vutpthjoxo")
- .withExistingFleet("wb", "lgy")
+ .define("wjplma")
+ .withExistingFleet("akkud", "px")
.withStrategy(new UpdateRunStrategy().withStages(Arrays.asList(
- new UpdateStage().withName("sbpimlq")
- .withGroups(Arrays.asList(new UpdateGroup().withName("xkcgxxlxsffgcvi"),
- new UpdateGroup().withName("qzdwlvwlyoup"), new UpdateGroup().withName("gfbkjubdyh")))
- .withAfterStageWaitInSeconds(373887537)
- .withBeforeGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL)))
- .withAfterGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL))),
- new UpdateStage().withName("wzf")
- .withGroups(Arrays.asList(new UpdateGroup().withName("ttktlahbq"),
- new UpdateGroup().withName("ctxtgzukxi"), new UpdateGroup().withName("mmqtgqqqxhr")))
- .withAfterStageWaitInSeconds(734515726)
+ new UpdateStage().withName("ohpfkyrkdbdgiog")
+ .withGroups(Arrays.asList(new UpdateGroup().withName("mnwqj"),
+ new UpdateGroup().withName("obaiyhddviaceg"), new UpdateGroup().withName("n"),
+ new UpdateGroup().withName("ntfpmvmemfnc")))
+ .withAfterStageWaitInSeconds(880683863)
.withBeforeGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
new GateConfiguration().withType(GateType.APPROVAL)))
.withAfterGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
new GateConfiguration().withType(GateType.APPROVAL))),
- new UpdateStage().withName("vokqdzfv")
- .withGroups(Arrays.asList(new UpdateGroup().withName("vjlfrqtt"),
- new UpdateGroup().withName("ajlkatnw"), new UpdateGroup().withName("yiopi"),
- new UpdateGroup().withName("kqqfk")))
- .withAfterStageWaitInSeconds(113648851)
+ new UpdateStage().withName("hpodbzev")
+ .withGroups(
+ Arrays.asList(new UpdateGroup().withName("nhf"), new UpdateGroup().withName("kuvsjcswsm")))
+ .withAfterStageWaitInSeconds(1165309637)
.withBeforeGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
new GateConfiguration().withType(GateType.APPROVAL)))
.withAfterGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL))),
+ new UpdateStage().withName("chpqbmfpjba")
+ .withGroups(Arrays.asList(new UpdateGroup().withName("dfc"),
+ new UpdateGroup().withName("sspuunnoxyhkx"), new UpdateGroup().withName("qddrihpfhoqcaae"),
+ new UpdateGroup().withName("dao")))
+ .withAfterStageWaitInSeconds(668953670)
+ .withBeforeGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL)))
+ .withAfterGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL))),
+ new UpdateStage().withName("kzbrmsgeivsiy")
+ .withGroups(Arrays.asList(new UpdateGroup().withName("dncj"),
+ new UpdateGroup().withName("xonbzoggculapz")))
+ .withAfterStageWaitInSeconds(350819792)
+ .withBeforeGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL),
+ new GateConfiguration().withType(GateType.APPROVAL)))
+ .withAfterGates(Arrays.asList(new GateConfiguration().withType(GateType.APPROVAL),
new GateConfiguration().withType(GateType.APPROVAL))))))
- .withIfMatch("eoybfhjxakvvjgs")
- .withIfNoneMatch("ordilmywwtkgkxny")
+ .withIfMatch("jpvd")
+ .withIfNoneMatch("xfzwi")
.create();
- Assertions.assertEquals("yvudtjuewbci", response.strategy().stages().get(0).name());
- Assertions.assertEquals("uwhcjyxccybv", response.strategy().stages().get(0).groups().get(0).name());
- Assertions.assertEquals(625665728, response.strategy().stages().get(0).afterStageWaitInSeconds());
+ Assertions.assertEquals("bhyzsxjr", response.strategy().stages().get(0).name());
+ Assertions.assertEquals("btrnegvm", response.strategy().stages().get(0).groups().get(0).name());
+ Assertions.assertEquals(847248075, response.strategy().stages().get(0).afterStageWaitInSeconds());
Assertions.assertEquals(GateType.APPROVAL, response.strategy().stages().get(0).beforeGates().get(0).type());
Assertions.assertEquals(GateType.APPROVAL, response.strategy().stages().get(0).afterGates().get(0).type());
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesDeleteMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesDeleteMockTests.java
index 529a36b1ab38..40580da775c7 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesDeleteMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesDeleteMockTests.java
@@ -28,7 +28,7 @@ public void testDelete() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.fleetUpdateStrategies()
- .delete("ygdxpgpqchis", "epn", "bjcrxgibbdaxco", "fozauorsuk", com.azure.core.util.Context.NONE);
+ .delete("n", "nszqujiz", "voqyt", "byowbblgyavutp", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesGetWithResponseMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesGetWithResponseMockTests.java
index 73cf2b9636f3..6108aa429423 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesGetWithResponseMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class FleetUpdateStrategiesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Canceled\",\"strategy\":{\"stages\":[{\"name\":\"yvnqqybaryeuay\",\"groups\":[{\"name\":\"abqgzslesjcbh\"},{\"name\":\"rnntiewdjcv\"},{\"name\":\"quwrbehwag\"},{\"name\":\"hbuffkmrq\"}],\"afterStageWaitInSeconds\":226189444,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]},{\"name\":\"jfutacoebj\",\"groups\":[{\"name\":\"zcjznmwcpmgua\"},{\"name\":\"draufactkah\"},{\"name\":\"ovajjziuxxps\"},{\"name\":\"neekulfg\"}],\"afterStageWaitInSeconds\":1157333655,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]}]}},\"eTag\":\"d\",\"id\":\"tujbazpju\",\"name\":\"hminyflnorwmduv\",\"type\":\"pklvxw\"}";
+ = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"strategy\":{\"stages\":[{\"name\":\"bazpjuohmi\",\"groups\":[{\"name\":\"lnorwmdu\"},{\"name\":\"wpklvxw\"},{\"name\":\"ygdxpgpqchis\"}],\"afterStageWaitInSeconds\":1565134020,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"gibbdaxc\",\"groups\":[{\"name\":\"ozauorsukokwb\"},{\"name\":\"plhlvnuuepzlrp\"},{\"name\":\"wzsoldweyuqdunv\"}],\"afterStageWaitInSeconds\":221136034,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]},{\"name\":\"ktalywjhhgdnhxms\",\"groups\":[{\"name\":\"omi\"},{\"name\":\"ox\"},{\"name\":\"gdufiqnd\"}],\"afterStageWaitInSeconds\":1264679400,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"vcyy\",\"groups\":[{\"name\":\"gdotcubiipuipwo\"}],\"afterStageWaitInSeconds\":1120696384,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]}]}},\"eTag\":\"zshq\",\"id\":\"impevf\",\"name\":\"mblrrilbywd\",\"type\":\"smiccwrwfscj\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,12 +32,12 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
FleetUpdateStrategy response = manager.fleetUpdateStrategies()
- .getWithResponse("hubskhudygooo", "kqfqjbvl", "orfmluiqt", com.azure.core.util.Context.NONE)
+ .getWithResponse("kulfg", "lqubkwdlen", "d", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("yvnqqybaryeuay", response.strategy().stages().get(0).name());
- Assertions.assertEquals("abqgzslesjcbh", response.strategy().stages().get(0).groups().get(0).name());
- Assertions.assertEquals(226189444, response.strategy().stages().get(0).afterStageWaitInSeconds());
+ Assertions.assertEquals("bazpjuohmi", response.strategy().stages().get(0).name());
+ Assertions.assertEquals("lnorwmdu", response.strategy().stages().get(0).groups().get(0).name());
+ Assertions.assertEquals(1565134020, response.strategy().stages().get(0).afterStageWaitInSeconds());
Assertions.assertEquals(GateType.APPROVAL, response.strategy().stages().get(0).beforeGates().get(0).type());
Assertions.assertEquals(GateType.APPROVAL, response.strategy().stages().get(0).afterGates().get(0).type());
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetMockTests.java
index 4e2778544ef0..26ecd1bc03fa 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetUpdateStrategiesListByFleetMockTests.java
@@ -23,7 +23,7 @@ public final class FleetUpdateStrategiesListByFleetMockTests {
@Test
public void testListByFleet() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"strategy\":{\"stages\":[{\"name\":\"wey\",\"groups\":[{\"name\":\"unvmnnr\"},{\"name\":\"rbior\"},{\"name\":\"talywjhhgdnhxms\"},{\"name\":\"v\"}],\"afterStageWaitInSeconds\":2010806413,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"iqndieuzaofj\",\"groups\":[{\"name\":\"cyyysfgdot\"}],\"afterStageWaitInSeconds\":1822085864,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"onmacjekniz\",\"groups\":[{\"name\":\"vcimpev\"}],\"afterStageWaitInSeconds\":716188449,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]}]}},\"eTag\":\"dxsm\",\"id\":\"cwrwfs\",\"name\":\"jfnynszqujizdvoq\",\"type\":\"tiby\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"strategy\":{\"stages\":[{\"name\":\"kcgxxlxsffgcvi\",\"groups\":[{\"name\":\"dwl\"},{\"name\":\"w\"},{\"name\":\"youpfgfbkj\"},{\"name\":\"bdyhgkfminsgowz\"}],\"afterStageWaitInSeconds\":770655875,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"ctxtgzukxi\",\"groups\":[{\"name\":\"qtgqqqxhrnxr\"}],\"afterStageWaitInSeconds\":1043435905,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"qdzfvazivjlfrqtt\",\"groups\":[{\"name\":\"lkatnwxyiopidkqq\"},{\"name\":\"kuvscxkdm\"},{\"name\":\"igovi\"}],\"afterStageWaitInSeconds\":483872150,\"beforeGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"},{\"type\":\"Approval\"},{\"type\":\"Approval\"}]},{\"name\":\"ocbgoorbteoyb\",\"groups\":[{\"name\":\"xakvvjgslor\"},{\"name\":\"il\"}],\"afterStageWaitInSeconds\":1094227624,\"beforeGates\":[{\"type\":\"Approval\"}],\"afterGates\":[{\"type\":\"Approval\"}]}]}},\"eTag\":\"yedabgyvudtj\",\"id\":\"wbcihxuuwh\",\"name\":\"j\",\"type\":\"xccybvpa\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,13 +32,12 @@ public void testListByFleet() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.fleetUpdateStrategies().listByFleet("kwbqplhlvnuu", "pzlrphw", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.fleetUpdateStrategies()
+ .listByFleet("hjoxo", "smsks", 409506451, "iml", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("wey", response.iterator().next().strategy().stages().get(0).name());
- Assertions.assertEquals("unvmnnr",
- response.iterator().next().strategy().stages().get(0).groups().get(0).name());
- Assertions.assertEquals(2010806413,
+ Assertions.assertEquals("kcgxxlxsffgcvi", response.iterator().next().strategy().stages().get(0).name());
+ Assertions.assertEquals("dwl", response.iterator().next().strategy().stages().get(0).groups().get(0).name());
+ Assertions.assertEquals(770655875,
response.iterator().next().strategy().stages().get(0).afterStageWaitInSeconds());
Assertions.assertEquals(GateType.APPROVAL,
response.iterator().next().strategy().stages().get(0).beforeGates().get(0).type());
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListCredentialsWithResponseMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListCredentialsWithResponseMockTests.java
index 1db5a369f986..982aa4cb84e3 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListCredentialsWithResponseMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/FleetsListCredentialsWithResponseMockTests.java
@@ -19,7 +19,7 @@
public final class FleetsListCredentialsWithResponseMockTests {
@Test
public void testListCredentialsWithResponse() throws Exception {
- String responseStr = "{\"kubeconfigs\":[{\"name\":\"ckw\"},{\"name\":\"qwhxxbuyqaxzfeqz\"}]}";
+ String responseStr = "{\"kubeconfigs\":[{\"name\":\"jxdxrbuukz\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -29,7 +29,7 @@ public void testListCredentialsWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
FleetCredentialResults response = manager.fleets()
- .listCredentialsWithResponse("dxrbuukzcle", "yhmlwpaztzp", com.azure.core.util.Context.NONE)
+ .listCredentialsWithResponse("psbzkfzbeyvpn", "icvi", com.azure.core.util.Context.NONE)
.getValue();
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetMockTests.java
index fbca1b8f7298..dabddfd3dcdc 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/GatesListByFleetMockTests.java
@@ -25,7 +25,7 @@ public final class GatesListByFleetMockTests {
@Test
public void testListByFleet() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"displayName\":\"gllqwjy\",\"gateType\":\"Approval\",\"target\":{\"id\":\"jayvblmhv\",\"updateRunProperties\":{\"name\":\"uhbxvvy\",\"stage\":\"s\",\"group\":\"byrqufeg\",\"timing\":\"Before\"}},\"state\":\"Pending\"},\"eTag\":\"zfbn\",\"id\":\"mctlpdngitv\",\"name\":\"bmhrixkwmyijejv\",\"type\":\"grhbpn\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"displayName\":\"jygvjayvbl\",\"gateType\":\"Approval\",\"target\":{\"id\":\"vkzuhbxvvyhgso\",\"updateRunProperties\":{\"name\":\"yrqufegxuvwz\",\"stage\":\"nhlmctlpdng\",\"group\":\"vgbmhr\",\"timing\":\"Before\"}},\"state\":\"Completed\"},\"eTag\":\"myijejvegr\",\"id\":\"pna\",\"name\":\"xexccbdreaxhcexd\",\"type\":\"rvqahqkghtpwi\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -34,12 +34,13 @@ public void testListByFleet() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response = manager.gates().listByFleet("ggjioolvr", "x", com.azure.core.util.Context.NONE);
+ PagedIterable response
+ = manager.gates().listByFleet("ggjioolvr", "x", "v", 1083346406, "k", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("gllqwjy", response.iterator().next().displayName());
+ Assertions.assertEquals("jygvjayvbl", response.iterator().next().displayName());
Assertions.assertEquals(GateType.APPROVAL, response.iterator().next().gateType());
- Assertions.assertEquals("jayvblmhv", response.iterator().next().target().id());
+ Assertions.assertEquals("vkzuhbxvvyhgso", response.iterator().next().target().id());
Assertions.assertEquals(Timing.BEFORE, response.iterator().next().target().updateRunProperties().timing());
- Assertions.assertEquals(GateState.PENDING, response.iterator().next().state());
+ Assertions.assertEquals(GateState.COMPLETED, response.iterator().next().state());
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsDeleteMockTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsDeleteMockTests.java
index 6be11245e511..b530a5ee3752 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsDeleteMockTests.java
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/generated/UpdateRunsDeleteMockTests.java
@@ -27,7 +27,7 @@ public void testDelete() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.updateRuns().delete("lik", "xwslolbqpv", "zlmvfelfktgp", "crpw", com.azure.core.util.Context.NONE);
+ manager.updateRuns().delete("hojujbypelmcuv", "ixbjx", "fw", "yl", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/tsp-location.yaml b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/tsp-location.yaml
index e556ecdb5c14..73fd3aaef8fd 100644
--- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/tsp-location.yaml
+++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/tsp-location.yaml
@@ -1,4 +1,4 @@
-directory: specification/containerservice/Fleet.Management
-commit: d0cd556bd91d2dda700e983c0d253fa025b324c0
+directory: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet
+commit: d3e85dfd3b82ed7f275dc987656a65afda20a8f4
repo: Azure/azure-rest-api-specs
additionalDirectories: