你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentOperationsExtensions.BeginGettingPackageByName 方法

定义

按名称获取包操作检索部署的云服务包,并将包文件存储在 Azure Blob 存储中。 以下包文件放置在存储中:云服务配置文件 (.cscfg) ,为云服务和单个角色提供配置设置,包括角色实例数;和服务包 (.cspkg) ,其中包含应用程序代码和服务定义文件。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/jj154121.aspx)

public static Microsoft.Azure.AzureOperationResponse BeginGettingPackageByName (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetPackageParameters parameters);
static member BeginGettingPackageByName : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetPackageParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function BeginGettingPackageByName (operations As IDeploymentOperations, serviceName As String, deploymentName As String, parameters As DeploymentGetPackageParameters) As AzureOperationResponse

参数

operations
IDeploymentOperations

对 Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations 的引用。

serviceName
String

必需。 云服务的名称。

deploymentName
String

必需。 部署的名称。

parameters
DeploymentGetPackageParameters

必需。 提供给按名称获取包操作的参数。

返回

Microsoft.Azure.AzureOperationResponse

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于