diff --git a/eng/pipelines/patch-release.yml b/eng/pipelines/patch-release.yml index 9c9aed0364abd..b87c64e7d127d 100644 --- a/eng/pipelines/patch-release.yml +++ b/eng/pipelines/patch-release.yml @@ -64,10 +64,6 @@ extends: groupId: com.azure safeName: azurecommunicationemail ServiceDirectory: communication - - name: azure-monitor-ingestion - groupId: com.azure - safeName: azuremonitoringestion - ServiceDirectory: monitor - name: azure-mixedreality-remoterendering groupId: com.azure safeName: azuremixedrealityremoterendering diff --git a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DeploymentEnvironmentsAsyncClient.java b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DeploymentEnvironmentsAsyncClient.java index 3f89973c302f5..c445490111cb7 100644 --- a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DeploymentEnvironmentsAsyncClient.java +++ b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DeploymentEnvironmentsAsyncClient.java @@ -547,10 +547,10 @@ public PagedFlux listAllEnvironments(String projectName) { // Generated convenience method for listAllEnvironments RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listAllEnvironments(projectName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), @@ -582,10 +582,10 @@ public PagedFlux listEnvironments(String projectName, Stri // Generated convenience method for listEnvironments RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listEnvironments(projectName, userId, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), @@ -688,10 +688,10 @@ public PagedFlux listCatalogs(String projectName) { // Generated convenience method for listCatalogs RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listCatalogs(projectName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -742,10 +742,10 @@ public PagedFlux listEnvironmentDefinitions(String projec // Generated convenience method for listEnvironmentDefinitions RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listEnvironmentDefinitions(projectName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), @@ -778,10 +778,10 @@ public PagedFlux listEnvironmentDefinitionsByCatalog(Stri RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listEnvironmentDefinitionsByCatalog(projectName, catalogName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), @@ -836,10 +836,10 @@ public PagedFlux listEnvironmentTypes(String projectNa // Generated convenience method for listEnvironmentTypes RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listEnvironmentTypes(projectName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), diff --git a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevBoxesAsyncClient.java b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevBoxesAsyncClient.java index 367c680494369..38307dcd403d3 100644 --- a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevBoxesAsyncClient.java +++ b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevBoxesAsyncClient.java @@ -1023,10 +1023,10 @@ public PagedFlux listPools(String projectName) { // Generated convenience method for listPools RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listPools(projectName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1078,10 +1078,10 @@ public PagedFlux listSchedules(String projectName, String poolNa // Generated convenience method for listSchedules RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listSchedules(projectName, poolName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1131,10 +1131,10 @@ public PagedFlux listAllDevBoxes() { // Generated convenience method for listAllDevBoxes RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listAllDevBoxes(requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1164,10 +1164,10 @@ public PagedFlux listAllDevBoxesByUser(String userId) { // Generated convenience method for listAllDevBoxesByUser RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listAllDevBoxesByUser(userId, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1198,10 +1198,10 @@ public PagedFlux listDevBoxes(String projectName, String userId) { // Generated convenience method for listDevBoxes RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listDevBoxes(projectName, userId, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1431,10 +1431,10 @@ public PagedFlux listDevBoxActions(String projectName, String user // Generated convenience method for listDevBoxActions RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listDevBoxActions(projectName, userId, devBoxName, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue() @@ -1548,10 +1548,10 @@ public PagedFlux delayAllActions(String projectName, St RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = delayAllActions(projectName, userId, devBoxName, delayUntil, requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), diff --git a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevCenterAsyncClient.java b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevCenterAsyncClient.java index 2e2704bf01d1f..8fdecc478d1dd 100644 --- a/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevCenterAsyncClient.java +++ b/sdk/devcenter/azure-developer-devcenter/src/main/java/com/azure/developer/devcenter/DevCenterAsyncClient.java @@ -133,10 +133,10 @@ public PagedFlux listProjects() { // Generated convenience method for listProjects RequestOptions requestOptions = new RequestOptions(); PagedFlux pagedFluxResponse = listProjects(requestOptions); - return PagedFlux.create(() -> (continuationToken, pageSize) -> { - Flux> flux = (continuationToken == null) + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationToken).take(1); + : pagedFluxResponse.byPage(continuationTokenParam).take(1); return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), pagedResponse.getStatusCode(), pagedResponse.getHeaders(), pagedResponse.getValue()