Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,26 @@ namespace Microsoft.Maintenance;
* Maintenance configuration record type
*/
model MaintenanceConfiguration
is Azure.ResourceManager.TrackedResource<MaintenanceConfigurationProperties> {
is Azure.ResourceManager.ProxyResource<MaintenanceConfigurationProperties> {
...ResourceNameParameter<
Resource = MaintenanceConfiguration,
KeyName = "resourceName",
SegmentName = "publicMaintenanceConfigurations",
NamePattern = ""
>;

/**
* Gets or sets location of the resource
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
location?: string;

/**
* Gets or sets tags of the resource
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
tags?: Record<string>;
}

@armResourceOperations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2534,11 +2534,22 @@
"$ref": "#/definitions/MaintenanceConfigurationProperties",
"description": "Gets or sets properties of the resource",
"x-ms-client-flatten": true
},
"location": {
"type": "string",
"description": "Gets or sets location of the resource"
},
"tags": {
"type": "object",
"description": "Gets or sets tags of the resource",
"additionalProperties": {
"type": "string"
}
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
]
},
Expand Down
Loading