DeploymentCreateParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters supplied to the Create Deployment operation.
public class DeploymentCreateParameters
type DeploymentCreateParameters = class
Public Class DeploymentCreateParameters
- Inheritance
-
DeploymentCreateParameters
Constructors
DeploymentCreateParameters() |
Initializes a new instance of the DeploymentCreateParameters 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. |
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. |
Name |
Required. The name for the deployment. The deployment name must be unique among other deployments for the cloud service. |
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 info 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. |
StartDeployment |
Optional. Indicates whether to start the deployment immediately after it is created. The default value is false. If false, the service model is still deployed to the virtual machines but the code is not run immediately. Instead, the service is Suspended until you call Update Deployment Status and set the status toRunning, at which time the service will be started. A deployed service still incurs charges, even if it is suspended. |
TreatWarningsAsError |
Optional. Indicates whether to treat package validation warnings as errors. The default value is false. If set to true, the Created Deployment operation fails if there are validation warnings on the service package. |
Applies to
Azure SDK for .NET