你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeploymentOperationsExtensions.GetByName 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
“按名称获取部署”操作返回部署的配置信息、状态和系统属性。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/ee460804.aspx)
public static Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse GetByName (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName);
static member GetByName : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string -> Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse
<Extension()>
Public Function GetByName (operations As IDeploymentOperations, serviceName As String, deploymentName As String) As DeploymentGetResponse
参数
- operations
- IDeploymentOperations
对 Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations 的引用。
- serviceName
- String
必需。 云服务的名称。
- deploymentName
- String
必需。 部署的名称。
返回
云服务中存在的部署。