AzureApiManagementOperationResource.WithPolicy

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
type AzureApiManagementOperationResource interface {
// ... 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

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: