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