DeploymentService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Client.DeploymentService

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Public NotInheritable Class DeploymentService
public sealed class DeploymentService
public ref class DeploymentService sealed
[<Sealed>]
type DeploymentService =  class end
public final class DeploymentService

The DeploymentService type exposes the following members.

Methods

  Name Description
Public method AddBuildDeploymentProperty Adds a property to the specified deployment
Public method BeginAddBuildDeploymentProperty Adds a property to the specified deployment
Public method BeginCreateBuildDeployment Mark build as a deployment and the associated build being deployed.
Public method ConnectAzureCloudApp(String, String, String)
Public method ConnectAzureCloudApp(String, String, String, String, String)
Public method ConnectAzureWebsite Connect a Microsoft Azure website to a Team Project. This method creates a deployment environment for the given Microsoft Azure website and then creates a Continuous Integration build definition for deploying builds to that site.
Public method CreateBuildDeployment Mark build as a deployment and the associated build being deployed.
Public method CreateDeploymentEnvironment Create a new Deployment Environment
Public method DeleteDeploymentEnvironment Delete a deployment environment.
Public method DisconnectAzureCloudApp Deletes DeploymentEnvironment for deploying to the given Azure hosted service and disables the associated build defintion.
Public method DisconnectAzureWebsite Deletes DeploymentEnvironment for deploying to the given Azure WebSite and disables the associated build defintion.
Public method EndAddBuildDeploymentProperty End the async operation BeginAddBuildDeploymentProperty
Public method EndCreateBuildDeployment Returns BuildDeployment created during this async operation.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetDeploymentEnvironment Get all of the data for a particular deployment environment
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method QueryDeploymentEnvironments List the deployment environments
Public method QueryDeployments Query the list of deployments
Public method QueryDeploymentsByUri Gets a list of deployments that match the passed in deployment URIs.
Public method Redeploy(Uri) Redeploy a previous successful deployment
Public method Redeploy(Uri, AzureDeploymentSlot) Redeploy a previous successful deployment
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace