![](/img/trans.png)
[英]Azure API Management - How to execute product policy when product does not require subscription?
[英]How to add policy to Product in Azure API Management
我需要帮助在 Azure APIM 中向 PRODUCT 添加策略。 您能否让我知道我们如何使用 PowerShell/Azure Cli/Azure DevOps 来实现?
我认为您正在寻求设置产品范围政策
PS C:\>$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
PS C:\>Set-AzApiManagementPolicy -Context $apimContext -ProductId "0123456789" -Policy $PolicyString
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.