Setting the file. One moment.
Subchapter 4.6
references/sdk/azure-mgmt-apimanagement-dotnet.mdMarkdown1 KBView on GitHub
Condensed from azure-mgmt-apimanagement-dotnet. Full patterns (service creation, APIs, products, policies, users, gateways, backends) in the plugin skill if installed.
dotnet add package Azure.ResourceManager.ApiManagement dotnet add package Azure.Identity
Auth:
DefaultAzureCredentialis for local development. See auth-best-practices.md for production patterns.
using Azure.ResourceManager;
using Azure.Identity;
var armClient = new ArmClient(new DefaultAzureCredential());WaitUntil.Completed for operations that must finish before proceedingWaitUntil.Started for long operations like service creation (30+ min)RequestFailedException for ARM API errorsCreateOrUpdateAsync for idempotent operationsGet* methods (e.g., service.GetApis())