AzureApiManagementResource.withPolicy

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
interface AzureApiManagementResource {
// ... omitted for brevity
withPolicy(policyXml: string): AzureApiManagementResource;
}

Signature

methodwithPolicybuilder
Replaces the complete service-level policy document.
withPolicy(policyXml: string): AzureApiManagementResource
policyXmlstringA complete APIM `policies` XML document.
AzureApiManagementResource

Defined on

This method is defined on the following type: