scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private RetryOptions retryOptions;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the retry options for the HTTP pipeline retry policy.
+ *
+ * This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * @param retryOptions the retry options for the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryOptions(RetryOptions retryOptions) {
+ this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval =
+ Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw LOGGER
+ .logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of azureintegrationspaces service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the azureintegrationspaces service API instance.
+ */
+ public AzureintegrationspacesManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.azureintegrationspaces")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
+ if (retryPolicy == null) {
+ if (retryOptions != null) {
+ retryPolicy = new RetryPolicy(retryOptions);
+ } else {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new AddHeadersFromContextPolicy());
+ policies.add(new RequestIdPolicy());
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new AzureintegrationspacesManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /**
+ * Gets the resource collection API of Spaces. It manages Space.
+ *
+ * @return Resource collection API of Spaces.
+ */
+ public Spaces spaces() {
+ if (this.spaces == null) {
+ this.spaces = new SpacesImpl(clientObject.getSpaces(), this);
+ }
+ return spaces;
+ }
+
+ /**
+ * Gets the resource collection API of Applications. It manages Application.
+ *
+ * @return Resource collection API of Applications.
+ */
+ public Applications applications() {
+ if (this.applications == null) {
+ this.applications = new ApplicationsImpl(clientObject.getApplications(), this);
+ }
+ return applications;
+ }
+
+ /**
+ * Gets the resource collection API of BusinessProcesses. It manages BusinessProcess.
+ *
+ * @return Resource collection API of BusinessProcesses.
+ */
+ public BusinessProcesses businessProcesses() {
+ if (this.businessProcesses == null) {
+ this.businessProcesses = new BusinessProcessesImpl(clientObject.getBusinessProcesses(), this);
+ }
+ return businessProcesses;
+ }
+
+ /**
+ * Gets the resource collection API of BusinessProcessVersions.
+ *
+ * @return Resource collection API of BusinessProcessVersions.
+ */
+ public BusinessProcessVersions businessProcessVersions() {
+ if (this.businessProcessVersions == null) {
+ this.businessProcessVersions =
+ new BusinessProcessVersionsImpl(clientObject.getBusinessProcessVersions(), this);
+ }
+ return businessProcessVersions;
+ }
+
+ /**
+ * Gets the resource collection API of ApplicationResources. It manages ApplicationResource.
+ *
+ * @return Resource collection API of ApplicationResources.
+ */
+ public ApplicationResources applicationResources() {
+ if (this.applicationResources == null) {
+ this.applicationResources = new ApplicationResourcesImpl(clientObject.getApplicationResources(), this);
+ }
+ return applicationResources;
+ }
+
+ /**
+ * Gets the resource collection API of InfrastructureResources. It manages InfrastructureResource.
+ *
+ * @return Resource collection API of InfrastructureResources.
+ */
+ public InfrastructureResources infrastructureResources() {
+ if (this.infrastructureResources == null) {
+ this.infrastructureResources =
+ new InfrastructureResourcesImpl(clientObject.getInfrastructureResources(), this);
+ }
+ return infrastructureResources;
+ }
+
+ /**
+ * Gets wrapped service client MicrosoftIntegrationSpaces providing direct access to the underlying auto-generated
+ * API implementation, based on Azure REST API.
+ *
+ * @return Wrapped service client MicrosoftIntegrationSpaces.
+ */
+ public MicrosoftIntegrationSpaces serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationResourcesClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationResourcesClient.java
new file mode 100644
index 000000000000..d719952b9add
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationResourcesClient.java
@@ -0,0 +1,217 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationResourceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResourceUpdate;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in ApplicationResourcesClient. */
+public interface ApplicationResourcesClient {
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByApplication(
+ String resourceGroupName, String spaceName, String applicationName);
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByApplication(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context);
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationResourceInner get(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName);
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource,
+ Context context);
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationResourceInner createOrUpdate(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource);
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response patchWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties,
+ Context context);
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationResourceInner patch(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties);
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context);
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String spaceName, String applicationName, String resourceName);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationsClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationsClient.java
new file mode 100644
index 000000000000..253822c30c1f
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/ApplicationsClient.java
@@ -0,0 +1,385 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationInner;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ListBusinessProcessDevelopmentArtifactsResponseInner;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.SaveOrGetBusinessProcessDevelopmentArtifactResponseInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationUpdate;
+import com.azure.resourcemanager.azureintegrationspaces.models.GetOrDeleteBusinessProcessDevelopmentArtifactRequest;
+import com.azure.resourcemanager.azureintegrationspaces.models.SaveOrValidateBusinessProcessDevelopmentArtifactRequest;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in ApplicationsClient. */
+public interface ApplicationsClient {
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySpace(String resourceGroupName, String spaceName);
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySpace(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 a Application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, Context context);
+
+ /**
+ * Get a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 a Application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationInner get(String resourceGroupName, String spaceName, String applicationName);
+
+ /**
+ * Create a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 an integration application under space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, ApplicationInner resource, Context context);
+
+ /**
+ * Create a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 an integration application under space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationInner createOrUpdate(
+ String resourceGroupName, String spaceName, String applicationName, ApplicationInner resource);
+
+ /**
+ * Update a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param properties The resource properties to be updated.
+ * @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 an integration application under space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response patchWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ ApplicationUpdate properties,
+ Context context);
+
+ /**
+ * Update a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param properties The resource properties to be updated.
+ * @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 an integration application under space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApplicationInner patch(
+ String resourceGroupName, String spaceName, String applicationName, ApplicationUpdate properties);
+
+ /**
+ * Delete a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, Context context);
+
+ /**
+ * Delete a Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String spaceName, String applicationName);
+
+ /**
+ * The delete business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteBusinessProcessDevelopmentArtifactWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body,
+ Context context);
+
+ /**
+ * The delete business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void deleteBusinessProcessDevelopmentArtifact(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body);
+
+ /**
+ * The get business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 business process development artifact save or get response along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response
+ getBusinessProcessDevelopmentArtifactWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body,
+ Context context);
+
+ /**
+ * The get business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 business process development artifact save or get response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SaveOrGetBusinessProcessDevelopmentArtifactResponseInner getBusinessProcessDevelopmentArtifact(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body);
+
+ /**
+ * The list business process development artifacts action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 business process development artifact get collection response along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listBusinessProcessDevelopmentArtifactsWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, Context context);
+
+ /**
+ * The list business process development artifacts action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @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 business process development artifact get collection response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListBusinessProcessDevelopmentArtifactsResponseInner listBusinessProcessDevelopmentArtifacts(
+ String resourceGroupName, String spaceName, String applicationName);
+
+ /**
+ * The save business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 business process development artifact save or get response along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response
+ saveBusinessProcessDevelopmentArtifactWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body,
+ Context context);
+
+ /**
+ * The save business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 business process development artifact save or get response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SaveOrGetBusinessProcessDevelopmentArtifactResponseInner saveBusinessProcessDevelopmentArtifact(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body);
+
+ /**
+ * The validate business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateBusinessProcessDevelopmentArtifactWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body,
+ Context context);
+
+ /**
+ * The validate business process development artifact action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param body The content of the action request.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void validateBusinessProcessDevelopmentArtifact(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessVersionsClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessVersionsClient.java
new file mode 100644
index 000000000000..13a718c07d16
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessVersionsClient.java
@@ -0,0 +1,111 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.BusinessProcessVersionInner;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in BusinessProcessVersionsClient. */
+public interface BusinessProcessVersionsClient {
+ /**
+ * List BusinessProcessVersion resources by BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a BusinessProcessVersion list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByBusinessProcess(
+ String resourceGroupName, String spaceName, String applicationName, String businessProcessName);
+
+ /**
+ * List BusinessProcessVersion resources by BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a BusinessProcessVersion list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByBusinessProcess(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a BusinessProcessVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @param businessProcessVersion The version of the business process.
+ * @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 a BusinessProcessVersion along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ String businessProcessVersion,
+ Context context);
+
+ /**
+ * Get a BusinessProcessVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @param businessProcessVersion The version of the business process.
+ * @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 a BusinessProcessVersion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BusinessProcessVersionInner get(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ String businessProcessVersion);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessesClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessesClient.java
new file mode 100644
index 000000000000..822972ee813f
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/BusinessProcessesClient.java
@@ -0,0 +1,225 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.BusinessProcessInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessUpdate;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in BusinessProcessesClient. */
+public interface BusinessProcessesClient {
+ /**
+ * List BusinessProcess resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a BusinessProcess list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByApplication(
+ String resourceGroupName, String spaceName, String applicationName);
+
+ /**
+ * List BusinessProcess resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a BusinessProcess list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByApplication(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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 a BusinessProcess along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ Context context);
+
+ /**
+ * Get a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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 a BusinessProcess.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BusinessProcessInner get(
+ String resourceGroupName, String spaceName, String applicationName, String businessProcessName);
+
+ /**
+ * Create a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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 a business process under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ BusinessProcessInner resource,
+ Context context);
+
+ /**
+ * Create a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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 a business process under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BusinessProcessInner createOrUpdate(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ BusinessProcessInner resource);
+
+ /**
+ * Update a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @param properties The resource properties to be updated.
+ * @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 a business process under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response patchWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ BusinessProcessUpdate properties,
+ Context context);
+
+ /**
+ * Update a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @param properties The resource properties to be updated.
+ * @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 a business process under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BusinessProcessInner patch(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ BusinessProcessUpdate properties);
+
+ /**
+ * Delete a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String businessProcessName,
+ Context context);
+
+ /**
+ * Delete a BusinessProcess.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param businessProcessName The name of the business process.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String spaceName, String applicationName, String businessProcessName);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/InfrastructureResourcesClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/InfrastructureResourcesClient.java
new file mode 100644
index 000000000000..6a6ead676113
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/InfrastructureResourcesClient.java
@@ -0,0 +1,200 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.InfrastructureResourceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.InfrastructureResourceUpdate;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in InfrastructureResourcesClient. */
+public interface InfrastructureResourcesClient {
+ /**
+ * List InfrastructureResource resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a InfrastructureResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySpace(String resourceGroupName, String spaceName);
+
+ /**
+ * List InfrastructureResource resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a InfrastructureResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySpace(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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 a InfrastructureResource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String spaceName, String infrastructureResourceName, Context context);
+
+ /**
+ * Get a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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 a InfrastructureResource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InfrastructureResourceInner get(String resourceGroupName, String spaceName, String infrastructureResourceName);
+
+ /**
+ * Create a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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 an infrastructure resource under Space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String infrastructureResourceName,
+ InfrastructureResourceInner resource,
+ Context context);
+
+ /**
+ * Create a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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 an infrastructure resource under Space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InfrastructureResourceInner createOrUpdate(
+ String resourceGroupName,
+ String spaceName,
+ String infrastructureResourceName,
+ InfrastructureResourceInner resource);
+
+ /**
+ * Update a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @param properties The resource properties to be updated.
+ * @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 an infrastructure resource under Space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response patchWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String infrastructureResourceName,
+ InfrastructureResourceUpdate properties,
+ Context context);
+
+ /**
+ * Update a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @param properties The resource properties to be updated.
+ * @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 an infrastructure resource under Space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ InfrastructureResourceInner patch(
+ String resourceGroupName,
+ String spaceName,
+ String infrastructureResourceName,
+ InfrastructureResourceUpdate properties);
+
+ /**
+ * Delete a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(
+ String resourceGroupName, String spaceName, String infrastructureResourceName, Context context);
+
+ /**
+ * Delete a InfrastructureResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param infrastructureResourceName The name of the infrastructure resource in the space.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String spaceName, String infrastructureResourceName);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/MicrosoftIntegrationSpaces.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/MicrosoftIntegrationSpaces.java
new file mode 100644
index 000000000000..4a5d9d1c7add
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/MicrosoftIntegrationSpaces.java
@@ -0,0 +1,95 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for MicrosoftIntegrationSpaces class. */
+public interface MicrosoftIntegrationSpaces {
+ /**
+ * Gets The ID of the target subscription.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the SpacesClient object to access its operations.
+ *
+ * @return the SpacesClient object.
+ */
+ SpacesClient getSpaces();
+
+ /**
+ * Gets the ApplicationsClient object to access its operations.
+ *
+ * @return the ApplicationsClient object.
+ */
+ ApplicationsClient getApplications();
+
+ /**
+ * Gets the BusinessProcessesClient object to access its operations.
+ *
+ * @return the BusinessProcessesClient object.
+ */
+ BusinessProcessesClient getBusinessProcesses();
+
+ /**
+ * Gets the BusinessProcessVersionsClient object to access its operations.
+ *
+ * @return the BusinessProcessVersionsClient object.
+ */
+ BusinessProcessVersionsClient getBusinessProcessVersions();
+
+ /**
+ * Gets the ApplicationResourcesClient object to access its operations.
+ *
+ * @return the ApplicationResourcesClient object.
+ */
+ ApplicationResourcesClient getApplicationResources();
+
+ /**
+ * Gets the InfrastructureResourcesClient object to access its operations.
+ *
+ * @return the InfrastructureResourcesClient object.
+ */
+ InfrastructureResourcesClient getInfrastructureResources();
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/OperationsClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/OperationsClient.java
new file mode 100644
index 000000000000..af63eb745e75
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/OperationsClient.java
@@ -0,0 +1,38 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.OperationInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * List the operations for the provider.
+ *
+ * @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 a list of REST API operations supported by an Azure Resource Provider as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List the operations for the provider.
+ *
+ * @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 a list of REST API operations supported by an Azure Resource Provider as paginated response with {@link
+ * PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/SpacesClient.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/SpacesClient.java
new file mode 100644
index 000000000000..ee554334f8c1
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/SpacesClient.java
@@ -0,0 +1,193 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.SpaceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.SpaceUpdate;
+import java.util.List;
+
+/** An instance of this class provides access to all the operations defined in SpacesClient. */
+public interface SpacesClient {
+ /**
+ * List Space resources by subscription ID.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Space list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List Space resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Space list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * List Space resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Space list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List Space resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Space list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(
+ String resourceGroupName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context);
+
+ /**
+ * Get a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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 a Space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String spaceName, Context context);
+
+ /**
+ * Get a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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 a Space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SpaceInner getByResourceGroup(String resourceGroupName, String spaceName);
+
+ /**
+ * Create a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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 an integration space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateWithResponse(
+ String resourceGroupName, String spaceName, SpaceInner resource, Context context);
+
+ /**
+ * Create a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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 an integration space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SpaceInner createOrUpdate(String resourceGroupName, String spaceName, SpaceInner resource);
+
+ /**
+ * Update a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param properties The resource properties to be updated.
+ * @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 an integration space along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response patchWithResponse(
+ String resourceGroupName, String spaceName, SpaceUpdate properties, Context context);
+
+ /**
+ * Update a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param properties The resource properties to be updated.
+ * @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 an integration space.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SpaceInner patch(String resourceGroupName, String spaceName, SpaceUpdate properties);
+
+ /**
+ * Delete a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response deleteWithResponse(String resourceGroupName, String spaceName, Context context);
+
+ /**
+ * Delete a Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String spaceName);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationInner.java
new file mode 100644
index 000000000000..9964325d864b
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationInner.java
@@ -0,0 +1,131 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.azure.resourcemanager.azureintegrationspaces.models.TrackingDataStore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** An integration application under space. */
+@Fluent
+public final class ApplicationInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private ApplicationProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of ApplicationInner class. */
+ public ApplicationInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private ApplicationProperties 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;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ApplicationInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ApplicationInner 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();
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.innerProperties() == null ? null : this.innerProperties().description();
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the ApplicationInner object itself.
+ */
+ public ApplicationInner withDescription(String description) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ApplicationProperties();
+ }
+ this.innerProperties().withDescription(description);
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStores property: The tracking data stores.
+ *
+ * @return the trackingDataStores value.
+ */
+ public Map trackingDataStores() {
+ return this.innerProperties() == null ? null : this.innerProperties().trackingDataStores();
+ }
+
+ /**
+ * Set the trackingDataStores property: The tracking data stores.
+ *
+ * @param trackingDataStores the trackingDataStores value to set.
+ * @return the ApplicationInner object itself.
+ */
+ public ApplicationInner withTrackingDataStores(Map trackingDataStores) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ApplicationProperties();
+ }
+ this.innerProperties().withTrackingDataStores(trackingDataStores);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationProperties.java
new file mode 100644
index 000000000000..4a11fce5aacf
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationProperties.java
@@ -0,0 +1,114 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.azure.resourcemanager.azureintegrationspaces.models.TrackingDataStore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The properties of application. */
+@Fluent
+public final class ApplicationProperties {
+ /*
+ * The status of the last operation.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * The description of the resource.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * The tracking data stores.
+ */
+ @JsonProperty(value = "trackingDataStores", required = true)
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map trackingDataStores;
+
+ /** Creates an instance of ApplicationProperties class. */
+ public ApplicationProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the ApplicationProperties object itself.
+ */
+ public ApplicationProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStores property: The tracking data stores.
+ *
+ * @return the trackingDataStores value.
+ */
+ public Map trackingDataStores() {
+ return this.trackingDataStores;
+ }
+
+ /**
+ * Set the trackingDataStores property: The tracking data stores.
+ *
+ * @param trackingDataStores the trackingDataStores value to set.
+ * @return the ApplicationProperties object itself.
+ */
+ public ApplicationProperties withTrackingDataStores(Map trackingDataStores) {
+ this.trackingDataStores = trackingDataStores;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (trackingDataStores() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property trackingDataStores in model ApplicationProperties"));
+ } else {
+ trackingDataStores()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ApplicationProperties.class);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceInner.java
new file mode 100644
index 000000000000..442024b891f5
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceInner.java
@@ -0,0 +1,138 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A resource under application. */
+@Fluent
+public final class ApplicationResourceInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private ApplicationResourceProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of ApplicationResourceInner class. */
+ public ApplicationResourceInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private ApplicationResourceProperties 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 provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the resourceType property: The type of the application resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.innerProperties() == null ? null : this.innerProperties().resourceType();
+ }
+
+ /**
+ * Set the resourceType property: The type of the application resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the ApplicationResourceInner object itself.
+ */
+ public ApplicationResourceInner withResourceType(String resourceType) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ApplicationResourceProperties();
+ }
+ this.innerProperties().withResourceType(resourceType);
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The Arm id of the application resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.innerProperties() == null ? null : this.innerProperties().resourceId();
+ }
+
+ /**
+ * Set the resourceId property: The Arm id of the application resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the ApplicationResourceInner object itself.
+ */
+ public ApplicationResourceInner withResourceId(String resourceId) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ApplicationResourceProperties();
+ }
+ this.innerProperties().withResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * Get the resourceKind property: The kind of the application resource.
+ *
+ * @return the resourceKind value.
+ */
+ public String resourceKind() {
+ return this.innerProperties() == null ? null : this.innerProperties().resourceKind();
+ }
+
+ /**
+ * Set the resourceKind property: The kind of the application resource.
+ *
+ * @param resourceKind the resourceKind value to set.
+ * @return the ApplicationResourceInner object itself.
+ */
+ public ApplicationResourceInner withResourceKind(String resourceKind) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new ApplicationResourceProperties();
+ }
+ this.innerProperties().withResourceKind(resourceKind);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceProperties.java
new file mode 100644
index 000000000000..e5c59574f080
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceProperties.java
@@ -0,0 +1,133 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The properties of application resource. */
+@Fluent
+public final class ApplicationResourceProperties {
+ /*
+ * The status of the last operation.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * The type of the application resource.
+ */
+ @JsonProperty(value = "resourceType", required = true)
+ private String resourceType;
+
+ /*
+ * The Arm id of the application resource.
+ */
+ @JsonProperty(value = "resourceId", required = true)
+ private String resourceId;
+
+ /*
+ * The kind of the application resource.
+ */
+ @JsonProperty(value = "resourceKind")
+ private String resourceKind;
+
+ /** Creates an instance of ApplicationResourceProperties class. */
+ public ApplicationResourceProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the resourceType property: The type of the application resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Set the resourceType property: The type of the application resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the ApplicationResourceProperties object itself.
+ */
+ public ApplicationResourceProperties withResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The Arm id of the application resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * Set the resourceId property: The Arm id of the application resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the ApplicationResourceProperties object itself.
+ */
+ public ApplicationResourceProperties withResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * Get the resourceKind property: The kind of the application resource.
+ *
+ * @return the resourceKind value.
+ */
+ public String resourceKind() {
+ return this.resourceKind;
+ }
+
+ /**
+ * Set the resourceKind property: The kind of the application resource.
+ *
+ * @param resourceKind the resourceKind value to set.
+ * @return the ApplicationResourceProperties object itself.
+ */
+ public ApplicationResourceProperties withResourceKind(String resourceKind) {
+ this.resourceKind = resourceKind;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (resourceType() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property resourceType in model ApplicationResourceProperties"));
+ }
+ if (resourceId() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property resourceId in model ApplicationResourceProperties"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(ApplicationResourceProperties.class);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceUpdateProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceUpdateProperties.java
new file mode 100644
index 000000000000..0a289b23763e
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationResourceUpdateProperties.java
@@ -0,0 +1,102 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The updatable properties of the ApplicationResource. */
+@Fluent
+public final class ApplicationResourceUpdateProperties {
+ /*
+ * The type of the application resource.
+ */
+ @JsonProperty(value = "resourceType")
+ private String resourceType;
+
+ /*
+ * The Arm id of the application resource.
+ */
+ @JsonProperty(value = "resourceId")
+ private String resourceId;
+
+ /*
+ * The kind of the application resource.
+ */
+ @JsonProperty(value = "resourceKind")
+ private String resourceKind;
+
+ /** Creates an instance of ApplicationResourceUpdateProperties class. */
+ public ApplicationResourceUpdateProperties() {
+ }
+
+ /**
+ * Get the resourceType property: The type of the application resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Set the resourceType property: The type of the application resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the ApplicationResourceUpdateProperties object itself.
+ */
+ public ApplicationResourceUpdateProperties withResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The Arm id of the application resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * Set the resourceId property: The Arm id of the application resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the ApplicationResourceUpdateProperties object itself.
+ */
+ public ApplicationResourceUpdateProperties withResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * Get the resourceKind property: The kind of the application resource.
+ *
+ * @return the resourceKind value.
+ */
+ public String resourceKind() {
+ return this.resourceKind;
+ }
+
+ /**
+ * Set the resourceKind property: The kind of the application resource.
+ *
+ * @param resourceKind the resourceKind value to set.
+ * @return the ApplicationResourceUpdateProperties object itself.
+ */
+ public ApplicationResourceUpdateProperties withResourceKind(String resourceKind) {
+ this.resourceKind = resourceKind;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationUpdateProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationUpdateProperties.java
new file mode 100644
index 000000000000..d663bdc8ee6d
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ApplicationUpdateProperties.java
@@ -0,0 +1,90 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.azureintegrationspaces.models.TrackingDataStore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The updatable properties of the Application. */
+@Fluent
+public final class ApplicationUpdateProperties {
+ /*
+ * The description of the resource.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * The tracking data stores.
+ */
+ @JsonProperty(value = "trackingDataStores")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map trackingDataStores;
+
+ /** Creates an instance of ApplicationUpdateProperties class. */
+ public ApplicationUpdateProperties() {
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the ApplicationUpdateProperties object itself.
+ */
+ public ApplicationUpdateProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStores property: The tracking data stores.
+ *
+ * @return the trackingDataStores value.
+ */
+ public Map trackingDataStores() {
+ return this.trackingDataStores;
+ }
+
+ /**
+ * Set the trackingDataStores property: The tracking data stores.
+ *
+ * @param trackingDataStores the trackingDataStores value to set.
+ * @return the ApplicationUpdateProperties object itself.
+ */
+ public ApplicationUpdateProperties withTrackingDataStores(Map trackingDataStores) {
+ this.trackingDataStores = trackingDataStores;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (trackingDataStores() != null) {
+ trackingDataStores()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessInner.java
new file mode 100644
index 000000000000..fbdd39de887d
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessInner.java
@@ -0,0 +1,221 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessIdentifier;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessMappingItem;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessStage;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** A business process under application. */
+@Fluent
+public final class BusinessProcessInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private BusinessProcessProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of BusinessProcessInner class. */
+ public BusinessProcessInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private BusinessProcessProperties 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 provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the version property: The version of the business process.
+ *
+ * @return the version value.
+ */
+ public String version() {
+ return this.innerProperties() == null ? null : this.innerProperties().version();
+ }
+
+ /**
+ * Get the description property: The description of the business process.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.innerProperties() == null ? null : this.innerProperties().description();
+ }
+
+ /**
+ * Set the description property: The description of the business process.
+ *
+ * @param description the description value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withDescription(String description) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withDescription(description);
+ return this;
+ }
+
+ /**
+ * Get the tableName property: The table name of the business process.
+ *
+ * @return the tableName value.
+ */
+ public String tableName() {
+ return this.innerProperties() == null ? null : this.innerProperties().tableName();
+ }
+
+ /**
+ * Set the tableName property: The table name of the business process.
+ *
+ * @param tableName the tableName value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withTableName(String tableName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withTableName(tableName);
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @return the trackingDataStoreReferenceName value.
+ */
+ public String trackingDataStoreReferenceName() {
+ return this.innerProperties() == null ? null : this.innerProperties().trackingDataStoreReferenceName();
+ }
+
+ /**
+ * Set the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @param trackingDataStoreReferenceName the trackingDataStoreReferenceName value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withTrackingDataStoreReferenceName(String trackingDataStoreReferenceName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withTrackingDataStoreReferenceName(trackingDataStoreReferenceName);
+ return this;
+ }
+
+ /**
+ * Get the identifier property: The business process identifier.
+ *
+ * @return the identifier value.
+ */
+ public BusinessProcessIdentifier identifier() {
+ return this.innerProperties() == null ? null : this.innerProperties().identifier();
+ }
+
+ /**
+ * Set the identifier property: The business process identifier.
+ *
+ * @param identifier the identifier value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withIdentifier(BusinessProcessIdentifier identifier) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withIdentifier(identifier);
+ return this;
+ }
+
+ /**
+ * Get the businessProcessStages property: The business process stages.
+ *
+ * @return the businessProcessStages value.
+ */
+ public Map businessProcessStages() {
+ return this.innerProperties() == null ? null : this.innerProperties().businessProcessStages();
+ }
+
+ /**
+ * Set the businessProcessStages property: The business process stages.
+ *
+ * @param businessProcessStages the businessProcessStages value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withBusinessProcessStages(Map businessProcessStages) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withBusinessProcessStages(businessProcessStages);
+ return this;
+ }
+
+ /**
+ * Get the businessProcessMapping property: The business process mapping.
+ *
+ * @return the businessProcessMapping value.
+ */
+ public Map businessProcessMapping() {
+ return this.innerProperties() == null ? null : this.innerProperties().businessProcessMapping();
+ }
+
+ /**
+ * Set the businessProcessMapping property: The business process mapping.
+ *
+ * @param businessProcessMapping the businessProcessMapping value to set.
+ * @return the BusinessProcessInner object itself.
+ */
+ public BusinessProcessInner withBusinessProcessMapping(
+ Map businessProcessMapping) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withBusinessProcessMapping(businessProcessMapping);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessProperties.java
new file mode 100644
index 000000000000..f31446b138e3
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessProperties.java
@@ -0,0 +1,243 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessIdentifier;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessMappingItem;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessStage;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The properties of business process. */
+@Fluent
+public final class BusinessProcessProperties {
+ /*
+ * The status of the last operation.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * The version of the business process.
+ */
+ @JsonProperty(value = "version", access = JsonProperty.Access.WRITE_ONLY)
+ private String version;
+
+ /*
+ * The description of the business process.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * The table name of the business process.
+ */
+ @JsonProperty(value = "tableName")
+ private String tableName;
+
+ /*
+ * The tracking data store reference name.
+ */
+ @JsonProperty(value = "trackingDataStoreReferenceName")
+ private String trackingDataStoreReferenceName;
+
+ /*
+ * The business process identifier.
+ */
+ @JsonProperty(value = "identifier")
+ private BusinessProcessIdentifier identifier;
+
+ /*
+ * The business process stages.
+ */
+ @JsonProperty(value = "businessProcessStages")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map businessProcessStages;
+
+ /*
+ * The business process mapping.
+ */
+ @JsonProperty(value = "businessProcessMapping")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map businessProcessMapping;
+
+ /** Creates an instance of BusinessProcessProperties class. */
+ public BusinessProcessProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the version property: The version of the business process.
+ *
+ * @return the version value.
+ */
+ public String version() {
+ return this.version;
+ }
+
+ /**
+ * Get the description property: The description of the business process.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the business process.
+ *
+ * @param description the description value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the tableName property: The table name of the business process.
+ *
+ * @return the tableName value.
+ */
+ public String tableName() {
+ return this.tableName;
+ }
+
+ /**
+ * Set the tableName property: The table name of the business process.
+ *
+ * @param tableName the tableName value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withTableName(String tableName) {
+ this.tableName = tableName;
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @return the trackingDataStoreReferenceName value.
+ */
+ public String trackingDataStoreReferenceName() {
+ return this.trackingDataStoreReferenceName;
+ }
+
+ /**
+ * Set the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @param trackingDataStoreReferenceName the trackingDataStoreReferenceName value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withTrackingDataStoreReferenceName(String trackingDataStoreReferenceName) {
+ this.trackingDataStoreReferenceName = trackingDataStoreReferenceName;
+ return this;
+ }
+
+ /**
+ * Get the identifier property: The business process identifier.
+ *
+ * @return the identifier value.
+ */
+ public BusinessProcessIdentifier identifier() {
+ return this.identifier;
+ }
+
+ /**
+ * Set the identifier property: The business process identifier.
+ *
+ * @param identifier the identifier value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withIdentifier(BusinessProcessIdentifier identifier) {
+ this.identifier = identifier;
+ return this;
+ }
+
+ /**
+ * Get the businessProcessStages property: The business process stages.
+ *
+ * @return the businessProcessStages value.
+ */
+ public Map businessProcessStages() {
+ return this.businessProcessStages;
+ }
+
+ /**
+ * Set the businessProcessStages property: The business process stages.
+ *
+ * @param businessProcessStages the businessProcessStages value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withBusinessProcessStages(
+ Map businessProcessStages) {
+ this.businessProcessStages = businessProcessStages;
+ return this;
+ }
+
+ /**
+ * Get the businessProcessMapping property: The business process mapping.
+ *
+ * @return the businessProcessMapping value.
+ */
+ public Map businessProcessMapping() {
+ return this.businessProcessMapping;
+ }
+
+ /**
+ * Set the businessProcessMapping property: The business process mapping.
+ *
+ * @param businessProcessMapping the businessProcessMapping value to set.
+ * @return the BusinessProcessProperties object itself.
+ */
+ public BusinessProcessProperties withBusinessProcessMapping(
+ Map businessProcessMapping) {
+ this.businessProcessMapping = businessProcessMapping;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identifier() != null) {
+ identifier().validate();
+ }
+ if (businessProcessStages() != null) {
+ businessProcessStages()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ if (businessProcessMapping() != null) {
+ businessProcessMapping()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessUpdateProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessUpdateProperties.java
new file mode 100644
index 000000000000..db9bf63ffa16
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessUpdateProperties.java
@@ -0,0 +1,212 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessIdentifier;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessMappingItem;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessStage;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** The updatable properties of the BusinessProcess. */
+@Fluent
+public final class BusinessProcessUpdateProperties {
+ /*
+ * The description of the business process.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /*
+ * The table name of the business process.
+ */
+ @JsonProperty(value = "tableName")
+ private String tableName;
+
+ /*
+ * The tracking data store reference name.
+ */
+ @JsonProperty(value = "trackingDataStoreReferenceName")
+ private String trackingDataStoreReferenceName;
+
+ /*
+ * The business process identifier.
+ */
+ @JsonProperty(value = "identifier")
+ private BusinessProcessIdentifier identifier;
+
+ /*
+ * The business process stages.
+ */
+ @JsonProperty(value = "businessProcessStages")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map businessProcessStages;
+
+ /*
+ * The business process mapping.
+ */
+ @JsonProperty(value = "businessProcessMapping")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
+ private Map businessProcessMapping;
+
+ /** Creates an instance of BusinessProcessUpdateProperties class. */
+ public BusinessProcessUpdateProperties() {
+ }
+
+ /**
+ * Get the description property: The description of the business process.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the business process.
+ *
+ * @param description the description value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Get the tableName property: The table name of the business process.
+ *
+ * @return the tableName value.
+ */
+ public String tableName() {
+ return this.tableName;
+ }
+
+ /**
+ * Set the tableName property: The table name of the business process.
+ *
+ * @param tableName the tableName value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withTableName(String tableName) {
+ this.tableName = tableName;
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @return the trackingDataStoreReferenceName value.
+ */
+ public String trackingDataStoreReferenceName() {
+ return this.trackingDataStoreReferenceName;
+ }
+
+ /**
+ * Set the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @param trackingDataStoreReferenceName the trackingDataStoreReferenceName value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withTrackingDataStoreReferenceName(String trackingDataStoreReferenceName) {
+ this.trackingDataStoreReferenceName = trackingDataStoreReferenceName;
+ return this;
+ }
+
+ /**
+ * Get the identifier property: The business process identifier.
+ *
+ * @return the identifier value.
+ */
+ public BusinessProcessIdentifier identifier() {
+ return this.identifier;
+ }
+
+ /**
+ * Set the identifier property: The business process identifier.
+ *
+ * @param identifier the identifier value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withIdentifier(BusinessProcessIdentifier identifier) {
+ this.identifier = identifier;
+ return this;
+ }
+
+ /**
+ * Get the businessProcessStages property: The business process stages.
+ *
+ * @return the businessProcessStages value.
+ */
+ public Map businessProcessStages() {
+ return this.businessProcessStages;
+ }
+
+ /**
+ * Set the businessProcessStages property: The business process stages.
+ *
+ * @param businessProcessStages the businessProcessStages value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withBusinessProcessStages(
+ Map businessProcessStages) {
+ this.businessProcessStages = businessProcessStages;
+ return this;
+ }
+
+ /**
+ * Get the businessProcessMapping property: The business process mapping.
+ *
+ * @return the businessProcessMapping value.
+ */
+ public Map businessProcessMapping() {
+ return this.businessProcessMapping;
+ }
+
+ /**
+ * Set the businessProcessMapping property: The business process mapping.
+ *
+ * @param businessProcessMapping the businessProcessMapping value to set.
+ * @return the BusinessProcessUpdateProperties object itself.
+ */
+ public BusinessProcessUpdateProperties withBusinessProcessMapping(
+ Map businessProcessMapping) {
+ this.businessProcessMapping = businessProcessMapping;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (identifier() != null) {
+ identifier().validate();
+ }
+ if (businessProcessStages() != null) {
+ businessProcessStages()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ if (businessProcessMapping() != null) {
+ businessProcessMapping()
+ .values()
+ .forEach(
+ e -> {
+ if (e != null) {
+ e.validate();
+ }
+ });
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessVersionInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessVersionInner.java
new file mode 100644
index 000000000000..2da5483aca62
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/BusinessProcessVersionInner.java
@@ -0,0 +1,222 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessIdentifier;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessMappingItem;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessStage;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** A business process version. */
+@Fluent
+public final class BusinessProcessVersionInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private BusinessProcessProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of BusinessProcessVersionInner class. */
+ public BusinessProcessVersionInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private BusinessProcessProperties 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 provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the version property: The version of the business process.
+ *
+ * @return the version value.
+ */
+ public String version() {
+ return this.innerProperties() == null ? null : this.innerProperties().version();
+ }
+
+ /**
+ * Get the description property: The description of the business process.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.innerProperties() == null ? null : this.innerProperties().description();
+ }
+
+ /**
+ * Set the description property: The description of the business process.
+ *
+ * @param description the description value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withDescription(String description) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withDescription(description);
+ return this;
+ }
+
+ /**
+ * Get the tableName property: The table name of the business process.
+ *
+ * @return the tableName value.
+ */
+ public String tableName() {
+ return this.innerProperties() == null ? null : this.innerProperties().tableName();
+ }
+
+ /**
+ * Set the tableName property: The table name of the business process.
+ *
+ * @param tableName the tableName value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withTableName(String tableName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withTableName(tableName);
+ return this;
+ }
+
+ /**
+ * Get the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @return the trackingDataStoreReferenceName value.
+ */
+ public String trackingDataStoreReferenceName() {
+ return this.innerProperties() == null ? null : this.innerProperties().trackingDataStoreReferenceName();
+ }
+
+ /**
+ * Set the trackingDataStoreReferenceName property: The tracking data store reference name.
+ *
+ * @param trackingDataStoreReferenceName the trackingDataStoreReferenceName value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withTrackingDataStoreReferenceName(String trackingDataStoreReferenceName) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withTrackingDataStoreReferenceName(trackingDataStoreReferenceName);
+ return this;
+ }
+
+ /**
+ * Get the identifier property: The business process identifier.
+ *
+ * @return the identifier value.
+ */
+ public BusinessProcessIdentifier identifier() {
+ return this.innerProperties() == null ? null : this.innerProperties().identifier();
+ }
+
+ /**
+ * Set the identifier property: The business process identifier.
+ *
+ * @param identifier the identifier value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withIdentifier(BusinessProcessIdentifier identifier) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withIdentifier(identifier);
+ return this;
+ }
+
+ /**
+ * Get the businessProcessStages property: The business process stages.
+ *
+ * @return the businessProcessStages value.
+ */
+ public Map businessProcessStages() {
+ return this.innerProperties() == null ? null : this.innerProperties().businessProcessStages();
+ }
+
+ /**
+ * Set the businessProcessStages property: The business process stages.
+ *
+ * @param businessProcessStages the businessProcessStages value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withBusinessProcessStages(
+ Map businessProcessStages) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withBusinessProcessStages(businessProcessStages);
+ return this;
+ }
+
+ /**
+ * Get the businessProcessMapping property: The business process mapping.
+ *
+ * @return the businessProcessMapping value.
+ */
+ public Map businessProcessMapping() {
+ return this.innerProperties() == null ? null : this.innerProperties().businessProcessMapping();
+ }
+
+ /**
+ * Set the businessProcessMapping property: The business process mapping.
+ *
+ * @param businessProcessMapping the businessProcessMapping value to set.
+ * @return the BusinessProcessVersionInner object itself.
+ */
+ public BusinessProcessVersionInner withBusinessProcessMapping(
+ Map businessProcessMapping) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BusinessProcessProperties();
+ }
+ this.innerProperties().withBusinessProcessMapping(businessProcessMapping);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceInner.java
new file mode 100644
index 000000000000..286684a0c66a
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceInner.java
@@ -0,0 +1,115 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** An infrastructure resource under Space. */
+@Fluent
+public final class InfrastructureResourceInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private InfrastructureResourceProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of InfrastructureResourceInner class. */
+ public InfrastructureResourceInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private InfrastructureResourceProperties 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 provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the resourceType property: The type of the infrastructure resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.innerProperties() == null ? null : this.innerProperties().resourceType();
+ }
+
+ /**
+ * Set the resourceType property: The type of the infrastructure resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the InfrastructureResourceInner object itself.
+ */
+ public InfrastructureResourceInner withResourceType(String resourceType) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new InfrastructureResourceProperties();
+ }
+ this.innerProperties().withResourceType(resourceType);
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The id of the infrastructure resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.innerProperties() == null ? null : this.innerProperties().resourceId();
+ }
+
+ /**
+ * Set the resourceId property: The id of the infrastructure resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the InfrastructureResourceInner object itself.
+ */
+ public InfrastructureResourceInner withResourceId(String resourceId) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new InfrastructureResourceProperties();
+ }
+ this.innerProperties().withResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceProperties.java
new file mode 100644
index 000000000000..3fd4379a8e55
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceProperties.java
@@ -0,0 +1,107 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The properties of infrastructure resource. */
+@Fluent
+public final class InfrastructureResourceProperties {
+ /*
+ * The status of the last operation.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * The type of the infrastructure resource.
+ */
+ @JsonProperty(value = "resourceType", required = true)
+ private String resourceType;
+
+ /*
+ * The id of the infrastructure resource.
+ */
+ @JsonProperty(value = "resourceId", required = true)
+ private String resourceId;
+
+ /** Creates an instance of InfrastructureResourceProperties class. */
+ public InfrastructureResourceProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the resourceType property: The type of the infrastructure resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Set the resourceType property: The type of the infrastructure resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the InfrastructureResourceProperties object itself.
+ */
+ public InfrastructureResourceProperties withResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The id of the infrastructure resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * Set the resourceId property: The id of the infrastructure resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the InfrastructureResourceProperties object itself.
+ */
+ public InfrastructureResourceProperties withResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (resourceType() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property resourceType in model InfrastructureResourceProperties"));
+ }
+ if (resourceId() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property resourceId in model InfrastructureResourceProperties"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(InfrastructureResourceProperties.class);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceUpdateProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceUpdateProperties.java
new file mode 100644
index 000000000000..744307ad59f9
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/InfrastructureResourceUpdateProperties.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The updatable properties of the InfrastructureResource. */
+@Fluent
+public final class InfrastructureResourceUpdateProperties {
+ /*
+ * The type of the infrastructure resource.
+ */
+ @JsonProperty(value = "resourceType")
+ private String resourceType;
+
+ /*
+ * The id of the infrastructure resource.
+ */
+ @JsonProperty(value = "resourceId")
+ private String resourceId;
+
+ /** Creates an instance of InfrastructureResourceUpdateProperties class. */
+ public InfrastructureResourceUpdateProperties() {
+ }
+
+ /**
+ * Get the resourceType property: The type of the infrastructure resource.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Set the resourceType property: The type of the infrastructure resource.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the InfrastructureResourceUpdateProperties object itself.
+ */
+ public InfrastructureResourceUpdateProperties withResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ return this;
+ }
+
+ /**
+ * Get the resourceId property: The id of the infrastructure resource.
+ *
+ * @return the resourceId value.
+ */
+ public String resourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * Set the resourceId property: The id of the infrastructure resource.
+ *
+ * @param resourceId the resourceId value to set.
+ * @return the InfrastructureResourceUpdateProperties object itself.
+ */
+ public InfrastructureResourceUpdateProperties withResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ListBusinessProcessDevelopmentArtifactsResponseInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ListBusinessProcessDevelopmentArtifactsResponseInner.java
new file mode 100644
index 000000000000..854d6df3f83e
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/ListBusinessProcessDevelopmentArtifactsResponseInner.java
@@ -0,0 +1,65 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** The business process development artifact get collection response. */
+@Fluent
+public final class ListBusinessProcessDevelopmentArtifactsResponseInner {
+ /*
+ * The list of the business process development artifact.
+ */
+ @JsonProperty(value = "value", required = true)
+ private List value;
+
+ /** Creates an instance of ListBusinessProcessDevelopmentArtifactsResponseInner class. */
+ public ListBusinessProcessDevelopmentArtifactsResponseInner() {
+ }
+
+ /**
+ * Get the value property: The list of the business process development artifact.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: The list of the business process development artifact.
+ *
+ * @param value the value value to set.
+ * @return the ListBusinessProcessDevelopmentArtifactsResponseInner object itself.
+ */
+ public ListBusinessProcessDevelopmentArtifactsResponseInner withValue(
+ List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property value in model"
+ + " ListBusinessProcessDevelopmentArtifactsResponseInner"));
+ } else {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ private static final ClientLogger LOGGER =
+ new ClientLogger(ListBusinessProcessDevelopmentArtifactsResponseInner.class);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/OperationInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/OperationInner.java
new file mode 100644
index 000000000000..285b6fbbb7bb
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/OperationInner.java
@@ -0,0 +1,127 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.azureintegrationspaces.models.ActionType;
+import com.azure.resourcemanager.azureintegrationspaces.models.OperationDisplay;
+import com.azure.resourcemanager.azureintegrationspaces.models.Origin;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * REST API Operation
+ *
+ * Details of a REST API operation, returned from the Resource Provider Operations API.
+ */
+@Fluent
+public final class OperationInner {
+ /*
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /*
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for
+ * ARM/control-plane operations.
+ */
+ @JsonProperty(value = "isDataAction", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean isDataAction;
+
+ /*
+ * Localized display information for this particular operation.
+ */
+ @JsonProperty(value = "display")
+ private OperationDisplay display;
+
+ /*
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
+ * value is "user,system"
+ */
+ @JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
+ private Origin origin;
+
+ /*
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
+ */
+ @JsonProperty(value = "actionType", access = JsonProperty.Access.WRITE_ONLY)
+ private ActionType actionType;
+
+ /** Creates an instance of OperationInner class. */
+ public OperationInner() {
+ }
+
+ /**
+ * Get the name property: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
+ * "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane
+ * operations and "false" for ARM/control-plane operations.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Get the display property: Localized display information for this particular operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: Localized display information for this particular operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationInner object itself.
+ */
+ public OperationInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and
+ * audit logs UX. Default value is "user,system".
+ *
+ * @return the origin value.
+ */
+ public Origin origin() {
+ return this.origin;
+ }
+
+ /**
+ * Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal
+ * only APIs.
+ *
+ * @return the actionType value.
+ */
+ public ActionType actionType() {
+ return this.actionType;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (display() != null) {
+ display().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SaveOrGetBusinessProcessDevelopmentArtifactResponseInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SaveOrGetBusinessProcessDevelopmentArtifactResponseInner.java
new file mode 100644
index 000000000000..24dbdcaadd18
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SaveOrGetBusinessProcessDevelopmentArtifactResponseInner.java
@@ -0,0 +1,108 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.azureintegrationspaces.models.BusinessProcessDevelopmentArtifactProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The business process development artifact save or get response. */
+@Fluent
+public final class SaveOrGetBusinessProcessDevelopmentArtifactResponseInner {
+ /*
+ * The name of the business process development artifact.
+ */
+ @JsonProperty(value = "name", required = true)
+ private String name;
+
+ /*
+ * The system data of the business process development artifact.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /*
+ * The properties of the business process development artifact.
+ */
+ @JsonProperty(value = "properties")
+ private BusinessProcessDevelopmentArtifactProperties properties;
+
+ /** Creates an instance of SaveOrGetBusinessProcessDevelopmentArtifactResponseInner class. */
+ public SaveOrGetBusinessProcessDevelopmentArtifactResponseInner() {
+ }
+
+ /**
+ * Get the name property: The name of the business process development artifact.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: The name of the business process development artifact.
+ *
+ * @param name the name value to set.
+ * @return the SaveOrGetBusinessProcessDevelopmentArtifactResponseInner object itself.
+ */
+ public SaveOrGetBusinessProcessDevelopmentArtifactResponseInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: The system data of the business process development artifact.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the properties property: The properties of the business process development artifact.
+ *
+ * @return the properties value.
+ */
+ public BusinessProcessDevelopmentArtifactProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of the business process development artifact.
+ *
+ * @param properties the properties value to set.
+ * @return the SaveOrGetBusinessProcessDevelopmentArtifactResponseInner object itself.
+ */
+ public SaveOrGetBusinessProcessDevelopmentArtifactResponseInner withProperties(
+ BusinessProcessDevelopmentArtifactProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (name() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property name in model"
+ + " SaveOrGetBusinessProcessDevelopmentArtifactResponseInner"));
+ }
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ private static final ClientLogger LOGGER =
+ new ClientLogger(SaveOrGetBusinessProcessDevelopmentArtifactResponseInner.class);
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceInner.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceInner.java
new file mode 100644
index 000000000000..530319a0dd6a
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceInner.java
@@ -0,0 +1,107 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** An integration space. */
+@Fluent
+public final class SpaceInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ @JsonProperty(value = "properties")
+ private SpaceResourceProperties innerProperties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /** Creates an instance of SpaceInner class. */
+ public SpaceInner() {
+ }
+
+ /**
+ * Get the innerProperties property: The resource-specific properties for this resource.
+ *
+ * @return the innerProperties value.
+ */
+ private SpaceResourceProperties 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;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public SpaceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public SpaceInner 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();
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.innerProperties() == null ? null : this.innerProperties().description();
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the SpaceInner object itself.
+ */
+ public SpaceInner withDescription(String description) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SpaceResourceProperties();
+ }
+ this.innerProperties().withDescription(description);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceResourceProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceResourceProperties.java
new file mode 100644
index 000000000000..fb797d992122
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceResourceProperties.java
@@ -0,0 +1,66 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The properties of space. */
+@Fluent
+public final class SpaceResourceProperties {
+ /*
+ * The status of the last operation.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * The description of the resource.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /** Creates an instance of SpaceResourceProperties class. */
+ public SpaceResourceProperties() {
+ }
+
+ /**
+ * Get the provisioningState property: The status of the last operation.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the SpaceResourceProperties object itself.
+ */
+ public SpaceResourceProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceUpdateProperties.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceUpdateProperties.java
new file mode 100644
index 000000000000..82be29466dea
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/SpaceUpdateProperties.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The updatable properties of the Space. */
+@Fluent
+public final class SpaceUpdateProperties {
+ /*
+ * The description of the resource.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /** Creates an instance of SpaceUpdateProperties class. */
+ public SpaceUpdateProperties() {
+ }
+
+ /**
+ * Get the description property: The description of the resource.
+ *
+ * @return the description value.
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set the description property: The description of the resource.
+ *
+ * @param description the description value to set.
+ * @return the SpaceUpdateProperties object itself.
+ */
+ public SpaceUpdateProperties withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/package-info.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/package-info.java
new file mode 100644
index 000000000000..00dd6eb12204
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/models/package-info.java
@@ -0,0 +1,9 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/**
+ * Package containing the inner data models for MicrosoftIntegrationSpaces. The azure integration spaces resource
+ * provider.
+ */
+package com.azure.resourcemanager.azureintegrationspaces.fluent.models;
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/package-info.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/package-info.java
new file mode 100644
index 000000000000..697e62698738
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/fluent/package-info.java
@@ -0,0 +1,9 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/**
+ * Package containing the service clients for MicrosoftIntegrationSpaces. The azure integration spaces resource
+ * provider.
+ */
+package com.azure.resourcemanager.azureintegrationspaces.fluent;
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationImpl.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationImpl.java
new file mode 100644
index 000000000000..3c1a18d8b106
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationImpl.java
@@ -0,0 +1,309 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.implementation;
+
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.Region;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.Application;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationUpdate;
+import com.azure.resourcemanager.azureintegrationspaces.models.GetOrDeleteBusinessProcessDevelopmentArtifactRequest;
+import com.azure.resourcemanager.azureintegrationspaces.models.ListBusinessProcessDevelopmentArtifactsResponse;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+import com.azure.resourcemanager.azureintegrationspaces.models.SaveOrGetBusinessProcessDevelopmentArtifactResponse;
+import com.azure.resourcemanager.azureintegrationspaces.models.SaveOrValidateBusinessProcessDevelopmentArtifactRequest;
+import com.azure.resourcemanager.azureintegrationspaces.models.TrackingDataStore;
+import java.util.Collections;
+import java.util.Map;
+
+public final class ApplicationImpl implements Application, Application.Definition, Application.Update {
+ private ApplicationInner innerObject;
+
+ private final com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public ProvisioningState provisioningState() {
+ return this.innerModel().provisioningState();
+ }
+
+ public String description() {
+ return this.innerModel().description();
+ }
+
+ public Map trackingDataStores() {
+ Map inner = this.innerModel().trackingDataStores();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public ApplicationInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String spaceName;
+
+ private String applicationName;
+
+ private ApplicationUpdate updateProperties;
+
+ public ApplicationImpl withExistingSpace(String resourceGroupName, String spaceName) {
+ this.resourceGroupName = resourceGroupName;
+ this.spaceName = spaceName;
+ return this;
+ }
+
+ public Application create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .createOrUpdateWithResponse(
+ resourceGroupName, spaceName, applicationName, this.innerModel(), Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Application create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .createOrUpdateWithResponse(resourceGroupName, spaceName, applicationName, this.innerModel(), context)
+ .getValue();
+ return this;
+ }
+
+ ApplicationImpl(
+ String name, com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager) {
+ this.innerObject = new ApplicationInner();
+ this.serviceManager = serviceManager;
+ this.applicationName = name;
+ }
+
+ public ApplicationImpl update() {
+ this.updateProperties = new ApplicationUpdate();
+ return this;
+ }
+
+ public Application apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .patchWithResponse(resourceGroupName, spaceName, applicationName, updateProperties, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Application apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .patchWithResponse(resourceGroupName, spaceName, applicationName, updateProperties, context)
+ .getValue();
+ return this;
+ }
+
+ ApplicationImpl(
+ ApplicationInner innerObject,
+ com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.spaceName = Utils.getValueFromIdByName(innerObject.id(), "spaces");
+ this.applicationName = Utils.getValueFromIdByName(innerObject.id(), "applications");
+ }
+
+ public Application refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .getWithResponse(resourceGroupName, spaceName, applicationName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public Application refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplications()
+ .getWithResponse(resourceGroupName, spaceName, applicationName, context)
+ .getValue();
+ return this;
+ }
+
+ public Response deleteBusinessProcessDevelopmentArtifactWithResponse(
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body, Context context) {
+ return serviceManager
+ .applications()
+ .deleteBusinessProcessDevelopmentArtifactWithResponse(
+ resourceGroupName, spaceName, applicationName, body, context);
+ }
+
+ public void deleteBusinessProcessDevelopmentArtifact(GetOrDeleteBusinessProcessDevelopmentArtifactRequest body) {
+ serviceManager
+ .applications()
+ .deleteBusinessProcessDevelopmentArtifact(resourceGroupName, spaceName, applicationName, body);
+ }
+
+ public Response
+ getBusinessProcessDevelopmentArtifactWithResponse(
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body, Context context) {
+ return serviceManager
+ .applications()
+ .getBusinessProcessDevelopmentArtifactWithResponse(
+ resourceGroupName, spaceName, applicationName, body, context);
+ }
+
+ public SaveOrGetBusinessProcessDevelopmentArtifactResponse getBusinessProcessDevelopmentArtifact(
+ GetOrDeleteBusinessProcessDevelopmentArtifactRequest body) {
+ return serviceManager
+ .applications()
+ .getBusinessProcessDevelopmentArtifact(resourceGroupName, spaceName, applicationName, body);
+ }
+
+ public Response
+ listBusinessProcessDevelopmentArtifactsWithResponse(Context context) {
+ return serviceManager
+ .applications()
+ .listBusinessProcessDevelopmentArtifactsWithResponse(
+ resourceGroupName, spaceName, applicationName, context);
+ }
+
+ public ListBusinessProcessDevelopmentArtifactsResponse listBusinessProcessDevelopmentArtifacts() {
+ return serviceManager
+ .applications()
+ .listBusinessProcessDevelopmentArtifacts(resourceGroupName, spaceName, applicationName);
+ }
+
+ public Response
+ saveBusinessProcessDevelopmentArtifactWithResponse(
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body, Context context) {
+ return serviceManager
+ .applications()
+ .saveBusinessProcessDevelopmentArtifactWithResponse(
+ resourceGroupName, spaceName, applicationName, body, context);
+ }
+
+ public SaveOrGetBusinessProcessDevelopmentArtifactResponse saveBusinessProcessDevelopmentArtifact(
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body) {
+ return serviceManager
+ .applications()
+ .saveBusinessProcessDevelopmentArtifact(resourceGroupName, spaceName, applicationName, body);
+ }
+
+ public Response validateBusinessProcessDevelopmentArtifactWithResponse(
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body, Context context) {
+ return serviceManager
+ .applications()
+ .validateBusinessProcessDevelopmentArtifactWithResponse(
+ resourceGroupName, spaceName, applicationName, body, context);
+ }
+
+ public void validateBusinessProcessDevelopmentArtifact(
+ SaveOrValidateBusinessProcessDevelopmentArtifactRequest body) {
+ serviceManager
+ .applications()
+ .validateBusinessProcessDevelopmentArtifact(resourceGroupName, spaceName, applicationName, body);
+ }
+
+ public ApplicationImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public ApplicationImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public ApplicationImpl withTags(Map tags) {
+ if (isInCreateMode()) {
+ this.innerModel().withTags(tags);
+ return this;
+ } else {
+ this.updateProperties.withTags(tags);
+ return this;
+ }
+ }
+
+ public ApplicationImpl withDescription(String description) {
+ if (isInCreateMode()) {
+ this.innerModel().withDescription(description);
+ return this;
+ } else {
+ this.updateProperties.withDescription(description);
+ return this;
+ }
+ }
+
+ public ApplicationImpl withTrackingDataStores(Map trackingDataStores) {
+ if (isInCreateMode()) {
+ this.innerModel().withTrackingDataStores(trackingDataStores);
+ return this;
+ } else {
+ this.updateProperties.withTrackingDataStores(trackingDataStores);
+ return this;
+ }
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourceImpl.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourceImpl.java
new file mode 100644
index 000000000000..6e0778908a1c
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourceImpl.java
@@ -0,0 +1,202 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationResourceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResource;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResourceUpdate;
+import com.azure.resourcemanager.azureintegrationspaces.models.ProvisioningState;
+
+public final class ApplicationResourceImpl
+ implements ApplicationResource, ApplicationResource.Definition, ApplicationResource.Update {
+ private ApplicationResourceInner innerObject;
+
+ private final com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public ProvisioningState provisioningState() {
+ return this.innerModel().provisioningState();
+ }
+
+ public String resourceType() {
+ return this.innerModel().resourceType();
+ }
+
+ public String resourceId() {
+ return this.innerModel().resourceId();
+ }
+
+ public String resourceKind() {
+ return this.innerModel().resourceKind();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public ApplicationResourceInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String spaceName;
+
+ private String applicationName;
+
+ private String resourceName;
+
+ private ApplicationResourceUpdate updateProperties;
+
+ public ApplicationResourceImpl withExistingApplication(
+ String resourceGroupName, String spaceName, String applicationName) {
+ this.resourceGroupName = resourceGroupName;
+ this.spaceName = spaceName;
+ this.applicationName = applicationName;
+ return this;
+ }
+
+ public ApplicationResource create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .createOrUpdateWithResponse(
+ resourceGroupName, spaceName, applicationName, resourceName, this.innerModel(), Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ApplicationResource create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .createOrUpdateWithResponse(
+ resourceGroupName, spaceName, applicationName, resourceName, this.innerModel(), context)
+ .getValue();
+ return this;
+ }
+
+ ApplicationResourceImpl(
+ String name, com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager) {
+ this.innerObject = new ApplicationResourceInner();
+ this.serviceManager = serviceManager;
+ this.resourceName = name;
+ }
+
+ public ApplicationResourceImpl update() {
+ this.updateProperties = new ApplicationResourceUpdate();
+ return this;
+ }
+
+ public ApplicationResource apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .patchWithResponse(
+ resourceGroupName, spaceName, applicationName, resourceName, updateProperties, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ApplicationResource apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .patchWithResponse(
+ resourceGroupName, spaceName, applicationName, resourceName, updateProperties, context)
+ .getValue();
+ return this;
+ }
+
+ ApplicationResourceImpl(
+ ApplicationResourceInner innerObject,
+ com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.spaceName = Utils.getValueFromIdByName(innerObject.id(), "spaces");
+ this.applicationName = Utils.getValueFromIdByName(innerObject.id(), "applications");
+ this.resourceName = Utils.getValueFromIdByName(innerObject.id(), "resources");
+ }
+
+ public ApplicationResource refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ApplicationResource refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApplicationResources()
+ .getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, context)
+ .getValue();
+ return this;
+ }
+
+ public ApplicationResourceImpl withResourceType(String resourceType) {
+ if (isInCreateMode()) {
+ this.innerModel().withResourceType(resourceType);
+ return this;
+ } else {
+ this.updateProperties.withResourceType(resourceType);
+ return this;
+ }
+ }
+
+ public ApplicationResourceImpl withResourceId(String resourceId) {
+ if (isInCreateMode()) {
+ this.innerModel().withResourceId(resourceId);
+ return this;
+ } else {
+ this.updateProperties.withResourceId(resourceId);
+ return this;
+ }
+ }
+
+ public ApplicationResourceImpl withResourceKind(String resourceKind) {
+ if (isInCreateMode()) {
+ this.innerModel().withResourceKind(resourceKind);
+ return this;
+ } else {
+ this.updateProperties.withResourceKind(resourceKind);
+ return this;
+ }
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesClientImpl.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesClientImpl.java
new file mode 100644
index 000000000000..0f2cce38764e
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesClientImpl.java
@@ -0,0 +1,1424 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+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.Patch;
+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.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+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.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.ApplicationResourcesClient;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationResourceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResourceListResult;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResourceUpdate;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ApplicationResourcesClient. */
+public final class ApplicationResourcesClientImpl implements ApplicationResourcesClient {
+ /** The proxy service used to perform REST calls. */
+ private final ApplicationResourcesService service;
+
+ /** The service client containing this operation class. */
+ private final MicrosoftIntegrationSpacesImpl client;
+
+ /**
+ * Initializes an instance of ApplicationResourcesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ApplicationResourcesClientImpl(MicrosoftIntegrationSpacesImpl client) {
+ this.service =
+ RestProxy
+ .create(ApplicationResourcesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for MicrosoftIntegrationSpacesApplicationResources to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "MicrosoftIntegration")
+ public interface ApplicationResourcesService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByApplication(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @QueryParam("top") Integer top,
+ @QueryParam("skip") Integer skip,
+ @QueryParam("maxpagesize") Integer maxPageSize,
+ @QueryParam("filter") String filter,
+ @QueryParam(value = "select", multipleQueryParams = true) List select,
+ @QueryParam(value = "expand", multipleQueryParams = true) List expand,
+ @QueryParam(value = "orderby", multipleQueryParams = true) List orderBy,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @PathParam("resourceName") String resourceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}")
+ @ExpectedResponses({200, 201})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> createOrUpdate(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @PathParam("resourceName") String resourceName,
+ @BodyParam("application/json") ApplicationResourceInner resource,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Patch(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> patch(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @PathParam("resourceName") String resourceName,
+ @BodyParam("application/json") ApplicationResourceUpdate properties,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Delete(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/resources/{resourceName}")
+ @ExpectedResponses({200, 204})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> delete(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @PathParam("resourceName") String resourceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByApplicationNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByApplicationSinglePageAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ List selectConverted =
+ (select == null)
+ ? new ArrayList<>()
+ : select.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List expandConverted =
+ (expand == null)
+ ? new ArrayList<>()
+ : expand.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List orderByConverted =
+ (orderBy == null)
+ ? new ArrayList<>()
+ : orderBy.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listByApplication(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ selectConverted,
+ expandConverted,
+ orderByConverted,
+ spaceName,
+ applicationName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a ApplicationResource list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByApplicationSinglePageAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ List selectConverted =
+ (select == null)
+ ? new ArrayList<>()
+ : select.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List expandConverted =
+ (expand == null)
+ ? new ArrayList<>()
+ : expand.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List orderByConverted =
+ (orderBy == null)
+ ? new ArrayList<>()
+ : orderBy.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ context = this.client.mergeContext(context);
+ return service
+ .listByApplication(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ selectConverted,
+ expandConverted,
+ orderByConverted,
+ spaceName,
+ applicationName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByApplicationAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy) {
+ return new PagedFlux<>(
+ () ->
+ listByApplicationSinglePageAsync(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy),
+ nextLink -> listByApplicationNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByApplicationAsync(
+ String resourceGroupName, String spaceName, String applicationName) {
+ final Integer top = null;
+ final Integer skip = null;
+ final Integer maxPageSize = null;
+ final String filter = null;
+ final List select = null;
+ final List expand = null;
+ final List orderBy = null;
+ return new PagedFlux<>(
+ () ->
+ listByApplicationSinglePageAsync(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy),
+ nextLink -> listByApplicationNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a ApplicationResource list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByApplicationAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ return new PagedFlux<>(
+ () ->
+ listByApplicationSinglePageAsync(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy,
+ context),
+ nextLink -> listByApplicationNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByApplication(
+ String resourceGroupName, String spaceName, String applicationName) {
+ final Integer top = null;
+ final Integer skip = null;
+ final Integer maxPageSize = null;
+ final String filter = null;
+ final List select = null;
+ final List expand = null;
+ final List orderBy = null;
+ return new PagedIterable<>(
+ listByApplicationAsync(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy));
+ }
+
+ /**
+ * List ApplicationResource resources by Application.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a ApplicationResource list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByApplication(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ return new PagedIterable<>(
+ listByApplicationAsync(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy,
+ context));
+ }
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .get(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ accept,
+ context);
+ }
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ return getWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ return getWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName, context).block();
+ }
+
+ /**
+ * Get a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a ApplicationResource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ApplicationResourceInner get(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ return getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, Context.NONE).getValue();
+ }
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> createOrUpdateWithResponseAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ if (resource == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resource is required and cannot be null."));
+ } else {
+ resource.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ resource,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> createOrUpdateWithResponseAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ if (resource == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resource is required and cannot be null."));
+ } else {
+ resource.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .createOrUpdate(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ resource,
+ accept,
+ context);
+ }
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource) {
+ return createOrUpdateWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName, resource)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response createOrUpdateWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource,
+ Context context) {
+ return createOrUpdateWithResponseAsync(
+ resourceGroupName, spaceName, applicationName, resourceName, resource, context)
+ .block();
+ }
+
+ /**
+ * Create a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 a resource under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ApplicationResourceInner createOrUpdate(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceInner resource) {
+ return createOrUpdateWithResponse(
+ resourceGroupName, spaceName, applicationName, resourceName, resource, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> patchWithResponseAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ if (properties == null) {
+ return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null."));
+ } else {
+ properties.validate();
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .patch(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ properties,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> patchWithResponseAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ if (properties == null) {
+ return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null."));
+ } else {
+ properties.validate();
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .patch(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ properties,
+ accept,
+ context);
+ }
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono patchAsync(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties) {
+ return patchWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName, properties)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response patchWithResponse(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties,
+ Context context) {
+ return patchWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName, properties, context)
+ .block();
+ }
+
+ /**
+ * Update a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @param properties The resource properties to be updated.
+ * @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 a resource under application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ApplicationResourceInner patch(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ String resourceName,
+ ApplicationResourceUpdate properties) {
+ return patchWithResponse(resourceGroupName, spaceName, applicationName, resourceName, properties, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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)
+ private Mono> deleteWithResponseAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .delete(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> deleteWithResponseAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ if (applicationName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter applicationName is required and cannot be null."));
+ }
+ if (resourceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .delete(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ resourceName,
+ accept,
+ context);
+ }
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ return deleteWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName)
+ .flatMap(ignored -> Mono.empty());
+ }
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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 Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response deleteWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ return deleteWithResponseAsync(resourceGroupName, spaceName, applicationName, resourceName, context).block();
+ }
+
+ /**
+ * Delete a ApplicationResource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param applicationName The name of the Application.
+ * @param resourceName The name of the application resource.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ deleteWithResponse(resourceGroupName, spaceName, applicationName, resourceName, Context.NONE);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ApplicationResource list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByApplicationNextSinglePageAsync(String nextLink) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByApplicationNext(nextLink, this.client.getEndpoint(), accept, context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items
+ * The nextLink parameter.
+ * @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 of a ApplicationResource list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByApplicationNextSinglePageAsync(
+ String nextLink, Context context) {
+ if (nextLink == null) {
+ return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
+ }
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ context = this.client.mergeContext(context);
+ return service
+ .listByApplicationNext(nextLink, this.client.getEndpoint(), accept, context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesImpl.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesImpl.java
new file mode 100644
index 000000000000..55db8e327304
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationResourcesImpl.java
@@ -0,0 +1,251 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.implementation;
+
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.ApplicationResourcesClient;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationResourceInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResource;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationResources;
+import java.util.List;
+
+public final class ApplicationResourcesImpl implements ApplicationResources {
+ private static final ClientLogger LOGGER = new ClientLogger(ApplicationResourcesImpl.class);
+
+ private final ApplicationResourcesClient innerClient;
+
+ private final com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager;
+
+ public ApplicationResourcesImpl(
+ ApplicationResourcesClient innerClient,
+ com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public PagedIterable listByApplication(
+ String resourceGroupName, String spaceName, String applicationName) {
+ PagedIterable inner =
+ this.serviceClient().listByApplication(resourceGroupName, spaceName, applicationName);
+ return Utils.mapPage(inner, inner1 -> new ApplicationResourceImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByApplication(
+ String resourceGroupName,
+ String spaceName,
+ String applicationName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ PagedIterable inner =
+ this
+ .serviceClient()
+ .listByApplication(
+ resourceGroupName,
+ spaceName,
+ applicationName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ select,
+ expand,
+ orderBy,
+ context);
+ return Utils.mapPage(inner, inner1 -> new ApplicationResourceImpl(inner1, this.manager()));
+ }
+
+ public Response getWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ Response inner =
+ this.serviceClient().getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, context);
+ if (inner != null) {
+ return new SimpleResponse<>(
+ inner.getRequest(),
+ inner.getStatusCode(),
+ inner.getHeaders(),
+ new ApplicationResourceImpl(inner.getValue(), this.manager()));
+ } else {
+ return null;
+ }
+ }
+
+ public ApplicationResource get(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ ApplicationResourceInner inner =
+ this.serviceClient().get(resourceGroupName, spaceName, applicationName, resourceName);
+ if (inner != null) {
+ return new ApplicationResourceImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public Response deleteWithResponse(
+ String resourceGroupName, String spaceName, String applicationName, String resourceName, Context context) {
+ return this
+ .serviceClient()
+ .deleteWithResponse(resourceGroupName, spaceName, applicationName, resourceName, context);
+ }
+
+ public void delete(String resourceGroupName, String spaceName, String applicationName, String resourceName) {
+ this.serviceClient().delete(resourceGroupName, spaceName, applicationName, resourceName);
+ }
+
+ public ApplicationResource getById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String spaceName = Utils.getValueFromIdByName(id, "spaces");
+ if (spaceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'spaces'.", id)));
+ }
+ String applicationName = Utils.getValueFromIdByName(id, "applications");
+ if (applicationName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'applications'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "resources");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resources'.", id)));
+ }
+ return this
+ .getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, Context.NONE)
+ .getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String spaceName = Utils.getValueFromIdByName(id, "spaces");
+ if (spaceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'spaces'.", id)));
+ }
+ String applicationName = Utils.getValueFromIdByName(id, "applications");
+ if (applicationName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'applications'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "resources");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resources'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, spaceName, applicationName, resourceName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String spaceName = Utils.getValueFromIdByName(id, "spaces");
+ if (spaceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'spaces'.", id)));
+ }
+ String applicationName = Utils.getValueFromIdByName(id, "applications");
+ if (applicationName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'applications'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "resources");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resources'.", id)));
+ }
+ this.deleteWithResponse(resourceGroupName, spaceName, applicationName, resourceName, Context.NONE);
+ }
+
+ public Response deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups");
+ if (resourceGroupName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String
+ .format("The resource ID '%s' is not valid. Missing path segment 'resourceGroups'.", id)));
+ }
+ String spaceName = Utils.getValueFromIdByName(id, "spaces");
+ if (spaceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'spaces'.", id)));
+ }
+ String applicationName = Utils.getValueFromIdByName(id, "applications");
+ if (applicationName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'applications'.", id)));
+ }
+ String resourceName = Utils.getValueFromIdByName(id, "resources");
+ if (resourceName == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'resources'.", id)));
+ }
+ return this.deleteWithResponse(resourceGroupName, spaceName, applicationName, resourceName, context);
+ }
+
+ private ApplicationResourcesClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.azureintegrationspaces.AzureintegrationspacesManager manager() {
+ return this.serviceManager;
+ }
+
+ public ApplicationResourceImpl define(String name) {
+ return new ApplicationResourceImpl(name, this.manager());
+ }
+}
diff --git a/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationsClientImpl.java b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationsClientImpl.java
new file mode 100644
index 000000000000..9426084138b0
--- /dev/null
+++ b/sdk/azureintegrationspaces/azure-resourcemanager-azureintegrationspaces/src/main/java/com/azure/resourcemanager/azureintegrationspaces/implementation/ApplicationsClientImpl.java
@@ -0,0 +1,2312 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.azureintegrationspaces.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+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.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
+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.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+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.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.ApplicationsClient;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ApplicationInner;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.ListBusinessProcessDevelopmentArtifactsResponseInner;
+import com.azure.resourcemanager.azureintegrationspaces.fluent.models.SaveOrGetBusinessProcessDevelopmentArtifactResponseInner;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationListResult;
+import com.azure.resourcemanager.azureintegrationspaces.models.ApplicationUpdate;
+import com.azure.resourcemanager.azureintegrationspaces.models.GetOrDeleteBusinessProcessDevelopmentArtifactRequest;
+import com.azure.resourcemanager.azureintegrationspaces.models.SaveOrValidateBusinessProcessDevelopmentArtifactRequest;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ApplicationsClient. */
+public final class ApplicationsClientImpl implements ApplicationsClient {
+ /** The proxy service used to perform REST calls. */
+ private final ApplicationsService service;
+
+ /** The service client containing this operation class. */
+ private final MicrosoftIntegrationSpacesImpl client;
+
+ /**
+ * Initializes an instance of ApplicationsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ApplicationsClientImpl(MicrosoftIntegrationSpacesImpl client) {
+ this.service =
+ RestProxy.create(ApplicationsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for MicrosoftIntegrationSpacesApplications to be used by the proxy
+ * service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "MicrosoftIntegration")
+ public interface ApplicationsService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBySpace(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @QueryParam("top") Integer top,
+ @QueryParam("skip") Integer skip,
+ @QueryParam("maxpagesize") Integer maxPageSize,
+ @QueryParam("filter") String filter,
+ @QueryParam(value = "select", multipleQueryParams = true) List select,
+ @QueryParam(value = "expand", multipleQueryParams = true) List expand,
+ @QueryParam(value = "orderby", multipleQueryParams = true) List orderBy,
+ @PathParam("spaceName") String spaceName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}")
+ @ExpectedResponses({200, 201})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> createOrUpdate(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") ApplicationInner resource,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Patch(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> patch(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") ApplicationUpdate properties,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Delete(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}")
+ @ExpectedResponses({200, 204})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> delete(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/deleteBusinessProcessDevelopmentArtifact")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> deleteBusinessProcessDevelopmentArtifact(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") GetOrDeleteBusinessProcessDevelopmentArtifactRequest body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/getBusinessProcessDevelopmentArtifact")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getBusinessProcessDevelopmentArtifact(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") GetOrDeleteBusinessProcessDevelopmentArtifactRequest body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/listBusinessProcessDevelopmentArtifacts")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBusinessProcessDevelopmentArtifacts(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/saveBusinessProcessDevelopmentArtifact")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> saveBusinessProcessDevelopmentArtifact(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") SaveOrValidateBusinessProcessDevelopmentArtifactRequest body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Post(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/applications/{applicationName}/validateBusinessProcessDevelopmentArtifact")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> validateBusinessProcessDevelopmentArtifact(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("spaceName") String spaceName,
+ @PathParam("applicationName") String applicationName,
+ @BodyParam("application/json") SaveOrValidateBusinessProcessDevelopmentArtifactRequest body,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get("{nextLink}")
+ @ExpectedResponses({200})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBySpaceNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink,
+ @HostParam("$host") String endpoint,
+ @HeaderParam("Accept") String accept,
+ Context context);
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listBySpaceSinglePageAsync(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ List selectConverted =
+ (select == null)
+ ? new ArrayList<>()
+ : select.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List expandConverted =
+ (expand == null)
+ ? new ArrayList<>()
+ : expand.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List orderByConverted =
+ (orderBy == null)
+ ? new ArrayList<>()
+ : orderBy.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ return FluxUtil
+ .withContext(
+ context ->
+ service
+ .listBySpace(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ selectConverted,
+ expandConverted,
+ orderByConverted,
+ spaceName,
+ accept,
+ context))
+ .>map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a Application list operation along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listBySpaceSinglePageAsync(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono
+ .error(
+ new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (spaceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter spaceName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ List selectConverted =
+ (select == null)
+ ? new ArrayList<>()
+ : select.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List expandConverted =
+ (expand == null)
+ ? new ArrayList<>()
+ : expand.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ List orderByConverted =
+ (orderBy == null)
+ ? new ArrayList<>()
+ : orderBy.stream().map(item -> Objects.toString(item, "")).collect(Collectors.toList());
+ context = this.client.mergeContext(context);
+ return service
+ .listBySpace(
+ this.client.getEndpoint(),
+ this.client.getApiVersion(),
+ this.client.getSubscriptionId(),
+ resourceGroupName,
+ top,
+ skip,
+ maxPageSize,
+ filter,
+ selectConverted,
+ expandConverted,
+ orderByConverted,
+ spaceName,
+ accept,
+ context)
+ .map(
+ res ->
+ new PagedResponseBase<>(
+ res.getRequest(),
+ res.getStatusCode(),
+ res.getHeaders(),
+ res.getValue().value(),
+ res.getValue().nextLink(),
+ null));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listBySpaceAsync(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy) {
+ return new PagedFlux<>(
+ () ->
+ listBySpaceSinglePageAsync(
+ resourceGroupName, spaceName, top, skip, maxPageSize, filter, select, expand, orderBy),
+ nextLink -> listBySpaceNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listBySpaceAsync(String resourceGroupName, String spaceName) {
+ final Integer top = null;
+ final Integer skip = null;
+ final Integer maxPageSize = null;
+ final String filter = null;
+ final List select = null;
+ final List expand = null;
+ final List orderBy = null;
+ return new PagedFlux<>(
+ () ->
+ listBySpaceSinglePageAsync(
+ resourceGroupName, spaceName, top, skip, maxPageSize, filter, select, expand, orderBy),
+ nextLink -> listBySpaceNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a Application list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listBySpaceAsync(
+ String resourceGroupName,
+ String spaceName,
+ Integer top,
+ Integer skip,
+ Integer maxPageSize,
+ String filter,
+ List select,
+ List expand,
+ List orderBy,
+ Context context) {
+ return new PagedFlux<>(
+ () ->
+ listBySpaceSinglePageAsync(
+ resourceGroupName, spaceName, top, skip, maxPageSize, filter, select, expand, orderBy, context),
+ nextLink -> listBySpaceNextSinglePageAsync(nextLink, context));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a Application list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listBySpace(String resourceGroupName, String spaceName) {
+ final Integer top = null;
+ final Integer skip = null;
+ final Integer maxPageSize = null;
+ final String filter = null;
+ final List select = null;
+ final List expand = null;
+ final List orderBy = null;
+ return new PagedIterable<>(
+ listBySpaceAsync(resourceGroupName, spaceName, top, skip, maxPageSize, filter, select, expand, orderBy));
+ }
+
+ /**
+ * List Application resources by Space.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param spaceName The name of the space.
+ * @param top The number of result items to return.
+ * @param skip The number of result items to skip.
+ * @param maxPageSize The maximum number of result items per page.
+ * @param filter Filter the result list using the given expression.
+ * @param select Select the specified fields to be included in the response.
+ * @param expand Expand the indicated resources into the response.
+ * @param orderBy Expressions that specify the order of returned results.
+ * @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 of a Application list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable