Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
revert some too aggressive changes
  • Loading branch information
ArcturusZhang committed Sep 4, 2025
commit 36dd4f789de906d63c556592e681d7e156ae514e
27 changes: 22 additions & 5 deletions specification/fabric/Microsoft.Fabric.Management/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,18 @@ union ResourceState {
string,
}

@@identifiers(RpSkuEnumerationForNewResourceResult.value, #[]);
@doc("An object that represents enumerating SKUs for new resources.")
model RpSkuEnumerationForNewResourceResult is Page<RpSkuDetailsForNewResource>;
model RpSkuEnumerationForNewResourceResult {
#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" ""
@doc("The collection of available SKUs for new resources")
@identifiers(#[])
@pageItems
value: RpSkuDetailsForNewResource[];

@doc("Url for the next page. Null if no more pages available")
@nextLink
nextLink?: string;
}

@doc("The SKU details")
model RpSkuDetailsForNewResource {
Expand All @@ -126,10 +135,18 @@ model RpSkuProperties {
locations: Azure.Core.azureLocation[];
}

@@identifiers(RpSkuEnumerationForExistingResourceResult.value, #[]);
@doc("An object that represents enumerating SKUs for existing resources")
model RpSkuEnumerationForExistingResourceResult
is Page<RpSkuDetailsForExistingResource>;
model RpSkuEnumerationForExistingResourceResult {
#suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" ""
@doc("The SKU details")
@pageItems
@identifiers(#[])
value: RpSkuDetailsForExistingResource[];

@doc("Url for the next page. Null if no more pages available")
@nextLink
nextLink?: string;
}

@doc("An object that represents SKU details for existing resources")
model RpSkuDetailsForExistingResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1124,16 +1124,15 @@
"properties": {
"value": {
"type": "array",
"description": "The RpSkuDetailsForExistingResource items on this page",
"description": "The SKU details",
"items": {
"$ref": "#/definitions/RpSkuDetailsForExistingResource"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items"
"description": "Url for the next page. Null if no more pages available"
}
},
"required": [
Expand All @@ -1146,16 +1145,15 @@
"properties": {
"value": {
"type": "array",
"description": "The RpSkuDetailsForNewResource items on this page",
"description": "The collection of available SKUs for new resources",
"items": {
"$ref": "#/definitions/RpSkuDetailsForNewResource"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items"
"description": "Url for the next page. Null if no more pages available"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1016,16 +1016,15 @@
"properties": {
"value": {
"type": "array",
"description": "The RpSkuDetailsForExistingResource items on this page",
"description": "The SKU details",
"items": {
"$ref": "#/definitions/RpSkuDetailsForExistingResource"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items"
"description": "Url for the next page. Null if no more pages available"
}
},
"required": [
Expand All @@ -1038,16 +1037,15 @@
"properties": {
"value": {
"type": "array",
"description": "The RpSkuDetailsForNewResource items on this page",
"description": "The collection of available SKUs for new resources",
"items": {
"$ref": "#/definitions/RpSkuDetailsForNewResource"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items"
"description": "Url for the next page. Null if no more pages available"
}
},
"required": [
Expand Down