Skip to content

Commit

Permalink
mgmt, fix generated code (#25814)
Browse files Browse the repository at this point in the history
* mgmt, fix minor bug from old codegen

* mgmt, reformat generated code
  • Loading branch information
weidongxu-microsoft authored Dec 6, 2021
1 parent e8a0549 commit c3daf00
Show file tree
Hide file tree
Showing 299 changed files with 1,641 additions and 640 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,11 @@ public PollerFlux<PollResult<AppResourceInner>, AppResourceInner> beginCreateOrU
return this
.client
.<AppResourceInner, AppResourceInner>getLroResult(
mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, this.client.getContext());
mono,
this.client.getHttpPipeline(),
AppResourceInner.class,
AppResourceInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -813,7 +817,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, serviceName, appName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -1090,7 +1095,11 @@ public PollerFlux<PollResult<AppResourceInner>, AppResourceInner> beginUpdateAsy
return this
.client
.<AppResourceInner, AppResourceInner>getLroResult(
mono, this.client.getHttpPipeline(), AppResourceInner.class, AppResourceInner.class, this.client.getContext());
mono,
this.client.getHttpPipeline(),
AppResourceInner.class,
AppResourceInner.class,
this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, serviceName, appName, bindingName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, serviceName, certificateName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, serviceName, appName, domainName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -2054,7 +2055,8 @@ public PollerFlux<PollResult<Void>, Void> beginStartAsync(
startWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -2335,7 +2337,8 @@ public PollerFlux<PollResult<Void>, Void> beginStopAsync(
stopWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -2616,7 +2619,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestartAsync(
restartWithResponseAsync(resourceGroupName, serviceName, appName, deploymentName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupN
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, serviceName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, name, forceDelete);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupN
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, name);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupN
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, name);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -3309,7 +3310,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteStaticSiteBuildAsync(
deleteStaticSiteBuildWithResponseAsync(resourceGroupName, name, environmentName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -5649,7 +5651,8 @@ public PollerFlux<PollResult<Void>, Void> beginCreateZipDeploymentForStaticSiteB
resourceGroupName, name, environmentName, staticSiteZipDeploymentEnvelope);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -7192,7 +7195,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteStaticSiteCustomDomainAsync
deleteStaticSiteCustomDomainWithResponseAsync(resourceGroupName, name, domainName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -7480,7 +7484,8 @@ public PollerFlux<PollResult<Void>, Void> beginValidateCustomDomainCanBeAddedToS
resourceGroupName, name, domainName, staticSiteCustomDomainRequestPropertiesEnvelope);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -7771,7 +7776,8 @@ public PollerFlux<PollResult<Void>, Void> beginDetachStaticSiteAsync(String reso
Mono<Response<Flux<ByteBuffer>>> mono = detachStaticSiteWithResponseAsync(resourceGroupName, name);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -11088,7 +11094,8 @@ public PollerFlux<PollResult<Void>, Void> beginCreateZipDeploymentForStaticSiteA
createZipDeploymentForStaticSiteWithResponseAsync(resourceGroupName, name, staticSiteZipDeploymentEnvelope);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9635,7 +9635,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreAsync(
Mono<Response<Flux<ByteBuffer>>> mono = restoreWithResponseAsync(resourceGroupName, name, backupId, request);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -27904,7 +27905,11 @@ public PollerFlux<PollResult<OperationInner>, OperationInner> beginMigrateMySqlA
return this
.client
.<OperationInner, OperationInner>getLroResult(
mono, this.client.getHttpPipeline(), OperationInner.class, OperationInner.class, this.client.getContext());
mono,
this.client.getHttpPipeline(),
OperationInner.class,
OperationInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -35781,7 +35786,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreFromBackupBlobAsync(
restoreFromBackupBlobWithResponseAsync(resourceGroupName, name, request);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -36038,7 +36044,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreFromDeletedAppAsync(
restoreFromDeletedAppWithResponseAsync(resourceGroupName, name, restoreRequest);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -36299,7 +36306,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreSnapshotAsync(
restoreSnapshotWithResponseAsync(resourceGroupName, name, restoreRequest);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -39719,7 +39727,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreSlotAsync(
restoreSlotWithResponseAsync(resourceGroupName, name, backupId, slot, request);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -67789,7 +67798,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreFromBackupBlobSlotAsync(
restoreFromBackupBlobSlotWithResponseAsync(resourceGroupName, name, slot, request);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -68073,7 +68083,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreFromDeletedAppSlotAsync(
restoreFromDeletedAppSlotWithResponseAsync(resourceGroupName, name, slot, restoreRequest);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -68354,7 +68365,8 @@ public PollerFlux<PollResult<Void>, Void> beginRestoreSnapshotSlotAsync(
restoreSnapshotSlotWithResponseAsync(resourceGroupName, name, slot, restoreRequest);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -69692,7 +69704,8 @@ public PollerFlux<PollResult<Void>, Void> beginSwapSlotAsync(
swapSlotWithResponseAsync(resourceGroupName, name, slot, slotSwapEntity);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down Expand Up @@ -75953,7 +75966,8 @@ public PollerFlux<PollResult<Void>, Void> beginSwapSlotWithProductionAsync(
swapSlotWithProductionWithResponseAsync(resourceGroupName, name, slotSwapEntity);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,11 @@ public PollerFlux<PollResult<AfdDomainInner>, AfdDomainInner> beginCreateAsync(
return this
.client
.<AfdDomainInner, AfdDomainInner>getLroResult(
mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, this.client.getContext());
mono,
this.client.getHttpPipeline(),
AfdDomainInner.class,
AfdDomainInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1021,7 +1025,11 @@ public PollerFlux<PollResult<AfdDomainInner>, AfdDomainInner> beginUpdateAsync(
return this
.client
.<AfdDomainInner, AfdDomainInner>getLroResult(
mono, this.client.getHttpPipeline(), AfdDomainInner.class, AfdDomainInner.class, this.client.getContext());
mono,
this.client.getHttpPipeline(),
AfdDomainInner.class,
AfdDomainInner.class,
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1395,7 +1403,8 @@ public PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
deleteWithResponseAsync(resourceGroupName, profileName, customDomainName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Loading

0 comments on commit c3daf00

Please sign in to comment.