Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CapacityRP] [S360] Fix R3007 Linter Error in Microsoft.Capacity #17711

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 @@ -33,21 +33,15 @@
"name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimits",
"properties": {
"provisioningState": "Succeeded",
"message": "",
"properties": {
"properties": {
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
},
"quotaPeriod": "",
"properties": {}
}
}
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
},
"quotaPeriod": "",
"properties": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,15 @@
"name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimits",
"properties": {
"provisioningState": "Succeeded",
"message": "Request succeeded",
"properties": {
"properties": {
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
},
"quotaPeriod": "",
"properties": {}
}
}
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "standardFSv2Family",
"localizedValue": "Standard FSv2 Family vCPUs"
},
"quotaPeriod": "",
"properties": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,16 @@
"name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimits",
"properties": {
"provisioningState": "Succeeded",
"message": "Request succeeded",
"properties": {
"properties": {
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "StandardDv2Family",
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"resourceType": "dedicated",
"quotaPeriod": "",
"properties": {}
}
}
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "StandardDv2Family",
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"resourceType": "dedicated",
"quotaPeriod": "",
"properties": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,16 @@
"name": "2B5C8515-37D8-4B6A-879B-CD641A2CF605",
"type": "Microsoft.Capacity/serviceLimits",
"properties": {
"provisioningState": "Succeeded",
"message": "Request succeeded",
"properties": {
"properties": {
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "TotalLowPriorityCores",
"localizedValue": "Total Cluster Low Priority Regional vCPUs"
},
"resourceType": "lowPriority",
"quotaPeriod": "",
"properties": {}
}
}
"limit": 200,
"unit": "Count",
"currentValue": 160,
"name": {
"value": "TotalLowPriorityCores",
"localizedValue": "Total Cluster Low Priority Regional vCPUs"
},
"resourceType": "lowPriority",
"quotaPeriod": "",
"properties": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
"final-state-via": "original-uri"
},
"parameters": [
{
Expand Down Expand Up @@ -135,7 +135,7 @@
"200": {
"description": "OK. Returns details of the quota request.",
"schema": {
"$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse"
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"201": {
Expand Down Expand Up @@ -165,7 +165,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
"final-state-via": "original-uri"
},
"parameters": [
{
Expand Down Expand Up @@ -197,7 +197,7 @@
"200": {
"description": "OK. Returns details of the quota request.",
"schema": {
"$ref": "#/definitions/QuotaRequestOneResourceSubmitResponse"
"$ref": "#/definitions/CurrentQuotaLimitBase"
}
},
"201": {
Expand Down Expand Up @@ -402,6 +402,21 @@
"description": "Quota properties.",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "The quota request ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "The name of the quota request.",
"type": "string",
"readOnly": true
},
"type": {
"type": "string",
"readOnly": true,
"description": "Type of resource. \"Microsoft.Capacity/ServiceLimits\""
},
"properties": {
"description": "Quota properties for the resource.",
"$ref": "#/definitions/QuotaProperties"
Expand All @@ -414,11 +429,13 @@
"properties": {
"limit": {
"description": "Quota properties.",
"type": "integer"
"type": "integer",
"format": "int32"
},
"currentValue": {
"description": "Current usage value for the resource.",
"type": "integer",
"format": "int32",
"readOnly": true
},
"unit": {
Expand Down Expand Up @@ -513,6 +530,7 @@
"limit": {
"description": "Quota (resource limit).",
"type": "integer",
"format": "int32",
"readOnly": true
},
"name": {
Expand Down