New-AzureRmApiManagementProduct cmdlet 创建API 管理产品。示例示例1:创建不需要订阅的产品powershell 复制 PS C:\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" PS C:\>New-AzureRmApiManagementProduct -Context $apimContext -ProductId ...
雖然AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的移轉資源。 語法 PowerShell Remove-AzureRmApiManagementProduct-Context<PsApiManagementContext>-ProductId<String> [-DeleteSubscriptions] [-PassThru] [-DefaultProfile...
New-AzureRmApiManagementProductcmdlet 创建API 管理产品。 示例 示例1:创建不需要订阅的产品 PowerShell PS C:\>$apimContext=New-AzureRmApiManagementContext-ResourceGroupName"Api-Default-WestUS"-ServiceName"contoso"PS C:\>New-AzureRmApiManagementProduct-Context$apimContext-ProductId"0123456789"-Title"Sta...
Azure PowerShell 6.x 的重大變更 常見問題集 參考 Azure.AnalysisServices Azure.Storage AzureRM.Aks AzureRM.AnalysisServices AzureRM.ApiManagement 命令 API 管理 命令 Add-AzureRmApiManagementApiToProduct Add-AzureRmApiManagementProductToGroup Add-AzureRmApiManagementRegion Add-AzureRmApiManagementUser...
New-AzureRmApiManagementProduct -Context <PsApiManagementContext> [-ProductId <String>] -Title <String> [-Description <String>] [-LegalTerms <String>] [-SubscriptionRequired <Boolean>] [-ApprovalRequired <Boolean>] [-SubscriptionsLimit <Int32>] [-State <PsApiManagementProductState>] [-Defau...
The New-AzureRmApiManagementProduct cmdlet creates an API Management product.ExamplesExample 1: Create a product that does not require a subscriptionPowerShell Copy PS C:\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" PS C:\>New-...
Get-AzureRmApiManagementProductCmdlet 會取得清單或特定產品。 範例 範例1:取得所有產品 PowerShell PS C:\>$apimContext=New-AzureRmApiManagementContext-ResourceGroupName"Api-Default-WestUS"-ServiceName"contoso"PS C:\>Get-AzureRmApiManagementProduct-Context$apimContext ...
PS C:\>$ApiMgmtContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" PS C:\>Add-AzureRmApiManagementApiToProduct -Context $ApiMgmtContext -ProductId "0123456789" -ApiId "0001"此命令将指定的 API 添加到指定产品。参数...
Azure PowerShell 6.x 的重大更改 常见问题 参考 Azure.AnalysisServices Azure.Storage AzureRM.Aks AzureRM.AnalysisServices AzureRM.ApiManagement 命令 API 管理 命令 Add-AzureRmApiManagementApiToProduct Add-AzureRmApiManagementProductToGroup Add-AzureRmApiManagementRegion Add-AzureRmApiManagementUserToGro...