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.
-
Create a standard "high level" project as documented.
-
Add the following key to the readme.md or autorest.md configuration file:
data-plane: true
- 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.
- 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.