O'Reilly logo

Microsoft Azure Development Cookbook Second Edition by Neil Mackenzie, Roberto Freato

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the management client

Microsoft Azure implements a Management API via HTTP, the same one that is used by the Portal itself to execute commands against the platform. While in the Portal, the authentication is enforced by a Microsoft account (or an Azure Active Directory account) from a remote client that we are supposed to identify ourselves using a certificate.

After the trust is established, we can call the HTTP API through a managed proxy with strongly-typed models for requests and responses. Almost every response inherits from the OperationResponse class of OperationStatusResponse in order to show the status of the REST operation to the client.

Tip

The OperationResponse class is a base class that provides a RequestId and HttpStatusCode ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required