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 Applies to
This method applies to the following types: