diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/CHANGELOG.md b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/CHANGELOG.md
index 692c674e99609..611e2c58546e0 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/CHANGELOG.md
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/CHANGELOG.md
@@ -1,14 +1,615 @@
# Release History
-## 1.0.0-beta.2 (Unreleased)
+## 1.0.0-beta.2 (2026-09-15)
-### Features Added
+- Azure Resource Manager Workload Orchestration client library for Java. This package contains Microsoft Azure SDK for Workload Orchestration Management SDK. Microsoft.Edge Resource Provider management API. Package api-version 2026-05-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.SolutionVersionProperties` was modified
+
+* `java.lang.String configuration()` -> `com.azure.core.util.BinaryData configuration()`
+* `java.lang.String targetLevelConfiguration()` -> `com.azure.core.util.BinaryData targetLevelConfiguration()`
+* `validate()` was removed
+
+#### `models.UninstallSolutionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.InstallSolutionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.StageSpec` was modified
+
+* `validate()` was removed
+
+#### `models.ExtendedLocation` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionDependencyParameter` was modified
+
+* `validate()` was removed
+
+#### `models.StageStatus` was modified
+
+* `validate()` was removed
+
+#### `models.AvailableSolutionTemplateVersion` was modified
+
+* `validate()` was removed
+
+#### `models.Schema$Update` was modified
+
+* `withProperties(models.SchemaProperties)` was removed
+
+#### `models.JobParameterBase` was modified
+
+* `validate()` was removed
+
+#### `models.Diagnostic$Update` was modified
+
+* `withProperties(models.DiagnosticProperties)` was removed
+
+#### `models.TargetProperties` was modified
+
+* `validate()` was removed
+
+#### `models.UpdateExternalValidationStatusParameter` was modified
+
+* `validate()` was removed
+
+#### `models.Solution$Update` was modified
+
+* `withProperties(models.SolutionProperties)` was removed
+
+#### `models.SolutionVersionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.SchemaReferenceProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ComponentStatus` was modified
+
+* `validate()` was removed
+
+#### `models.Capability` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionDependency` was modified
+
+* `validate()` was removed
+
+#### `models.SiteReferenceProperties` was modified
+
+* `validate()` was removed
+
+#### `models.InstanceProperties` was modified
+
+* `validate()` was removed
+
+#### `models.BulkDeploySolutionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionTemplate$Update` was modified
+
+* `withProperties(models.SolutionTemplateProperties)` was removed
+
+#### `models.ConfigTemplate$Update` was modified
+
+* `withProperties(models.ConfigTemplateProperties)` was removed
+
+#### `models.DiagnosticProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ErrorAction` was modified
+
+* `validate()` was removed
+
+#### `models.ReconciliationPolicyProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DeployJobStepStatistics` was modified
+
+* `validate()` was removed
+
+#### `models.Hierarchy` was modified
+
+* `validate()` was removed
+
+#### `models.ExecutionStatus` was modified
+
+* `validate()` was removed
+
+#### `models.JobProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Target$Update` was modified
+
+* `withProperties(models.TargetProperties)` was removed
+
+#### `models.BulkPublishSolutionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.ConfigTemplateVersionProperties` was modified
+
+* `java.lang.String configurations()` -> `com.azure.core.util.BinaryData configurations()`
+* `withConfigurations(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.SchemaVersionProperties` was modified
+
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `java.lang.String value()` -> `com.azure.core.util.BinaryData value()`
+
+#### `models.WorkflowVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ConfigTemplateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.RemoveRevisionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.BulkPublishTargetDetails` was modified
+
+* `validate()` was removed
+
+#### `models.DynamicSchemaProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DeploymentStatus` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionVersionSnapshot` was modified
+
+* `validate()` was removed
+
+#### `models.WorkflowProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ContextModel$Update` was modified
+
+* `withProperties(models.ContextProperties)` was removed
+
+#### `models.BulkDeployTargetDetails` was modified
+
+* `validate()` was removed
+
+#### `models.ExecutionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TaskSpec` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionTemplateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TaskOption` was modified
+
+* `validate()` was removed
+
+#### `models.VersionParameter` was modified
+
+* `validate()` was removed
+
+#### `models.TargetStatus` was modified
+
+* `validate()` was removed
+
+#### `models.TargetSnapshot` was modified
+
+* `validate()` was removed
+
+#### `models.JobStep` was modified
+
+* `validate()` was removed
+
+#### `models.ContextProperties` was modified
+
+* `validate()` was removed
+
+#### `models.JobStepStatisticsBase` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionTemplateVersionProperties` was modified
+
+* `withConfigurations(java.lang.String)` was removed
+* `validate()` was removed
+* `java.lang.String configurations()` -> `com.azure.core.util.BinaryData configurations()`
+
+#### `models.DeployJobParameter` was modified
+
+* `validate()` was removed
+
+#### `models.SchemaProperties` was modified
+
+* `validate()` was removed
+
+#### `models.InstanceHistoryProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SolutionTemplateParameter` was modified
+
+* `validate()` was removed
+
+### Features Added
+
+* `models.DiagnosticUpdateProperties` was added
+
+* `models.SolutionMetadataVersion` was added
+
+* `models.ConfigTemplateVersion$UpdateStages` was added
+
+* `models.ConfigTemplateVersion$Definition` was added
+
+* `models.SolutionDeploymentUpdateProperties` was added
+
+* `models.UninstallJobStepStatistics` was added
+
+* `models.ConfigTemplateSchemaProperties` was added
+
+* `models.SolutionDeployment$UpdateStages` was added
+
+* `models.SchemaReference$DefinitionStages` was added
+
+* `models.InternalState` was added
+
+* `models.ConfigTemplateMetadataUpdateProperties` was added
+
+* `models.ConfigTemplateSchemas` was added
+
+* `models.SchemaReference$Update` was added
+
+* `models.BulkReviewTargetDetails` was added
+
+* `models.HierarchyConfigurationMetadataVersions` was added
+
+* `models.SolutionUpdateProperties` was added
+
+* `models.HierarchyConfigurationMetadataVersion` was added
+
+* `models.ConfigTemplateVersion$Update` was added
+
+* `models.SolutionMetadataVersionProperties` was added
+
+* `models.SchemaUpdate` was added
+
+* `models.SolutionDeploymentProperties` was added
+
+* `models.SolutionSchemaProperties` was added
+
+* `models.TargetUpdateProperties` was added
+
+* `models.AdditionalData` was added
+
+* `models.SolutionMetadataProperties` was added
+
+* `models.ConfigTemplateUpdate` was added
+
+* `models.SolutionSchemas` was added
+
+* `models.ConfigTemplateMetadata$Update` was added
+
+* `models.SolutionTemplateVersion$UpdateStages` was added
+
+* `models.SolutionDeployments` was added
+
+* `models.SolutionTemplateVersion$DefinitionStages` was added
+
+* `models.BulkReviewSolutionParameter` was added
+
+* `models.HierarchyMetadata` was added
+
+* `models.SolutionTemplateVersion$Definition` was added
+
+* `models.ConfigurationState` was added
+
+* `models.SolutionUpdate` was added
+
+* `models.ConfigTemplateConfigurationState` was added
+
+* `models.SolutionTemplateUpdateProperties` was added
+
+* `models.HierarchyConfigurationMetadatas` was added
+
+* `models.SolutionTemplateUpdate` was added
+
+* `models.ConfigTemplateUpdateProperties` was added
+
+* `models.ConfigTemplateVersion$DefinitionStages` was added
+
+* `models.HierarchyConfigurationMetadata` was added
+
+* `models.ContextUpdateProperties` was added
+
+* `models.SchemaReference$UpdateStages` was added
+
+* `models.ConfigTemplateSchema` was added
+
+* `models.SolutionTemplateVersion$Update` was added
+
+* `models.HierarchySelector` was added
+
+* `models.ConfigTemplateMetadata$UpdateStages` was added
+
+* `models.StateCategory` was added
+
+* `models.HierarchyConfigurationMetadataVersionProperties` was added
+
+* `models.StageMap` was added
+
+* `models.DiagnosticUpdate` was added
+
+* `models.SchemaUpdateProperties` was added
+
+* `models.TargetMetadata` was added
+
+* `models.SolutionMetadataVersions` was added
+
+* `models.SolutionDeployment$Definition` was added
+
+* `models.ConfigTemplateMetadataUpdate` was added
+
+* `models.ConfigTemplateMetadata$Definition` was added
+
+* `models.SolutionSchema` was added
+
+* `models.SolutionDeployment` was added
+
+* `models.CMStages` was added
+
+* `models.SolutionTemplateMetadata` was added
+
+* `models.ConfigTemplateMetadata$DefinitionStages` was added
+
+* `models.UninstallJobParameter` was added
+
+* `models.SchemaReference$Definition` was added
+
+* `models.PublishJobParameter` was added
+
+* `models.ConfigTemplateMetadatas` was added
+
+* `models.ConfigTemplateMetadataProperties` was added
+
+* `models.SolutionMetadata` was added
+
+* `models.PublishJobStepStatistics` was added
+
+* `models.HierarchyConfigurationMetadataProperties` was added
+
+* `models.SolutionDeploymentUpdate` was added
+
+* `models.ContextUpdate` was added
+
+* `models.SolutionDeployment$DefinitionStages` was added
+
+* `models.SolutionMetadatas` was added
+
+* `models.TargetUpdate` was added
+
+* `models.SolutionTemplateMetadataUpdate` was added
+
+* `models.SolutionDeployment$Update` was added
+
+* `models.ConfigTemplateMetadata` was added
+
+#### `models.SolutionVersionProperties` was modified
+
+* `currentStage()` was added
+* `stages()` was added
+* `latestActionTriggeredBy()` was added
+
+#### `models.SchemaReferences` was modified
+
+* `deleteById(java.lang.String)` was added
+* `deleteByResourceGroup(java.lang.String,java.lang.String)` was added
+* `getById(java.lang.String)` was added
+* `getByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `deleteByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `delete(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `define(java.lang.String)` was added
+
+#### `models.SchemaReference` was modified
+
+* `refresh()` was added
+* `update()` was added
+* `refresh(com.azure.core.util.Context)` was added
+
+#### `models.ConfigTemplates` was modified
+
+* `linkToHierarchies(java.lang.String,java.lang.String,models.HierarchySelector,com.azure.core.util.Context)` was added
+* `unLinkFromHierarchies(java.lang.String,java.lang.String,models.HierarchySelector,com.azure.core.util.Context)` was added
+* `linkToHierarchies(java.lang.String,java.lang.String,models.HierarchySelector)` was added
+* `unLinkFromHierarchies(java.lang.String,java.lang.String,models.HierarchySelector)` was added
+
+#### `models.Schema$Update` was modified
+
+* `withProperties(models.SchemaUpdateProperties)` was added
+
+#### `WorkloadOrchestrationManager` was modified
+
+* `configTemplateSchemas()` was added
+* `solutionSchemas()` was added
+* `hierarchyConfigurationMetadataVersions()` was added
+* `solutionDeployments()` was added
+* `configTemplateMetadatas()` was added
+* `hierarchyConfigurationMetadatas()` was added
+* `solutionMetadatas()` was added
+* `solutionMetadataVersions()` was added
+
+#### `models.Diagnostic$Update` was modified
+
+* `withProperties(models.DiagnosticUpdateProperties)` was added
+
+#### `models.Solution$Update` was modified
+
+* `withProperties(models.SolutionUpdateProperties)` was added
+
+#### `models.Target` was modified
+
+* `unstageSolutionVersion(models.SolutionVersionParameter)` was added
+* `unstageSolutionVersion(models.SolutionVersionParameter,com.azure.core.util.Context)` was added
+
+#### `models.SchemaReferenceProperties` was modified
+
+* `withSchemaId(java.lang.String)` was added
+
+#### `models.Targets` was modified
+
+* `unstageSolutionVersion(java.lang.String,java.lang.String,models.SolutionVersionParameter,com.azure.core.util.Context)` was added
+* `unstageSolutionVersion(java.lang.String,java.lang.String,models.SolutionVersionParameter)` was added
+
+#### `models.SolutionTemplateVersion` was modified
+
+* `bulkReviewSolution(models.BulkReviewSolutionParameter)` was added
+* `bulkReviewSolution(models.BulkReviewSolutionParameter,com.azure.core.util.Context)` was added
+* `refresh(com.azure.core.util.Context)` was added
+* `refresh()` was added
+* `bulkDeploySolution(models.BulkDeploySolutionParameter)` was added
+* `bulkPublishSolution(models.BulkPublishSolutionParameter)` was added
+* `resourceGroupName()` was added
+* `update()` was added
+* `bulkDeploySolution(models.BulkDeploySolutionParameter,com.azure.core.util.Context)` was added
+* `bulkPublishSolution(models.BulkPublishSolutionParameter,com.azure.core.util.Context)` was added
+
+#### `models.SolutionProperties` was modified
+
+* `displayName()` was added
+
+#### `models.SolutionTemplate$Update` was modified
+
+* `withProperties(models.SolutionTemplateUpdateProperties)` was added
+
+#### `models.ConfigTemplate$Update` was modified
+
+* `withProperties(models.ConfigTemplateUpdateProperties)` was added
+
+#### `models.JobProperties` was modified
+
+* `additionalData()` was added
+
+#### `models.Target$Update` was modified
+
+* `withProperties(models.TargetUpdateProperties)` was added
+
+#### `models.BulkPublishSolutionParameter` was modified
+
+* `solutionConfiguration()` was added
+* `withSolutionConfiguration(java.lang.String)` was added
+
+#### `models.ConfigTemplateVersionProperties` was modified
+
+* `withConfigurations(com.azure.core.util.BinaryData)` was added
+
+#### `models.SchemaVersionProperties` was modified
+
+* `withValue(com.azure.core.util.BinaryData)` was added
+
+#### `models.State` was modified
+
+* `NOT_APPLICABLE` was added
+
+#### `models.ConfigTemplateProperties` was modified
+
+* `uniqueIdentifier()` was added
+
+#### `models.BulkPublishTargetDetails` was modified
+
+* `withSolutionConfiguration(java.lang.String)` was added
+* `solutionConfiguration()` was added
+* `withSolutionVersionId(java.lang.String)` was added
+* `solutionVersionId()` was added
+* `withSolutionDependencies(java.util.List)` was added
+* `solutionDependencies()` was added
+
+#### `models.ConfigTemplateVersion` was modified
+
+* `resourceGroupName()` was added
+* `refresh()` was added
+* `update()` was added
+* `refresh(com.azure.core.util.Context)` was added
+
+#### `models.DynamicSchemaProperties` was modified
+
+* `displayName()` was added
+
+#### `models.ConfigTemplate` was modified
+
+* `linkToHierarchies(models.HierarchySelector,com.azure.core.util.Context)` was added
+* `unLinkFromHierarchies(models.HierarchySelector,com.azure.core.util.Context)` was added
+* `linkToHierarchies(models.HierarchySelector)` was added
+* `unLinkFromHierarchies(models.HierarchySelector)` was added
+
+#### `models.SolutionTemplateVersions` was modified
+
+* `deleteByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `getById(java.lang.String)` was added
+* `getByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `bulkReviewSolution(java.lang.String,java.lang.String,java.lang.String,models.BulkReviewSolutionParameter,com.azure.core.util.Context)` was added
+* `deleteById(java.lang.String)` was added
+* `delete(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `bulkReviewSolution(java.lang.String,java.lang.String,java.lang.String,models.BulkReviewSolutionParameter)` was added
+* `delete(java.lang.String,java.lang.String,java.lang.String)` was added
+* `define(java.lang.String)` was added
+
+#### `models.ContextModel$Update` was modified
+
+* `withProperties(models.ContextUpdateProperties)` was added
+
+#### `models.SolutionTemplateProperties` was modified
+
+* `uniqueIdentifier()` was added
+
+#### `models.JobType` was modified
+
+* `PUBLISH` was added
+* `UNINSTALL` was added
+
+#### `models.ContextProperties` was modified
+
+* `uniqueIdentifier()` was added
+
+#### `models.ConfigTemplateVersions` was modified
+
+* `deleteByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `getByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was added
+* `deleteById(java.lang.String)` was added
+* `getById(java.lang.String)` was added
+* `define(java.lang.String)` was added
+* `delete(java.lang.String,java.lang.String,java.lang.String)` was added
+* `delete(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.SolutionTemplateVersionProperties` was modified
-### Other Changes
+* `withConfigurations(com.azure.core.util.BinaryData)` was added
+* `internalState()` was added
## 1.0.0-beta.1 (2025-08-22)
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/README.md b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/README.md
index 0eadeafda893b..ae2d73f3d26f6 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/README.md
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Workload Orchestration client library for Java.
-This package contains Microsoft Azure SDK for Workload Orchestration Management SDK. Microsoft.Edge Resource Provider management API. Package api-version 2025-06-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for Workload Orchestration Management SDK. Microsoft.Edge Resource Provider management API. Package api-version 2026-05-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-workloadorchestration
- 1.0.0-beta.1
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/SAMPLE.md b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/SAMPLE.md
index fa43b4afd61b5..a962e22f1e98f 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/SAMPLE.md
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/SAMPLE.md
@@ -1,10 +1,26 @@
# Code snippets and samples
+## ConfigTemplateMetadatas
+
+- [CreateOrUpdate](#configtemplatemetadatas_createorupdate)
+- [Delete](#configtemplatemetadatas_delete)
+- [Get](#configtemplatemetadatas_get)
+- [ListByConfigTemplate](#configtemplatemetadatas_listbyconfigtemplate)
+- [Update](#configtemplatemetadatas_update)
+
+## ConfigTemplateSchemas
+
+- [Get](#configtemplateschemas_get)
+- [ListByConfigTemplateVersion](#configtemplateschemas_listbyconfigtemplateversion)
+
## ConfigTemplateVersions
+- [CreateOrUpdate](#configtemplateversions_createorupdate)
+- [Delete](#configtemplateversions_delete)
- [Get](#configtemplateversions_get)
- [ListByConfigTemplate](#configtemplateversions_listbyconfigtemplate)
+- [Update](#configtemplateversions_update)
## ConfigTemplates
@@ -12,9 +28,11 @@
- [CreateVersion](#configtemplates_createversion)
- [Delete](#configtemplates_delete)
- [GetByResourceGroup](#configtemplates_getbyresourcegroup)
+- [LinkToHierarchies](#configtemplates_linktohierarchies)
- [List](#configtemplates_list)
- [ListByResourceGroup](#configtemplates_listbyresourcegroup)
- [RemoveVersion](#configtemplates_removeversion)
+- [UnLinkFromHierarchies](#configtemplates_unlinkfromhierarchies)
- [Update](#configtemplates_update)
## Contexts
@@ -59,6 +77,16 @@
- [ListByWorkflowVersion](#executions_listbyworkflowversion)
- [Update](#executions_update)
+## HierarchyConfigurationMetadataVersions
+
+- [Get](#hierarchyconfigurationmetadataversions_get)
+- [ListByParent](#hierarchyconfigurationmetadataversions_listbyparent)
+
+## HierarchyConfigurationMetadatas
+
+- [Get](#hierarchyconfigurationmetadatas_get)
+- [ListByParent](#hierarchyconfigurationmetadatas_listbyparent)
+
## InstanceHistories
- [Get](#instancehistories_get)
@@ -79,8 +107,11 @@
## SchemaReferences
+- [CreateOrUpdate](#schemareferences_createorupdate)
+- [Delete](#schemareferences_delete)
- [Get](#schemareferences_get)
- [ListByResourceGroup](#schemareferences_listbyresourcegroup)
+- [Update](#schemareferences_update)
## SchemaVersions
@@ -109,12 +140,40 @@
- [ListByContext](#sitereferences_listbycontext)
- [Update](#sitereferences_update)
+## SolutionDeployments
+
+- [CreateOrUpdate](#solutiondeployments_createorupdate)
+- [Delete](#solutiondeployments_delete)
+- [GetByResourceGroup](#solutiondeployments_getbyresourcegroup)
+- [List](#solutiondeployments_list)
+- [ListByResourceGroup](#solutiondeployments_listbyresourcegroup)
+- [Update](#solutiondeployments_update)
+
+## SolutionMetadataVersions
+
+- [Get](#solutionmetadataversions_get)
+- [ListByParent](#solutionmetadataversions_listbyparent)
+
+## SolutionMetadatas
+
+- [Get](#solutionmetadatas_get)
+- [ListByParent](#solutionmetadatas_listbyparent)
+
+## SolutionSchemas
+
+- [Get](#solutionschemas_get)
+- [ListBySolutionTemplateVersion](#solutionschemas_listbysolutiontemplateversion)
+
## SolutionTemplateVersions
- [BulkDeploySolution](#solutiontemplateversions_bulkdeploysolution)
- [BulkPublishSolution](#solutiontemplateversions_bulkpublishsolution)
+- [BulkReviewSolution](#solutiontemplateversions_bulkreviewsolution)
+- [CreateOrUpdate](#solutiontemplateversions_createorupdate)
+- [Delete](#solutiontemplateversions_delete)
- [Get](#solutiontemplateversions_get)
- [ListBySolutionTemplate](#solutiontemplateversions_listbysolutiontemplate)
+- [Update](#solutiontemplateversions_update)
## SolutionTemplates
@@ -156,6 +215,7 @@
- [ResolveConfiguration](#targets_resolveconfiguration)
- [ReviewSolutionVersion](#targets_reviewsolutionversion)
- [UninstallSolution](#targets_uninstallsolution)
+- [UnstageSolutionVersion](#targets_unstagesolutionversion)
- [Update](#targets_update)
- [UpdateExternalValidationStatus](#targets_updateexternalvalidationstatus)
@@ -174,6 +234,253 @@
- [Get](#workflows_get)
- [ListByContext](#workflows_listbycontext)
- [Update](#workflows_update)
+### ConfigTemplateMetadatas_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataProperties;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyMetadata;
+import java.util.Arrays;
+
+/**
+ * Samples for ConfigTemplateMetadatas CreateOrUpdate.
+ */
+public final class ConfigTemplateMetadatasCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateMetadatas_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateMetadatas_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateMetadatasCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateMetadatas()
+ .define("abcde")
+ .withExistingConfigTemplate("rgconfigurationmanager", "abcde")
+ .withProperties(new ConfigTemplateMetadataProperties().withContextId(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/contexts/testContext")
+ .withLinkedHierarchies(Arrays.asList(new HierarchyMetadata().withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("shrxop")))
+ .withUnLinkedHierarchies(Arrays.asList(new HierarchyMetadata().withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("shrxop"))))
+ .create();
+ }
+}
+```
+
+### ConfigTemplateMetadatas_Delete
+
+```java
+/**
+ * Samples for ConfigTemplateMetadatas Delete.
+ */
+public final class ConfigTemplateMetadatasDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateMetadatas_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateMetadatas_Delete_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateMetadatasDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateMetadatas()
+ .delete("rgconfigurationmanager", "abcde", "abcde", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplateMetadatas_Get
+
+```java
+/**
+ * Samples for ConfigTemplateMetadatas Get.
+ */
+public final class ConfigTemplateMetadatasGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateMetadatas_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateMetadatas_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateMetadatasGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateMetadatas()
+ .getWithResponse("rgconfigurationmanager", "abcde", "abcde", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplateMetadatas_ListByConfigTemplate
+
+```java
+/**
+ * Samples for ConfigTemplateMetadatas ListByConfigTemplate.
+ */
+public final class ConfigTemplateMetadatasListByConfigTemplateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateMetadatas_ListByConfigTemplate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateMetadatas_ListByConfigTemplate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateMetadatasListByConfigTemplateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateMetadatas()
+ .listByConfigTemplate("rgconfigurationmanager", "abcde", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplateMetadatas_Update
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadata;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataUpdateProperties;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyMetadata;
+import java.util.Arrays;
+
+/**
+ * Samples for ConfigTemplateMetadatas Update.
+ */
+public final class ConfigTemplateMetadatasUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateMetadatas_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateMetadatas_Update_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateMetadatasUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ ConfigTemplateMetadata resource = manager.configTemplateMetadatas()
+ .getWithResponse("rgconfigurationmanager", "abcde", "abcde", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ConfigTemplateMetadataUpdateProperties().withContextId(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/contexts/testContext")
+ .withLinkedHierarchies(Arrays.asList(new HierarchyMetadata().withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("uwljjosdlhmyalhrvq")))
+ .withUnLinkedHierarchies(Arrays.asList(new HierarchyMetadata().withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("zuwwzwpeur"))))
+ .apply();
+ }
+}
+```
+
+### ConfigTemplateSchemas_Get
+
+```java
+/**
+ * Samples for ConfigTemplateSchemas Get.
+ */
+public final class ConfigTemplateSchemasGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateSchemas_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateSchemas_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateSchemasGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateSchemas()
+ .getWithResponse("rgconfigurationmanager", "testname", "1.0.0", "testname",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplateSchemas_ListByConfigTemplateVersion
+
+```java
+/**
+ * Samples for ConfigTemplateSchemas ListByConfigTemplateVersion.
+ */
+public final class ConfigTemplateSchemasListByConfigTemplateVersionSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateSchemas_ListByConfigTemplateVersion_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateSchemas_ListByConfigTemplateVersion_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateSchemasListByConfigTemplateVersionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateSchemas()
+ .listByConfigTemplateVersion("rgconfigurationmanager", "testname", "1.0.0",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplateVersions_CreateOrUpdate
+
+```java
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersionProperties;
+import java.nio.charset.StandardCharsets;
+
+/**
+ * Samples for ConfigTemplateVersions CreateOrUpdate.
+ */
+public final class ConfigTemplateVersionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateVersions_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateVersions()
+ .define("1.0.0")
+ .withExistingConfigTemplate("rgconfigurationmanager", "testname")
+ .withProperties(new ConfigTemplateVersionProperties()
+ .withConfigurations(BinaryData.fromBytes("zsapegdehodzmwjmwl".getBytes(StandardCharsets.UTF_8))))
+ .create();
+ }
+}
+```
+
+### ConfigTemplateVersions_Delete
+
+```java
+/**
+ * Samples for ConfigTemplateVersions Delete.
+ */
+public final class ConfigTemplateVersionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateVersions_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplateVersions()
+ .delete("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ConfigTemplateVersions_Get
```java
@@ -182,14 +489,14 @@
*/
public final class ConfigTemplateVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplateVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplateVersions_Get_MaximumSet.
+ * Sample code: ConfigTemplateVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplateVersionsGetMaximumSet(
+ public static void configTemplateVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplateVersions()
.getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
@@ -205,14 +512,14 @@ public final class ConfigTemplateVersionsGetSamples {
*/
public final class ConfigTemplateVersionsListByConfigTemplateSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplateVersions_ListByConfigTemplate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateVersions_ListByConfigTemplate_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplateVersions_ListByConfigTemplate_MaximumSet.
+ * Sample code: ConfigTemplateVersions_ListByConfigTemplate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplateVersionsListByConfigTemplateMaximumSet(
+ public static void configTemplateVersionsListByConfigTemplateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplateVersions()
.listByConfigTemplate("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
@@ -220,6 +527,39 @@ public final class ConfigTemplateVersionsListByConfigTemplateSamples {
}
```
+### ConfigTemplateVersions_Update
+
+```java
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersion;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersionProperties;
+import java.nio.charset.StandardCharsets;
+
+/**
+ * Samples for ConfigTemplateVersions Update.
+ */
+public final class ConfigTemplateVersionsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplateVersions_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplateVersions_Update_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplateVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ ConfigTemplateVersion resource = manager.configTemplateVersions()
+ .getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ConfigTemplateVersionProperties()
+ .withConfigurations(BinaryData.fromBytes("blmbay".getBytes(StandardCharsets.UTF_8))))
+ .apply();
+ }
+}
+```
+
### ConfigTemplates_CreateOrUpdate
```java
@@ -232,21 +572,21 @@ import java.util.Map;
*/
public final class ConfigTemplatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_CreateOrUpdate_MaximumSet.
+ * Sample code: ConfigTemplates_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesCreateOrUpdateMaximumSet(
+ public static void configTemplatesCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates()
.define("testname")
- .withRegion("egqjo")
+ .withRegion("lltpsbfqidpuumxvdnidshkdsx")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key6936", "fakeTokenPlaceholder"))
- .withProperties(new ConfigTemplateProperties().withDescription("ccdyggozwmhyvemlcwlsnhijwg"))
+ .withTags(mapOf())
+ .withProperties(new ConfigTemplateProperties().withDescription("fvklsykvqiyosqetvdnjg"))
.create();
}
@@ -267,31 +607,34 @@ public final class ConfigTemplatesCreateOrUpdateSamples {
### ConfigTemplates_CreateVersion
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionInner;
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionWithUpdateTypeInner;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersionProperties;
import com.azure.resourcemanager.workloadorchestration.models.UpdateType;
+import java.nio.charset.StandardCharsets;
/**
* Samples for ConfigTemplates CreateVersion.
*/
public final class ConfigTemplatesCreateVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_CreateVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_CreateVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_CreateVersion_MaximumSet.
+ * Sample code: ConfigTemplates_CreateVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesCreateVersionMaximumSet(
+ public static void configTemplatesCreateVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates()
.createVersion("rgconfigurationmanager", "testname",
new ConfigTemplateVersionWithUpdateTypeInner().withUpdateType(UpdateType.MAJOR)
.withVersion("1.0.0")
.withConfigTemplateVersion(new ConfigTemplateVersionInner()
- .withProperties(new ConfigTemplateVersionProperties().withConfigurations("rgricnhvcbqykc"))),
+ .withProperties(new ConfigTemplateVersionProperties().withConfigurations(
+ BinaryData.fromBytes("zsapegdehodzmwjmwl".getBytes(StandardCharsets.UTF_8))))),
com.azure.core.util.Context.NONE);
}
}
@@ -305,14 +648,14 @@ public final class ConfigTemplatesCreateVersionSamples {
*/
public final class ConfigTemplatesDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_Delete_MaximumSet.
+ * Sample code: ConfigTemplates_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesDeleteMaximumSet(
+ public static void configTemplatesDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates().delete("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -327,14 +670,14 @@ public final class ConfigTemplatesDeleteSamples {
*/
public final class ConfigTemplatesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_Get_MaximumSet.
+ * Sample code: ConfigTemplates_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesGetMaximumSet(
+ public static void configTemplatesGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
@@ -342,6 +685,36 @@ public final class ConfigTemplatesGetByResourceGroupSamples {
}
```
+### ConfigTemplates_LinkToHierarchies
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.HierarchySelector;
+import java.util.Arrays;
+
+/**
+ * Samples for ConfigTemplates LinkToHierarchies.
+ */
+public final class ConfigTemplatesLinkToHierarchiesSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_LinkToHierarchies_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplates_LinkToHierarchies_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplatesLinkToHierarchiesMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplates()
+ .linkToHierarchies("rgconfigurationmanager", "testname", new HierarchySelector().withContextId(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/context/test")
+ .withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("jwfyiatxaecbpounw"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### ConfigTemplates_List
```java
@@ -350,14 +723,27 @@ public final class ConfigTemplatesGetByResourceGroupSamples {
*/
public final class ConfigTemplatesListSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_ListBySubscription_MaximumSet.
+ * Sample code: ConfigTemplates_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesListBySubscriptionMaximumSet(
+ public static void configTemplatesListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplates().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplates_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplatesListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates().list(com.azure.core.util.Context.NONE);
}
@@ -372,14 +758,27 @@ public final class ConfigTemplatesListSamples {
*/
public final class ConfigTemplatesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_ListByResourceGroup_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplates_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplatesListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplates().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_ListByResourceGroup_MaximumSet.
+ * Sample code: ConfigTemplates_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesListByResourceGroupMaximumSet(
+ public static void configTemplatesListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -396,18 +795,48 @@ import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
*/
public final class ConfigTemplatesRemoveVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_RemoveVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_RemoveVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_RemoveVersion_MaximumSet.
+ * Sample code: ConfigTemplates_RemoveVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesRemoveVersionMaximumSet(
+ public static void configTemplatesRemoveVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.configTemplates()
.removeVersionWithResponse("rgconfigurationmanager", "testname",
- new VersionParameter().withVersion("ghtvdzgmzncaifrnuumg"), com.azure.core.util.Context.NONE);
+ new VersionParameter().withVersion("nipqereqmxeiv"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ConfigTemplates_UnLinkFromHierarchies
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.HierarchySelector;
+import java.util.Arrays;
+
+/**
+ * Samples for ConfigTemplates UnLinkFromHierarchies.
+ */
+public final class ConfigTemplatesUnLinkFromHierarchiesSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_UnLinkFromHierarchies_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: ConfigTemplates_UnLinkFromHierarchies_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void configTemplatesUnLinkFromHierarchiesMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.configTemplates()
+ .unLinkFromHierarchies("rgconfigurationmanager", "testname", new HierarchySelector().withContextId(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/context/test")
+ .withHierarchyIds(Arrays.asList(
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testname"))
+ .withLevel("jwfyiatxaecbpounw"), com.azure.core.util.Context.NONE);
}
}
```
@@ -416,7 +845,7 @@ public final class ConfigTemplatesRemoveVersionSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplate;
-import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateProperties;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateUpdateProperties;
import java.util.HashMap;
import java.util.Map;
@@ -425,21 +854,21 @@ import java.util.Map;
*/
public final class ConfigTemplatesUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/ConfigTemplates_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/ConfigTemplates_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: ConfigTemplates_Update_MaximumSet.
+ * Sample code: ConfigTemplates_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void configTemplatesUpdateMaximumSet(
+ public static void configTemplatesUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
ConfigTemplate resource = manager.configTemplates()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key7701", "fakeTokenPlaceholder"))
- .withProperties(new ConfigTemplateProperties().withDescription("cavjiqnrbzsvedicrixhwnfj"))
+ .withTags(mapOf())
+ .withProperties(new ConfigTemplateUpdateProperties().withDescription("acogkthm"))
.apply();
}
@@ -473,25 +902,24 @@ import java.util.Map;
*/
public final class ContextsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_CreateOrUpdate_MaximumSet.
+ * Sample code: Contexts_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void contextsCreateOrUpdateMaximumSet(
+ public static void contextsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.contexts()
.define("testname")
- .withRegion("pkquwbplcp")
+ .withRegion("ctfi")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key3046", "fakeTokenPlaceholder"))
+ .withTags(mapOf())
.withProperties(new ContextProperties()
- .withCapabilities(Arrays.asList(new Capability().withName("tpylinjcmlnycfpofpxjtqmt")
- .withDescription("banbenutsngwytoqh")
- .withState(ResourceState.ACTIVE)))
- .withHierarchies(Arrays.asList(new Hierarchy().withName("upqe").withDescription("vg"))))
+ .withCapabilities(Arrays.asList(
+ new Capability().withName("alufbbxccup").withDescription("sin").withState(ResourceState.ACTIVE)))
+ .withHierarchies(Arrays.asList(new Hierarchy().withName("fz").withDescription("eg"))))
.create();
}
@@ -517,15 +945,15 @@ public final class ContextsCreateOrUpdateSamples {
*/
public final class ContextsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_Delete_MaximumSet.
+ * Sample code: Contexts_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- contextsDeleteMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void contextsDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.contexts().delete("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
}
@@ -539,15 +967,15 @@ public final class ContextsDeleteSamples {
*/
public final class ContextsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_Get_MaximumSet.
+ * Sample code: Contexts_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- contextsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void contextsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.contexts()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -562,36 +990,62 @@ public final class ContextsGetByResourceGroupSamples {
*/
public final class ContextsListSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_ListBySubscription_MaximumSet.
+ * Sample code: Contexts_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void contextsListBySubscriptionMaximumSet(
+ public static void contextsListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.contexts().list(com.azure.core.util.Context.NONE);
}
-}
-```
-### Contexts_ListByResourceGroup
-
-```java
-/**
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Contexts_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: Contexts_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void contextsListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.contexts().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Contexts_ListByResourceGroup
+
+```java
+/**
* Samples for Contexts ListByResourceGroup.
*/
public final class ContextsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_ListByResourceGroup_MaximumSet.
+ * Sample code: Contexts_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void contextsListByResourceGroupMaximumSet(
+ public static void contextsListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.contexts().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Contexts_ListByResourceGroup_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: Contexts_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void contextsListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.contexts().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -603,7 +1057,7 @@ public final class ContextsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.Capability;
import com.azure.resourcemanager.workloadorchestration.models.ContextModel;
-import com.azure.resourcemanager.workloadorchestration.models.ContextProperties;
+import com.azure.resourcemanager.workloadorchestration.models.ContextUpdateProperties;
import com.azure.resourcemanager.workloadorchestration.models.Hierarchy;
import com.azure.resourcemanager.workloadorchestration.models.ResourceState;
import java.util.Arrays;
@@ -615,25 +1069,25 @@ import java.util.Map;
*/
public final class ContextsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Contexts_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Contexts_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Contexts_Update_MaximumSet.
+ * Sample code: Contexts_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- contextsUpdateMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void contextsUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
ContextModel resource = manager.contexts()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key9545", "fakeTokenPlaceholder"))
- .withProperties(new ContextProperties()
- .withCapabilities(Arrays.asList(new Capability().withName("tpylinjcmlnycfpofpxjtqmt")
- .withDescription("banbenutsngwytoqh")
+ .withTags(mapOf())
+ .withProperties(new ContextUpdateProperties()
+ .withCapabilities(Arrays.asList(new Capability().withName("alufbbxccup")
+ .withDescription("hnwcxjwfecxnwsqkoac")
.withState(ResourceState.ACTIVE)))
- .withHierarchies(Arrays.asList(new Hierarchy().withName("upqe").withDescription("vg"))))
+ .withHierarchies(Arrays.asList(new Hierarchy().withName("fz").withDescription("nlrpsglqgbdmwpantk"))))
.apply();
}
@@ -665,23 +1119,23 @@ import java.util.Map;
*/
public final class DiagnosticsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_CreateOrUpdate_MaximumSet.
+ * Sample code: Diagnostics_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void diagnosticsCreateOrUpdateMaximumSet(
+ public static void diagnosticsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.diagnostics()
.define("testname")
- .withRegion("ouwfvnokjvivmjzqpupwrbsmls")
+ .withRegion("xxriixfihzwn")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key4304", "fakeTokenPlaceholder"))
+ .withTags(mapOf())
.withProperties(new DiagnosticProperties())
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
@@ -707,14 +1161,14 @@ public final class DiagnosticsCreateOrUpdateSamples {
*/
public final class DiagnosticsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_Delete_MaximumSet.
+ * Sample code: Diagnostics_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void diagnosticsDeleteMaximumSet(
+ public static void diagnosticsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.diagnostics().delete("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -729,15 +1183,15 @@ public final class DiagnosticsDeleteSamples {
*/
public final class DiagnosticsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_Get_MaximumSet.
+ * Sample code: Diagnostics_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- diagnosticsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void diagnosticsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.diagnostics()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -752,14 +1206,27 @@ public final class DiagnosticsGetByResourceGroupSamples {
*/
public final class DiagnosticsListSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_ListBySubscription_MaximumSet.
+ * Sample code: Diagnostics_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void diagnosticsListBySubscriptionMaximumSet(
+ public static void diagnosticsListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.diagnostics().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: Diagnostics_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void diagnosticsListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.diagnostics().list(com.azure.core.util.Context.NONE);
}
@@ -774,14 +1241,27 @@ public final class DiagnosticsListSamples {
*/
public final class DiagnosticsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_ListByResourceGroup_MaximumSet.
+ * Sample code: Diagnostics_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void diagnosticsListByResourceGroupMaximumSet(
+ public static void diagnosticsListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.diagnostics().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_ListByResourceGroup_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Diagnostics_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void diagnosticsListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.diagnostics().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -792,7 +1272,7 @@ public final class DiagnosticsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.Diagnostic;
-import com.azure.resourcemanager.workloadorchestration.models.DiagnosticProperties;
+import com.azure.resourcemanager.workloadorchestration.models.DiagnosticUpdateProperties;
import java.util.HashMap;
import java.util.Map;
@@ -801,22 +1281,19 @@ import java.util.Map;
*/
public final class DiagnosticsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Diagnostics_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Diagnostics_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Diagnostics_Update_MaximumSet.
+ * Sample code: Diagnostics_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void diagnosticsUpdateMaximumSet(
+ public static void diagnosticsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Diagnostic resource = manager.diagnostics()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
- resource.update()
- .withTags(mapOf("key1922", "fakeTokenPlaceholder"))
- .withProperties(new DiagnosticProperties())
- .apply();
+ resource.update().withTags(mapOf()).withProperties(new DiagnosticUpdateProperties()).apply();
}
// Use "Map.of" if available
@@ -836,26 +1313,29 @@ public final class DiagnosticsUpdateSamples {
### DynamicSchemaVersions_CreateOrUpdate
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersionProperties;
+import java.nio.charset.StandardCharsets;
/**
* Samples for DynamicSchemaVersions CreateOrUpdate.
*/
public final class DynamicSchemaVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemaVersions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemaVersions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemaVersions_CreateOrUpdate_MaximumSet.
+ * Sample code: DynamicSchemaVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemaVersionsCreateOrUpdateMaximumSet(
+ public static void dynamicSchemaVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemaVersions()
.define("1.0.0")
.withExistingDynamicSchema("rgconfigurationmanager", "testname", "testname")
- .withProperties(new SchemaVersionProperties().withValue("uiaqdwsi"))
+ .withProperties(new SchemaVersionProperties()
+ .withValue(BinaryData.fromBytes("gjohcqdzm".getBytes(StandardCharsets.UTF_8))))
.create();
}
}
@@ -869,14 +1349,14 @@ public final class DynamicSchemaVersionsCreateOrUpdateSamples {
*/
public final class DynamicSchemaVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemaVersions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemaVersions_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemaVersions_Delete_MaximumSet.
+ * Sample code: DynamicSchemaVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemaVersionsDeleteMaximumSet(
+ public static void dynamicSchemaVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemaVersions()
.delete("rgconfigurationmanager", "testname", "testname", "1.0.0", com.azure.core.util.Context.NONE);
@@ -892,14 +1372,14 @@ public final class DynamicSchemaVersionsDeleteSamples {
*/
public final class DynamicSchemaVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemaVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemaVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemaVersions_Get_MaximumSet.
+ * Sample code: DynamicSchemaVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemaVersionsGetMaximumSet(
+ public static void dynamicSchemaVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemaVersions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "1.0.0",
@@ -916,14 +1396,14 @@ public final class DynamicSchemaVersionsGetSamples {
*/
public final class DynamicSchemaVersionsListByDynamicSchemaSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemaVersions_ListByDynamicSchema_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemaVersions_ListByDynamicSchema_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemaVersions_ListByDynamicSchema_MaximumSet.
+ * Sample code: DynamicSchemaVersions_ListByDynamicSchema_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemaVersionsListByDynamicSchemaMaximumSet(
+ public static void dynamicSchemaVersionsListByDynamicSchemaMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemaVersions()
.listByDynamicSchema("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -934,28 +1414,33 @@ public final class DynamicSchemaVersionsListByDynamicSchemaSamples {
### DynamicSchemaVersions_Update
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.models.DynamicSchemaVersion;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersionProperties;
+import java.nio.charset.StandardCharsets;
/**
* Samples for DynamicSchemaVersions Update.
*/
public final class DynamicSchemaVersionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemaVersions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemaVersions_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemaVersions_Update_MaximumSet.
+ * Sample code: DynamicSchemaVersions_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemaVersionsUpdateMaximumSet(
+ public static void dynamicSchemaVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
DynamicSchemaVersion resource = manager.dynamicSchemaVersions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "1.0.0",
com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new SchemaVersionProperties().withValue("muezi")).apply();
+ resource.update()
+ .withProperties(new SchemaVersionProperties()
+ .withValue(BinaryData.fromBytes("vmzzkntnuwfgemhnlogkglitm".getBytes(StandardCharsets.UTF_8))))
+ .apply();
}
}
```
@@ -970,14 +1455,14 @@ import com.azure.resourcemanager.workloadorchestration.models.DynamicSchemaPrope
*/
public final class DynamicSchemasCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemas_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemas_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemas_CreateOrUpdate_MaximumSet.
+ * Sample code: DynamicSchemas_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemasCreateOrUpdateMaximumSet(
+ public static void dynamicSchemasCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemas()
.define("testname")
@@ -996,14 +1481,14 @@ public final class DynamicSchemasCreateOrUpdateSamples {
*/
public final class DynamicSchemasDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemas_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemas_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemas_Delete_MaximumSet.
+ * Sample code: DynamicSchemas_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemasDeleteMaximumSet(
+ public static void dynamicSchemasDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemas()
.delete("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -1019,14 +1504,14 @@ public final class DynamicSchemasDeleteSamples {
*/
public final class DynamicSchemasGetSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemas_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemas_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemas_Get_MaximumSet.
+ * Sample code: DynamicSchemas_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemasGetMaximumSet(
+ public static void dynamicSchemasGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemas()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -1042,14 +1527,14 @@ public final class DynamicSchemasGetSamples {
*/
public final class DynamicSchemasListBySchemaSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemas_ListBySchema_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemas_ListBySchema_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemas_ListBySchema_MaximumSet.
+ * Sample code: DynamicSchemas_ListBySchema_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemasListBySchemaMaximumSet(
+ public static void dynamicSchemasListBySchemaMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.dynamicSchemas().listBySchema("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -1067,14 +1552,14 @@ import com.azure.resourcemanager.workloadorchestration.models.DynamicSchemaPrope
*/
public final class DynamicSchemasUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/DynamicSchemas_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/DynamicSchemas_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: DynamicSchemas_Update_MaximumSet.
+ * Sample code: DynamicSchemas_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void dynamicSchemasUpdateMaximumSet(
+ public static void dynamicSchemasUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
DynamicSchema resource = manager.dynamicSchemas()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE)
@@ -1098,7 +1583,7 @@ import java.util.Map;
*/
public final class ExecutionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Executions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Executions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
* Sample code: Executions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
@@ -1109,10 +1594,10 @@ public final class ExecutionsCreateOrUpdateSamples {
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.executions()
.define("abcde")
- .withExistingVersion("rgconfigurationmanager", "abcde", "abcde", "abcde")
- .withProperties(
- new ExecutionProperties().withWorkflowVersionId("souenlqwltljsojdcbpc").withSpecification(mapOf()))
- .withExtendedLocation(new ExtendedLocation().withName("ugf").withType(ExtendedLocationType.EDGE_ZONE))
+ .withExistingVersion("rgconfigurationmanager", "testname", "testname", "abcde")
+ .withProperties(new ExecutionProperties().withWorkflowVersionId("ga").withSpecification(mapOf()))
+ .withExtendedLocation(
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
@@ -1138,7 +1623,7 @@ public final class ExecutionsCreateOrUpdateSamples {
*/
public final class ExecutionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Executions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Executions_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Executions_Delete_MaximumSet - generated by [MaximumSet] rule.
@@ -1148,7 +1633,8 @@ public final class ExecutionsDeleteSamples {
public static void executionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.executions()
- .delete("rgconfigurationmanager", "abcde", "abcde", "abcde", "abcde", com.azure.core.util.Context.NONE);
+ .delete("rgconfigurationmanager", "testname", "testname", "abcde", "abcde",
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -1161,7 +1647,7 @@ public final class ExecutionsDeleteSamples {
*/
public final class ExecutionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/Executions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Executions_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Executions_Get_MaximumSet - generated by [MaximumSet] rule.
@@ -1171,7 +1657,7 @@ public final class ExecutionsGetSamples {
public static void executionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.executions()
- .getWithResponse("rgconfigurationmanager", "abcde", "abcde", "abcde", "abcde",
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", "abcde", "abcde",
com.azure.core.util.Context.NONE);
}
}
@@ -1185,7 +1671,7 @@ public final class ExecutionsGetSamples {
*/
public final class ExecutionsListByWorkflowVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/Executions_ListByWorkflowVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Executions_ListByWorkflowVersion_MaximumSet_Gen.json
*/
/**
* Sample code: Executions_ListByWorkflowVersion_MaximumSet - generated by [MaximumSet] rule.
@@ -1195,7 +1681,7 @@ public final class ExecutionsListByWorkflowVersionSamples {
public static void executionsListByWorkflowVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.executions()
- .listByWorkflowVersion("rgconfigurationmanager", "abcde", "abcde", "abcde",
+ .listByWorkflowVersion("rgconfigurationmanager", "testname", "testname", "abcde",
com.azure.core.util.Context.NONE);
}
}
@@ -1214,7 +1700,7 @@ import java.util.Map;
*/
public final class ExecutionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Executions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Executions_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Executions_Update_MaximumSet - generated by [MaximumSet] rule.
@@ -1224,12 +1710,11 @@ public final class ExecutionsUpdateSamples {
public static void executionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Execution resource = manager.executions()
- .getWithResponse("rgconfigurationmanager", "abcde", "abcde", "abcde", "abcde",
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", "abcde", "abcde",
com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withProperties(
- new ExecutionProperties().withWorkflowVersionId("xjsxzbfltzvbuvn").withSpecification(mapOf()))
+ .withProperties(new ExecutionProperties().withWorkflowVersionId("ihhcmejnkuto").withSpecification(mapOf()))
.apply();
}
@@ -1247,6 +1732,122 @@ public final class ExecutionsUpdateSamples {
}
```
+### HierarchyConfigurationMetadataVersions_Get
+
+```java
+/**
+ * Samples for HierarchyConfigurationMetadataVersions Get.
+ */
+public final class HierarchyConfigurationMetadataVersionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/HierarchyConfigurationMetadataVersions_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HierarchyConfigurationMetadataVersions_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void hierarchyConfigurationMetadataVersionsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.hierarchyConfigurationMetadataVersions()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "ct101", "1.0.0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### HierarchyConfigurationMetadataVersions_ListByParent
+
+```java
+/**
+ * Samples for HierarchyConfigurationMetadataVersions ListByParent.
+ */
+public final class HierarchyConfigurationMetadataVersionsListByParentSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/HierarchyConfigurationMetadataVersions_ListByParent_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HierarchyConfigurationMetadataVersions_ListByParent_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void hierarchyConfigurationMetadataVersionsListByParentMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.hierarchyConfigurationMetadataVersions()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "ct101", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### HierarchyConfigurationMetadatas_Get
+
+```java
+/**
+ * Samples for HierarchyConfigurationMetadatas Get.
+ */
+public final class HierarchyConfigurationMetadatasGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/HierarchyConfigurationMetadatas_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HierarchyConfigurationMetadatas_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void hierarchyConfigurationMetadatasGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.hierarchyConfigurationMetadatas()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "ct101", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### HierarchyConfigurationMetadatas_ListByParent
+
+```java
+/**
+ * Samples for HierarchyConfigurationMetadatas ListByParent.
+ */
+public final class HierarchyConfigurationMetadatasListByParentSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/HierarchyConfigurationMetadatas_ListByParent_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HierarchyConfigurationMetadatas_ListByParent_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void hierarchyConfigurationMetadatasListByParentMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.hierarchyConfigurationMetadatas()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/HierarchyConfigurationMetadatas_ListByParent_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HierarchyConfigurationMetadatas_ListByParent_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void hierarchyConfigurationMetadatasListByParentMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.hierarchyConfigurationMetadatas()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### InstanceHistories_Get
```java
@@ -1255,14 +1856,14 @@ public final class ExecutionsUpdateSamples {
*/
public final class InstanceHistoriesGetSamples {
/*
- * x-ms-original-file: 2025-06-01/InstanceHistories_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/InstanceHistories_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: InstanceHistories_Get_MaximumSet.
+ * Sample code: InstanceHistories_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instanceHistoriesGetMaximumSet(
+ public static void instanceHistoriesGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instanceHistories()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "testname", "testname",
@@ -1279,14 +1880,14 @@ public final class InstanceHistoriesGetSamples {
*/
public final class InstanceHistoriesListByInstanceSamples {
/*
- * x-ms-original-file: 2025-06-01/InstanceHistories_ListByInstance_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/InstanceHistories_ListByInstance_MaximumSet_Gen.json
*/
/**
- * Sample code: InstanceHistories_ListByInstance_MaximumSet.
+ * Sample code: InstanceHistories_ListByInstance_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instanceHistoriesListByInstanceMaximumSet(
+ public static void instanceHistoriesListByInstanceMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instanceHistories()
.listByInstance("rgconfigurationmanager", "testname", "testname", "testname",
@@ -1310,26 +1911,26 @@ import com.azure.resourcemanager.workloadorchestration.models.ReconciliationStat
*/
public final class InstancesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Instances_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Instances_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Instances_CreateOrUpdate_MaximumSet.
+ * Sample code: Instances_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instancesCreateOrUpdateMaximumSet(
+ public static void instancesCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instances()
.define("testname")
.withExistingSolution("rgconfigurationmanager", "testname", "testname")
- .withProperties(new InstanceProperties().withSolutionVersionId("acpddbkfclsgxg")
- .withTargetId("eguutiftuxrsavvckjrv")
+ .withProperties(new InstanceProperties().withSolutionVersionId("nrufwrrlslbu")
+ .withTargetId("cxhzexpvtx")
.withActiveState(ActiveState.ACTIVE)
.withReconciliationPolicy(new ReconciliationPolicyProperties().withState(ReconciliationState.INACTIVE)
- .withInterval("szucgzdbydcowvhprhx"))
+ .withInterval("sefmajhesdas"))
.withSolutionScope("testname"))
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
}
@@ -1343,14 +1944,14 @@ public final class InstancesCreateOrUpdateSamples {
*/
public final class InstancesDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Instances_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Instances_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Instances_Delete_MaximumSet.
+ * Sample code: Instances_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instancesDeleteMaximumSet(
+ public static void instancesDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instances()
.delete("rgconfigurationmanager", "testname", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -1366,15 +1967,15 @@ public final class InstancesDeleteSamples {
*/
public final class InstancesGetSamples {
/*
- * x-ms-original-file: 2025-06-01/Instances_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Instances_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Instances_Get_MaximumSet.
+ * Sample code: Instances_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- instancesGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void instancesGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instances()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
com.azure.core.util.Context.NONE);
@@ -1390,14 +1991,14 @@ public final class InstancesGetSamples {
*/
public final class InstancesListBySolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/Instances_ListBySolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Instances_ListBySolution_MaximumSet_Gen.json
*/
/**
- * Sample code: Instances_ListBySolution_MaximumSet.
+ * Sample code: Instances_ListBySolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instancesListBySolutionMaximumSet(
+ public static void instancesListBySolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.instances()
.listBySolution("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -1419,25 +2020,25 @@ import com.azure.resourcemanager.workloadorchestration.models.ReconciliationStat
*/
public final class InstancesUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Instances_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Instances_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Instances_Update_MaximumSet.
+ * Sample code: Instances_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void instancesUpdateMaximumSet(
+ public static void instancesUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Instance resource = manager.instances()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withProperties(new InstanceProperties().withSolutionVersionId("vrpzlamkvanqibtjarpxit")
- .withTargetId("tqkdvc")
+ .withProperties(new InstanceProperties().withSolutionVersionId("ttjgk")
+ .withTargetId("bebahvhrwsnxkxlignvhxivicdyzvc")
.withActiveState(ActiveState.ACTIVE)
.withReconciliationPolicy(new ReconciliationPolicyProperties().withState(ReconciliationState.INACTIVE)
- .withInterval("cmzlrjwnlshnkgv"))
+ .withInterval("otpsmjex"))
.withSolutionScope("testname"))
.apply();
}
@@ -1452,16 +2053,19 @@ public final class InstancesUpdateSamples {
*/
public final class JobsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/Jobs_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Jobs_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Jobs_Get_MaximumSet.
+ * Sample code: Jobs_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- jobsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.jobs().getWithResponse("gt", "jobsName", com.azure.core.util.Context.NONE);
+ public static void jobsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.jobs()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "jobsName", com.azure.core.util.Context.NONE);
}
}
```
@@ -1474,16 +2078,89 @@ public final class JobsGetSamples {
*/
public final class JobsListByTargetSamples {
/*
- * x-ms-original-file: 2025-06-01/Jobs_ListByTarget_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Jobs_ListByTarget_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: Jobs_ListByTarget_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void jobsListByTargetMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.jobs()
+ .listByTarget(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Jobs_ListByTarget_MaximumSet_Gen.json
*/
/**
- * Sample code: Jobs_ListByTarget_MaximumSet.
+ * Sample code: Jobs_ListByTarget_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void jobsListByTargetMaximumSet(
+ public static void jobsListByTargetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.jobs().listByTarget("gt", com.azure.core.util.Context.NONE);
+ manager.jobs()
+ .listByTarget(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SchemaReferences_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SchemaReferenceProperties;
+
+/**
+ * Samples for SchemaReferences CreateOrUpdate.
+ */
+public final class SchemaReferencesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SchemaReferences_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemaReferencesCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.schemaReferences()
+ .define("default")
+ .withExistingResourceUri(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget")
+ .withProperties(new SchemaReferenceProperties().withSchemaId("fpztlfnz"))
+ .create();
+ }
+}
+```
+
+### SchemaReferences_Delete
+
+```java
+/**
+ * Samples for SchemaReferences Delete.
+ */
+public final class SchemaReferencesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SchemaReferences_Delete_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemaReferencesDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.schemaReferences()
+ .delete(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "default", com.azure.core.util.Context.NONE);
}
}
```
@@ -1496,16 +2173,19 @@ public final class JobsListByTargetSamples {
*/
public final class SchemaReferencesGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaReferences_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaReferences_Get_MaximumSet.
+ * Sample code: SchemaReferences_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaReferencesGetMaximumSet(
+ public static void schemaReferencesGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.schemaReferences().getWithResponse("jdvtghygpz", "testname", com.azure.core.util.Context.NONE);
+ manager.schemaReferences()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "default", com.azure.core.util.Context.NONE);
}
}
```
@@ -1518,16 +2198,66 @@ public final class SchemaReferencesGetSamples {
*/
public final class SchemaReferencesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaReferences_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaReferences_ListByResourceGroup_MaximumSet.
+ * Sample code: SchemaReferences_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaReferencesListByResourceGroupMaximumSet(
+ public static void schemaReferencesListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.schemaReferences().listByResourceGroup("jdvtghygpz", com.azure.core.util.Context.NONE);
+ manager.schemaReferences()
+ .listByResourceGroup(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_ListByResourceGroup_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: SchemaReferences_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule - generated by
+ * [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemaReferencesListByResourceGroupMaximumSetGeneratedByMaximumSetRuleGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.schemaReferences()
+ .listByResourceGroup(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SchemaReferences_Update
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SchemaReference;
+import com.azure.resourcemanager.workloadorchestration.models.SchemaReferenceProperties;
+
+/**
+ * Samples for SchemaReferences Update.
+ */
+public final class SchemaReferencesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SchemaReferences_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SchemaReferences_Update_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemaReferencesUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ SchemaReference resource = manager.schemaReferences()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "default", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withProperties(new SchemaReferenceProperties().withSchemaId("uqhgbbzeyuwjdqnvfmntj")).apply();
}
}
```
@@ -1535,26 +2265,29 @@ public final class SchemaReferencesListByResourceGroupSamples {
### SchemaVersions_CreateOrUpdate
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersionProperties;
+import java.nio.charset.StandardCharsets;
/**
* Samples for SchemaVersions CreateOrUpdate.
*/
public final class SchemaVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaVersions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaVersions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaVersions_CreateOrUpdate_MaximumSet.
+ * Sample code: SchemaVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaVersionsCreateOrUpdateMaximumSet(
+ public static void schemaVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemaVersions()
.define("1.0.0")
.withExistingSchema("rgconfigurationmanager", "testname")
- .withProperties(new SchemaVersionProperties().withValue("uiaqdwsi"))
+ .withProperties(new SchemaVersionProperties()
+ .withValue(BinaryData.fromBytes("gjohcqdzm".getBytes(StandardCharsets.UTF_8))))
.create();
}
}
@@ -1568,14 +2301,14 @@ public final class SchemaVersionsCreateOrUpdateSamples {
*/
public final class SchemaVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaVersions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaVersions_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaVersions_Delete_MaximumSet.
+ * Sample code: SchemaVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaVersionsDeleteMaximumSet(
+ public static void schemaVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemaVersions()
.delete("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
@@ -1591,14 +2324,14 @@ public final class SchemaVersionsDeleteSamples {
*/
public final class SchemaVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaVersions_Get_MaximumSet.
+ * Sample code: SchemaVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaVersionsGetMaximumSet(
+ public static void schemaVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemaVersions()
.getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
@@ -1614,14 +2347,14 @@ public final class SchemaVersionsGetSamples {
*/
public final class SchemaVersionsListBySchemaSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaVersions_ListBySchema_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaVersions_ListBySchema_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaVersions_ListBySchema_MaximumSet.
+ * Sample code: SchemaVersions_ListBySchema_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaVersionsListBySchemaMaximumSet(
+ public static void schemaVersionsListBySchemaMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemaVersions().listBySchema("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -1631,27 +2364,32 @@ public final class SchemaVersionsListBySchemaSamples {
### SchemaVersions_Update
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersion;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersionProperties;
+import java.nio.charset.StandardCharsets;
/**
* Samples for SchemaVersions Update.
*/
public final class SchemaVersionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SchemaVersions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SchemaVersions_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: SchemaVersions_Update_MaximumSet.
+ * Sample code: SchemaVersions_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemaVersionsUpdateMaximumSet(
+ public static void schemaVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
SchemaVersion resource = manager.schemaVersions()
.getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new SchemaVersionProperties().withValue("muezi")).apply();
+ resource.update()
+ .withProperties(new SchemaVersionProperties()
+ .withValue(BinaryData.fromBytes("vmzzkntnuwfgemhnlogkglitm".getBytes(StandardCharsets.UTF_8))))
+ .apply();
}
}
```
@@ -1668,20 +2406,20 @@ import java.util.Map;
*/
public final class SchemasCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_CreateOrUpdate_MaximumSet.
+ * Sample code: Schemas_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemasCreateOrUpdateMaximumSet(
+ public static void schemasCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas()
.define("testname")
- .withRegion("alvi")
+ .withRegion("shekiqtymhvonnlimmgsamnkcwjp")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key7017", "fakeTokenPlaceholder"))
+ .withTags(mapOf())
.withProperties(new SchemaProperties())
.create();
}
@@ -1703,31 +2441,33 @@ public final class SchemasCreateOrUpdateSamples {
### Schemas_CreateVersion
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.fluent.models.SchemaVersionInner;
import com.azure.resourcemanager.workloadorchestration.fluent.models.SchemaVersionWithUpdateTypeInner;
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersionProperties;
import com.azure.resourcemanager.workloadorchestration.models.UpdateType;
+import java.nio.charset.StandardCharsets;
/**
* Samples for Schemas CreateVersion.
*/
public final class SchemasCreateVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_CreateVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_CreateVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_CreateVersion_MaximumSet.
+ * Sample code: Schemas_CreateVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemasCreateVersionMaximumSet(
+ public static void schemasCreateVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas()
.createVersion("rgconfigurationmanager", "testname",
new SchemaVersionWithUpdateTypeInner().withUpdateType(UpdateType.MAJOR)
.withVersion("1.0.0")
- .withSchemaVersion(
- new SchemaVersionInner().withProperties(new SchemaVersionProperties().withValue("uiaqdwsi"))),
+ .withSchemaVersion(new SchemaVersionInner().withProperties(new SchemaVersionProperties()
+ .withValue(BinaryData.fromBytes("gjohcqdzm".getBytes(StandardCharsets.UTF_8))))),
com.azure.core.util.Context.NONE);
}
}
@@ -1741,15 +2481,15 @@ public final class SchemasCreateVersionSamples {
*/
public final class SchemasDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_Delete_MaximumSet.
+ * Sample code: Schemas_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- schemasDeleteMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void schemasDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas().delete("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
}
@@ -1763,15 +2503,15 @@ public final class SchemasDeleteSamples {
*/
public final class SchemasGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_Get_MaximumSet.
+ * Sample code: Schemas_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- schemasGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void schemasGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -1786,14 +2526,27 @@ public final class SchemasGetByResourceGroupSamples {
*/
public final class SchemasListSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_ListBySubscription_MinimumSet_Gen.json
*/
/**
- * Sample code: Schemas_ListBySubscription_MaximumSet.
+ * Sample code: Schemas_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemasListBySubscriptionMaximumSet(
+ public static void schemasListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.schemas().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Schemas_ListBySubscription_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Schemas_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemasListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas().list(com.azure.core.util.Context.NONE);
}
@@ -1808,14 +2561,27 @@ public final class SchemasListSamples {
*/
public final class SchemasListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
- * Sample code: Schemas_ListByResourceGroup_MaximumSet.
+ * Sample code: Schemas_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemasListByResourceGroupMaximumSet(
+ public static void schemasListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.schemas().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Schemas_ListByResourceGroup_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Schemas_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void schemasListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -1832,18 +2598,18 @@ import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
*/
public final class SchemasRemoveVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_RemoveVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_RemoveVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_RemoveVersion_MaximumSet.
+ * Sample code: Schemas_RemoveVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void schemasRemoveVersionMaximumSet(
+ public static void schemasRemoveVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.schemas()
.removeVersionWithResponse("rgconfigurationmanager", "testname",
- new VersionParameter().withVersion("ghtvdzgmzncaifrnuumg"), com.azure.core.util.Context.NONE);
+ new VersionParameter().withVersion("nipqereqmxeiv"), com.azure.core.util.Context.NONE);
}
}
```
@@ -1852,7 +2618,7 @@ public final class SchemasRemoveVersionSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.Schema;
-import com.azure.resourcemanager.workloadorchestration.models.SchemaProperties;
+import com.azure.resourcemanager.workloadorchestration.models.SchemaUpdateProperties;
import java.util.HashMap;
import java.util.Map;
@@ -1861,21 +2627,343 @@ import java.util.Map;
*/
public final class SchemasUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Schemas_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Schemas_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Schemas_Update_MaximumSet.
+ * Sample code: Schemas_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- schemasUpdateMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void schemasUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Schema resource = manager.schemas()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
+ resource.update().withTags(mapOf()).withProperties(new SchemaUpdateProperties()).apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### SiteReferences_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SiteReferenceProperties;
+
+/**
+ * Samples for SiteReferences CreateOrUpdate.
+ */
+public final class SiteReferencesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SiteReferences_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SiteReferences_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void siteReferencesCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.siteReferences()
+ .define("testname")
+ .withExistingContext("rgconfigurationmanager", "testname")
+ .withProperties(new SiteReferenceProperties().withSiteId("gaehctrehvyhasstg"))
+ .create();
+ }
+}
+```
+
+### SiteReferences_Delete
+
+```java
+/**
+ * Samples for SiteReferences Delete.
+ */
+public final class SiteReferencesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SiteReferences_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SiteReferences_Delete_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void siteReferencesDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.siteReferences()
+ .delete("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SiteReferences_Get
+
+```java
+/**
+ * Samples for SiteReferences Get.
+ */
+public final class SiteReferencesGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SiteReferences_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SiteReferences_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void siteReferencesGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.siteReferences()
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SiteReferences_ListByContext
+
+```java
+/**
+ * Samples for SiteReferences ListByContext.
+ */
+public final class SiteReferencesListByContextSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SiteReferences_ListByContext_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SiteReferences_ListByContext_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void siteReferencesListByContextMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.siteReferences().listByContext("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SiteReferences_Update
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SiteReference;
+import com.azure.resourcemanager.workloadorchestration.models.SiteReferenceProperties;
+
+/**
+ * Samples for SiteReferences Update.
+ */
+public final class SiteReferencesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SiteReferences_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SiteReferences_Update_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void siteReferencesUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ SiteReference resource = manager.siteReferences()
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withProperties(new SiteReferenceProperties().withSiteId("cifefexczjlpyn")).apply();
+ }
+}
+```
+
+### SolutionDeployments_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeploymentProperties;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateMetadata;
+import com.azure.resourcemanager.workloadorchestration.models.TargetMetadata;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for SolutionDeployments CreateOrUpdate.
+ */
+public final class SolutionDeploymentsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_CreateOrUpdate_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsCreateOrUpdateMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionDeployments()
+ .define("nhlqmzheqzagkdztldtqj")
+ .withRegion("igudkwioxbauvezpqnxfpzihalxw")
+ .withExistingResourceGroup("rgconfigurationmanager")
+ .withTags(mapOf("key3698", "fakeTokenPlaceholder"))
+ .withProperties(new SolutionDeploymentProperties()
+ .withSolutionTemplateProperties(new SolutionTemplateMetadata().withSubscriptionId("drkshbgxfn")
+ .withResourceGroupName("buqhpshsfrejqxsuurhwaim")
+ .withName("tbldbhhnetgrzp")
+ .withVersion("bamks"))
+ .withInput(mapOf())
+ .withTargetProperties(new TargetMetadata().withCapabilities(Arrays.asList("ruaslqqdcjxbajpkutaxlkhifw"))
+ .withTargetIds(Arrays.asList())))
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### SolutionDeployments_Delete
+
+```java
+/**
+ * Samples for SolutionDeployments Delete.
+ */
+public final class SolutionDeploymentsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_Delete_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsDeleteMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionDeployments().delete("rgconfigurationmanager", "abcdef", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionDeployments_GetByResourceGroup
+
+```java
+/**
+ * Samples for SolutionDeployments GetByResourceGroup.
+ */
+public final class SolutionDeploymentsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_Get_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsGetMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionDeployments()
+ .getByResourceGroupWithResponse("rgconfigurationmanager", "nhlqmzheqzagkdztldtqj",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionDeployments_List
+
+```java
+/**
+ * Samples for SolutionDeployments List.
+ */
+public final class SolutionDeploymentsListSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_ListBySubscription_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_ListBySubscription_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsListBySubscriptionMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionDeployments().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionDeployments_ListByResourceGroup
+
+```java
+/**
+ * Samples for SolutionDeployments ListByResourceGroup.
+ */
+public final class SolutionDeploymentsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_ListByResourceGroup_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_ListByResourceGroup_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsListByResourceGroupMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionDeployments().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionDeployments_Update
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeployment;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeploymentUpdateProperties;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateMetadataUpdate;
+import com.azure.resourcemanager.workloadorchestration.models.TargetMetadata;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for SolutionDeployments Update.
+ */
+public final class SolutionDeploymentsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionDeployments_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionDeployments_Update_MaximumSet.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionDeploymentsUpdateMaximumSet(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ SolutionDeployment resource = manager.solutionDeployments()
+ .getByResourceGroupWithResponse("rgconfigurationmanager", "nhlqmzheqzagkdztldtqj",
+ com.azure.core.util.Context.NONE)
+ .getValue();
resource.update()
- .withTags(mapOf("key6760", "fakeTokenPlaceholder"))
- .withProperties(new SchemaProperties())
+ .withTags(mapOf("key3704", "fakeTokenPlaceholder"))
+ .withProperties(new SolutionDeploymentUpdateProperties()
+ .withSolutionTemplateProperties(
+ new SolutionTemplateMetadataUpdate().withSubscriptionId("mqntqdolbjerkxxhieczxkxp")
+ .withResourceGroupName("gjihxpgiogcnvhgo")
+ .withName("zzfltgjkeptkaxaobzhao")
+ .withVersion("ptsxmabzqnqqlaxbsgubiia"))
+ .withInput(mapOf())
+ .withTargetProperties(new TargetMetadata().withCapabilities(Arrays.asList("ruaslqqdcjxbajpkutaxlkhifw"))
+ .withTargetIds(Arrays.asList())))
.apply();
}
@@ -1893,126 +2981,166 @@ public final class SchemasUpdateSamples {
}
```
-### SiteReferences_CreateOrUpdate
+### SolutionMetadataVersions_Get
+
+```java
+/**
+ * Samples for SolutionMetadataVersions Get.
+ */
+public final class SolutionMetadataVersionsGetSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionMetadataVersions_Get_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionMetadataVersions_Get_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionMetadataVersionsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionMetadataVersions()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "metadataSampleName", "1.0.0", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionMetadataVersions_ListByParent
```java
-import com.azure.resourcemanager.workloadorchestration.models.SiteReferenceProperties;
-
/**
- * Samples for SiteReferences CreateOrUpdate.
+ * Samples for SolutionMetadataVersions ListByParent.
*/
-public final class SiteReferencesCreateOrUpdateSamples {
+public final class SolutionMetadataVersionsListByParentSamples {
/*
- * x-ms-original-file: 2025-06-01/SiteReferences_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionMetadataVersions_ListByParent_MaximumSet_Gen.json
*/
/**
- * Sample code: SiteReferences_CreateOrUpdate_MaximumSet.
+ * Sample code: SolutionMetadataVersions_ListByParent_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void siteReferencesCreateOrUpdateMaximumSet(
+ public static void solutionMetadataVersionsListByParentMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.siteReferences()
- .define("testname")
- .withExistingContext("rgconfigurationmanager", "testname")
- .withProperties(new SiteReferenceProperties().withSiteId("xxjpxdcaumewwgpbwzkcrgrcw"))
- .create();
+ manager.solutionMetadataVersions()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "metadataSampleName", com.azure.core.util.Context.NONE);
}
}
```
-### SiteReferences_Delete
+### SolutionMetadatas_Get
```java
/**
- * Samples for SiteReferences Delete.
+ * Samples for SolutionMetadatas Get.
*/
-public final class SiteReferencesDeleteSamples {
+public final class SolutionMetadatasGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SiteReferences_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionMetadatas_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SiteReferences_Delete_MaximumSet.
+ * Sample code: SolutionMetadatas_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void siteReferencesDeleteMaximumSet(
+ public static void solutionMetadatasGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.siteReferences()
- .delete("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
+ manager.solutionMetadatas()
+ .getWithResponse(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ "metadataSampleName", com.azure.core.util.Context.NONE);
}
}
```
-### SiteReferences_Get
+### SolutionMetadatas_ListByParent
```java
/**
- * Samples for SiteReferences Get.
+ * Samples for SolutionMetadatas ListByParent.
*/
-public final class SiteReferencesGetSamples {
+public final class SolutionMetadatasListByParentSamples {
/*
- * x-ms-original-file: 2025-06-01/SiteReferences_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionMetadatas_ListByParent_MinimumSet_Gen.json
*/
/**
- * Sample code: SiteReferences_Get_MaximumSet.
+ * Sample code: SolutionMetadatas_ListByParent_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void siteReferencesGetMaximumSet(
+ public static void solutionMetadatasListByParentMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.siteReferences()
- .getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
+ manager.solutionMetadatas()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionMetadatas_ListByParent_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionMetadatas_ListByParent_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionMetadatasListByParentMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionMetadatas()
+ .listByParent(
+ "subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget",
+ com.azure.core.util.Context.NONE);
}
}
```
-### SiteReferences_ListByContext
+### SolutionSchemas_Get
```java
/**
- * Samples for SiteReferences ListByContext.
+ * Samples for SolutionSchemas Get.
*/
-public final class SiteReferencesListByContextSamples {
+public final class SolutionSchemasGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SiteReferences_ListByContext_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionSchemas_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SiteReferences_ListByContext_MaximumSet.
+ * Sample code: SolutionSchemas_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void siteReferencesListByContextMaximumSet(
+ public static void solutionSchemasGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- manager.siteReferences().listByContext("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
+ manager.solutionSchemas()
+ .getWithResponse("rgconfigurationmanager", "testname", "1.0.0", "testname",
+ com.azure.core.util.Context.NONE);
}
}
```
-### SiteReferences_Update
+### SolutionSchemas_ListBySolutionTemplateVersion
```java
-import com.azure.resourcemanager.workloadorchestration.models.SiteReference;
-import com.azure.resourcemanager.workloadorchestration.models.SiteReferenceProperties;
-
/**
- * Samples for SiteReferences Update.
+ * Samples for SolutionSchemas ListBySolutionTemplateVersion.
*/
-public final class SiteReferencesUpdateSamples {
+public final class SolutionSchemasListBySolutionTemplateVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/SiteReferences_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionSchemas_ListBySolutionTemplateVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: SiteReferences_Update_MaximumSet.
+ * Sample code: SolutionSchemas_ListBySolutionTemplateVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void siteReferencesUpdateMaximumSet(
+ public static void solutionSchemasListBySolutionTemplateVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
- SiteReference resource = manager.siteReferences()
- .getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().withProperties(new SiteReferenceProperties().withSiteId("nwiuyaro")).apply();
+ manager.solutionSchemas()
+ .listBySolutionTemplateVersion("rgconfigurationmanager", "testname", "1.0.0",
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -2029,14 +3157,14 @@ import java.util.Arrays;
*/
public final class SolutionTemplateVersionsBulkDeploySolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplateVersions_BulkDeploySolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_BulkDeploySolution_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplateVersions_BulkDeploySolution_MaximumSet.
+ * Sample code: SolutionTemplateVersions_BulkDeploySolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplateVersionsBulkDeploySolutionMaximumSet(
+ public static void solutionTemplateVersionsBulkDeploySolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplateVersions()
.bulkDeploySolution("rgconfigurationmanager", "testname", "1.0.0", new BulkDeploySolutionParameter()
@@ -2060,31 +3188,166 @@ import java.util.Arrays;
*/
public final class SolutionTemplateVersionsBulkPublishSolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplateVersions_BulkPublishSolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_BulkPublishSolution_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplateVersions_BulkPublishSolution_MaximumSet.
+ * Sample code: SolutionTemplateVersions_BulkPublishSolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplateVersionsBulkPublishSolutionMaximumSet(
+ public static void solutionTemplateVersionsBulkPublishSolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplateVersions()
.bulkPublishSolution("rgconfigurationmanager", "testname", "1.0.0", new BulkPublishSolutionParameter()
.withTargets(Arrays.asList(new BulkPublishTargetDetails().withTargetId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
- .withSolutionInstanceName("test-instance")))
- .withSolutionInstanceName("test-instance")
+ .withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1")
+ .withSolutionTemplateId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionTemplateVersion("bwji")
+ .withSolutionInstanceName("testname")
+ .withTargetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
+ .withDependencies(Arrays.asList())))
+ .withSolutionInstanceName("testname")
+ .withSolutionVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1")
+ .withSolutionConfiguration("mxnhusmdpoxqmbujrudeildj")))
+ .withSolutionInstanceName("testname")
.withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1")
.withSolutionTemplateId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
- .withSolutionTemplateVersion("1.0.0")
- .withSolutionInstanceName("test-instance")
+ .withSolutionTemplateVersion("bwji")
+ .withSolutionInstanceName("testname")
.withTargetId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
- .withDependencies(Arrays.asList()))),
- com.azure.core.util.Context.NONE);
+ .withDependencies(Arrays.asList())))
+ .withSolutionConfiguration("tkkfcy"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionTemplateVersions_BulkReviewSolution
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.BulkReviewSolutionParameter;
+import com.azure.resourcemanager.workloadorchestration.models.BulkReviewTargetDetails;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDependencyParameter;
+import java.util.Arrays;
+
+/**
+ * Samples for SolutionTemplateVersions BulkReviewSolution.
+ */
+public final class SolutionTemplateVersionsBulkReviewSolutionSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_BulkReviewSolution_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplateVersions_BulkReviewSolution_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplateVersionsBulkReviewSolutionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionTemplateVersions()
+ .bulkReviewSolution("rgconfigurationmanager", "testname", "1.0.0", new BulkReviewSolutionParameter()
+ .withTargets(Arrays.asList(new BulkReviewTargetDetails().withTargetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
+ .withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1")
+ .withSolutionTemplateId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionTemplateVersion("bwji")
+ .withSolutionInstanceName("testname")
+ .withTargetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
+ .withDependencies(Arrays.asList())))
+ .withSolutionInstanceName("testname")
+ .withSolutionConfiguration("hizjdicxgebxdoxvplltbemeg")))
+ .withSolutionInstanceName("testname")
+ .withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1")
+ .withSolutionTemplateId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionTemplateVersion("bwji")
+ .withSolutionInstanceName("testname")
+ .withTargetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target")
+ .withDependencies(Arrays.asList())))
+ .withSolutionConfiguration("jrmogjyqtgidoxbvbztkz"), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SolutionTemplateVersions_CreateOrUpdate
+
+```java
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.workloadorchestration.models.OrchestratorType;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateVersionProperties;
+import java.nio.charset.StandardCharsets;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for SolutionTemplateVersions CreateOrUpdate.
+ */
+public final class SolutionTemplateVersionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_CreateOrUpdate_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplateVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplateVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionTemplateVersions()
+ .define("1.0.0")
+ .withExistingSolutionTemplate("rgconfigurationmanager", "testname")
+ .withProperties(new SolutionTemplateVersionProperties()
+ .withConfigurations(BinaryData.fromBytes("zprhmcyzk".getBytes(StandardCharsets.UTF_8)))
+ .withSpecification(mapOf())
+ .withOrchestratorType(OrchestratorType.TO))
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### SolutionTemplateVersions_Delete
+
+```java
+/**
+ * Samples for SolutionTemplateVersions Delete.
+ */
+public final class SolutionTemplateVersionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplateVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplateVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionTemplateVersions()
+ .delete("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
}
}
```
@@ -2097,14 +3360,14 @@ public final class SolutionTemplateVersionsBulkPublishSolutionSamples {
*/
public final class SolutionTemplateVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplateVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplateVersions_Get_MaximumSet.
+ * Sample code: SolutionTemplateVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplateVersionsGetMaximumSet(
+ public static void solutionTemplateVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplateVersions()
.getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE);
@@ -2120,14 +3383,14 @@ public final class SolutionTemplateVersionsGetSamples {
*/
public final class SolutionTemplateVersionsListBySolutionTemplateSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplateVersions_ListBySolutionTemplate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_ListBySolutionTemplate_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplateVersions_ListBySolutionTemplate_MaximumSet.
+ * Sample code: SolutionTemplateVersions_ListBySolutionTemplate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplateVersionsListBySolutionTemplateMaximumSet(
+ public static void solutionTemplateVersionsListBySolutionTemplateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplateVersions()
.listBySolutionTemplate("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
@@ -2135,6 +3398,56 @@ public final class SolutionTemplateVersionsListBySolutionTemplateSamples {
}
```
+### SolutionTemplateVersions_Update
+
+```java
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.workloadorchestration.models.OrchestratorType;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateVersion;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateVersionProperties;
+import java.nio.charset.StandardCharsets;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for SolutionTemplateVersions Update.
+ */
+public final class SolutionTemplateVersionsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplateVersions_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplateVersions_Update_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplateVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ SolutionTemplateVersion resource = manager.solutionTemplateVersions()
+ .getWithResponse("rgconfigurationmanager", "testname", "1.0.0", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new SolutionTemplateVersionProperties()
+ .withConfigurations(BinaryData.fromBytes("pwehvxzltujmytianbjsqgmcj".getBytes(StandardCharsets.UTF_8)))
+ .withSpecification(mapOf())
+ .withOrchestratorType(OrchestratorType.TO))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
### SolutionTemplates_CreateOrUpdate
```java
@@ -2149,22 +3462,22 @@ import java.util.Map;
*/
public final class SolutionTemplatesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_CreateOrUpdate_MaximumSet.
+ * Sample code: SolutionTemplates_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesCreateOrUpdateMaximumSet(
+ public static void solutionTemplatesCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates()
.define("testname")
- .withRegion("zheaaqvadewftnctxzpinrgeproqs")
+ .withRegion("jrsskqyliezys")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key5091", "fakeTokenPlaceholder"))
- .withProperties(new SolutionTemplateProperties().withDescription("psrftehgzngcdlccivhjmwsmiz")
- .withCapabilities(Arrays.asList("dfoyxbbknrhvlunhmuyyt"))
+ .withTags(mapOf())
+ .withProperties(new SolutionTemplateProperties().withDescription("baglpvguwonbgw")
+ .withCapabilities(Arrays.asList("xhycgngfkknnrm"))
.withState(ResourceState.ACTIVE)
.withEnableExternalValidation(true))
.create();
@@ -2187,11 +3500,13 @@ public final class SolutionTemplatesCreateOrUpdateSamples {
### SolutionTemplates_CreateVersion
```java
+import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloadorchestration.fluent.models.SolutionTemplateVersionInner;
import com.azure.resourcemanager.workloadorchestration.fluent.models.SolutionTemplateVersionWithUpdateTypeInner;
import com.azure.resourcemanager.workloadorchestration.models.OrchestratorType;
import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateVersionProperties;
import com.azure.resourcemanager.workloadorchestration.models.UpdateType;
+import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
@@ -2200,21 +3515,22 @@ import java.util.Map;
*/
public final class SolutionTemplatesCreateVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_CreateVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_CreateVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_CreateVersion_MaximumSet.
+ * Sample code: SolutionTemplates_CreateVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesCreateVersionMaximumSet(
+ public static void solutionTemplatesCreateVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates()
.createVersion("rgconfigurationmanager", "testname",
new SolutionTemplateVersionWithUpdateTypeInner().withUpdateType(UpdateType.MAJOR)
.withVersion("1.0.0")
- .withSolutionTemplateVersion(new SolutionTemplateVersionInner().withProperties(
- new SolutionTemplateVersionProperties().withConfigurations("ofqcsavwmeuwmvtjnqpoybtjvkmrlh")
+ .withSolutionTemplateVersion(
+ new SolutionTemplateVersionInner().withProperties(new SolutionTemplateVersionProperties()
+ .withConfigurations(BinaryData.fromBytes("zprhmcyzk".getBytes(StandardCharsets.UTF_8)))
.withSpecification(mapOf())
.withOrchestratorType(OrchestratorType.TO))),
com.azure.core.util.Context.NONE);
@@ -2242,14 +3558,14 @@ public final class SolutionTemplatesCreateVersionSamples {
*/
public final class SolutionTemplatesDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_Delete_MaximumSet.
+ * Sample code: SolutionTemplates_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesDeleteMaximumSet(
+ public static void solutionTemplatesDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates().delete("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -2264,14 +3580,14 @@ public final class SolutionTemplatesDeleteSamples {
*/
public final class SolutionTemplatesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_Get_MaximumSet.
+ * Sample code: SolutionTemplates_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesGetMaximumSet(
+ public static void solutionTemplatesGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
@@ -2287,14 +3603,27 @@ public final class SolutionTemplatesGetByResourceGroupSamples {
*/
public final class SolutionTemplatesListSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_ListBySubscription_MaximumSet.
+ * Sample code: SolutionTemplates_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesListBySubscriptionMaximumSet(
+ public static void solutionTemplatesListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionTemplates().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplates_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplatesListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates().list(com.azure.core.util.Context.NONE);
}
@@ -2309,14 +3638,27 @@ public final class SolutionTemplatesListSamples {
*/
public final class SolutionTemplatesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_ListByResourceGroup_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionTemplates_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void solutionTemplatesListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.solutionTemplates().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_ListByResourceGroup_MaximumSet.
+ * Sample code: SolutionTemplates_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesListByResourceGroupMaximumSet(
+ public static void solutionTemplatesListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -2333,18 +3675,18 @@ import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
*/
public final class SolutionTemplatesRemoveVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_RemoveVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_RemoveVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_RemoveVersion_MaximumSet.
+ * Sample code: SolutionTemplates_RemoveVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesRemoveVersionMaximumSet(
+ public static void solutionTemplatesRemoveVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionTemplates()
- .removeVersion("rgconfigurationmanager", "testname",
- new VersionParameter().withVersion("ghtvdzgmzncaifrnuumg"), com.azure.core.util.Context.NONE);
+ .removeVersion("rgconfigurationmanager", "testname", new VersionParameter().withVersion("nipqereqmxeiv"),
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -2354,7 +3696,7 @@ public final class SolutionTemplatesRemoveVersionSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.ResourceState;
import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplate;
-import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateProperties;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateUpdateProperties;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -2364,22 +3706,22 @@ import java.util.Map;
*/
public final class SolutionTemplatesUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionTemplates_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionTemplates_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTemplates_Update_MaximumSet.
+ * Sample code: SolutionTemplates_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionTemplatesUpdateMaximumSet(
+ public static void solutionTemplatesUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
SolutionTemplate resource = manager.solutionTemplates()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key8772", "fakeTokenPlaceholder"))
- .withProperties(new SolutionTemplateProperties().withDescription("onqlteg")
- .withCapabilities(Arrays.asList("relsv"))
+ .withTags(mapOf())
+ .withProperties(new SolutionTemplateUpdateProperties().withDescription("jbsuwcclfsxtzglvk")
+ .withCapabilities(Arrays.asList("wjgogxhkayhrcn"))
.withState(ResourceState.ACTIVE)
.withEnableExternalValidation(true))
.apply();
@@ -2413,21 +3755,21 @@ import java.util.Map;
*/
public final class SolutionVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionVersions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionVersions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionVersions_CreateOrUpdate_MaximumSet.
+ * Sample code: SolutionVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionVersionsCreateOrUpdateMaximumSet(
+ public static void solutionVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionVersions()
.define("testname")
.withExistingSolution("rgconfigurationmanager", "testname", "testname")
.withProperties(new SolutionVersionProperties().withSpecification(mapOf()))
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
@@ -2453,14 +3795,14 @@ public final class SolutionVersionsCreateOrUpdateSamples {
*/
public final class SolutionVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionVersions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionVersions_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionVersions_Delete_MaximumSet.
+ * Sample code: SolutionVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionVersionsDeleteMaximumSet(
+ public static void solutionVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionVersions()
.delete("rgconfigurationmanager", "testname", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -2476,14 +3818,14 @@ public final class SolutionVersionsDeleteSamples {
*/
public final class SolutionVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionVersions_Get_MaximumSet.
+ * Sample code: SolutionVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionVersionsGetMaximumSet(
+ public static void solutionVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionVersions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
@@ -2500,14 +3842,14 @@ public final class SolutionVersionsGetSamples {
*/
public final class SolutionVersionsListBySolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionVersions_ListBySolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionVersions_ListBySolution_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionVersions_ListBySolution_MaximumSet.
+ * Sample code: SolutionVersions_ListBySolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionVersionsListBySolutionMaximumSet(
+ public static void solutionVersionsListBySolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutionVersions()
.listBySolution("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -2528,14 +3870,14 @@ import java.util.Map;
*/
public final class SolutionVersionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/SolutionVersions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/SolutionVersions_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionVersions_Update_MaximumSet.
+ * Sample code: SolutionVersions_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionVersionsUpdateMaximumSet(
+ public static void solutionVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
SolutionVersion resource = manager.solutionVersions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
@@ -2570,21 +3912,21 @@ import com.azure.resourcemanager.workloadorchestration.models.SolutionProperties
*/
public final class SolutionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Solutions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Solutions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Solutions_CreateOrUpdate_MaximumSet.
+ * Sample code: Solutions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionsCreateOrUpdateMaximumSet(
+ public static void solutionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutions()
.define("testname")
.withExistingTarget("rgconfigurationmanager", "testname")
.withProperties(new SolutionProperties())
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
}
@@ -2598,14 +3940,14 @@ public final class SolutionsCreateOrUpdateSamples {
*/
public final class SolutionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Solutions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Solutions_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Solutions_Delete_MaximumSet.
+ * Sample code: Solutions_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionsDeleteMaximumSet(
+ public static void solutionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutions().delete("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
}
@@ -2620,15 +3962,15 @@ public final class SolutionsDeleteSamples {
*/
public final class SolutionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/Solutions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Solutions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Solutions_Get_MaximumSet.
+ * Sample code: Solutions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- solutionsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void solutionsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
}
@@ -2643,14 +3985,14 @@ public final class SolutionsGetSamples {
*/
public final class SolutionsListByTargetSamples {
/*
- * x-ms-original-file: 2025-06-01/Solutions_ListByTarget_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Solutions_ListByTarget_MaximumSet_Gen.json
*/
/**
- * Sample code: Solutions_ListByTarget_MaximumSet.
+ * Sample code: Solutions_ListByTarget_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionsListByTargetMaximumSet(
+ public static void solutionsListByTargetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.solutions().listByTarget("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -2661,26 +4003,26 @@ public final class SolutionsListByTargetSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.Solution;
-import com.azure.resourcemanager.workloadorchestration.models.SolutionProperties;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionUpdateProperties;
/**
* Samples for Solutions Update.
*/
public final class SolutionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Solutions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Solutions_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Solutions_Update_MaximumSet.
+ * Sample code: Solutions_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void solutionsUpdateMaximumSet(
+ public static void solutionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Solution resource = manager.solutions()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new SolutionProperties()).apply();
+ resource.update().withProperties(new SolutionUpdateProperties()).apply();
}
}
```
@@ -2701,31 +4043,31 @@ import java.util.Map;
*/
public final class TargetsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_CreateOrUpdate_MaximumSet.
+ * Sample code: Targets_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsCreateOrUpdateMaximumSet(
+ public static void targetsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.define("testname")
- .withRegion("kckloegmwsjgwtcl")
+ .withRegion("yimw")
.withExistingResourceGroup("rgconfigurationmanager")
- .withTags(mapOf("key612", "fakeTokenPlaceholder"))
- .withProperties(new TargetProperties().withDescription("riabrxtvhlmizyhffdpjeyhvw")
- .withDisplayName("qjlbshhqzfmwxvvynibkoi")
+ .withTags(mapOf())
+ .withProperties(new TargetProperties().withDescription("tprpzngmtoweelhwwilawu")
+ .withDisplayName("uqslbtoqsdhxuzhjyxxhh")
.withContextId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/contexts/testContext")
.withTargetSpecification(mapOf())
- .withCapabilities(Arrays.asList("grjapghdidoao"))
- .withHierarchyLevel("octqptfirejhjfavlnfqeiikqx")
+ .withCapabilities(Arrays.asList("jo"))
+ .withHierarchyLevel("gfeixwakwerayliymdejq")
.withSolutionScope("testname")
.withState(ResourceState.ACTIVE))
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
@@ -2751,15 +4093,15 @@ public final class TargetsCreateOrUpdateSamples {
*/
public final class TargetsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_Delete_MaximumSet.
+ * Sample code: Targets_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- targetsDeleteMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void targetsDeleteMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets().delete("rgconfigurationmanager", "testname", true, com.azure.core.util.Context.NONE);
}
}
@@ -2773,15 +4115,15 @@ public final class TargetsDeleteSamples {
*/
public final class TargetsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_Get_MaximumSet.
+ * Sample code: Targets_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- targetsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void targetsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -2798,18 +4140,18 @@ import com.azure.resourcemanager.workloadorchestration.models.InstallSolutionPar
*/
public final class TargetsInstallSolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_InstallSolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_InstallSolution_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_InstallSolution_MaximumSet.
+ * Sample code: Targets_InstallSolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsInstallSolutionMaximumSet(
+ public static void targetsInstallSolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.installSolution("rgconfigurationmanager", "testname", new InstallSolutionParameter().withSolutionVersionId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"),
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1"),
com.azure.core.util.Context.NONE);
}
}
@@ -2823,14 +4165,27 @@ public final class TargetsInstallSolutionSamples {
*/
public final class TargetsListSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_ListBySubscription_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_ListBySubscription_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Targets_ListBySubscription_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void targetsListBySubscriptionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.targets().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Targets_ListBySubscription_MinimumSet_Gen.json
*/
/**
- * Sample code: Targets_ListBySubscription_MaximumSet.
+ * Sample code: Targets_ListBySubscription_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsListBySubscriptionMaximumSet(
+ public static void targetsListBySubscriptionMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets().list(com.azure.core.util.Context.NONE);
}
@@ -2845,14 +4200,27 @@ public final class TargetsListSamples {
*/
public final class TargetsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_ListByResourceGroup_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_ListByResourceGroup_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Targets_ListByResourceGroup_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void targetsListByResourceGroupMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.targets().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Targets_ListByResourceGroup_MinimumSet_Gen.json
*/
/**
- * Sample code: Targets_ListByResourceGroup_MaximumSet.
+ * Sample code: Targets_ListByResourceGroup_MaximumSet - generated by [MinimumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsListByResourceGroupMaximumSet(
+ public static void targetsListByResourceGroupMaximumSetGeneratedByMinimumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets().listByResourceGroup("rgconfigurationmanager", com.azure.core.util.Context.NONE);
}
@@ -2869,19 +4237,19 @@ import com.azure.resourcemanager.workloadorchestration.models.SolutionVersionPar
*/
public final class TargetsPublishSolutionVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_PublishSolutionVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_PublishSolutionVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_PublishSolutionVersion_MaximumSet.
+ * Sample code: Targets_PublishSolutionVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsPublishSolutionVersionMaximumSet(
+ public static void targetsPublishSolutionVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.publishSolutionVersion("rgconfigurationmanager", "testname",
new SolutionVersionParameter().withSolutionVersionId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"),
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1"),
com.azure.core.util.Context.NONE);
}
}
@@ -2897,19 +4265,19 @@ import com.azure.resourcemanager.workloadorchestration.models.RemoveRevisionPara
*/
public final class TargetsRemoveRevisionSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_RemoveRevision_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_RemoveRevision_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_RemoveRevision_MaximumSet.
+ * Sample code: Targets_RemoveRevision_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsRemoveRevisionMaximumSet(
+ public static void targetsRemoveRevisionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.removeRevision("rgconfigurationmanager", "testname", new RemoveRevisionParameter().withSolutionTemplateId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
- .withSolutionVersion("tomwmqybqomwkfaeukjneva"), com.azure.core.util.Context.NONE);
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionVersion("f"), com.azure.core.util.Context.NONE);
}
}
```
@@ -2926,27 +4294,28 @@ import java.util.Arrays;
*/
public final class TargetsResolveConfigurationSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_ResolveConfiguration_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_ResolveConfiguration_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_ResolveConfiguration_MaximumSet.
+ * Sample code: Targets_ResolveConfiguration_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsResolveConfigurationMaximumSet(
+ public static void targetsResolveConfigurationMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
- .resolveConfiguration("rgconfigurationmanager", "testname",
- new SolutionTemplateParameter().withSolutionTemplateVersionId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}/{resourceType}/{resourceName}")
+ .resolveConfiguration("rgconfigurationmanager", "testname", new SolutionTemplateParameter()
+ .withSolutionTemplateVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st/versions/1.0.0")
+ .withSolutionInstanceName("testname")
+ .withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter()
+ .withSolutionVersionId("bqeggxlmrbyitmhbfcsumackq")
+ .withSolutionTemplateId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionTemplateVersion("bwji")
.withSolutionInstanceName("testname")
- .withSolutionDependencies(
- Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId("cydzqntmjlqtksbavjwteru")
- .withSolutionTemplateId("liqauthxnscodbiwktwfwrrsg")
- .withSolutionTemplateVersion("gordjasyxxrj")
- .withSolutionInstanceName("testname")
- .withTargetId("steadvphxtyhjokqicrtg")
- .withDependencies(Arrays.asList()))),
+ .withTargetId("vpzvkhtgzwtrnbktyvsltfcel")
+ .withDependencies(Arrays.asList()))),
com.azure.core.util.Context.NONE);
}
}
@@ -2964,27 +4333,28 @@ import java.util.Arrays;
*/
public final class TargetsReviewSolutionVersionSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_ReviewSolutionVersion_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_ReviewSolutionVersion_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_ReviewSolutionVersion_MaximumSet.
+ * Sample code: Targets_ReviewSolutionVersion_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsReviewSolutionVersionMaximumSet(
+ public static void targetsReviewSolutionVersionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
- .reviewSolutionVersion("rgconfigurationmanager", "testname",
- new SolutionTemplateParameter().withSolutionTemplateVersionId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}/{resourceType}/{resourceName}")
+ .reviewSolutionVersion("rgconfigurationmanager", "testname", new SolutionTemplateParameter()
+ .withSolutionTemplateVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st/versions/1.0.0")
+ .withSolutionInstanceName("testname")
+ .withSolutionDependencies(Arrays.asList(new SolutionDependencyParameter()
+ .withSolutionVersionId("bqeggxlmrbyitmhbfcsumackq")
+ .withSolutionTemplateId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionTemplateVersion("bwji")
.withSolutionInstanceName("testname")
- .withSolutionDependencies(
- Arrays.asList(new SolutionDependencyParameter().withSolutionVersionId("cydzqntmjlqtksbavjwteru")
- .withSolutionTemplateId("liqauthxnscodbiwktwfwrrsg")
- .withSolutionTemplateVersion("gordjasyxxrj")
- .withSolutionInstanceName("testname")
- .withTargetId("steadvphxtyhjokqicrtg")
- .withDependencies(Arrays.asList()))),
+ .withTargetId("vpzvkhtgzwtrnbktyvsltfcel")
+ .withDependencies(Arrays.asList()))),
com.azure.core.util.Context.NONE);
}
}
@@ -3000,20 +4370,48 @@ import com.azure.resourcemanager.workloadorchestration.models.UninstallSolutionP
*/
public final class TargetsUninstallSolutionSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_UninstallSolution_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_UninstallSolution_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_UninstallSolution_MaximumSet.
+ * Sample code: Targets_UninstallSolution_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsUninstallSolutionMaximumSet(
+ public static void targetsUninstallSolutionMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.uninstallSolution("rgconfigurationmanager", "testname",
new UninstallSolutionParameter().withSolutionTemplateId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
- .withSolutionInstanceName("lzihiumrcxbolmkqktvtuqyhg"),
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/SolutionTemplates/st")
+ .withSolutionInstanceName("yedwbsm"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Targets_UnstageSolutionVersion
+
+```java
+import com.azure.resourcemanager.workloadorchestration.models.SolutionVersionParameter;
+
+/**
+ * Samples for Targets UnstageSolutionVersion.
+ */
+public final class TargetsUnstageSolutionVersionSamples {
+ /*
+ * x-ms-original-file: 2026-05-01-preview/Targets_UnstageSolutionVersion_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: Targets_UnstageSolutionVersion_MaximumSet - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to WorkloadOrchestrationManager.
+ */
+ public static void targetsUnstageSolutionVersionMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ manager.targets()
+ .unstageSolutionVersion("rgconfigurationmanager", "testname",
+ new SolutionVersionParameter().withSolutionVersionId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Edge/Targets/target/Solutions/solution/Versions/solution-1.0.0.1"),
com.azure.core.util.Context.NONE);
}
}
@@ -3024,7 +4422,7 @@ public final class TargetsUninstallSolutionSamples {
```java
import com.azure.resourcemanager.workloadorchestration.models.ResourceState;
import com.azure.resourcemanager.workloadorchestration.models.Target;
-import com.azure.resourcemanager.workloadorchestration.models.TargetProperties;
+import com.azure.resourcemanager.workloadorchestration.models.TargetUpdateProperties;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -3034,27 +4432,27 @@ import java.util.Map;
*/
public final class TargetsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_Update_MaximumSet.
+ * Sample code: Targets_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- targetsUpdateMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void targetsUpdateMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Target resource = manager.targets()
.getByResourceGroupWithResponse("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
- .withTags(mapOf("key8026", "fakeTokenPlaceholder"))
- .withProperties(new TargetProperties().withDescription("yhnhdpznncdvncmnvoeohqjx")
- .withDisplayName("pguujtzjjvixgjitugybrefp")
+ .withTags(mapOf())
+ .withProperties(new TargetUpdateProperties().withDescription("gvtsccujzvogbzzccu")
+ .withDisplayName("zkcgsktvpwlsxtnuowajfmu")
.withContextId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/contexts/testContext")
.withTargetSpecification(mapOf())
- .withCapabilities(Arrays.asList("dasqhyxfakivfzqb"))
- .withHierarchyLevel("hfyntwxetgsmnucbjvvphtyxu")
+ .withCapabilities(Arrays.asList("nbizsvnhtvhposoccvfwaf"))
+ .withHierarchyLevel("zwsfzqtsyswpbbakmorrzepb")
.withSolutionScope("testname")
.withState(ResourceState.ACTIVE))
.apply();
@@ -3086,20 +4484,20 @@ import com.azure.resourcemanager.workloadorchestration.models.ValidationStatus;
*/
public final class TargetsUpdateExternalValidationStatusSamples {
/*
- * x-ms-original-file: 2025-06-01/Targets_UpdateExternalValidationStatus_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Targets_UpdateExternalValidationStatus_MaximumSet_Gen.json
*/
/**
- * Sample code: Targets_UpdateExternalValidationStatus_MaximumSet.
+ * Sample code: Targets_UpdateExternalValidationStatus_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void targetsUpdateExternalValidationStatusMaximumSet(
+ public static void targetsUpdateExternalValidationStatusMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.targets()
.updateExternalValidationStatus("rgconfigurationmanager", "testname",
- new UpdateExternalValidationStatusParameter().withSolutionVersionId("shntcsuwlmpehmuqkrbf")
+ new UpdateExternalValidationStatusParameter().withSolutionVersionId("foxslnpcddxwvbatisyxhbsusmnqk")
.withErrorDetails(new ManagementError())
- .withExternalValidationId("ivsjzwy")
+ .withExternalValidationId("cds")
.withValidationStatus(ValidationStatus.VALID),
com.azure.core.util.Context.NONE);
}
@@ -3126,32 +4524,32 @@ import java.util.Map;
*/
public final class WorkflowVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/WorkflowVersions_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/WorkflowVersions_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: WorkflowVersions_CreateOrUpdate_MaximumSet.
+ * Sample code: WorkflowVersions_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowVersionsCreateOrUpdateMaximumSet(
+ public static void workflowVersionsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflowVersions()
- .define("testname")
+ .define("abcde")
.withExistingWorkflow("rgconfigurationmanager", "testname", "testname")
.withProperties(new WorkflowVersionProperties().withStageSpec(Arrays.asList(new StageSpec()
- .withName("amrbjd")
+ .withName("jgldxxbuucvqlpstdbbql")
.withSpecification(mapOf())
- .withTasks(Arrays.asList(new TaskSpec().withName("xxmeyvmgydbcwxqwjhadjxjod")
+ .withTasks(Arrays.asList(new TaskSpec().withName("hozvidsilycopddjfuebjglcourar")
.withTargetId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget")
.withSpecification(mapOf())))
.withTaskOption(
- new TaskOption().withConcurrency(3)
+ new TaskOption().withConcurrency(2)
.withErrorAction(new ErrorAction().withMode(ErrorActionMode.STOP_ON_ANY_FAILURE)
.withMaxToleratedFailures(0)))))
.withSpecification(mapOf()))
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
@@ -3177,17 +4575,17 @@ public final class WorkflowVersionsCreateOrUpdateSamples {
*/
public final class WorkflowVersionsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/WorkflowVersions_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/WorkflowVersions_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: WorkflowVersions_Delete_MaximumSet.
+ * Sample code: WorkflowVersions_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowVersionsDeleteMaximumSet(
+ public static void workflowVersionsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflowVersions()
- .delete("rgconfigurationmanager", "testname", "testname", "testname", com.azure.core.util.Context.NONE);
+ .delete("rgconfigurationmanager", "testname", "testname", "abcde", com.azure.core.util.Context.NONE);
}
}
```
@@ -3200,17 +4598,17 @@ public final class WorkflowVersionsDeleteSamples {
*/
public final class WorkflowVersionsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/WorkflowVersions_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/WorkflowVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: WorkflowVersions_Get_MaximumSet.
+ * Sample code: WorkflowVersions_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowVersionsGetMaximumSet(
+ public static void workflowVersionsGetMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflowVersions()
- .getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", "abcde",
com.azure.core.util.Context.NONE);
}
}
@@ -3224,14 +4622,14 @@ public final class WorkflowVersionsGetSamples {
*/
public final class WorkflowVersionsListByWorkflowSamples {
/*
- * x-ms-original-file: 2025-06-01/WorkflowVersions_ListByWorkflow_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/WorkflowVersions_ListByWorkflow_MaximumSet_Gen.json
*/
/**
- * Sample code: WorkflowVersions_ListByWorkflow_MaximumSet.
+ * Sample code: WorkflowVersions_ListByWorkflow_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowVersionsListByWorkflowMaximumSet(
+ public static void workflowVersionsListByWorkflowMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflowVersions()
.listByWorkflow("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
@@ -3258,29 +4656,29 @@ import java.util.Map;
*/
public final class WorkflowVersionsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/WorkflowVersions_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/WorkflowVersions_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: WorkflowVersions_Update_MaximumSet.
+ * Sample code: WorkflowVersions_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowVersionsUpdateMaximumSet(
+ public static void workflowVersionsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
WorkflowVersion resource = manager.workflowVersions()
- .getWithResponse("rgconfigurationmanager", "testname", "testname", "testname",
+ .getWithResponse("rgconfigurationmanager", "testname", "testname", "abcde",
com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withProperties(new WorkflowVersionProperties().withStageSpec(Arrays.asList(new StageSpec()
- .withName("amrbjd")
+ .withName("jgldxxbuucvqlpstdbbql")
.withSpecification(mapOf())
- .withTasks(Arrays.asList(new TaskSpec().withName("xxmeyvmgydbcwxqwjhadjxjod")
+ .withTasks(Arrays.asList(new TaskSpec().withName("hozvidsilycopddjfuebjglcourar")
.withTargetId(
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}")
+ "/subscriptions/612CB927-8AC8-42DD-B74E-C676C3960BA5/resourceGroups/rgconfigurationmanager/providers/Microsoft.Edge/targets/testTarget")
.withSpecification(mapOf())))
.withTaskOption(
- new TaskOption().withConcurrency(3)
+ new TaskOption().withConcurrency(2)
.withErrorAction(new ErrorAction().withMode(ErrorActionMode.STOP_ON_ANY_FAILURE)
.withMaxToleratedFailures(0)))))
.withSpecification(mapOf()))
@@ -3313,21 +4711,21 @@ import com.azure.resourcemanager.workloadorchestration.models.WorkflowProperties
*/
public final class WorkflowsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Workflows_CreateOrUpdate_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Workflows_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: Workflows_CreateOrUpdate_MaximumSet.
+ * Sample code: Workflows_CreateOrUpdate_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowsCreateOrUpdateMaximumSet(
+ public static void workflowsCreateOrUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflows()
.define("testname")
.withExistingContext("rgconfigurationmanager", "testname")
.withProperties(new WorkflowProperties())
.withExtendedLocation(
- new ExtendedLocation().withName("szjrwimeqyiue").withType(ExtendedLocationType.EDGE_ZONE))
+ new ExtendedLocation().withName("ggfwkwklvvkrmlysvvhcj").withType(ExtendedLocationType.EDGE_ZONE))
.create();
}
}
@@ -3341,14 +4739,14 @@ public final class WorkflowsCreateOrUpdateSamples {
*/
public final class WorkflowsDeleteSamples {
/*
- * x-ms-original-file: 2025-06-01/Workflows_Delete_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Workflows_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Workflows_Delete_MaximumSet.
+ * Sample code: Workflows_Delete_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowsDeleteMaximumSet(
+ public static void workflowsDeleteMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflows().delete("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
}
@@ -3363,15 +4761,15 @@ public final class WorkflowsDeleteSamples {
*/
public final class WorkflowsGetSamples {
/*
- * x-ms-original-file: 2025-06-01/Workflows_Get_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Workflows_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Workflows_Get_MaximumSet.
+ * Sample code: Workflows_Get_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void
- workflowsGetMaximumSet(com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
+ public static void workflowsGetMaximumSetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflows()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE);
}
@@ -3386,14 +4784,14 @@ public final class WorkflowsGetSamples {
*/
public final class WorkflowsListByContextSamples {
/*
- * x-ms-original-file: 2025-06-01/Workflows_ListByContext_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Workflows_ListByContext_MaximumSet_Gen.json
*/
/**
- * Sample code: Workflows_ListByContext_MaximumSet.
+ * Sample code: Workflows_ListByContext_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowsListByContextMaximumSet(
+ public static void workflowsListByContextMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
manager.workflows().listByContext("rgconfigurationmanager", "testname", com.azure.core.util.Context.NONE);
}
@@ -3411,14 +4809,14 @@ import com.azure.resourcemanager.workloadorchestration.models.WorkflowProperties
*/
public final class WorkflowsUpdateSamples {
/*
- * x-ms-original-file: 2025-06-01/Workflows_Update_MaximumSet_Gen.json
+ * x-ms-original-file: 2026-05-01-preview/Workflows_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: Workflows_Update_MaximumSet.
+ * Sample code: Workflows_Update_MaximumSet - generated by [MaximumSet] rule.
*
* @param manager Entry point to WorkloadOrchestrationManager.
*/
- public static void workflowsUpdateMaximumSet(
+ public static void workflowsUpdateMaximumSetGeneratedByMaximumSetRule(
com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager) {
Workflow resource = manager.workflows()
.getWithResponse("rgconfigurationmanager", "testname", "testname", com.azure.core.util.Context.NONE)
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/pom.xml b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/pom.xml
index 679e30e9781bd..43edd004e175a 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/pom.xml
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/pom.xml
@@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
-
+
4.0.0
com.azure
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for Workload Orchestration Management
- This package contains Microsoft Azure SDK for Workload Orchestration Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft.Edge Resource Provider management API. Package api-version 2025-06-01.
+ This package contains Microsoft Azure SDK for Workload Orchestration Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft.Edge Resource Provider management API. Package api-version 2026-05-01-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/WorkloadOrchestrationManager.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/WorkloadOrchestrationManager.java
index 072f7332da859..40bb6e298f6ed 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/WorkloadOrchestrationManager.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/WorkloadOrchestrationManager.java
@@ -25,6 +25,8 @@
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.workloadorchestration.fluent.WorkloadOrchestrationManagementClient;
+import com.azure.resourcemanager.workloadorchestration.implementation.ConfigTemplateMetadatasImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.ConfigTemplateSchemasImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.ConfigTemplateVersionsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.ConfigTemplatesImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.ContextsImpl;
@@ -32,6 +34,8 @@
import com.azure.resourcemanager.workloadorchestration.implementation.DynamicSchemaVersionsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.DynamicSchemasImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.ExecutionsImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.HierarchyConfigurationMetadataVersionsImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.HierarchyConfigurationMetadatasImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.InstanceHistoriesImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.InstancesImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.JobsImpl;
@@ -39,6 +43,10 @@
import com.azure.resourcemanager.workloadorchestration.implementation.SchemaVersionsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.SchemasImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.SiteReferencesImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.SolutionDeploymentsImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.SolutionMetadataVersionsImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.SolutionMetadatasImpl;
+import com.azure.resourcemanager.workloadorchestration.implementation.SolutionSchemasImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.SolutionTemplateVersionsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.SolutionTemplatesImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.SolutionVersionsImpl;
@@ -47,6 +55,8 @@
import com.azure.resourcemanager.workloadorchestration.implementation.WorkflowVersionsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.WorkflowsImpl;
import com.azure.resourcemanager.workloadorchestration.implementation.WorkloadOrchestrationManagementClientBuilder;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadatas;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchemas;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersions;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplates;
import com.azure.resourcemanager.workloadorchestration.models.Contexts;
@@ -54,6 +64,8 @@
import com.azure.resourcemanager.workloadorchestration.models.DynamicSchemaVersions;
import com.azure.resourcemanager.workloadorchestration.models.DynamicSchemas;
import com.azure.resourcemanager.workloadorchestration.models.Executions;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyConfigurationMetadataVersions;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyConfigurationMetadatas;
import com.azure.resourcemanager.workloadorchestration.models.InstanceHistories;
import com.azure.resourcemanager.workloadorchestration.models.Instances;
import com.azure.resourcemanager.workloadorchestration.models.Jobs;
@@ -61,6 +73,10 @@
import com.azure.resourcemanager.workloadorchestration.models.SchemaVersions;
import com.azure.resourcemanager.workloadorchestration.models.Schemas;
import com.azure.resourcemanager.workloadorchestration.models.SiteReferences;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeployments;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionMetadataVersions;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionMetadatas;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionSchemas;
import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplateVersions;
import com.azure.resourcemanager.workloadorchestration.models.SolutionTemplates;
import com.azure.resourcemanager.workloadorchestration.models.SolutionVersions;
@@ -99,6 +115,10 @@ public final class WorkloadOrchestrationManager {
private Solutions solutions;
+ private SolutionMetadatas solutionMetadatas;
+
+ private SolutionMetadataVersions solutionMetadataVersions;
+
private SolutionTemplateVersions solutionTemplateVersions;
private SolutionTemplates solutionTemplates;
@@ -123,6 +143,18 @@ public final class WorkloadOrchestrationManager {
private SiteReferences siteReferences;
+ private SolutionSchemas solutionSchemas;
+
+ private ConfigTemplateSchemas configTemplateSchemas;
+
+ private ConfigTemplateMetadatas configTemplateMetadatas;
+
+ private HierarchyConfigurationMetadatas hierarchyConfigurationMetadatas;
+
+ private HierarchyConfigurationMetadataVersions hierarchyConfigurationMetadataVersions;
+
+ private SolutionDeployments solutionDeployments;
+
private final WorkloadOrchestrationManagementClient clientObject;
private WorkloadOrchestrationManager(HttpPipeline httpPipeline, AzureProfile profile,
@@ -424,7 +456,7 @@ public DynamicSchemaVersions dynamicSchemaVersions() {
}
/**
- * Gets the resource collection API of SchemaReferences.
+ * Gets the resource collection API of SchemaReferences. It manages SchemaReference.
*
* @return Resource collection API of SchemaReferences.
*/
@@ -448,7 +480,32 @@ public Solutions solutions() {
}
/**
- * Gets the resource collection API of SolutionTemplateVersions.
+ * Gets the resource collection API of SolutionMetadatas.
+ *
+ * @return Resource collection API of SolutionMetadatas.
+ */
+ public SolutionMetadatas solutionMetadatas() {
+ if (this.solutionMetadatas == null) {
+ this.solutionMetadatas = new SolutionMetadatasImpl(clientObject.getSolutionMetadatas(), this);
+ }
+ return solutionMetadatas;
+ }
+
+ /**
+ * Gets the resource collection API of SolutionMetadataVersions.
+ *
+ * @return Resource collection API of SolutionMetadataVersions.
+ */
+ public SolutionMetadataVersions solutionMetadataVersions() {
+ if (this.solutionMetadataVersions == null) {
+ this.solutionMetadataVersions
+ = new SolutionMetadataVersionsImpl(clientObject.getSolutionMetadataVersions(), this);
+ }
+ return solutionMetadataVersions;
+ }
+
+ /**
+ * Gets the resource collection API of SolutionTemplateVersions. It manages SolutionTemplateVersion.
*
* @return Resource collection API of SolutionTemplateVersions.
*/
@@ -509,7 +566,7 @@ public ConfigTemplates configTemplates() {
}
/**
- * Gets the resource collection API of ConfigTemplateVersions.
+ * Gets the resource collection API of ConfigTemplateVersions. It manages ConfigTemplateVersion.
*
* @return Resource collection API of ConfigTemplateVersions.
*/
@@ -593,6 +650,81 @@ public SiteReferences siteReferences() {
return siteReferences;
}
+ /**
+ * Gets the resource collection API of SolutionSchemas.
+ *
+ * @return Resource collection API of SolutionSchemas.
+ */
+ public SolutionSchemas solutionSchemas() {
+ if (this.solutionSchemas == null) {
+ this.solutionSchemas = new SolutionSchemasImpl(clientObject.getSolutionSchemas(), this);
+ }
+ return solutionSchemas;
+ }
+
+ /**
+ * Gets the resource collection API of ConfigTemplateSchemas.
+ *
+ * @return Resource collection API of ConfigTemplateSchemas.
+ */
+ public ConfigTemplateSchemas configTemplateSchemas() {
+ if (this.configTemplateSchemas == null) {
+ this.configTemplateSchemas = new ConfigTemplateSchemasImpl(clientObject.getConfigTemplateSchemas(), this);
+ }
+ return configTemplateSchemas;
+ }
+
+ /**
+ * Gets the resource collection API of ConfigTemplateMetadatas. It manages ConfigTemplateMetadata.
+ *
+ * @return Resource collection API of ConfigTemplateMetadatas.
+ */
+ public ConfigTemplateMetadatas configTemplateMetadatas() {
+ if (this.configTemplateMetadatas == null) {
+ this.configTemplateMetadatas
+ = new ConfigTemplateMetadatasImpl(clientObject.getConfigTemplateMetadatas(), this);
+ }
+ return configTemplateMetadatas;
+ }
+
+ /**
+ * Gets the resource collection API of HierarchyConfigurationMetadatas.
+ *
+ * @return Resource collection API of HierarchyConfigurationMetadatas.
+ */
+ public HierarchyConfigurationMetadatas hierarchyConfigurationMetadatas() {
+ if (this.hierarchyConfigurationMetadatas == null) {
+ this.hierarchyConfigurationMetadatas
+ = new HierarchyConfigurationMetadatasImpl(clientObject.getHierarchyConfigurationMetadatas(), this);
+ }
+ return hierarchyConfigurationMetadatas;
+ }
+
+ /**
+ * Gets the resource collection API of HierarchyConfigurationMetadataVersions.
+ *
+ * @return Resource collection API of HierarchyConfigurationMetadataVersions.
+ */
+ public HierarchyConfigurationMetadataVersions hierarchyConfigurationMetadataVersions() {
+ if (this.hierarchyConfigurationMetadataVersions == null) {
+ this.hierarchyConfigurationMetadataVersions = new HierarchyConfigurationMetadataVersionsImpl(
+ clientObject.getHierarchyConfigurationMetadataVersions(), this);
+ }
+ return hierarchyConfigurationMetadataVersions;
+ }
+
+ /**
+ * Gets the resource collection API of SolutionDeployments. It manages SolutionDeployment.
+ *
+ * @return Resource collection API of SolutionDeployments.
+ */
+ public SolutionDeployments solutionDeployments() {
+ if (this.solutionDeployments == null) {
+ this.solutionDeployments = new SolutionDeploymentsImpl(clientObject.getSolutionDeployments(), this);
+ }
+ return solutionDeployments;
+ }
+
/**
* Gets wrapped service client WorkloadOrchestrationManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateMetadatasClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateMetadatasClient.java
new file mode 100644
index 0000000000000..0ea6c217f0f9a
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateMetadatasClient.java
@@ -0,0 +1,275 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateMetadataInner;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConfigTemplateMetadatasClient.
+ */
+public interface ConfigTemplateMetadatasClient {
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context);
+
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateMetadataInner get(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName);
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateMetadataInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataInner resource);
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateMetadataInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataInner resource, Context context);
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateMetadataInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource);
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateMetadataInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource, Context context);
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateMetadataInner> beginUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataUpdate properties);
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateMetadataInner> beginUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataUpdate properties, Context context);
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateMetadataInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties);
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateMetadataInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties, Context context);
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName);
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context);
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateName, String configTemplateMetadataName);
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ Context context);
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByConfigTemplate(String resourceGroupName,
+ String configTemplateName);
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByConfigTemplate(String resourceGroupName, String configTemplateName,
+ Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateSchemasClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateSchemasClient.java
new file mode 100644
index 0000000000000..c357a3ae75f2c
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateSchemasClient.java
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.ConfigTemplateSchemaInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConfigTemplateSchemasClient.
+ */
+public interface ConfigTemplateSchemasClient {
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName, Context context);
+
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateSchemaInner get(String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ String configTemplateSchemaName);
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName);
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateVersionsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateVersionsClient.java
index 3487904675da3..2e47b8fce2b86 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateVersionsClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplateVersionsClient.java
@@ -8,7 +8,9 @@
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionInner;
/**
@@ -46,6 +48,165 @@ Response getWithResponse(String resourceGroupName, S
ConfigTemplateVersionInner get(String resourceGroupName, String configTemplateName,
String configTemplateVersionName);
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ ConfigTemplateVersionInner resource);
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ ConfigTemplateVersionInner resource, Context context);
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateVersionInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource);
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateVersionInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource, Context context);
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner properties, Context context);
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigTemplateVersionInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner properties);
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName);
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, Context context);
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 configTemplateName, String configTemplateVersionName);
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String configTemplateName, String configTemplateVersionName, Context context);
+
/**
* List Config Template Version Resources.
*
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplatesClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplatesClient.java
index 1d91ef596d5a1..09b770ba1d772 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplatesClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/ConfigTemplatesClient.java
@@ -16,6 +16,7 @@
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionWithUpdateTypeInner;
import com.azure.resourcemanager.workloadorchestration.fluent.models.RemoveVersionResponseInner;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateUpdate;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchySelector;
import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
/**
@@ -142,6 +143,124 @@ Response updateWithResponse(String resourceGroupName, Strin
@ServiceMethod(returns = ReturnType.SINGLE)
ConfigTemplateInner update(String resourceGroupName, String configTemplateName, ConfigTemplateUpdate properties);
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginLinkToHierarchies(String resourceGroupName, String configTemplateName,
+ HierarchySelector body);
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginLinkToHierarchies(String resourceGroupName, String configTemplateName,
+ HierarchySelector body, Context context);
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 linkToHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body);
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void linkToHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body,
+ Context context);
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginUnLinkFromHierarchies(String resourceGroupName, String configTemplateName,
+ HierarchySelector body);
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginUnLinkFromHierarchies(String resourceGroupName, String configTemplateName,
+ HierarchySelector body, Context context);
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 unLinkFromHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body);
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void unLinkFromHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body,
+ Context context);
+
/**
* Create or update a Config Template Version Resource with the specified UpdateType.
*
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadataVersionsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadataVersionsClient.java
new file mode 100644
index 0000000000000..fd4dbd166e826
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadataVersionsClient.java
@@ -0,0 +1,80 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.HierarchyConfigurationMetadataVersionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in
+ * HierarchyConfigurationMetadataVersionsClient.
+ */
+public interface HierarchyConfigurationMetadataVersionsClient {
+ /**
+ * Get a Hierarchy Configuration Metadata Version resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @param hierarchyConfigurationMetadataVersionName Name of the hierarchy configuration metadata version.
+ * @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 Hierarchy Configuration Metadata Version resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri,
+ String hierarchyConfigurationMetadataName, String hierarchyConfigurationMetadataVersionName, Context context);
+
+ /**
+ * Get a Hierarchy Configuration Metadata Version resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @param hierarchyConfigurationMetadataVersionName Name of the hierarchy configuration metadata version.
+ * @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 Hierarchy Configuration Metadata Version resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HierarchyConfigurationMetadataVersionInner get(String resourceUri, String hierarchyConfigurationMetadataName,
+ String hierarchyConfigurationMetadataVersionName);
+
+ /**
+ * List Hierarchy Configuration Metadata Version resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @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 HierarchyConfigurationMetadataVersion list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri,
+ String hierarchyConfigurationMetadataName);
+
+ /**
+ * List Hierarchy Configuration Metadata Version resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @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 HierarchyConfigurationMetadataVersion list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri,
+ String hierarchyConfigurationMetadataName, Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadatasClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadatasClient.java
new file mode 100644
index 0000000000000..6ebabbe2bb4e5
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/HierarchyConfigurationMetadatasClient.java
@@ -0,0 +1,72 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.HierarchyConfigurationMetadataInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in HierarchyConfigurationMetadatasClient.
+ */
+public interface HierarchyConfigurationMetadatasClient {
+ /**
+ * Get a Hierarchy Configuration Metadata resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @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 Hierarchy Configuration Metadata resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri,
+ String hierarchyConfigurationMetadataName, Context context);
+
+ /**
+ * Get a Hierarchy Configuration Metadata resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param hierarchyConfigurationMetadataName Name of the hierarchy configuration metadata.
+ * @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 Hierarchy Configuration Metadata resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ HierarchyConfigurationMetadataInner get(String resourceUri, String hierarchyConfigurationMetadataName);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the 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 the response of a HierarchyConfigurationMetadata list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the 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 response of a HierarchyConfigurationMetadata list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri, Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SchemaReferencesClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SchemaReferencesClient.java
index a8fde7f31b4e6..6900676d1432c 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SchemaReferencesClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SchemaReferencesClient.java
@@ -8,7 +8,9 @@
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloadorchestration.fluent.models.SchemaReferenceInner;
/**
@@ -42,6 +44,149 @@ public interface SchemaReferencesClient {
@ServiceMethod(returns = ReturnType.SINGLE)
SchemaReferenceInner get(String resourceUri, String schemaReferenceName);
+ /**
+ * Create or update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of schema Reference Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SchemaReferenceInner> beginCreateOrUpdate(String resourceUri,
+ String schemaReferenceName, SchemaReferenceInner resource);
+
+ /**
+ * Create or update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of schema Reference Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SchemaReferenceInner> beginCreateOrUpdate(String resourceUri,
+ String schemaReferenceName, SchemaReferenceInner resource, Context context);
+
+ /**
+ * Create or update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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 schema Reference Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SchemaReferenceInner createOrUpdate(String resourceUri, String schemaReferenceName, SchemaReferenceInner resource);
+
+ /**
+ * Create or update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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 schema Reference Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SchemaReferenceInner createOrUpdate(String resourceUri, String schemaReferenceName, SchemaReferenceInner resource,
+ Context context);
+
+ /**
+ * update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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 schema Reference Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceUri, String schemaReferenceName,
+ SchemaReferenceInner properties, Context context);
+
+ /**
+ * update a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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 schema Reference Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SchemaReferenceInner update(String resourceUri, String schemaReferenceName, SchemaReferenceInner properties);
+
+ /**
+ * Delete a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceUri, String schemaReferenceName);
+
+ /**
+ * Delete a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceUri, String schemaReferenceName, Context context);
+
+ /**
+ * Delete a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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 resourceUri, String schemaReferenceName);
+
+ /**
+ * Delete a Schema Reference Resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param schemaReferenceName The name of the SchemaReference.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceUri, String schemaReferenceName, Context context);
+
/**
* List by specified resource group.
*
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionDeploymentsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionDeploymentsClient.java
new file mode 100644
index 0000000000000..14ea81f5d244e
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionDeploymentsClient.java
@@ -0,0 +1,241 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.SolutionDeploymentInner;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeploymentUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in SolutionDeploymentsClient.
+ */
+public interface SolutionDeploymentsClient {
+ /**
+ * Get a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 SolutionDeployment Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String solutionDeploymentName, Context context);
+
+ /**
+ * Get a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 SolutionDeployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionDeploymentInner getByResourceGroup(String resourceGroupName, String solutionDeploymentName);
+
+ /**
+ * Create or update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of solution Deployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionDeploymentInner>
+ beginCreateOrUpdate(String resourceGroupName, String solutionDeploymentName, SolutionDeploymentInner resource);
+
+ /**
+ * Create or update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of solution Deployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionDeploymentInner> beginCreateOrUpdate(
+ String resourceGroupName, String solutionDeploymentName, SolutionDeploymentInner resource, Context context);
+
+ /**
+ * Create or update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 solution Deployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionDeploymentInner createOrUpdate(String resourceGroupName, String solutionDeploymentName,
+ SolutionDeploymentInner resource);
+
+ /**
+ * Create or update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 solution Deployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionDeploymentInner createOrUpdate(String resourceGroupName, String solutionDeploymentName,
+ SolutionDeploymentInner resource, Context context);
+
+ /**
+ * update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 solution Deployment Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceGroupName, String solutionDeploymentName,
+ SolutionDeploymentUpdate properties, Context context);
+
+ /**
+ * update a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 solution Deployment Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionDeploymentInner update(String resourceGroupName, String solutionDeploymentName,
+ SolutionDeploymentUpdate properties);
+
+ /**
+ * Delete a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String solutionDeploymentName);
+
+ /**
+ * Delete a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String solutionDeploymentName,
+ Context context);
+
+ /**
+ * Delete a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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 solutionDeploymentName);
+
+ /**
+ * Delete a SolutionDeployment Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionDeploymentName The name of the SolutionDeployment.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String solutionDeploymentName, Context context);
+
+ /**
+ * List by specified 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 SolutionDeployment list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List by specified resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 SolutionDeployment list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List by subscription.
+ *
+ * @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 SolutionDeployment list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List by subscription.
+ *
+ * @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 SolutionDeployment list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadataVersionsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadataVersionsClient.java
new file mode 100644
index 0000000000000..a990427bc270d
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadataVersionsClient.java
@@ -0,0 +1,78 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.SolutionMetadataVersionInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in SolutionMetadataVersionsClient.
+ */
+public interface SolutionMetadataVersionsClient {
+ /**
+ * Get a Solution resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @param solutionMetadataVersionName Name of the solution metadata version.
+ * @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 Solution resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri, String solutionMetadataName,
+ String solutionMetadataVersionName, Context context);
+
+ /**
+ * Get a Solution resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @param solutionMetadataVersionName Name of the solution metadata version.
+ * @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 Solution resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionMetadataVersionInner get(String resourceUri, String solutionMetadataName,
+ String solutionMetadataVersionName);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @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 SolutionMetadataVersion list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri, String solutionMetadataName);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @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 SolutionMetadataVersion list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri, String solutionMetadataName,
+ Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadatasClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadatasClient.java
new file mode 100644
index 0000000000000..1a0d92039d1e1
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionMetadatasClient.java
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.SolutionMetadataInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in SolutionMetadatasClient.
+ */
+public interface SolutionMetadatasClient {
+ /**
+ * Get a Solution resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @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 Solution resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceUri, String solutionMetadataName, Context context);
+
+ /**
+ * Get a Solution resource.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource.
+ * @param solutionMetadataName Name of the solution metadata.
+ * @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 Solution resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionMetadataInner get(String resourceUri, String solutionMetadataName);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the 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 the response of a SolutionMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri);
+
+ /**
+ * List Solution resources.
+ *
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the 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 response of a SolutionMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceUri, Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionSchemasClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionSchemasClient.java
new file mode 100644
index 0000000000000..4875c2086fab0
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionSchemasClient.java
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.models.SolutionSchemaInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in SolutionSchemasClient.
+ */
+public interface SolutionSchemasClient {
+ /**
+ * Get a SolutionSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @param solutionSchemaName The name of the SolutionSchemaProperties.
+ * @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 SolutionSchema Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, String solutionSchemaName, Context context);
+
+ /**
+ * Get a SolutionSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @param solutionSchemaName The name of the SolutionSchemaProperties.
+ * @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 SolutionSchema Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionSchemaInner get(String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ String solutionSchemaName);
+
+ /**
+ * List by SolutionTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 SolutionSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySolutionTemplateVersion(String resourceGroupName,
+ String solutionTemplateName, String solutionTemplateVersionName);
+
+ /**
+ * List by SolutionTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 SolutionSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBySolutionTemplateVersion(String resourceGroupName,
+ String solutionTemplateName, String solutionTemplateVersionName, Context context);
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionTemplateVersionsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionTemplateVersionsClient.java
index 92a9b128c3bd4..7b6fa9e960be9 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionTemplateVersionsClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/SolutionTemplateVersionsClient.java
@@ -14,6 +14,7 @@
import com.azure.resourcemanager.workloadorchestration.fluent.models.SolutionTemplateVersionInner;
import com.azure.resourcemanager.workloadorchestration.models.BulkDeploySolutionParameter;
import com.azure.resourcemanager.workloadorchestration.models.BulkPublishSolutionParameter;
+import com.azure.resourcemanager.workloadorchestration.models.BulkReviewSolutionParameter;
/**
* An instance of this class provides access to all the operations defined in SolutionTemplateVersionsClient.
@@ -50,6 +51,166 @@ Response getWithResponse(String resourceGroupName,
SolutionTemplateVersionInner get(String resourceGroupName, String solutionTemplateName,
String solutionTemplateVersionName);
+ /**
+ * Create or update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of solution Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ SolutionTemplateVersionInner resource);
+
+ /**
+ * Create or update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of solution Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ SolutionTemplateVersionInner resource, Context context);
+
+ /**
+ * Create or update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 solution Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionTemplateVersionInner createOrUpdate(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, SolutionTemplateVersionInner resource);
+
+ /**
+ * Create or update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 solution Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionTemplateVersionInner createOrUpdate(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, SolutionTemplateVersionInner resource, Context context);
+
+ /**
+ * Update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 solution Template Version Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, SolutionTemplateVersionInner properties, Context context);
+
+ /**
+ * Update a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 solution Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionTemplateVersionInner update(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, SolutionTemplateVersionInner properties);
+
+ /**
+ * Delete a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName);
+
+ /**
+ * Delete a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, Context context);
+
+ /**
+ * Delete a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 solutionTemplateName, String solutionTemplateVersionName);
+
+ /**
+ * Delete a Solution Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ Context context);
+
/**
* List Solution Template Version Resources.
*
@@ -208,4 +369,68 @@ void bulkPublishSolution(String resourceGroupName, String solutionTemplateName,
@ServiceMethod(returns = ReturnType.SINGLE)
void bulkPublishSolution(String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
BulkPublishSolutionParameter body, Context context);
+
+ /**
+ * Post request for bulk review.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginBulkReviewSolution(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, BulkReviewSolutionParameter body);
+
+ /**
+ * Post request for bulk review.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginBulkReviewSolution(String resourceGroupName, String solutionTemplateName,
+ String solutionTemplateVersionName, BulkReviewSolutionParameter body, Context context);
+
+ /**
+ * Post request for bulk review.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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 bulkReviewSolution(String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ BulkReviewSolutionParameter body);
+
+ /**
+ * Post request for bulk review.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param solutionTemplateName The name of the SolutionTemplate.
+ * @param solutionTemplateVersionName The name of the SolutionTemplateVersion.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void bulkReviewSolution(String resourceGroupName, String solutionTemplateName, String solutionTemplateVersionName,
+ BulkReviewSolutionParameter body, Context context);
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/TargetsClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/TargetsClient.java
index 3d5ad3f9294dc..d7d0db2af70fe 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/TargetsClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/TargetsClient.java
@@ -697,4 +697,66 @@ SolutionVersionInner updateExternalValidationStatus(String resourceGroupName, St
@ServiceMethod(returns = ReturnType.SINGLE)
SolutionVersionInner updateExternalValidationStatus(String resourceGroupName, String targetName,
UpdateExternalValidationStatusParameter body, Context context);
+
+ /**
+ * Post request to unstage solution version.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param targetName Name of the target.
+ * @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 {@link SyncPoller} for polling of solution Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionVersionInner>
+ beginUnstageSolutionVersion(String resourceGroupName, String targetName, SolutionVersionParameter body);
+
+ /**
+ * Post request to unstage solution version.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param targetName Name of the target.
+ * @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 SyncPoller} for polling of solution Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SolutionVersionInner> beginUnstageSolutionVersion(
+ String resourceGroupName, String targetName, SolutionVersionParameter body, Context context);
+
+ /**
+ * Post request to unstage solution version.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param targetName Name of the target.
+ * @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 solution Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionVersionInner unstageSolutionVersion(String resourceGroupName, String targetName,
+ SolutionVersionParameter body);
+
+ /**
+ * Post request to unstage solution version.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param targetName Name of the target.
+ * @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 solution Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SolutionVersionInner unstageSolutionVersion(String resourceGroupName, String targetName,
+ SolutionVersionParameter body, Context context);
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/WorkloadOrchestrationManagementClient.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/WorkloadOrchestrationManagementClient.java
index aab992a2fce9c..3a3029f3d28a8 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/WorkloadOrchestrationManagementClient.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/WorkloadOrchestrationManagementClient.java
@@ -109,6 +109,20 @@ public interface WorkloadOrchestrationManagementClient {
*/
SolutionsClient getSolutions();
+ /**
+ * Gets the SolutionMetadatasClient object to access its operations.
+ *
+ * @return the SolutionMetadatasClient object.
+ */
+ SolutionMetadatasClient getSolutionMetadatas();
+
+ /**
+ * Gets the SolutionMetadataVersionsClient object to access its operations.
+ *
+ * @return the SolutionMetadataVersionsClient object.
+ */
+ SolutionMetadataVersionsClient getSolutionMetadataVersions();
+
/**
* Gets the SolutionTemplateVersionsClient object to access its operations.
*
@@ -192,4 +206,46 @@ public interface WorkloadOrchestrationManagementClient {
* @return the SiteReferencesClient object.
*/
SiteReferencesClient getSiteReferences();
+
+ /**
+ * Gets the SolutionSchemasClient object to access its operations.
+ *
+ * @return the SolutionSchemasClient object.
+ */
+ SolutionSchemasClient getSolutionSchemas();
+
+ /**
+ * Gets the ConfigTemplateSchemasClient object to access its operations.
+ *
+ * @return the ConfigTemplateSchemasClient object.
+ */
+ ConfigTemplateSchemasClient getConfigTemplateSchemas();
+
+ /**
+ * Gets the ConfigTemplateMetadatasClient object to access its operations.
+ *
+ * @return the ConfigTemplateMetadatasClient object.
+ */
+ ConfigTemplateMetadatasClient getConfigTemplateMetadatas();
+
+ /**
+ * Gets the HierarchyConfigurationMetadatasClient object to access its operations.
+ *
+ * @return the HierarchyConfigurationMetadatasClient object.
+ */
+ HierarchyConfigurationMetadatasClient getHierarchyConfigurationMetadatas();
+
+ /**
+ * Gets the HierarchyConfigurationMetadataVersionsClient object to access its operations.
+ *
+ * @return the HierarchyConfigurationMetadataVersionsClient object.
+ */
+ HierarchyConfigurationMetadataVersionsClient getHierarchyConfigurationMetadataVersions();
+
+ /**
+ * Gets the SolutionDeploymentsClient object to access its operations.
+ *
+ * @return the SolutionDeploymentsClient object.
+ */
+ SolutionDeploymentsClient getSolutionDeployments();
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateMetadataInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateMetadataInner.java
new file mode 100644
index 0000000000000..aec0fdcf8efbc
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateMetadataInner.java
@@ -0,0 +1,178 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataProperties;
+import java.io.IOException;
+
+/**
+ * ConfigTemplateMetadata Resource.
+ */
+@Fluent
+public final class ConfigTemplateMetadataInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ConfigTemplateMetadataProperties properties;
+
+ /*
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
+ * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity
+ * tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section
+ * 14.27) header fields.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ConfigTemplateMetadataInner class.
+ */
+ public ConfigTemplateMetadataInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ConfigTemplateMetadataProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ConfigTemplateMetadataInner object itself.
+ */
+ public ConfigTemplateMetadataInner withProperties(ConfigTemplateMetadataProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: If eTag is provided in the response body, it may also be provided as a header per the
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
+ * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
+ * and If-Range (section 14.27) header fields.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ConfigTemplateMetadataInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ConfigTemplateMetadataInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ConfigTemplateMetadataInner.
+ */
+ public static ConfigTemplateMetadataInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ConfigTemplateMetadataInner deserializedConfigTemplateMetadataInner = new ConfigTemplateMetadataInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.properties
+ = ConfigTemplateMetadataProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedConfigTemplateMetadataInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedConfigTemplateMetadataInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateSchemaInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateSchemaInner.java
new file mode 100644
index 0000000000000..6b187ce042090
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/ConfigTemplateSchemaInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchemaProperties;
+import java.io.IOException;
+
+/**
+ * SolutionSchema Resource.
+ */
+@Immutable
+public final class ConfigTemplateSchemaInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ConfigTemplateSchemaProperties properties;
+
+ /*
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
+ * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity
+ * tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section
+ * 14.27) header fields.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ConfigTemplateSchemaInner class.
+ */
+ private ConfigTemplateSchemaInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ConfigTemplateSchemaProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the eTag property: If eTag is provided in the response body, it may also be provided as a header per the
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
+ * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
+ * and If-Range (section 14.27) header fields.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ConfigTemplateSchemaInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ConfigTemplateSchemaInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ConfigTemplateSchemaInner.
+ */
+ public static ConfigTemplateSchemaInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ConfigTemplateSchemaInner deserializedConfigTemplateSchemaInner = new ConfigTemplateSchemaInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.properties = ConfigTemplateSchemaProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedConfigTemplateSchemaInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedConfigTemplateSchemaInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataInner.java
new file mode 100644
index 0000000000000..49920c5d3eb39
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyConfigurationMetadataProperties;
+import java.io.IOException;
+
+/**
+ * Hierarchy Configuration Metadata Resource attached to a Target or Site.
+ */
+@Immutable
+public final class HierarchyConfigurationMetadataInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HierarchyConfigurationMetadataProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HierarchyConfigurationMetadataInner class.
+ */
+ private HierarchyConfigurationMetadataInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HierarchyConfigurationMetadataProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HierarchyConfigurationMetadataInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HierarchyConfigurationMetadataInner if the JsonReader was pointing to an instance of it,
+ * or null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HierarchyConfigurationMetadataInner.
+ */
+ public static HierarchyConfigurationMetadataInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HierarchyConfigurationMetadataInner deserializedHierarchyConfigurationMetadataInner
+ = new HierarchyConfigurationMetadataInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataInner.properties
+ = HierarchyConfigurationMetadataProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHierarchyConfigurationMetadataInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataVersionInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataVersionInner.java
new file mode 100644
index 0000000000000..b7b3ccc3bd675
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/HierarchyConfigurationMetadataVersionInner.java
@@ -0,0 +1,146 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchyConfigurationMetadataVersionProperties;
+import java.io.IOException;
+
+/**
+ * Configuration Metadata Version Resource.
+ */
+@Immutable
+public final class HierarchyConfigurationMetadataVersionInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private HierarchyConfigurationMetadataVersionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of HierarchyConfigurationMetadataVersionInner class.
+ */
+ private HierarchyConfigurationMetadataVersionInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public HierarchyConfigurationMetadataVersionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of HierarchyConfigurationMetadataVersionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of HierarchyConfigurationMetadataVersionInner if the JsonReader was pointing to an instance
+ * of it, or null if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the HierarchyConfigurationMetadataVersionInner.
+ */
+ public static HierarchyConfigurationMetadataVersionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ HierarchyConfigurationMetadataVersionInner deserializedHierarchyConfigurationMetadataVersionInner
+ = new HierarchyConfigurationMetadataVersionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataVersionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataVersionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataVersionInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataVersionInner.properties
+ = HierarchyConfigurationMetadataVersionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedHierarchyConfigurationMetadataVersionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedHierarchyConfigurationMetadataVersionInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SchemaReferenceInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SchemaReferenceInner.java
index 9262a540eedd2..92df30ae84a36 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SchemaReferenceInner.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SchemaReferenceInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.workloadorchestration.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* Schema Reference Resource.
*/
-@Immutable
+@Fluent
public final class SchemaReferenceInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -54,7 +54,7 @@ public final class SchemaReferenceInner extends ProxyResource {
/**
* Creates an instance of SchemaReferenceInner class.
*/
- private SchemaReferenceInner() {
+ public SchemaReferenceInner() {
}
/**
@@ -66,6 +66,17 @@ public SchemaReferenceProperties properties() {
return this.properties;
}
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the SchemaReferenceInner object itself.
+ */
+ public SchemaReferenceInner withProperties(SchemaReferenceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
/**
* Get the eTag property: If eTag is provided in the response body, it may also be provided as a header per the
* normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionDeploymentInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionDeploymentInner.java
new file mode 100644
index 0000000000000..97903222be308
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionDeploymentInner.java
@@ -0,0 +1,203 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionDeploymentProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Solution Deployment Resource. Represents a resource to be deployed on the cloud or edge.
+ */
+@Fluent
+public final class SolutionDeploymentInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private SolutionDeploymentProperties properties;
+
+ /*
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
+ * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity
+ * tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section
+ * 14.27) header fields.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SolutionDeploymentInner class.
+ */
+ public SolutionDeploymentInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public SolutionDeploymentProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the SolutionDeploymentInner object itself.
+ */
+ public SolutionDeploymentInner withProperties(SolutionDeploymentProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: If eTag is provided in the response body, it may also be provided as a header per the
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
+ * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
+ * and If-Range (section 14.27) header fields.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public SolutionDeploymentInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public SolutionDeploymentInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SolutionDeploymentInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SolutionDeploymentInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SolutionDeploymentInner.
+ */
+ public static SolutionDeploymentInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SolutionDeploymentInner deserializedSolutionDeploymentInner = new SolutionDeploymentInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedSolutionDeploymentInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.properties = SolutionDeploymentProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSolutionDeploymentInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSolutionDeploymentInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataInner.java
new file mode 100644
index 0000000000000..4cf6fd8747d4b
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataInner.java
@@ -0,0 +1,144 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionMetadataProperties;
+import java.io.IOException;
+
+/**
+ * Solution Metadata Resource attached to a Target or Site.
+ */
+@Immutable
+public final class SolutionMetadataInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private SolutionMetadataProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SolutionMetadataInner class.
+ */
+ private SolutionMetadataInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public SolutionMetadataProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SolutionMetadataInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SolutionMetadataInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SolutionMetadataInner.
+ */
+ public static SolutionMetadataInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SolutionMetadataInner deserializedSolutionMetadataInner = new SolutionMetadataInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSolutionMetadataInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedSolutionMetadataInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedSolutionMetadataInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedSolutionMetadataInner.properties = SolutionMetadataProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSolutionMetadataInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSolutionMetadataInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataVersionInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataVersionInner.java
new file mode 100644
index 0000000000000..fee939ad82111
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionMetadataVersionInner.java
@@ -0,0 +1,145 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionMetadataVersionProperties;
+import java.io.IOException;
+
+/**
+ * Solution Metadata Version Resource.
+ */
+@Immutable
+public final class SolutionMetadataVersionInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private SolutionMetadataVersionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SolutionMetadataVersionInner class.
+ */
+ private SolutionMetadataVersionInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public SolutionMetadataVersionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SolutionMetadataVersionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SolutionMetadataVersionInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SolutionMetadataVersionInner.
+ */
+ public static SolutionMetadataVersionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SolutionMetadataVersionInner deserializedSolutionMetadataVersionInner = new SolutionMetadataVersionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSolutionMetadataVersionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedSolutionMetadataVersionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedSolutionMetadataVersionInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedSolutionMetadataVersionInner.properties
+ = SolutionMetadataVersionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSolutionMetadataVersionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSolutionMetadataVersionInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionSchemaInner.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionSchemaInner.java
new file mode 100644
index 0000000000000..65c817d8d7d7f
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/fluent/models/SolutionSchemaInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.workloadorchestration.models.SolutionSchemaProperties;
+import java.io.IOException;
+
+/**
+ * SolutionSchema Resource.
+ */
+@Immutable
+public final class SolutionSchemaInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private SolutionSchemaProperties properties;
+
+ /*
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
+ * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity
+ * tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section
+ * 14.27) header fields.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SolutionSchemaInner class.
+ */
+ private SolutionSchemaInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public SolutionSchemaProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the eTag property: If eTag is provided in the response body, it may also be provided as a header per the
+ * normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource.
+ * HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26),
+ * and If-Range (section 14.27) header fields.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SolutionSchemaInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SolutionSchemaInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SolutionSchemaInner.
+ */
+ public static SolutionSchemaInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SolutionSchemaInner deserializedSolutionSchemaInner = new SolutionSchemaInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSolutionSchemaInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedSolutionSchemaInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedSolutionSchemaInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedSolutionSchemaInner.properties = SolutionSchemaProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedSolutionSchemaInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSolutionSchemaInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSolutionSchemaInner;
+ });
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateImpl.java
index 48f13d1f1a2f0..ff41d421fb910 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateImpl.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateImpl.java
@@ -15,6 +15,7 @@
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateUpdate;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateUpdateProperties;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersion;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchySelector;
import com.azure.resourcemanager.workloadorchestration.models.RemoveVersionResponse;
import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
import java.util.Collections;
@@ -159,6 +160,22 @@ public ConfigTemplate refresh(Context context) {
return this;
}
+ public void linkToHierarchies(HierarchySelector body) {
+ serviceManager.configTemplates().linkToHierarchies(resourceGroupName, configTemplateName, body);
+ }
+
+ public void linkToHierarchies(HierarchySelector body, Context context) {
+ serviceManager.configTemplates().linkToHierarchies(resourceGroupName, configTemplateName, body, context);
+ }
+
+ public void unLinkFromHierarchies(HierarchySelector body) {
+ serviceManager.configTemplates().unLinkFromHierarchies(resourceGroupName, configTemplateName, body);
+ }
+
+ public void unLinkFromHierarchies(HierarchySelector body, Context context) {
+ serviceManager.configTemplates().unLinkFromHierarchies(resourceGroupName, configTemplateName, body, context);
+ }
+
public ConfigTemplateVersion createVersion(ConfigTemplateVersionWithUpdateTypeInner body) {
return serviceManager.configTemplates().createVersion(resourceGroupName, configTemplateName, body);
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadataImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadataImpl.java
new file mode 100644
index 0000000000000..a39c2a061bcdc
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadataImpl.java
@@ -0,0 +1,148 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateMetadataInner;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadata;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataProperties;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataUpdate;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataUpdateProperties;
+
+public final class ConfigTemplateMetadataImpl
+ implements ConfigTemplateMetadata, ConfigTemplateMetadata.Definition, ConfigTemplateMetadata.Update {
+ private ConfigTemplateMetadataInner innerObject;
+
+ private final com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public ConfigTemplateMetadataProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public String eTag() {
+ return this.innerModel().eTag();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public ConfigTemplateMetadataInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String configTemplateName;
+
+ private String configTemplateMetadataName;
+
+ private ConfigTemplateMetadataUpdate updateProperties;
+
+ public ConfigTemplateMetadataImpl withExistingConfigTemplate(String resourceGroupName, String configTemplateName) {
+ this.resourceGroupName = resourceGroupName;
+ this.configTemplateName = configTemplateName;
+ return this;
+ }
+
+ public ConfigTemplateMetadata create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .createOrUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, this.innerModel(),
+ Context.NONE);
+ return this;
+ }
+
+ public ConfigTemplateMetadata create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .createOrUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, this.innerModel(),
+ context);
+ return this;
+ }
+
+ ConfigTemplateMetadataImpl(String name,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerObject = new ConfigTemplateMetadataInner();
+ this.serviceManager = serviceManager;
+ this.configTemplateMetadataName = name;
+ }
+
+ public ConfigTemplateMetadataImpl update() {
+ this.updateProperties = new ConfigTemplateMetadataUpdate();
+ return this;
+ }
+
+ public ConfigTemplateMetadata apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .update(resourceGroupName, configTemplateName, configTemplateMetadataName, updateProperties, Context.NONE);
+ return this;
+ }
+
+ public ConfigTemplateMetadata apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .update(resourceGroupName, configTemplateName, configTemplateMetadataName, updateProperties, context);
+ return this;
+ }
+
+ ConfigTemplateMetadataImpl(ConfigTemplateMetadataInner innerObject,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.configTemplateName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "configTemplates");
+ this.configTemplateMetadataName
+ = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "configTemplateMetadatas");
+ }
+
+ public ConfigTemplateMetadata refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ConfigTemplateMetadata refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateMetadatas()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, context)
+ .getValue();
+ return this;
+ }
+
+ public ConfigTemplateMetadataImpl withProperties(ConfigTemplateMetadataProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+
+ public ConfigTemplateMetadataImpl withProperties(ConfigTemplateMetadataUpdateProperties properties) {
+ this.updateProperties.withProperties(properties);
+ return this;
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasClientImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasClientImpl.java
new file mode 100644
index 0000000000000..6b12133a18357
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasClientImpl.java
@@ -0,0 +1,1013 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.workloadorchestration.fluent.ConfigTemplateMetadatasClient;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateMetadataInner;
+import com.azure.resourcemanager.workloadorchestration.implementation.models.ConfigTemplateMetadataListResult;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadataUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConfigTemplateMetadatasClient.
+ */
+public final class ConfigTemplateMetadatasClientImpl implements ConfigTemplateMetadatasClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final ConfigTemplateMetadatasService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final WorkloadOrchestrationManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ConfigTemplateMetadatasClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ConfigTemplateMetadatasClientImpl(WorkloadOrchestrationManagementClientImpl client) {
+ this.service = RestProxy.create(ConfigTemplateMetadatasService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for WorkloadOrchestrationManagementClientConfigTemplateMetadatas to be
+ * used by the proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "WorkloadOrchestrationManagementClientConfigTemplateMetadatas")
+ public interface ConfigTemplateMetadatasService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateMetadataInner resource, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateMetadataInner resource, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateMetadataUpdate properties, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response updateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateMetadataUpdate properties, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas/{configTemplateMetadataName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response deleteSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateMetadataName") String configTemplateMetadataName, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByConfigTemplate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/configTemplateMetadatas")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByConfigTemplateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByConfigTemplateNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByConfigTemplateNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateMetadataName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ return getWithResponseAsync(resourceGroupName, configTemplateName, configTemplateMetadataName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context) {
+ final String accept = "application/json";
+ return service.getSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, configTemplateName, configTemplateMetadataName, accept, context);
+ }
+
+ /**
+ * Get a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 ConfigTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateMetadataInner get(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ return getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateMetadataName, ConfigTemplateMetadataInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, resource, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, resource, Context.NONE);
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, resource, context);
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ConfigTemplateMetadataInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataInner resource) {
+ Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, configTemplateName,
+ configTemplateMetadataName, resource);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateMetadataInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataInner resource) {
+ Response response
+ = createOrUpdateWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, resource);
+ return this.client.getLroResult(response,
+ ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class, Context.NONE);
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateMetadataInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataInner resource, Context context) {
+ Response response = createOrUpdateWithResponse(resourceGroupName, configTemplateName,
+ configTemplateMetadataName, resource, context);
+ return this.client.getLroResult(response,
+ ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class, context);
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource) {
+ return beginCreateOrUpdateAsync(resourceGroupName, configTemplateName, configTemplateMetadataName, resource)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateMetadataInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource) {
+ return beginCreateOrUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, resource)
+ .getFinalResult();
+ }
+
+ /**
+ * Create or update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateMetadataInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataInner resource, Context context) {
+ return beginCreateOrUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, resource, context)
+ .getFinalResult();
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, properties, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, properties, Context.NONE);
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ contentType, accept, properties, context);
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 the {@link PollerFlux} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ConfigTemplateMetadataInner> beginUpdateAsync(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataUpdate properties) {
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, configTemplateName, configTemplateMetadataName, properties);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateMetadataInner> beginUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataUpdate properties) {
+ Response response
+ = updateWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, properties);
+ return this.client.getLroResult(response,
+ ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class, Context.NONE);
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 the {@link SyncPoller} for polling of configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateMetadataInner> beginUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ ConfigTemplateMetadataUpdate properties, Context context) {
+ Response response = updateWithResponse(resourceGroupName, configTemplateName,
+ configTemplateMetadataName, properties, context);
+ return this.client.getLroResult(response,
+ ConfigTemplateMetadataInner.class, ConfigTemplateMetadataInner.class, context);
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties) {
+ return beginUpdateAsync(resourceGroupName, configTemplateName, configTemplateMetadataName, properties).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateMetadataInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties) {
+ return beginUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, properties)
+ .getFinalResult();
+ }
+
+ /**
+ * Update a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateMetadata Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateMetadataInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, ConfigTemplateMetadataUpdate properties, Context context) {
+ return beginUpdate(resourceGroupName, configTemplateName, configTemplateMetadataName, properties, context)
+ .getFinalResult();
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateName, String configTemplateMetadataName) {
+ return FluxUtil
+ .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ Context.NONE);
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateMetadataName,
+ context);
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ Mono>> mono
+ = deleteWithResponseAsync(resourceGroupName, configTemplateName, configTemplateMetadataName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ Response response
+ = deleteWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context) {
+ Response response
+ = deleteWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateName,
+ String configTemplateMetadataName) {
+ return beginDeleteAsync(resourceGroupName, configTemplateName, configTemplateMetadataName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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 configTemplateName, String configTemplateMetadataName) {
+ beginDelete(resourceGroupName, configTemplateName, configTemplateMetadataName).getFinalResult();
+ }
+
+ /**
+ * Delete a ConfigTemplateMetadata Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateMetadataName The name of the ConfigTemplateMetadataProperties.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ Context context) {
+ beginDelete(resourceGroupName, configTemplateName, configTemplateMetadataName, context).getFinalResult();
+ }
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listByConfigTemplateSinglePageAsync(String resourceGroupName, String configTemplateName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByConfigTemplate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, 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 by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByConfigTemplateAsync(String resourceGroupName,
+ String configTemplateName) {
+ return new PagedFlux<>(() -> listByConfigTemplateSinglePageAsync(resourceGroupName, configTemplateName),
+ nextLink -> listByConfigTemplateNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateSinglePage(String resourceGroupName,
+ String configTemplateName) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateSinglePage(String resourceGroupName,
+ String configTemplateName, Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByConfigTemplate(String resourceGroupName,
+ String configTemplateName) {
+ return new PagedIterable<>(() -> listByConfigTemplateSinglePage(resourceGroupName, configTemplateName),
+ nextLink -> listByConfigTemplateNextSinglePage(nextLink));
+ }
+
+ /**
+ * List by ConfigTemplate.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ConfigTemplateMetadata list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByConfigTemplate(String resourceGroupName,
+ String configTemplateName, Context context) {
+ return new PagedIterable<>(() -> listByConfigTemplateSinglePage(resourceGroupName, configTemplateName, context),
+ nextLink -> listByConfigTemplateNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByConfigTemplateNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.listByConfigTemplateNext(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.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @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 ConfigTemplateMetadata list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateNextSinglePage(String nextLink,
+ Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasImpl.java
new file mode 100644
index 0000000000000..aa0ebc19e7e69
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateMetadatasImpl.java
@@ -0,0 +1,160 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.ConfigTemplateMetadatasClient;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateMetadataInner;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadata;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateMetadatas;
+
+public final class ConfigTemplateMetadatasImpl implements ConfigTemplateMetadatas {
+ private static final ClientLogger LOGGER = new ClientLogger(ConfigTemplateMetadatasImpl.class);
+
+ private final ConfigTemplateMetadatasClient innerClient;
+
+ private final com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager;
+
+ public ConfigTemplateMetadatasImpl(ConfigTemplateMetadatasClient innerClient,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName, Context context) {
+ Response inner = this.serviceClient()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new ConfigTemplateMetadataImpl(inner.getValue(), this.manager()));
+ }
+
+ public ConfigTemplateMetadata get(String resourceGroupName, String configTemplateName,
+ String configTemplateMetadataName) {
+ ConfigTemplateMetadataInner inner
+ = this.serviceClient().get(resourceGroupName, configTemplateName, configTemplateMetadataName);
+ if (inner != null) {
+ return new ConfigTemplateMetadataImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateMetadataName) {
+ this.serviceClient().delete(resourceGroupName, configTemplateName, configTemplateMetadataName);
+ }
+
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateMetadataName,
+ Context context) {
+ this.serviceClient().delete(resourceGroupName, configTemplateName, configTemplateMetadataName, context);
+ }
+
+ public PagedIterable listByConfigTemplate(String resourceGroupName,
+ String configTemplateName) {
+ PagedIterable inner
+ = this.serviceClient().listByConfigTemplate(resourceGroupName, configTemplateName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConfigTemplateMetadataImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByConfigTemplate(String resourceGroupName,
+ String configTemplateName, Context context) {
+ PagedIterable inner
+ = this.serviceClient().listByConfigTemplate(resourceGroupName, configTemplateName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConfigTemplateMetadataImpl(inner1, this.manager()));
+ }
+
+ public ConfigTemplateMetadata getById(String id) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateMetadataName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplateMetadatas");
+ if (configTemplateMetadataName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(String
+ .format("The resource ID '%s' is not valid. Missing path segment 'configTemplateMetadatas'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, Context.NONE)
+ .getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateMetadataName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplateMetadatas");
+ if (configTemplateMetadataName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(String
+ .format("The resource ID '%s' is not valid. Missing path segment 'configTemplateMetadatas'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, configTemplateName, configTemplateMetadataName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateMetadataName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplateMetadatas");
+ if (configTemplateMetadataName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(String
+ .format("The resource ID '%s' is not valid. Missing path segment 'configTemplateMetadatas'.", id)));
+ }
+ this.delete(resourceGroupName, configTemplateName, configTemplateMetadataName, Context.NONE);
+ }
+
+ public void deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateMetadataName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplateMetadatas");
+ if (configTemplateMetadataName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(String
+ .format("The resource ID '%s' is not valid. Missing path segment 'configTemplateMetadatas'.", id)));
+ }
+ this.delete(resourceGroupName, configTemplateName, configTemplateMetadataName, context);
+ }
+
+ private ConfigTemplateMetadatasClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
+ return this.serviceManager;
+ }
+
+ public ConfigTemplateMetadataImpl define(String name) {
+ return new ConfigTemplateMetadataImpl(name, this.manager());
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemaImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemaImpl.java
new file mode 100644
index 0000000000000..08ac51931cb28
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemaImpl.java
@@ -0,0 +1,54 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateSchemaInner;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchema;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchemaProperties;
+
+public final class ConfigTemplateSchemaImpl implements ConfigTemplateSchema {
+ private ConfigTemplateSchemaInner innerObject;
+
+ private final com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager;
+
+ ConfigTemplateSchemaImpl(ConfigTemplateSchemaInner innerObject,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public ConfigTemplateSchemaProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public String eTag() {
+ return this.innerModel().eTag();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public ConfigTemplateSchemaInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasClientImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasClientImpl.java
new file mode 100644
index 0000000000000..524362b46448b
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasClientImpl.java
@@ -0,0 +1,397 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.implementation;
+
+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.PathParam;
+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.workloadorchestration.fluent.ConfigTemplateSchemasClient;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateSchemaInner;
+import com.azure.resourcemanager.workloadorchestration.implementation.models.ConfigTemplateSchemaListResult;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in ConfigTemplateSchemasClient.
+ */
+public final class ConfigTemplateSchemasClientImpl implements ConfigTemplateSchemasClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final ConfigTemplateSchemasService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final WorkloadOrchestrationManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ConfigTemplateSchemasClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ConfigTemplateSchemasClientImpl(WorkloadOrchestrationManagementClientImpl client) {
+ this.service = RestProxy.create(ConfigTemplateSchemasService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for WorkloadOrchestrationManagementClientConfigTemplateSchemas to be used
+ * by the proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "WorkloadOrchestrationManagementClientConfigTemplateSchemas")
+ public interface ConfigTemplateSchemasService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}/configTemplateSchemas/{configTemplateSchemaName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> get(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @PathParam("configTemplateSchemaName") String configTemplateSchemaName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}/configTemplateSchemas/{configTemplateSchemaName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @PathParam("configTemplateSchemaName") String configTemplateSchemaName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}/configTemplateSchemas")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByConfigTemplateVersion(
+ @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}/configTemplateSchemas")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByConfigTemplateVersionSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByConfigTemplateVersionNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByConfigTemplateVersionNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, String configTemplateSchemaName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ configTemplateSchemaName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName) {
+ return getWithResponseAsync(resourceGroupName, configTemplateName, configTemplateVersionName,
+ configTemplateSchemaName).flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName, Context context) {
+ final String accept = "application/json";
+ return service.getSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, configTemplateName, configTemplateVersionName, configTemplateSchemaName, accept,
+ context);
+ }
+
+ /**
+ * Get a ConfigTemplateSchema Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param configTemplateSchemaName The name of the ConfigTemplateSchemaProperties.
+ * @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 ConfigTemplateSchema Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateSchemaInner get(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName) {
+ return getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName,
+ configTemplateSchemaName, Context.NONE).getValue();
+ }
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listByConfigTemplateVersionSinglePageAsync(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByConfigTemplateVersion(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, configTemplateName,
+ configTemplateVersionName, 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 by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux listByConfigTemplateVersionAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName) {
+ return new PagedFlux<>(() -> listByConfigTemplateVersionSinglePageAsync(resourceGroupName, configTemplateName,
+ configTemplateVersionName), nextLink -> listByConfigTemplateVersionNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateVersionSinglePage(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName) {
+ final String accept = "application/json";
+ Response res = service.listByConfigTemplateVersionSync(
+ this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName,
+ configTemplateName, configTemplateVersionName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateVersionSinglePage(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, Context context) {
+ final String accept = "application/json";
+ Response res = service.listByConfigTemplateVersionSync(
+ this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName,
+ configTemplateName, configTemplateVersionName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName) {
+ return new PagedIterable<>(() -> listByConfigTemplateVersionSinglePage(resourceGroupName, configTemplateName,
+ configTemplateVersionName), nextLink -> listByConfigTemplateVersionNextSinglePage(nextLink));
+ }
+
+ /**
+ * List by ConfigTemplateVersion.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 ConfigTemplateSchema list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, Context context) {
+ return new PagedIterable<>(
+ () -> listByConfigTemplateVersionSinglePage(resourceGroupName, configTemplateName,
+ configTemplateVersionName, context),
+ nextLink -> listByConfigTemplateVersionNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listByConfigTemplateVersionNextSinglePageAsync(String nextLink) {
+ final String accept = "application/json";
+ return FluxUtil.withContext(
+ context -> service.listByConfigTemplateVersionNext(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.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateVersionNextSinglePage(String nextLink) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateVersionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * Get the next page of items.
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @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 ConfigTemplateSchema list operation along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByConfigTemplateVersionNextSinglePage(String nextLink,
+ Context context) {
+ final String accept = "application/json";
+ Response res
+ = service.listByConfigTemplateVersionNextSync(nextLink, this.client.getEndpoint(), accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasImpl.java
new file mode 100644
index 0000000000000..94ba5f8452046
--- /dev/null
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateSchemasImpl.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.workloadorchestration.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.workloadorchestration.fluent.ConfigTemplateSchemasClient;
+import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateSchemaInner;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchema;
+import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateSchemas;
+
+public final class ConfigTemplateSchemasImpl implements ConfigTemplateSchemas {
+ private static final ClientLogger LOGGER = new ClientLogger(ConfigTemplateSchemasImpl.class);
+
+ private final ConfigTemplateSchemasClient innerClient;
+
+ private final com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager;
+
+ public ConfigTemplateSchemasImpl(ConfigTemplateSchemasClient innerClient,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response getWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName, Context context) {
+ Response inner = this.serviceClient()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, configTemplateSchemaName,
+ context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new ConfigTemplateSchemaImpl(inner.getValue(), this.manager()));
+ }
+
+ public ConfigTemplateSchema get(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, String configTemplateSchemaName) {
+ ConfigTemplateSchemaInner inner = this.serviceClient()
+ .get(resourceGroupName, configTemplateName, configTemplateVersionName, configTemplateSchemaName);
+ if (inner != null) {
+ return new ConfigTemplateSchemaImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ public PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName) {
+ PagedIterable inner = this.serviceClient()
+ .listByConfigTemplateVersion(resourceGroupName, configTemplateName, configTemplateVersionName);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConfigTemplateSchemaImpl(inner1, this.manager()));
+ }
+
+ public PagedIterable listByConfigTemplateVersion(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, Context context) {
+ PagedIterable inner = this.serviceClient()
+ .listByConfigTemplateVersion(resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ return ResourceManagerUtils.mapPage(inner, inner1 -> new ConfigTemplateSchemaImpl(inner1, this.manager()));
+ }
+
+ private ConfigTemplateSchemasClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionImpl.java
index cd7f836572286..cb190f88fcf06 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionImpl.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionImpl.java
@@ -5,21 +5,17 @@
package com.azure.resourcemanager.workloadorchestration.implementation;
import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionInner;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersion;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateVersionProperties;
-public final class ConfigTemplateVersionImpl implements ConfigTemplateVersion {
+public final class ConfigTemplateVersionImpl
+ implements ConfigTemplateVersion, ConfigTemplateVersion.Definition, ConfigTemplateVersion.Update {
private ConfigTemplateVersionInner innerObject;
private final com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager;
- ConfigTemplateVersionImpl(ConfigTemplateVersionInner innerObject,
- com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
- this.innerObject = innerObject;
- this.serviceManager = serviceManager;
- }
-
public String id() {
return this.innerModel().id();
}
@@ -44,6 +40,10 @@ public SystemData systemData() {
return this.innerModel().systemData();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public ConfigTemplateVersionInner innerModel() {
return this.innerObject;
}
@@ -51,4 +51,91 @@ public ConfigTemplateVersionInner innerModel() {
private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
return this.serviceManager;
}
+
+ private String resourceGroupName;
+
+ private String configTemplateName;
+
+ private String configTemplateVersionName;
+
+ public ConfigTemplateVersionImpl withExistingConfigTemplate(String resourceGroupName, String configTemplateName) {
+ this.resourceGroupName = resourceGroupName;
+ this.configTemplateName = configTemplateName;
+ return this;
+ }
+
+ public ConfigTemplateVersion create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .createOrUpdate(resourceGroupName, configTemplateName, configTemplateVersionName, this.innerModel(),
+ Context.NONE);
+ return this;
+ }
+
+ public ConfigTemplateVersion create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .createOrUpdate(resourceGroupName, configTemplateName, configTemplateVersionName, this.innerModel(),
+ context);
+ return this;
+ }
+
+ ConfigTemplateVersionImpl(String name,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerObject = new ConfigTemplateVersionInner();
+ this.serviceManager = serviceManager;
+ this.configTemplateVersionName = name;
+ }
+
+ public ConfigTemplateVersionImpl update() {
+ return this;
+ }
+
+ public ConfigTemplateVersion apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .updateWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, this.innerModel(),
+ Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ConfigTemplateVersion apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .updateWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, this.innerModel(),
+ context)
+ .getValue();
+ return this;
+ }
+
+ ConfigTemplateVersionImpl(ConfigTemplateVersionInner innerObject,
+ com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.configTemplateName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "configTemplates");
+ this.configTemplateVersionName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "versions");
+ }
+
+ public ConfigTemplateVersion refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ConfigTemplateVersion refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getConfigTemplateVersions()
+ .getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, context)
+ .getValue();
+ return this;
+ }
+
+ public ConfigTemplateVersionImpl withProperties(ConfigTemplateVersionProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsClientImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsClientImpl.java
index 1cd219da74266..223068f3884b6 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsClientImpl.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsClientImpl.java
@@ -4,13 +4,17 @@
package com.azure.resourcemanager.workloadorchestration.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;
@@ -23,11 +27,17 @@
import com.azure.core.http.rest.Response;
import com.azure.core.http.rest.RestProxy;
import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
import com.azure.core.util.Context;
import com.azure.core.util.FluxUtil;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.workloadorchestration.fluent.ConfigTemplateVersionsClient;
import com.azure.resourcemanager.workloadorchestration.fluent.models.ConfigTemplateVersionInner;
import com.azure.resourcemanager.workloadorchestration.implementation.models.ConfigTemplateVersionListResult;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
@@ -84,6 +94,70 @@ Response getSync(@HostParam("endpoint") String endpo
@PathParam("configTemplateVersionName") String configTemplateVersionName,
@HeaderParam("Accept") String accept, Context context);
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateVersionInner resource, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateVersionInner resource, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> update(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateVersionInner properties, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response updateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ConfigTemplateVersionInner properties, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions/{configTemplateVersionName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response deleteSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName,
+ @PathParam("configTemplateVersionName") String configTemplateVersionName, Context context);
+
@Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/versions")
@ExpectedResponses({ 200 })
@@ -199,6 +273,453 @@ public ConfigTemplateVersionInner get(String resourceGroupName, String configTem
.getValue();
}
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, ConfigTemplateVersionInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ contentType, accept, resource, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ contentType, accept, resource, Context.NONE);
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ contentType, accept, resource, context);
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ConfigTemplateVersionInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ ConfigTemplateVersionInner resource) {
+ Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, configTemplateName,
+ configTemplateVersionName, resource);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), ConfigTemplateVersionInner.class, ConfigTemplateVersionInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ ConfigTemplateVersionInner resource) {
+ Response response
+ = createOrUpdateWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, resource);
+ return this.client.getLroResult(response,
+ ConfigTemplateVersionInner.class, ConfigTemplateVersionInner.class, Context.NONE);
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ConfigTemplateVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ ConfigTemplateVersionInner resource, Context context) {
+ Response response = createOrUpdateWithResponse(resourceGroupName, configTemplateName,
+ configTemplateVersionName, resource, context);
+ return this.client.getLroResult(response,
+ ConfigTemplateVersionInner.class, ConfigTemplateVersionInner.class, context);
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource) {
+ return beginCreateOrUpdateAsync(resourceGroupName, configTemplateName, configTemplateVersionName, resource)
+ .last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateVersionInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource) {
+ return beginCreateOrUpdate(resourceGroupName, configTemplateName, configTemplateVersionName, resource)
+ .getFinalResult();
+ }
+
+ /**
+ * Create or update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateVersionInner createOrUpdate(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner resource, Context context) {
+ return beginCreateOrUpdate(resourceGroupName, configTemplateName, configTemplateVersionName, resource, context)
+ .getFinalResult();
+ }
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> updateWithResponseAsync(String resourceGroupName,
+ String configTemplateName, String configTemplateVersionName, ConfigTemplateVersionInner properties) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ contentType, accept, properties, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner properties) {
+ return updateWithResponseAsync(resourceGroupName, configTemplateName, configTemplateVersionName, properties)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response updateWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner properties, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ contentType, accept, properties, context);
+ }
+
+ /**
+ * Update a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 config Template Version Resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ConfigTemplateVersionInner update(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, ConfigTemplateVersionInner properties) {
+ return updateWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, properties,
+ Context.NONE).getValue();
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 configTemplateName, String configTemplateVersionName) {
+ return FluxUtil.withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName,
+ Context.NONE);
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, Context context) {
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName) {
+ Mono>> mono
+ = deleteWithResponseAsync(resourceGroupName, configTemplateName, configTemplateVersionName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName) {
+ Response response
+ = deleteWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String configTemplateName,
+ String configTemplateVersionName, Context context) {
+ Response response
+ = deleteWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 configTemplateName,
+ String configTemplateVersionName) {
+ return beginDeleteAsync(resourceGroupName, configTemplateName, configTemplateVersionName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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 configTemplateName, String configTemplateVersionName) {
+ beginDelete(resourceGroupName, configTemplateName, configTemplateVersionName).getFinalResult();
+ }
+
+ /**
+ * Delete a Config Template Version Resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param configTemplateVersionName The name of the ConfigTemplateVersion.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ Context context) {
+ beginDelete(resourceGroupName, configTemplateName, configTemplateVersionName, context).getFinalResult();
+ }
+
/**
* List Config Template Version Resources.
*
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsImpl.java
index 70d3cc6202e70..7a86eaadaf527 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsImpl.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplateVersionsImpl.java
@@ -46,6 +46,15 @@ public ConfigTemplateVersion get(String resourceGroupName, String configTemplate
}
}
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateVersionName) {
+ this.serviceClient().delete(resourceGroupName, configTemplateName, configTemplateVersionName);
+ }
+
+ public void delete(String resourceGroupName, String configTemplateName, String configTemplateVersionName,
+ Context context) {
+ this.serviceClient().delete(resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ }
+
public PagedIterable listByConfigTemplate(String resourceGroupName,
String configTemplateName) {
PagedIterable inner
@@ -60,6 +69,83 @@ public PagedIterable listByConfigTemplate(String resource
return ResourceManagerUtils.mapPage(inner, inner1 -> new ConfigTemplateVersionImpl(inner1, this.manager()));
}
+ public ConfigTemplateVersion getById(String id) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateVersionName = ResourceManagerUtils.getValueFromIdByName(id, "versions");
+ if (configTemplateVersionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'versions'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, Context.NONE)
+ .getValue();
+ }
+
+ public Response getByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateVersionName = ResourceManagerUtils.getValueFromIdByName(id, "versions");
+ if (configTemplateVersionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'versions'.", id)));
+ }
+ return this.getWithResponse(resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ }
+
+ public void deleteById(String id) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateVersionName = ResourceManagerUtils.getValueFromIdByName(id, "versions");
+ if (configTemplateVersionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'versions'.", id)));
+ }
+ this.delete(resourceGroupName, configTemplateName, configTemplateVersionName, Context.NONE);
+ }
+
+ public void deleteByIdWithResponse(String id, Context context) {
+ String resourceGroupName = ResourceManagerUtils.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 configTemplateName = ResourceManagerUtils.getValueFromIdByName(id, "configTemplates");
+ if (configTemplateName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'configTemplates'.", id)));
+ }
+ String configTemplateVersionName = ResourceManagerUtils.getValueFromIdByName(id, "versions");
+ if (configTemplateVersionName == null) {
+ throw LOGGER.logExceptionAsError(new IllegalArgumentException(
+ String.format("The resource ID '%s' is not valid. Missing path segment 'versions'.", id)));
+ }
+ this.delete(resourceGroupName, configTemplateName, configTemplateVersionName, context);
+ }
+
private ConfigTemplateVersionsClient serviceClient() {
return this.innerClient;
}
@@ -67,4 +153,8 @@ private ConfigTemplateVersionsClient serviceClient() {
private com.azure.resourcemanager.workloadorchestration.WorkloadOrchestrationManager manager() {
return this.serviceManager;
}
+
+ public ConfigTemplateVersionImpl define(String name) {
+ return new ConfigTemplateVersionImpl(name, this.manager());
+ }
}
diff --git a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplatesClientImpl.java b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplatesClientImpl.java
index d287d2052d4ac..fb32f882c45e0 100644
--- a/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplatesClientImpl.java
+++ b/sdk/workloadorchestration/azure-resourcemanager-workloadorchestration/src/main/java/com/azure/resourcemanager/workloadorchestration/implementation/ConfigTemplatesClientImpl.java
@@ -41,6 +41,7 @@
import com.azure.resourcemanager.workloadorchestration.fluent.models.RemoveVersionResponseInner;
import com.azure.resourcemanager.workloadorchestration.implementation.models.ConfigTemplateListResult;
import com.azure.resourcemanager.workloadorchestration.models.ConfigTemplateUpdate;
+import com.azure.resourcemanager.workloadorchestration.models.HierarchySelector;
import com.azure.resourcemanager.workloadorchestration.models.VersionParameter;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -138,6 +139,46 @@ Response updateSync(@HostParam("endpoint") String endpoint,
@HeaderParam("Accept") String accept, @BodyParam("application/json") ConfigTemplateUpdate properties,
Context context);
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/linkToHierarchies")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> linkToHierarchies(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") HierarchySelector body, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/linkToHierarchies")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response linkToHierarchiesSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") HierarchySelector body, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/unLinkFromHierarchies")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> unLinkFromHierarchies(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") HierarchySelector body, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9" })
+ @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/unLinkFromHierarchies")
+ @ExpectedResponses({ 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response unLinkFromHierarchiesSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("configTemplateName") String configTemplateName, @HeaderParam("Content-Type") String contentType,
+ @BodyParam("application/json") HierarchySelector body, Context context);
+
@Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/configTemplates/{configTemplateName}/createVersion")
@ExpectedResponses({ 200, 202 })
@UnexpectedResponseExceptionType(ManagementException.class)
@@ -592,6 +633,343 @@ public ConfigTemplateInner update(String resourceGroupName, String configTemplat
return updateWithResponse(resourceGroupName, configTemplateName, properties, Context.NONE).getValue();
}
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @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>> linkToHierarchiesWithResponseAsync(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(context -> service.linkToHierarchies(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response linkToHierarchiesWithResponse(String resourceGroupName, String configTemplateName,
+ HierarchySelector body) {
+ final String contentType = "application/json";
+ return service.linkToHierarchiesSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, Context.NONE);
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response linkToHierarchiesWithResponse(String resourceGroupName, String configTemplateName,
+ HierarchySelector body, Context context) {
+ final String contentType = "application/json";
+ return service.linkToHierarchiesSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, context);
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginLinkToHierarchiesAsync(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ Mono>> mono
+ = linkToHierarchiesWithResponseAsync(resourceGroupName, configTemplateName, body);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginLinkToHierarchies(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ Response response = linkToHierarchiesWithResponse(resourceGroupName, configTemplateName, body);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginLinkToHierarchies(String resourceGroupName,
+ String configTemplateName, HierarchySelector body, Context context) {
+ Response response
+ = linkToHierarchiesWithResponse(resourceGroupName, configTemplateName, body, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @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 linkToHierarchiesAsync(String resourceGroupName, String configTemplateName,
+ HierarchySelector body) {
+ return beginLinkToHierarchiesAsync(resourceGroupName, configTemplateName, body).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @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 linkToHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body) {
+ beginLinkToHierarchies(resourceGroupName, configTemplateName, body).getFinalResult();
+ }
+
+ /**
+ * Apply a Config Template to a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 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 linkToHierarchies(String resourceGroupName, String configTemplateName, HierarchySelector body,
+ Context context) {
+ beginLinkToHierarchies(resourceGroupName, configTemplateName, body, context).getFinalResult();
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @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>> unLinkFromHierarchiesWithResponseAsync(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ final String contentType = "application/json";
+ return FluxUtil
+ .withContext(
+ context -> service.unLinkFromHierarchies(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response unLinkFromHierarchiesWithResponse(String resourceGroupName, String configTemplateName,
+ HierarchySelector body) {
+ final String contentType = "application/json";
+ return service.unLinkFromHierarchiesSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, Context.NONE);
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response unLinkFromHierarchiesWithResponse(String resourceGroupName, String configTemplateName,
+ HierarchySelector body, Context context) {
+ final String contentType = "application/json";
+ return service.unLinkFromHierarchiesSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, configTemplateName, contentType, body, context);
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginUnLinkFromHierarchiesAsync(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ Mono>> mono
+ = unLinkFromHierarchiesWithResponseAsync(resourceGroupName, configTemplateName, body);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginUnLinkFromHierarchies(String resourceGroupName,
+ String configTemplateName, HierarchySelector body) {
+ Response response = unLinkFromHierarchiesWithResponse(resourceGroupName, configTemplateName, body);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Remove a Config Template from a particular hierarchy node.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param configTemplateName The name of the ConfigTemplate.
+ * @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 ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller