Return all capacity definitions
Returns all capacity definitions.
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/services/{service-type}/capacities |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<StampCapacities xmlns="http://schemas.microsoft.com/windowsazure"> <StampCapacity> <AvailableCapacity>9223372036854775807</AvailableCapacity> <ComputeMode>Shared</ComputeMode> <ExcludeFromCapacityAllocation>true</ExcludeFromCapacityAllocation> <IsApplicableForAllComputeModes>true</IsApplicableForAllComputeModes> <Name>String content</Name> <SiteMode>String content</SiteMode> <TotalCapacity>9223372036854775807</TotalCapacity> <Unit>String content</Unit> <WorkerSize>Small</WorkerSize> </StampCapacity> <StampCapacity> <AvailableCapacity>9223372036854775807</AvailableCapacity> <ComputeMode>Shared</ComputeMode> <ExcludeFromCapacityAllocation>true</ExcludeFromCapacityAllocation> <IsApplicableForAllComputeModes>true</IsApplicableForAllComputeModes> <Name>String content</Name> <SiteMode>String content</SiteMode> <TotalCapacity>9223372036854775807</TotalCapacity> <Unit>String content</Unit> <WorkerSize>Small</WorkerSize> </StampCapacity> </StampCapacities> |
Sample JSON Response
Copy Code | |
---|---|
[ { "AvailableCapacity": 9223372036854776000, "ComputeMode": 0, "ExcludeFromCapacityAllocation": true, "IsApplicableForAllComputeModes": true, "Name": "String content", "SiteMode": "String content", "TotalCapacity": 9223372036854776000, "Unit": "String content", "WorkerSize": 0 } ] |