withPolicy
Method
interface AzureApiManagementOperationResource { // ... omitted for brevity withPolicy(policyXml: string): AzureApiManagementOperationResource;}Signature
method
withPolicy builderReplaces the complete operation-level policy document.
withPolicy(policyXml: string): AzureApiManagementOperationResourceParameters
policyXml stringA complete APIM `policies` XML document.Returns
AzureApiManagementOperationResource Applies to
This method applies to the following types: