Service Management API and Service Provider Foundation URLs
Applies To: Windows Azure Pack
The Service Management API is the service endpoint that Windows Azure Pack for Windows Server and API uses for resource providers. The IaaS resource provider endpoint forwards and validates calls to Service Provider Foundation. When an HTTP request is made to the Service Management API service, part of the URI includes the current subscription identifier. The subscription is validated, which is based on the current authenticated user for the HTTP request, such as a tenant or self-service user. After the subscription is validated, the HTTP request is channeled through Service Management API to the Service Provider Foundation endpoint, and the HTTP response is channeled back through Service Management API to the client. Because Service Management API validates the connection credentials and subscription information, but forwards the requests to Service Provider Foundation, the URI for any resource Service Provider Foundation provides is almost identical to a standard Service Provider Foundation URI.
Service Management API compared to Service Provider Foundation
Service Management API Service URI Example
Service Provider Foundation Service URI Example
The server-name and port placeholders can be different for each service endpoint depending on where the services were installed and how they were configured. The … at the end of each URI is to illustrate that whatever else you do with the OData service would be the same for both service URIs. For example, to get a specific virtual machine, the request URI for each service is:
Service Management API service URI to get a specific virtual machine.
Service Provider Foundation service URI to get a specific virtual machine.
With a URI for either service, you can easily convert to and from Service Management API and Service Provider Foundation URLs. When you use Service Management API URL, you must be able to specify a subscription identifier that has access to the resource that you use. This restriction does not apply to the Service Provider Foundation endpoint because it does not validate any subscription information, and the subscription segment of the URL can be removed.