diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java index d3606c60929..ae86cd21386 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java @@ -211,9 +211,16 @@ private List createClientMethods(Operation operation, boolean isPr } if (settings.isFluent()) { - createLroBeginClientMethods(baseMethod, methodNamer.getLroBeginAsyncMethodName(), + final PollingMetadata pollingMetadata = PollingMetadata.create(operation, proxyMethod, + methodsReturnDescription.getSyncReturnType()); + final ClientMethod lroBaseMethod = pollingMetadata != null + ? baseMethod.newBuilder() + .methodPollingDetails(pollingMetadata.asMethodPollingDetails()) + .build() + : baseMethod; + createLroBeginClientMethods(lroBaseMethod, methodNamer.getLroBeginAsyncMethodName(), methodNamer.getLroBeginMethodName(), methods, createMethodArgs); - this.createAdditionalLroMethods(baseMethod, methods, createMethodArgs); + this.createAdditionalLroMethods(lroBaseMethod, methods, createMethodArgs); } else { final PollingMetadata pollingMetadata = PollingMetadata.create(operation, proxyMethod, methodsReturnDescription.getSyncReturnType()); diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodsReturnDescription.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodsReturnDescription.java index b3d36c08213..70908b0324e 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodsReturnDescription.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodsReturnDescription.java @@ -229,9 +229,9 @@ public ReturnValue getReturnValue(ClientMethodType methodType, MethodPollingDeta switch (methodType) { case LongRunningBeginSync: if (settings.isFluent()) { - final IType returnType = GenericType.syncPoller(GenericType.pollResult(syncReturnType.asNullable()), - syncReturnType.asNullable()); - return createReturnValue(returnType, syncReturnType); + IType resultType = getPollAndFinalTypeForFluent(pollingDetails, true); + final IType returnType = GenericType.syncPoller(GenericType.pollResult(resultType), resultType); + return createReturnValue(returnType, resultType); } else if (settings.isAzureV2()) { IType returnType = GenericType.syncPoller(pollingDetails.getPollResultType(), pollingDetails.getFinalResultType()); @@ -243,20 +243,44 @@ public ReturnValue getReturnValue(ClientMethodType methodType, MethodPollingDeta } case LongRunningBeginAsync: if (settings.isFluent()) { - IType returnType = GenericType.pollerFlux(GenericType.pollResult(syncReturnType.asNullable()), - syncReturnType.asNullable()); - return createReturnValue(returnType, syncReturnType); + IType resultType = getPollAndFinalTypeForFluent(pollingDetails, true); + IType returnType = GenericType.pollerFlux(GenericType.pollResult(resultType), resultType); + return createReturnValue(returnType, resultType); } else { IType returnType = GenericType.pollerFlux(pollingDetails.getPollResultType(), pollingDetails.getFinalResultType()); return createReturnValue(returnType, pollingDetails.getFinalResultType()); } + case LongRunningSync: { + IType resultType = getPollAndFinalTypeForFluent(pollingDetails, false); + return createReturnValue(resultType, resultType); + } + + case LongRunningAsync: { + IType resultType = getPollAndFinalTypeForFluent(pollingDetails, true); + return createReturnValue(mono(resultType), resultType); + } + default: throw new IllegalArgumentException("Unsupported method type: " + methodType + ". Use 'getReturnValue(ClientMethodType)' for non-'LongRunningBegin' method types."); } } + private IType getPollAndFinalTypeForFluent(MethodPollingDetails pollingDetails, boolean useNullableType) { + // TODO (weidxu): we may use "pollingDetails.getFinalResultType()" as 1st choice + IType resultType = syncReturnType; + if (resultType == ClassType.VOID || resultType == PrimitiveType.VOID) { + // no body in response, check final result from MethodPollingDetails + if (pollingDetails != null + && pollingDetails.getFinalResultType() != ClassType.VOID + && pollingDetails.getFinalResultType() != PrimitiveType.VOID) { + resultType = pollingDetails.getFinalResultType(); + } + } + return useNullableType ? resultType.asNullable() : resultType; + } + /** * Creates a {@link ReturnValue} for the given return type and base type. * diff --git a/packages/http-client-java/generator/http-client-generator-mgmt/src/main/java/com/microsoft/typespec/http/client/generator/mgmt/mapper/FluentClientMethodMapper.java b/packages/http-client-java/generator/http-client-generator-mgmt/src/main/java/com/microsoft/typespec/http/client/generator/mgmt/mapper/FluentClientMethodMapper.java index 2d136d7ffcc..2bbeaa9703d 100644 --- a/packages/http-client-java/generator/http-client-generator-mgmt/src/main/java/com/microsoft/typespec/http/client/generator/mgmt/mapper/FluentClientMethodMapper.java +++ b/packages/http-client-java/generator/http-client-generator-mgmt/src/main/java/com/microsoft/typespec/http/client/generator/mgmt/mapper/FluentClientMethodMapper.java @@ -8,6 +8,7 @@ import com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodsReturnDescription; import com.microsoft.typespec.http.client.generator.core.model.clientmodel.ClientMethod; import com.microsoft.typespec.http.client.generator.core.model.clientmodel.ClientMethodType; +import com.microsoft.typespec.http.client.generator.core.model.clientmodel.MethodPollingDetails; import com.microsoft.typespec.http.client.generator.core.model.clientmodel.ProxyMethod; import com.microsoft.typespec.http.client.generator.core.model.javamodel.JavaVisibility; import com.microsoft.typespec.http.client.generator.mgmt.model.clientmodel.FluentStatic; @@ -124,9 +125,10 @@ private void createLroGetFinalResultClientMethods(boolean isSync, ClientMethod b = methodVisibility(clientMethodType, MethodOverloadType.OVERLOAD_MINIMUM, false, isProtocolMethod); final JavaVisibility methodWithContextVisibility = methodVisibility(clientMethodType, defaultOverloadType, true, isProtocolMethod); + final MethodPollingDetails methodPollingDetails = baseMethod.getMethodPollingDetails(); final ClientMethod lroGetFinalResultMethod = baseMethod.newBuilder() - .returnValue(methodsReturnDescription.getReturnValue(clientMethodType)) + .returnValue(methodsReturnDescription.getReturnValue(clientMethodType, methodPollingDetails)) .name(methodName) .onlyRequiredParameters(false) .type(clientMethodType) diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java index a88b6f8ab72..5b9c041ecef 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java @@ -37,6 +37,7 @@ import tsptest.armresourceprovider.implementation.ChildResourcesInterfacesImpl; import tsptest.armresourceprovider.implementation.CustomTemplateResourceInterfacesImpl; import tsptest.armresourceprovider.implementation.ImmutableResourceModelsImpl; +import tsptest.armresourceprovider.implementation.LroNoBodiesImpl; import tsptest.armresourceprovider.implementation.ManagedMaintenanceWindowStatusOperationsImpl; import tsptest.armresourceprovider.implementation.ModelInterfaceSameNamesImpl; import tsptest.armresourceprovider.implementation.OperationsImpl; @@ -45,6 +46,7 @@ import tsptest.armresourceprovider.models.ChildResourcesInterfaces; import tsptest.armresourceprovider.models.CustomTemplateResourceInterfaces; import tsptest.armresourceprovider.models.ImmutableResourceModels; +import tsptest.armresourceprovider.models.LroNoBodies; import tsptest.armresourceprovider.models.ManagedMaintenanceWindowStatusOperations; import tsptest.armresourceprovider.models.ModelInterfaceSameNames; import tsptest.armresourceprovider.models.Operations; @@ -71,6 +73,8 @@ public final class ArmResourceProviderManager { private ImmutableResourceModels immutableResourceModels; + private LroNoBodies lroNoBodies; + private final ArmClient clientObject; private ArmResourceProviderManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) { @@ -389,6 +393,18 @@ public ImmutableResourceModels immutableResourceModels() { return immutableResourceModels; } + /** + * Gets the resource collection API of LroNoBodies. + * + * @return Resource collection API of LroNoBodies. + */ + public LroNoBodies lroNoBodies() { + if (this.lroNoBodies == null) { + this.lroNoBodies = new LroNoBodiesImpl(clientObject.getLroNoBodies(), this); + } + return lroNoBodies; + } + /** * Gets wrapped service client ArmClient providing direct access to the underlying auto-generated API * implementation, based on Azure REST API. diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java index e2725aa9c57..8853b2c1975 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java @@ -101,4 +101,11 @@ public interface ArmClient { * @return the ImmutableResourceModelsClient object. */ ImmutableResourceModelsClient getImmutableResourceModels(); + + /** + * Gets the LroNoBodiesClient object to access its operations. + * + * @return the LroNoBodiesClient object. + */ + LroNoBodiesClient getLroNoBodies(); } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/LroNoBodiesClient.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/LroNoBodiesClient.java new file mode 100644 index 00000000000..91a53f9061a --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/LroNoBodiesClient.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.Context; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import java.nio.ByteBuffer; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; +import tsptest.armresourceprovider.models.ResourceLroNoBody; + +/** + * An instance of this class provides access to all the operations defined in LroNoBodiesClient. + */ +public interface LroNoBodiesClient { + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, ResourceLroNoBody> beginCreateOrUpdateAsync(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ResourceLroNoBody> beginCreateOrUpdate(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ResourceLroNoBody> beginCreateOrUpdate(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource, Context context); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono createOrUpdateAsync(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, ResourceLroNoBody resource, + Context context); +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/models/ResourceLroNoBodyProperties.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/models/ResourceLroNoBodyProperties.java new file mode 100644 index 00000000000..64581bbe199 --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/fluent/models/ResourceLroNoBodyProperties.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import tsptest.armresourceprovider.models.ProvisioningState; + +/** + * The ResourceLroNoBodyProperties model. + */ +@Immutable +public final class ResourceLroNoBodyProperties implements JsonSerializable { + /* + * The status of the last operation. + */ + private ProvisioningState provisioningState; + + /** + * Creates an instance of ResourceLroNoBodyProperties class. + */ + public ResourceLroNoBodyProperties() { + } + + /** + * Get the provisioningState property: The status of the last operation. + * + * @return the provisioningState value. + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResourceLroNoBodyProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResourceLroNoBodyProperties if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the ResourceLroNoBodyProperties. + */ + public static ResourceLroNoBodyProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResourceLroNoBodyProperties deserializedResourceLroNoBodyProperties = new ResourceLroNoBodyProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("provisioningState".equals(fieldName)) { + deserializedResourceLroNoBodyProperties.provisioningState + = ProvisioningState.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedResourceLroNoBodyProperties; + }); + } +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java index c0a1d034752..9f6b0870f52 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java @@ -39,6 +39,7 @@ import tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient; import tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient; import tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient; +import tsptest.armresourceprovider.fluent.LroNoBodiesClient; import tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient; import tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient; import tsptest.armresourceprovider.fluent.OperationsClient; @@ -245,6 +246,20 @@ public ImmutableResourceModelsClient getImmutableResourceModels() { return this.immutableResourceModels; } + /** + * The LroNoBodiesClient object to access its operations. + */ + private final LroNoBodiesClient lroNoBodies; + + /** + * Gets the LroNoBodiesClient object to access its operations. + * + * @return the LroNoBodiesClient object. + */ + public LroNoBodiesClient getLroNoBodies() { + return this.lroNoBodies; + } + /** * Initializes an instance of ArmClient client. * @@ -271,6 +286,7 @@ public ImmutableResourceModelsClient getImmutableResourceModels() { this.managedMaintenanceWindowStatusOperations = new ManagedMaintenanceWindowStatusOperationsClientImpl(this); this.modelInterfaceSameNames = new ModelInterfaceSameNamesClientImpl(this); this.immutableResourceModels = new ImmutableResourceModelsClientImpl(this); + this.lroNoBodies = new LroNoBodiesClientImpl(this); } /** diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesClientImpl.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesClientImpl.java new file mode 100644 index 00000000000..c80c8191c64 --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesClientImpl.java @@ -0,0 +1,264 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import java.nio.ByteBuffer; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; +import tsptest.armresourceprovider.fluent.LroNoBodiesClient; +import tsptest.armresourceprovider.models.ResourceLroNoBody; + +/** + * An instance of this class provides access to all the operations defined in LroNoBodiesClient. + */ +public final class LroNoBodiesClientImpl implements LroNoBodiesClient { + /** + * The proxy service used to perform REST calls. + */ + private final LroNoBodiesService service; + + /** + * The service client containing this operation class. + */ + private final ArmClientImpl client; + + /** + * Initializes an instance of LroNoBodiesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + LroNoBodiesClientImpl(ArmClientImpl client) { + this.service + = RestProxy.create(LroNoBodiesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for ArmClientLroNoBodies to be used by the proxy service to perform REST + * calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "ArmClientLroNoBodies") + public interface LroNoBodiesService { + @Headers({ "Accept: application/json;q=0.9" }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/TspTest.ArmResourceProvider/resourceLroNoBody/{resourceLroNoBodyName}") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("resourceLroNoBodyName") String resourceLroNoBodyName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") ResourceLroNoBody resource, + Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/TspTest.ArmResourceProvider/resourceLroNoBody/{resourceLroNoBodyName}") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("resourceLroNoBodyName") String resourceLroNoBodyName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") ResourceLroNoBody resource, + Context context); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource) { + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, resourceLroNoBodyName, contentType, resource, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createOrUpdateWithResponse(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource) { + final String contentType = "application/json"; + return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, resourceLroNoBodyName, contentType, resource, + Context.NONE); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response createOrUpdateWithResponse(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource, Context context) { + final String contentType = "application/json"; + return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, resourceLroNoBodyName, contentType, resource, context); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, ResourceLroNoBody> + beginCreateOrUpdateAsync(String resourceGroupName, String resourceLroNoBodyName, ResourceLroNoBody resource) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, resourceLroNoBodyName, resource); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + ResourceLroNoBody.class, ResourceLroNoBody.class, this.client.getContext()); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ResourceLroNoBody> beginCreateOrUpdate(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource) { + Response response = createOrUpdateWithResponse(resourceGroupName, resourceLroNoBodyName, resource); + return this.client.getLroResult(response, ResourceLroNoBody.class, + ResourceLroNoBody.class, Context.NONE); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ResourceLroNoBody> beginCreateOrUpdate(String resourceGroupName, + String resourceLroNoBodyName, ResourceLroNoBody resource, Context context) { + Response response + = createOrUpdateWithResponse(resourceGroupName, resourceLroNoBodyName, resource, context); + return this.client.getLroResult(response, ResourceLroNoBody.class, + ResourceLroNoBody.class, context); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateAsync(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource) { + return beginCreateOrUpdateAsync(resourceGroupName, resourceLroNoBodyName, resource).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource) { + return beginCreateOrUpdate(resourceGroupName, resourceLroNoBodyName, resource).getFinalResult(); + } + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource, Context context) { + return beginCreateOrUpdate(resourceGroupName, resourceLroNoBodyName, resource, context).getFinalResult(); + } +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesImpl.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesImpl.java new file mode 100644 index 00000000000..5945af22c14 --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesImpl.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.implementation; + +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import tsptest.armresourceprovider.fluent.LroNoBodiesClient; +import tsptest.armresourceprovider.models.LroNoBodies; +import tsptest.armresourceprovider.models.ResourceLroNoBody; + +public final class LroNoBodiesImpl implements LroNoBodies { + private static final ClientLogger LOGGER = new ClientLogger(LroNoBodiesImpl.class); + + private final LroNoBodiesClient innerClient; + + private final tsptest.armresourceprovider.ArmResourceProviderManager serviceManager; + + public LroNoBodiesImpl(LroNoBodiesClient innerClient, + tsptest.armresourceprovider.ArmResourceProviderManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource) { + return this.serviceClient().createOrUpdate(resourceGroupName, resourceLroNoBodyName, resource); + } + + public ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource, Context context) { + return this.serviceClient().createOrUpdate(resourceGroupName, resourceLroNoBodyName, resource, context); + } + + private LroNoBodiesClient serviceClient() { + return this.innerClient; + } + + private tsptest.armresourceprovider.ArmResourceProviderManager manager() { + return this.serviceManager; + } +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/LroNoBodies.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/LroNoBodies.java new file mode 100644 index 00000000000..975db880ef8 --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/LroNoBodies.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.models; + +import com.azure.core.util.Context; + +/** + * Resource collection API of LroNoBodies. + */ +public interface LroNoBodies { + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + */ + ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, + ResourceLroNoBody resource); + + /** + * Create a ResourceLroNoBody. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceLroNoBodyName The name of the ResourceLroNoBody. + * @param resource Resource create parameters. + * @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. + */ + ResourceLroNoBody createOrUpdate(String resourceGroupName, String resourceLroNoBodyName, ResourceLroNoBody resource, + Context context); +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/ResourceLroNoBody.java b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/ResourceLroNoBody.java new file mode 100644 index 00000000000..cd252b1d5d7 --- /dev/null +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/java/tsptest/armresourceprovider/models/ResourceLroNoBody.java @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package tsptest.armresourceprovider.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; +import com.azure.core.management.SystemData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.Map; +import tsptest.armresourceprovider.fluent.models.ResourceLroNoBodyProperties; + +/** + * Concrete tracked resource types can be created by aliasing this type using a specific property type. + */ +@Fluent +public final class ResourceLroNoBody extends Resource { + /* + * The resource-specific properties for this resource. + */ + private ResourceLroNoBodyProperties innerProperties; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SystemData systemData; + + /* + * The type of the resource. + */ + private String type; + + /* + * The name of the resource. + */ + private String name; + + /* + * Fully qualified resource Id for the resource. + */ + private String id; + + /** + * Creates an instance of ResourceLroNoBody class. + */ + public ResourceLroNoBody() { + } + + /** + * Get the innerProperties property: The resource-specific properties for this resource. + * + * @return the innerProperties value. + */ + private ResourceLroNoBodyProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the type property: The type of the resource. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Override + public String name() { + return this.name; + } + + /** + * Get the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Override + public ResourceLroNoBody withLocation(String location) { + super.withLocation(location); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ResourceLroNoBody withTags(Map tags) { + super.withTags(tags); + return this; + } + + /** + * Get the provisioningState property: The status of the last operation. + * + * @return the provisioningState value. + */ + public ProvisioningState provisioningState() { + return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", location()); + jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); + jsonWriter.writeJsonField("properties", this.innerProperties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResourceLroNoBody from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResourceLroNoBody if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ResourceLroNoBody. + */ + public static ResourceLroNoBody fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResourceLroNoBody deserializedResourceLroNoBody = new ResourceLroNoBody(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedResourceLroNoBody.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedResourceLroNoBody.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedResourceLroNoBody.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedResourceLroNoBody.withLocation(reader.getString()); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedResourceLroNoBody.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedResourceLroNoBody.innerProperties = ResourceLroNoBodyProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedResourceLroNoBody.systemData = SystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedResourceLroNoBody; + }); + } +} diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_apiview_properties.json index 432cc6f4820..b3635132152 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_apiview_properties.json @@ -66,6 +66,12 @@ "tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdate": "TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate", "tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateAsync": "TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate", "tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateWithResponseAsync": "TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient": "TspTest.ArmResourceProvider.LroNoBody", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient.beginCreateOrUpdate": "TspTest.ArmResourceProvider.LroNoBody.createOrUpdate", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient.beginCreateOrUpdateAsync": "TspTest.ArmResourceProvider.LroNoBody.createOrUpdate", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdate": "TspTest.ArmResourceProvider.LroNoBody.createOrUpdate", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdateAsync": "TspTest.ArmResourceProvider.LroNoBody.createOrUpdate", + "tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdateWithResponseAsync": "TspTest.ArmResourceProvider.LroNoBody.createOrUpdate", "tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient": "TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus", "tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDelete": "TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete", "tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDeleteAsync": "TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete", @@ -126,6 +132,7 @@ "tsptest.armresourceprovider.fluent.models.ModelInterfaceDifferentNameProperties": "TspTest.ArmResourceProvider.ModelInterfaceDifferentNameProperties", "tsptest.armresourceprovider.fluent.models.ModelInterfaceSameNameInner": "TspTest.ArmResourceProvider.ModelInterfaceDifferentName", "tsptest.armresourceprovider.fluent.models.OperationInner": "Azure.ResourceManager.CommonTypes.Operation", + "tsptest.armresourceprovider.fluent.models.ResourceLroNoBodyProperties": "TspTest.ArmResourceProvider.ResourceLroNoBodyProperties", "tsptest.armresourceprovider.fluent.models.ResultInner": "TspTest.ArmResourceProvider.Result", "tsptest.armresourceprovider.fluent.models.TopLevelArmResourceInner": "TspTest.ArmResourceProvider.TopLevelArmResource", "tsptest.armresourceprovider.fluent.models.TopLevelArmResourceProperties": "TspTest.ArmResourceProvider.TopLevelArmResourceProperties", @@ -154,6 +161,7 @@ "tsptest.armresourceprovider.models.Origin": "Azure.ResourceManager.CommonTypes.Origin", "tsptest.armresourceprovider.models.PriorityModel": "TspTest.ArmResourceProvider.PriorityModel", "tsptest.armresourceprovider.models.ProvisioningState": "TspTest.ArmResourceProvider.ProvisioningState", + "tsptest.armresourceprovider.models.ResourceLroNoBody": "TspTest.ArmResourceProvider.ResourceLroNoBody", "tsptest.armresourceprovider.models.TopLevelArmResourceUpdate": "Azure.ResourceManager.Foundations.ResourceUpdateModel", "tsptest.armresourceprovider.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity" } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_metadata.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_metadata.json index 5e7afdd93f2..57656c63ac5 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_metadata.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/azure-resourcemanager-armresourceprovider-generated_metadata.json @@ -1 +1 @@ -{"flavor":"Azure","apiVersion":"2023-11-01","crossLanguageDefinitions":{"tsptest.armresourceprovider.fluent.ArmClient":"TspTest.ArmResourceProvider","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient":"TspTest.ArmResourceProvider.ChildExtensionResourceInterface","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginDelete":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.delete":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.deleteAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.get":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getWithResponse":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.listByTopLevelArmResource":"Azure.ResourceManager.ChildExtensionResourceInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.listByTopLevelArmResourceAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.update":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateWithResponse":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient":"TspTest.ArmResourceProvider.ChildResourcesInterface","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBody":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBodyAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBodyWithResponseAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginActionWithoutBody":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginActionWithoutBodyAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginDelete":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdate":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.delete":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.deleteAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.get":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getAsync":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getWithResponse":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.listByTopLevelArmResource":"TspTest.ArmResourceProvider.ChildResourcesInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.listByTopLevelArmResourceAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.update":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateAsync":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateWithResponse":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginUpdateLongRunning":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginUpdateLongRunningAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunning":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunningAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunningWithResponseAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient":"TspTest.ArmResourceProvider.ImmutableResourceModel","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.beginCreateOrUpdate":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.beginCreateOrUpdateAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdate":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateWithResponseAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDelete":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDeleteAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.delete":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.deleteAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.deleteWithResponseAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroup":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupWithResponse":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupWithResponseAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient":"TspTest.ArmResourceProvider.ModelInterfaceSameName","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.delete":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteWithResponse":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteWithResponseAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroup":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupWithResponse":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupWithResponseAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.OperationsClient":"TspTest.ArmResourceProvider.Operations","tsptest.armresourceprovider.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","tsptest.armresourceprovider.fluent.OperationsClient.listAsync":"Azure.ResourceManager.Operations.list","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.action":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.actionAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.actionWithResponseAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginAction":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginActionAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginDelete":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.delete":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.deleteAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroup":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupWithResponse":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.list":"Azure.ResourceManager.TopLevelArmResourceInterface.listBySubscription","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.listBySubscription","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listByResourceGroup":"Azure.ResourceManager.TopLevelArmResourceInterface.listByResourceGroup","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listByResourceGroupAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.listByResourceGroup","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.update":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateWithResponse":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.models.ChildExtensionResourceInner":"TspTest.ArmResourceProvider.ChildExtensionResource","tsptest.armresourceprovider.fluent.models.ChildResourceInner":"TspTest.ArmResourceProvider.ChildResource","tsptest.armresourceprovider.fluent.models.ChildResourceProperties":"TspTest.ArmResourceProvider.ChildResourceProperties","tsptest.armresourceprovider.fluent.models.CustomTemplateResourceInner":"TspTest.ArmResourceProvider.CustomTemplateResource","tsptest.armresourceprovider.fluent.models.CustomTemplateResourceProperties":"TspTest.ArmResourceProvider.CustomTemplateResourceProperties","tsptest.armresourceprovider.fluent.models.ManagedMaintenanceWindowStatusContentProperties":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatusContentProperties","tsptest.armresourceprovider.fluent.models.ManagedMaintenanceWindowStatusInner":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatusContent","tsptest.armresourceprovider.fluent.models.ModelInterfaceDifferentNameProperties":"TspTest.ArmResourceProvider.ModelInterfaceDifferentNameProperties","tsptest.armresourceprovider.fluent.models.ModelInterfaceSameNameInner":"TspTest.ArmResourceProvider.ModelInterfaceDifferentName","tsptest.armresourceprovider.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","tsptest.armresourceprovider.fluent.models.ResultInner":"TspTest.ArmResourceProvider.Result","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceInner":"TspTest.ArmResourceProvider.TopLevelArmResource","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceProperties":"TspTest.ArmResourceProvider.TopLevelArmResourceProperties","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","tsptest.armresourceprovider.implementation.ArmClientBuilder":"TspTest.ArmResourceProvider","tsptest.armresourceprovider.implementation.models.ChildExtensionResourceListResult":"Azure.ResourceManager.ResourceListResult","tsptest.armresourceprovider.implementation.models.ChildResourceListResult":"TspTest.ArmResourceProvider.ChildResourceListResult","tsptest.armresourceprovider.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","tsptest.armresourceprovider.implementation.models.ResourceListResult":"Azure.ResourceManager.ResourceListResult","tsptest.armresourceprovider.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","tsptest.armresourceprovider.models.AnonymousEmptyModel":"TspTest.ArmResourceProvider.CustomTemplateResourceProperties.anonymousEmptyModel.anonymous","tsptest.armresourceprovider.models.ChildExtensionResourceProperties":"TspTest.ArmResourceProvider.ChildExtensionResourceProperties","tsptest.armresourceprovider.models.ChildExtensionResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.ChildResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.CustomTemplateResourcePatch":"TspTest.ArmResourceProvider.CustomTemplateResourcePatch","tsptest.armresourceprovider.models.Dog":"TspTest.ArmResourceProvider.Dog","tsptest.armresourceprovider.models.DogKind":"TspTest.ArmResourceProvider.DogKind","tsptest.armresourceprovider.models.EmptyModel":"TspTest.ArmResourceProvider.EmptyModel","tsptest.armresourceprovider.models.Golden":"TspTest.ArmResourceProvider.Golden","tsptest.armresourceprovider.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","tsptest.armresourceprovider.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","tsptest.armresourceprovider.models.NginxConfigurationRequest":"TspTest.ArmResourceProvider.NginxConfigurationRequest","tsptest.armresourceprovider.models.NginxConfigurationResponse":"TspTest.ArmResourceProvider.NginxConfigurationResponse","tsptest.armresourceprovider.models.NginxConfigurationResponseProperties":"TspTest.ArmResourceProvider.NginxConfigurationResponseProperties","tsptest.armresourceprovider.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","tsptest.armresourceprovider.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","tsptest.armresourceprovider.models.PriorityModel":"TspTest.ArmResourceProvider.PriorityModel","tsptest.armresourceprovider.models.ProvisioningState":"TspTest.ArmResourceProvider.ProvisioningState","tsptest.armresourceprovider.models.TopLevelArmResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity"},"generatedFiles":["src/main/java/module-info.java","src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java","src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java","src/main/java/tsptest/armresourceprovider/fluent/ChildExtensionResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/ChildResourcesInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/ImmutableResourceModelsClient.java","src/main/java/tsptest/armresourceprovider/fluent/ManagedMaintenanceWindowStatusOperationsClient.java","src/main/java/tsptest/armresourceprovider/fluent/ModelInterfaceSameNamesClient.java","src/main/java/tsptest/armresourceprovider/fluent/OperationsClient.java","src/main/java/tsptest/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildExtensionResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/CustomTemplateResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ManagedMaintenanceWindowStatusContentProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ManagedMaintenanceWindowStatusInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ModelInterfaceDifferentNameProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ModelInterfaceSameNameInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/OperationInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ResultInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceUpdateProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/package-info.java","src/main/java/tsptest/armresourceprovider/fluent/package-info.java","src/main/java/tsptest/armresourceprovider/implementation/ArmClientBuilder.java","src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourcesInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ImmutableResourceModelsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ImmutableResourceModelsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusOperationsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusOperationsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNameImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNamesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNamesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ResourceManagerUtils.java","src/main/java/tsptest/armresourceprovider/implementation/ResultImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/models/ChildExtensionResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/ChildResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/OperationListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/ResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/package-info.java","src/main/java/tsptest/armresourceprovider/models/ActionType.java","src/main/java/tsptest/armresourceprovider/models/AnonymousEmptyModel.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResource.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceProperties.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/ChildResource.java","src/main/java/tsptest/armresourceprovider/models/ChildResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/ChildResourcesInterfaces.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResource.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResourcePatch.java","src/main/java/tsptest/armresourceprovider/models/Dog.java","src/main/java/tsptest/armresourceprovider/models/DogKind.java","src/main/java/tsptest/armresourceprovider/models/EmptyModel.java","src/main/java/tsptest/armresourceprovider/models/Golden.java","src/main/java/tsptest/armresourceprovider/models/ImmutableResourceModels.java","src/main/java/tsptest/armresourceprovider/models/ManagedMaintenanceWindowStatus.java","src/main/java/tsptest/armresourceprovider/models/ManagedMaintenanceWindowStatusOperations.java","src/main/java/tsptest/armresourceprovider/models/ManagedServiceIdentity.java","src/main/java/tsptest/armresourceprovider/models/ManagedServiceIdentityType.java","src/main/java/tsptest/armresourceprovider/models/ModelInterfaceSameName.java","src/main/java/tsptest/armresourceprovider/models/ModelInterfaceSameNames.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationRequest.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationResponse.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationResponseProperties.java","src/main/java/tsptest/armresourceprovider/models/Operation.java","src/main/java/tsptest/armresourceprovider/models/OperationDisplay.java","src/main/java/tsptest/armresourceprovider/models/Operations.java","src/main/java/tsptest/armresourceprovider/models/Origin.java","src/main/java/tsptest/armresourceprovider/models/PriorityModel.java","src/main/java/tsptest/armresourceprovider/models/ProvisioningState.java","src/main/java/tsptest/armresourceprovider/models/Result.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResource.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/UserAssignedIdentity.java","src/main/java/tsptest/armresourceprovider/models/package-info.java","src/main/java/tsptest/armresourceprovider/package-info.java"]} \ No newline at end of file +{"flavor":"Azure","apiVersion":"2023-11-01","crossLanguageDefinitions":{"tsptest.armresourceprovider.fluent.ArmClient":"TspTest.ArmResourceProvider","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient":"TspTest.ArmResourceProvider.ChildExtensionResourceInterface","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginDelete":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.delete":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.deleteAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.delete","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.get":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getWithResponse":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.getWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.get","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.listByTopLevelArmResource":"Azure.ResourceManager.ChildExtensionResourceInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.listByTopLevelArmResourceAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.update":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateWithResponse":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildExtensionResourceInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.ChildExtensionResourceInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient":"TspTest.ArmResourceProvider.ChildResourcesInterface","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBody":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBodyAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.actionWithoutBodyWithResponseAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginActionWithoutBody":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginActionWithoutBodyAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.actionWithoutBody","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginDelete":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdate":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.createOrUpdate","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.delete":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.deleteAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.delete","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.get":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getAsync":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getWithResponse":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.getWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.get","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.listByTopLevelArmResource":"TspTest.ArmResourceProvider.ChildResourcesInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.listByTopLevelArmResourceAsync":"TspTest.ArmResourceProvider.ChildResourcesInterface.listByTopLevelArmResource","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.update":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateAsync":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateWithResponse":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.ChildResourcesInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.ChildResourcesInterface.update","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginUpdateLongRunning":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.beginUpdateLongRunningAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.CustomTemplateResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunning":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunningAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.CustomTemplateResourceInterfacesClient.updateLongRunningWithResponseAsync":"TspTest.ArmResourceProvider.CustomTemplateResourceInterface.updateLongRunning","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient":"TspTest.ArmResourceProvider.ImmutableResourceModel","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.beginCreateOrUpdate":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.beginCreateOrUpdateAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdate":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.ImmutableResourceModelsClient.createOrUpdateWithResponseAsync":"TspTest.ArmResourceProvider.ImmutableResourceModel.createOrUpdate","tsptest.armresourceprovider.fluent.LroNoBodiesClient":"TspTest.ArmResourceProvider.LroNoBody","tsptest.armresourceprovider.fluent.LroNoBodiesClient.beginCreateOrUpdate":"TspTest.ArmResourceProvider.LroNoBody.createOrUpdate","tsptest.armresourceprovider.fluent.LroNoBodiesClient.beginCreateOrUpdateAsync":"TspTest.ArmResourceProvider.LroNoBody.createOrUpdate","tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdate":"TspTest.ArmResourceProvider.LroNoBody.createOrUpdate","tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdateAsync":"TspTest.ArmResourceProvider.LroNoBody.createOrUpdate","tsptest.armresourceprovider.fluent.LroNoBodiesClient.createOrUpdateWithResponseAsync":"TspTest.ArmResourceProvider.LroNoBody.createOrUpdate","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDelete":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.beginDeleteAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.delete":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.deleteAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.deleteWithResponseAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.delete","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroup":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupWithResponse":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ManagedMaintenanceWindowStatusOperationsClient.getByResourceGroupWithResponseAsync":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatus.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient":"TspTest.ArmResourceProvider.ModelInterfaceSameName","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.delete":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteWithResponse":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.deleteWithResponseAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.delete","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroup":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupWithResponse":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.ModelInterfaceSameNamesClient.getByResourceGroupWithResponseAsync":"TspTest.ArmResourceProvider.ModelInterfaceSameName.get","tsptest.armresourceprovider.fluent.OperationsClient":"TspTest.ArmResourceProvider.Operations","tsptest.armresourceprovider.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","tsptest.armresourceprovider.fluent.OperationsClient.listAsync":"Azure.ResourceManager.Operations.list","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.action":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.actionAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.actionWithResponseAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginAction":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginActionAsync":"TspTest.ArmResourceProvider.TopLevelArmResourceInterface.action","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginCreateOrUpdate":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginCreateOrUpdateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginDelete":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.beginDeleteAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdate":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.createOrUpdateWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.createOrUpdate","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.delete":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.deleteAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.deleteWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.delete","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroup":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupWithResponse":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.getByResourceGroupWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.get","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.list":"Azure.ResourceManager.TopLevelArmResourceInterface.listBySubscription","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.listBySubscription","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listByResourceGroup":"Azure.ResourceManager.TopLevelArmResourceInterface.listByResourceGroup","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.listByResourceGroupAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.listByResourceGroup","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.update":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateWithResponse":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.TopLevelArmResourceInterfacesClient.updateWithResponseAsync":"Azure.ResourceManager.TopLevelArmResourceInterface.update","tsptest.armresourceprovider.fluent.models.ChildExtensionResourceInner":"TspTest.ArmResourceProvider.ChildExtensionResource","tsptest.armresourceprovider.fluent.models.ChildResourceInner":"TspTest.ArmResourceProvider.ChildResource","tsptest.armresourceprovider.fluent.models.ChildResourceProperties":"TspTest.ArmResourceProvider.ChildResourceProperties","tsptest.armresourceprovider.fluent.models.CustomTemplateResourceInner":"TspTest.ArmResourceProvider.CustomTemplateResource","tsptest.armresourceprovider.fluent.models.CustomTemplateResourceProperties":"TspTest.ArmResourceProvider.CustomTemplateResourceProperties","tsptest.armresourceprovider.fluent.models.ManagedMaintenanceWindowStatusContentProperties":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatusContentProperties","tsptest.armresourceprovider.fluent.models.ManagedMaintenanceWindowStatusInner":"TspTest.ArmResourceProvider.ManagedMaintenanceWindowStatusContent","tsptest.armresourceprovider.fluent.models.ModelInterfaceDifferentNameProperties":"TspTest.ArmResourceProvider.ModelInterfaceDifferentNameProperties","tsptest.armresourceprovider.fluent.models.ModelInterfaceSameNameInner":"TspTest.ArmResourceProvider.ModelInterfaceDifferentName","tsptest.armresourceprovider.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","tsptest.armresourceprovider.fluent.models.ResourceLroNoBodyProperties":"TspTest.ArmResourceProvider.ResourceLroNoBodyProperties","tsptest.armresourceprovider.fluent.models.ResultInner":"TspTest.ArmResourceProvider.Result","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceInner":"TspTest.ArmResourceProvider.TopLevelArmResource","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceProperties":"TspTest.ArmResourceProvider.TopLevelArmResourceProperties","tsptest.armresourceprovider.fluent.models.TopLevelArmResourceUpdateProperties":"Azure.ResourceManager.Foundations.ResourceUpdateModelProperties","tsptest.armresourceprovider.implementation.ArmClientBuilder":"TspTest.ArmResourceProvider","tsptest.armresourceprovider.implementation.models.ChildExtensionResourceListResult":"Azure.ResourceManager.ResourceListResult","tsptest.armresourceprovider.implementation.models.ChildResourceListResult":"TspTest.ArmResourceProvider.ChildResourceListResult","tsptest.armresourceprovider.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","tsptest.armresourceprovider.implementation.models.ResourceListResult":"Azure.ResourceManager.ResourceListResult","tsptest.armresourceprovider.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","tsptest.armresourceprovider.models.AnonymousEmptyModel":"TspTest.ArmResourceProvider.CustomTemplateResourceProperties.anonymousEmptyModel.anonymous","tsptest.armresourceprovider.models.ChildExtensionResourceProperties":"TspTest.ArmResourceProvider.ChildExtensionResourceProperties","tsptest.armresourceprovider.models.ChildExtensionResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.ChildResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.CustomTemplateResourcePatch":"TspTest.ArmResourceProvider.CustomTemplateResourcePatch","tsptest.armresourceprovider.models.Dog":"TspTest.ArmResourceProvider.Dog","tsptest.armresourceprovider.models.DogKind":"TspTest.ArmResourceProvider.DogKind","tsptest.armresourceprovider.models.EmptyModel":"TspTest.ArmResourceProvider.EmptyModel","tsptest.armresourceprovider.models.Golden":"TspTest.ArmResourceProvider.Golden","tsptest.armresourceprovider.models.ManagedServiceIdentity":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentity","tsptest.armresourceprovider.models.ManagedServiceIdentityType":"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType","tsptest.armresourceprovider.models.NginxConfigurationRequest":"TspTest.ArmResourceProvider.NginxConfigurationRequest","tsptest.armresourceprovider.models.NginxConfigurationResponse":"TspTest.ArmResourceProvider.NginxConfigurationResponse","tsptest.armresourceprovider.models.NginxConfigurationResponseProperties":"TspTest.ArmResourceProvider.NginxConfigurationResponseProperties","tsptest.armresourceprovider.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","tsptest.armresourceprovider.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","tsptest.armresourceprovider.models.PriorityModel":"TspTest.ArmResourceProvider.PriorityModel","tsptest.armresourceprovider.models.ProvisioningState":"TspTest.ArmResourceProvider.ProvisioningState","tsptest.armresourceprovider.models.ResourceLroNoBody":"TspTest.ArmResourceProvider.ResourceLroNoBody","tsptest.armresourceprovider.models.TopLevelArmResourceUpdate":"Azure.ResourceManager.Foundations.ResourceUpdateModel","tsptest.armresourceprovider.models.UserAssignedIdentity":"Azure.ResourceManager.CommonTypes.UserAssignedIdentity"},"generatedFiles":["src/main/java/module-info.java","src/main/java/tsptest/armresourceprovider/ArmResourceProviderManager.java","src/main/java/tsptest/armresourceprovider/fluent/ArmClient.java","src/main/java/tsptest/armresourceprovider/fluent/ChildExtensionResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/ChildResourcesInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/CustomTemplateResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/ImmutableResourceModelsClient.java","src/main/java/tsptest/armresourceprovider/fluent/LroNoBodiesClient.java","src/main/java/tsptest/armresourceprovider/fluent/ManagedMaintenanceWindowStatusOperationsClient.java","src/main/java/tsptest/armresourceprovider/fluent/ModelInterfaceSameNamesClient.java","src/main/java/tsptest/armresourceprovider/fluent/OperationsClient.java","src/main/java/tsptest/armresourceprovider/fluent/TopLevelArmResourceInterfacesClient.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildExtensionResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ChildResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/CustomTemplateResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/CustomTemplateResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ManagedMaintenanceWindowStatusContentProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ManagedMaintenanceWindowStatusInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ModelInterfaceDifferentNameProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ModelInterfaceSameNameInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/OperationInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/ResourceLroNoBodyProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/ResultInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceInner.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/TopLevelArmResourceUpdateProperties.java","src/main/java/tsptest/armresourceprovider/fluent/models/package-info.java","src/main/java/tsptest/armresourceprovider/fluent/package-info.java","src/main/java/tsptest/armresourceprovider/implementation/ArmClientBuilder.java","src/main/java/tsptest/armresourceprovider/implementation/ArmClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildExtensionResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourcesInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ChildResourcesInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/CustomTemplateResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ImmutableResourceModelsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ImmutableResourceModelsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/LroNoBodiesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusOperationsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ManagedMaintenanceWindowStatusOperationsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNameImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNamesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ModelInterfaceSameNamesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationsClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/OperationsImpl.java","src/main/java/tsptest/armresourceprovider/implementation/ResourceManagerUtils.java","src/main/java/tsptest/armresourceprovider/implementation/ResultImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceInterfacesClientImpl.java","src/main/java/tsptest/armresourceprovider/implementation/TopLevelArmResourceInterfacesImpl.java","src/main/java/tsptest/armresourceprovider/implementation/models/ChildExtensionResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/ChildResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/OperationListResult.java","src/main/java/tsptest/armresourceprovider/implementation/models/ResourceListResult.java","src/main/java/tsptest/armresourceprovider/implementation/package-info.java","src/main/java/tsptest/armresourceprovider/models/ActionType.java","src/main/java/tsptest/armresourceprovider/models/AnonymousEmptyModel.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResource.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceProperties.java","src/main/java/tsptest/armresourceprovider/models/ChildExtensionResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/ChildResource.java","src/main/java/tsptest/armresourceprovider/models/ChildResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/ChildResourcesInterfaces.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResource.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/CustomTemplateResourcePatch.java","src/main/java/tsptest/armresourceprovider/models/Dog.java","src/main/java/tsptest/armresourceprovider/models/DogKind.java","src/main/java/tsptest/armresourceprovider/models/EmptyModel.java","src/main/java/tsptest/armresourceprovider/models/Golden.java","src/main/java/tsptest/armresourceprovider/models/ImmutableResourceModels.java","src/main/java/tsptest/armresourceprovider/models/LroNoBodies.java","src/main/java/tsptest/armresourceprovider/models/ManagedMaintenanceWindowStatus.java","src/main/java/tsptest/armresourceprovider/models/ManagedMaintenanceWindowStatusOperations.java","src/main/java/tsptest/armresourceprovider/models/ManagedServiceIdentity.java","src/main/java/tsptest/armresourceprovider/models/ManagedServiceIdentityType.java","src/main/java/tsptest/armresourceprovider/models/ModelInterfaceSameName.java","src/main/java/tsptest/armresourceprovider/models/ModelInterfaceSameNames.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationRequest.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationResponse.java","src/main/java/tsptest/armresourceprovider/models/NginxConfigurationResponseProperties.java","src/main/java/tsptest/armresourceprovider/models/Operation.java","src/main/java/tsptest/armresourceprovider/models/OperationDisplay.java","src/main/java/tsptest/armresourceprovider/models/Operations.java","src/main/java/tsptest/armresourceprovider/models/Origin.java","src/main/java/tsptest/armresourceprovider/models/PriorityModel.java","src/main/java/tsptest/armresourceprovider/models/ProvisioningState.java","src/main/java/tsptest/armresourceprovider/models/ResourceLroNoBody.java","src/main/java/tsptest/armresourceprovider/models/Result.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResource.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResourceInterfaces.java","src/main/java/tsptest/armresourceprovider/models/TopLevelArmResourceUpdate.java","src/main/java/tsptest/armresourceprovider/models/UserAssignedIdentity.java","src/main/java/tsptest/armresourceprovider/models/package-info.java","src/main/java/tsptest/armresourceprovider/package-info.java"]} \ No newline at end of file diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-armresourceprovider-generated/proxy-config.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-armresourceprovider-generated/proxy-config.json index 1bed01673f7..5c06442deb0 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-armresourceprovider-generated/proxy-config.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-armresourceprovider-generated/proxy-config.json @@ -1 +1 @@ -[["tsptest.armresourceprovider.implementation.ChildExtensionResourceInterfacesClientImpl$ChildExtensionResourceInterfacesService"],["tsptest.armresourceprovider.implementation.ChildResourcesInterfacesClientImpl$ChildResourcesInterfacesService"],["tsptest.armresourceprovider.implementation.CustomTemplateResourceInterfacesClientImpl$CustomTemplateResourceInterfacesService"],["tsptest.armresourceprovider.implementation.ImmutableResourceModelsClientImpl$ImmutableResourceModelsService"],["tsptest.armresourceprovider.implementation.ManagedMaintenanceWindowStatusOperationsClientImpl$ManagedMaintenanceWindowStatusOperationsService"],["tsptest.armresourceprovider.implementation.ModelInterfaceSameNamesClientImpl$ModelInterfaceSameNamesService"],["tsptest.armresourceprovider.implementation.OperationsClientImpl$OperationsService"],["tsptest.armresourceprovider.implementation.TopLevelArmResourceInterfacesClientImpl$TopLevelArmResourceInterfacesService"]] \ No newline at end of file +[["tsptest.armresourceprovider.implementation.ChildExtensionResourceInterfacesClientImpl$ChildExtensionResourceInterfacesService"],["tsptest.armresourceprovider.implementation.ChildResourcesInterfacesClientImpl$ChildResourcesInterfacesService"],["tsptest.armresourceprovider.implementation.CustomTemplateResourceInterfacesClientImpl$CustomTemplateResourceInterfacesService"],["tsptest.armresourceprovider.implementation.ImmutableResourceModelsClientImpl$ImmutableResourceModelsService"],["tsptest.armresourceprovider.implementation.LroNoBodiesClientImpl$LroNoBodiesService"],["tsptest.armresourceprovider.implementation.ManagedMaintenanceWindowStatusOperationsClientImpl$ManagedMaintenanceWindowStatusOperationsService"],["tsptest.armresourceprovider.implementation.ModelInterfaceSameNamesClientImpl$ModelInterfaceSameNamesService"],["tsptest.armresourceprovider.implementation.OperationsClientImpl$OperationsService"],["tsptest.armresourceprovider.implementation.TopLevelArmResourceInterfacesClientImpl$TopLevelArmResourceInterfacesService"]] \ No newline at end of file diff --git a/packages/http-client-java/generator/http-client-generator-test/tsp/arm.tsp b/packages/http-client-java/generator/http-client-generator-test/tsp/arm.tsp index d0e5ad89fdb..a89ad2ff665 100644 --- a/packages/http-client-java/generator/http-client-generator-test/tsp/arm.tsp +++ b/packages/http-client-java/generator/http-client-generator-test/tsp/arm.tsp @@ -261,6 +261,17 @@ model NginxConfigurationRequest { model ChildResourceListResult is Azure.Core.Page; +@resource("resourceLroNoBody") +model ResourceLroNoBody is TrackedResource { + ...ResourceNameParameter; +} + +model ResourceLroNoBodyProperties { + @visibility(Lifecycle.Read) + @doc("The status of the last operation.") + provisioningState?: ProvisioningState; +} + //----------------------- Paths ----------------------- @armResourceOperations interface ChildResourcesInterface @@ -369,6 +380,19 @@ interface ImmutableResourceModel { >; } +// LRO without body in response +@armResourceOperations +interface LroNoBody { + @put + createOrUpdate is Azure.ResourceManager.Legacy.CreateOrReplaceAsync< + ResourceLroNoBody, + Request = ResourceLroNoBody, + Response = ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> + >; +} + +// client configure @@clientName(TspTest.ArmResourceProvider, "ArmClient"); @@clientName(ManagedMaintenanceWindowStatusContent, "ManagedMaintenanceWindowStatus"); @@clientName(ModelInterfaceDifferentName, "ModelInterfaceSameName"); diff --git a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/fluent/TypeSpecFluentPlugin.java b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/fluent/TypeSpecFluentPlugin.java index a6e8692f7cc..34ec481db55 100644 --- a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/fluent/TypeSpecFluentPlugin.java +++ b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/fluent/TypeSpecFluentPlugin.java @@ -178,6 +178,8 @@ protected FluentMapper getFluentMapper() { SETTINGS_MAP.put("graal-vm-config", true); SETTINGS_MAP.put("sync-methods", "all"); SETTINGS_MAP.put("stream-style-serialization", false); + + SETTINGS_MAP.put("polling", new HashMap()); } @SuppressWarnings("unchecked")