DeploymentOperationsExtensions.BeginChangingConfigurationByName 方法

Initiates a change in the configuration of a specified deployment.

命名空间: Microsoft.WindowsAzure.Management.Compute
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)

使用

用法
Dim operations As IDeploymentOperations
Dim serviceName As String
Dim deploymentName As String
Dim parameters As DeploymentChangeConfigurationParameters
Dim returnValue As AzureOperationResponse

returnValue = DeploymentOperationsExtensions.BeginChangingConfigurationByName(operations, serviceName, deploymentName, parameters)

语法

声明
<ExtensionAttribute> _
Public Shared Function BeginChangingConfigurationByName ( _
    operations As IDeploymentOperations, _
    serviceName As String, _
    deploymentName As String, _
    parameters As DeploymentChangeConfigurationParameters _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse BeginChangingConfigurationByName (
    IDeploymentOperations operations,
    string serviceName,
    string deploymentName,
    DeploymentChangeConfigurationParameters parameters
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ BeginChangingConfigurationByName (
    IDeploymentOperations^ operations, 
    String^ serviceName, 
    String^ deploymentName, 
    DeploymentChangeConfigurationParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse BeginChangingConfigurationByName (
    IDeploymentOperations operations, 
    String serviceName, 
    String deploymentName, 
    DeploymentChangeConfigurationParameters parameters
)
ExtensionAttribute 
public static function BeginChangingConfigurationByName (
    operations : IDeploymentOperations, 
    serviceName : String, 
    deploymentName : String, 
    parameters : DeploymentChangeConfigurationParameters
) : AzureOperationResponse

参数

  • serviceName
    The name of the cloud service that contains the deployment to be changed.
  • deploymentName
    The name of the deployment for which the configuration should be changed.

返回值

An OperationResponse object that includes an HTTP status code and request ID.

备注

For more information about changing the configuration of a deployment, see the following resources:

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

DeploymentOperationsExtensions 类
DeploymentOperationsExtensions 成员
Microsoft.WindowsAzure.Management.Compute 命名空间