autorest.csharp/docs/protocol_method_client.md

1.4 KiB

A client with protocol methods, often known informally as a "Low Level Client", is generated from autorest.csharp the same as other clients are.

However a handful of configuration changes are needed to get started.

  1. Create a standard "high level" project as documented.

  2. Add the following key to the readme.md or autorest.md configuration file:

data-plane: true
  1. Define the authentication in configuration

As clients with protocol methods generate constructors directly, any authentication needs to be defined in the configuration file. See Authentication Configuration In autorest.md for details.

  1. Try the generated code.

Read the user documentation for clients with protocol methods and give it a try.

The standard customizations that are applicable (example: don't involve models) work just the same.