AzureApiManagementApiResource.withPolicy
Method
interface AzureApiManagementApiResource { // ... omitted for brevity withPolicy(policyXml: string): AzureApiManagementApiResource;}Signature
method
withPolicy builderReplaces the complete API-level policy document.
withPolicy(policyXml: string): AzureApiManagementApiResourceParameters
policyXml stringA complete APIM `policies` XML document.Returns
AzureApiManagementApiResource Defined on
This method is defined on the following type: