共用方式為


DeploymentUpgradeParameters Class

Definition

Parameters supplied to the Upgrade Deployment operation.

public class DeploymentUpgradeParameters
type DeploymentUpgradeParameters = class
Public Class DeploymentUpgradeParameters
Inheritance
DeploymentUpgradeParameters

Constructors

DeploymentUpgradeParameters()

Initializes a new instance of the DeploymentUpgradeParameters class.

Properties

Configuration

Required. The service configuration file for the deployment. The client library does the base-64 encoding from the plain text input.

ExtendedProperties

Optional. Represents the name of an extended deployment property. Each extended property must have a defined name and a value. You can have a maximum of 25 extended property name/value pairs. The maximum length of the name element is 64 characters, only alphanumeric characters and underscores are valid in the name, and the name must start with a letter. Attempting to use other characters, starting the name with a non-letter character, or entering a name that is identical to that of another extended property owned by the same hosted service will result in a status code 400 (Bad Request) error.

ExtensionConfiguration

Optional. Represents an extension that is added to the cloud service. In Azure, a process can run as an extension of a cloud service. For example, Remote Desktop Access or the Azure Diagnostics Agent can run as extensions to the cloud service. You must add an extension to the cloud service by using Add Extension before it can be added to the deployment.

Force

Required. Specifies whether the rollback should proceed even when it will cause local data to be lost from some role instances.

Label

Required. A name for the hosted service. The name can be up to 100 characters in length. It is recommended that the label be unique within the subscription. The name can be used identify the hosted service for your tracking purposes.

Mode

Required. The type of update to initiate. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible values are Auto or Manual. If not specified, the default value is Auto. If set to Manual, WalkUpgradeDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence.

PackageUri

Required. A URL that refers to the location of the service package in the Blob service. The service package can be located either in a storage account beneath the same subscription or a Shared Access Signature (SAS) URI from any storage account. For more information about Shared Access Signatures, see Delegating Access with a Shared Access Signature (REST API) at http://msdn.microsoft.com/en-us/library/windowsazure/ee395415.aspx.

RoleToUpgrade

Optional. The name of the specific role instance to update.

Applies to