AzureApiManagementOperationResource.withPolicy

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

Signature

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

Defined on

This method is defined on the following type: