简体   繁体   English

如何使用 Powershell 在 Azure 中托管的服务上调用方法?

[英]How can I invoke a method on a service that is hosted in Azure using Powershell?

I have a service that is hosted in Azure.我有一个托管在 Azure 中的服务。 There is a method in the service that returns an integer.服务中有一个方法返回 integer。 Is there a way I can invoke that method using Powershell?有没有办法可以使用 Powershell 调用该方法?

Solved by using the Invoke-WebReqest outlined in MSDN.通过使用 MSDN 中概述的 Invoke-WebReqest 解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Powershell 获取 Azure 应用程序服务的 CPU 使用率? - How can i get the CPU usage for an Azure app service using Powershell? 如何使用PowerShell将服务主体分配给托管的VSTS发布管道中的AAD组? - How might I assign a service principal to an AAD group in my hosted VSTS release pipeline using PowerShell? 我可以使用服务主体使用基于角色的访问控制来对不在Azure中托管的应用程序进行身份验证吗? - Can I use Service Principal to authenticate an application that is not hosted in Azure using role-based access control? 如何调用 Azure CosmosDB REST API 在 powershell 使用 AAD 身份验证 - How to Invoke Azure CosmosDB REST API In powershell using AAD authentication 如何使用 Powershell 使用具有 MFA 的帐户登录 Azure? - How can i login to Azure using an account with MFA using Powershell? 无法使用https调用Azure托管的WCF服务的方法 - Unable to invoke the methods of a WCF service hosted in Azure with https 如何将来自与包含服务终结点的 VNet 集成的应用服务的出站流量路由到外部 Azure 托管 API? - How can I route outbound traffic from an App Service integrated with a VNet containing a Service Endpoint to an external Azure hosted API? 如何使用Powershell获得Azure VM的Loadbalancer名称? - How can I get Loadbalancer Name of azure vm using powershell? 我如何使用Powershell在Azure上停止和启动逻辑应用程序? - How can i stop and start a logic app on azure using powershell? 如何使用 Powershell 中的 az 命令获取 Azure 指标? - How can i get Azure metrics using the az command in Powershell?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM