Create new subscription
Creates a new subscription
Method | Request URI | HTTP Version |
---|---|---|
POST |
https://service-endpoint/subscriptions |
HTTP/1.1 |
Sample XML Request
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Request
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Sample XML Response
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Response
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Return subscription details
Returns subscription details by name
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/{NAME} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Response
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Update subscription
Updates an existing subscription
Method | Request URI | HTTP Version |
---|---|---|
PUT |
https://service-endpoint/subscriptions/{NAME} |
HTTP/1.1 |
Sample XML Request
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Request
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Sample XML Response
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Response
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Migrate subscription
Migrates an existing subscription
Method | Request URI | HTTP Version |
---|---|---|
POST |
https://service-endpoint/subscriptions/{NAME} |
HTTP/1.1 |
Sample XML Request
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Request
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Sample XML Response
Copy Code | |
---|---|
<Subscription xmlns="http://schemas.microsoft.com/windowsazure"> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> |
Sample JSON Response
Copy Code | |
---|---|
{ "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } |
Delete subscription
Deletes an existing subscription
Method | Request URI | HTTP Version |
---|---|---|
DELETE |
https://service-endpoint/subscriptions/{NAME} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample Response
The Response body is empty.
Return all subscriptions
Returns all subscriptions
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/?marker={MARKER}&recordCount={RECORDCOUNT} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<Subscriptions xmlns="http://schemas.microsoft.com/windowsazure"> <Subscription> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> <Subscription> <Description>String content</Description> <Name>String content</Name> <OwnerUserName>String content</OwnerUserName> <Suspended>true</Suspended> </Subscription> </Subscriptions> |
Sample JSON Response
Copy Code | |
---|---|
[ { "Description": "String content", "Name": "String content", "OwnerUserName": "String content", "Suspended": true } ] |
Gets all publishing users for subscription
Gets all publishing users for subscription
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/publishingUsers |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>String content</string> <string>String content</string> </ArrayOfstring> |
Sample JSON Response
Copy Code | |
---|---|
["String content"] |
Gets all webspaces for subscription
Gets all webspaces for subscription
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<WebSpaces xmlns="http://schemas.microsoft.com/windowsazure"> <WebSpace> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> <WebSpace> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> </WebSpaces> |
Sample JSON Response
Copy Code | |
---|---|
[{ "AvailabilityState":0, "ComputeMode":0, "CurrentNumberOfWorkers":2147483647, "CurrentWorkerSize":0, "GeoLocation":"String content", "GeoRegion":"String content", "Name":"String content", "NumberOfWorkers":2147483647, "Plan":"String content", "Status":0, "Subscription":"String content", "WorkerSize":0 }] |
Create new webspace
Creates a new webspace
Method | Request URI | HTTP Version |
---|---|---|
POST |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces?allowPendingState={ALLOWPENDINGSTATE} |
HTTP/1.1 |
Sample XML Request
Copy Code | |
---|---|
<WebSpace xmlns="http://schemas.microsoft.com/windowsazure"> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> |
Sample JSON Request
Copy Code | |
---|---|
{ "AvailabilityState": 0, "ComputeMode": 0, "CurrentNumberOfWorkers": 2147483647, "CurrentWorkerSize": 0, "GeoLocation": "String content", "GeoRegion": "String content", "Name": "String content", "NumberOfWorkers": 2147483647, "Plan": "String content", "Status": 0, "Subscription": "String content", "WorkerSize": 0 } |
Sample XML Response
Copy Code | |
---|---|
<WebSpace xmlns="http://schemas.microsoft.com/windowsazure"> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> |
Sample JSON Response
Copy Code | |
---|---|
{ "AvailabilityState": 0, "ComputeMode": 0, "CurrentNumberOfWorkers": 2147483647, "CurrentWorkerSize": 0, "GeoLocation": "String content", "GeoRegion": "String content", "Name": "String content", "NumberOfWorkers": 2147483647, "Plan": "String content", "Status": 0, "Subscription": "String content", "WorkerSize": 0 } |
Gets all webspaces for subscription
Gets all webspaces for subscription
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces/{NAME} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<WebSpaces xmlns="http://schemas.microsoft.com/windowsazure"> <WebSpace> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> <WebSpace> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> </WebSpaces> |
Sample JSON Response
Copy Code | |
---|---|
[ { "AvailabilityState": 0, "ComputeMode": 0, "CurrentNumberOfWorkers": 2147483647, "CurrentWorkerSize": 0, "GeoLocation": "String content", "GeoRegion": "String content", "Name": "String content", "NumberOfWorkers": 2147483647, "Plan": "String content", "Status": 0, "Subscription": "String content", "WorkerSize": 0 } ] |
Update webspace
Updates an existing webspace
Method | Request URI | HTTP Version |
---|---|---|
PUT |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces/{NAME}?allowPendingState={ALLOWPENDINGSTATE} |
HTTP/1.1 |
Sample XML Request
Copy Code | |
---|---|
<WebSpace xmlns="http://schemas.microsoft.com/windowsazure"> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> |
Sample JSON Request
Copy Code | |
---|---|
{ "AvailabilityState": 0, "ComputeMode": 0, "CurrentNumberOfWorkers": 2147483647, "CurrentWorkerSize": 0, "GeoLocation": "String content", "GeoRegion": "String content", "Name": "String content", "NumberOfWorkers": 2147483647, "Plan": "String content", "Status": 0, "Subscription": "String content", "WorkerSize": 0 } |
Sample XML Response
Copy Code | |
---|---|
<WebSpace xmlns="http://schemas.microsoft.com/windowsazure"> <AvailabilityState>Normal</AvailabilityState> <ComputeMode>Shared</ComputeMode> <CurrentNumberOfWorkers>2147483647</CurrentNumberOfWorkers> <CurrentWorkerSize>Small</CurrentWorkerSize> <GeoLocation>String content</GeoLocation> <GeoRegion>String content</GeoRegion> <Name>String content</Name> <NumberOfWorkers>2147483647</NumberOfWorkers> <Plan>String content</Plan> <Status>Ready</Status> <Subscription>String content</Subscription> <WorkerSize>Small</WorkerSize> </WebSpace> |
Sample JSON Response
Copy Code | |
---|---|
{ "AvailabilityState": 0, "ComputeMode": 0, "CurrentNumberOfWorkers": 2147483647, "CurrentWorkerSize": 0, "GeoLocation": "String content", "GeoRegion": "String content", "Name": "String content", "NumberOfWorkers": 2147483647, "Plan": "String content", "Status": 0, "Subscription": "String content", "WorkerSize": 0 } |
Delete webspace
Deletes an existing webspace
Method | Request URI | HTTP Version |
---|---|---|
DELETE |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces/{NAME} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample Response
The Response body is empty.
Gets quota usages
Gets quota usages
Method | Request URI | HTTP Version |
---|---|---|
GET |
https://service-endpoint/subscriptions/{SUBSCRIPTIONNAME}/webspaces/{WEBSPACENAME}/usages?names={USAGES}&computeMode={COMPUTEMODE}&siteMode={SITEMODE} |
HTTP/1.1 |
Sample Request
The Request body is empty.
Sample XML Response
Copy Code | |
---|---|
<Usages xmlns="http://schemas.microsoft.com/windowsazure"> <Usage> <ComputeMode>Shared</ComputeMode> <CurrentValue>9223372036854775807</CurrentValue> <Limit>9223372036854775807</Limit> <Name>String content</Name> <NextResetTime>1999-05-31T11:20:00</NextResetTime> <ResourceName>String content</ResourceName> <SiteMode>String content</SiteMode> <Unit>String content</Unit> </Usage> <Usage> <ComputeMode>Shared</ComputeMode> <CurrentValue>9223372036854775807</CurrentValue> <Limit>9223372036854775807</Limit> <Name>String content</Name> <NextResetTime>1999-05-31T11:20:00</NextResetTime> <ResourceName>String content</ResourceName> <SiteMode>String content</SiteMode> <Unit>String content</Unit> </Usage> </Usages> |
Sample JSON Response
Copy Code | |
---|---|
[ { "ComputeMode": 0, "CurrentValue": 9223372036854776000, "Limit": 9223372036854776000, "Name": "String content", "NextResetTime": "/Date(928174800000-0700)/", "ResourceName": "String content", "SiteMode": "String content", "Unit": "String content" } ] |