Skip to content

Commit

Permalink
fix update api
Browse files Browse the repository at this point in the history
Signed-off-by: Vishwanath Hiremath <[email protected]>
  • Loading branch information
vishwahiremat committed Feb 16, 2024
1 parent c52aa00 commit 95fe34f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 61 deletions.
15 changes: 3 additions & 12 deletions pkg/corerp/api/v20231001preview/zz_generated_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 3 additions & 26 deletions pkg/corerp/api/v20231001preview/zz_generated_models_serde.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2723,31 +2723,13 @@
"type": "object",
"description": "The updatable properties of the ApplicationResource.",
"properties": {
"compute": {
"$ref": "#/definitions/EnvironmentComputeUpdate",
"description": "The compute resource used by application environment."
},
"providers": {
"$ref": "#/definitions/ProvidersUpdate",
"description": "Cloud providers configuration for the environment."
},
"simulated": {
"type": "boolean",
"description": "Simulated environment."
},
"recipes": {
"type": "object",
"description": "Specifies Recipes linked to the Environment.",
"additionalProperties": {
"additionalProperties": {
"$ref": "#/definitions/RecipePropertiesUpdate"
},
"type": "object"
}
"environment": {
"type": "string",
"description": "Fully qualified resource ID for the environment that the application is linked to"
},
"extensions": {
"type": "array",
"description": "The environment extension.",
"description": "The application extension.",
"items": {
"$ref": "#/definitions/Extension"
},
Expand Down
2 changes: 1 addition & 1 deletion typespec/Applications.Core/applications.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ interface Applications {

update is ArmResourcePatchSync<
ApplicationResource,
EnvironmentProperties,
ApplicationProperties,
UCPBaseParameters<ApplicationResource>
>;

Expand Down

0 comments on commit 95fe34f

Please sign in to comment.