Share via


TeamFoundationDeploymentService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.TeamFoundationDeploymentService

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

Syntax

'Declaration
Public NotInheritable Class TeamFoundationDeploymentService _
    Implements ITeamFoundationService
public sealed class TeamFoundationDeploymentService : ITeamFoundationService
public ref class TeamFoundationDeploymentService sealed : ITeamFoundationService
[<Sealed>]
type TeamFoundationDeploymentService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationDeploymentService implements ITeamFoundationService

The TeamFoundationDeploymentService type exposes the following members.

Methods

  Name Description
Public method AddBuildDeploymentProperty Adds a property to the specified deployment
Public method ConnectAzureCloudApp(TeamFoundationRequestContext, String, String, String)
Public method ConnectAzureCloudApp(TeamFoundationRequestContext, String, String, String, String, String)
Public method ConnectAzureWebsite This function wraps several operations. It creates a DeploymentEnvironment for deploying to the given Microsoft Azure WebSite. It then Creates a build defintion based on the BuildPackageDeploy build process template, and using the Hosted Build controller.
Public method CreateBuildDeployment Mark build as a deployment and the associated build being deployed.
Public method CreateDeploymentEnvironment
Public method DeleteDeploymentEnvironment
Public method DeleteTeamProject Deletes deployment environments and connnected services associated to those environments. This methods expects an elevated request context in order to delete strong box entries. It also will catch all exceptions and print them but not re-throw - best effort method.
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 Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetDeploymentEnvironment
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
Public method QueryDeployments Query the list of deployments
Public method QueryDeploymentsByUri Query the list of deployments
Public method Redeploy(TeamFoundationRequestContext, String) Redeploys a previous deployment.
Public method Redeploy(TeamFoundationRequestContext, String, AzureDeploymentSlot, Boolean) Redeploys a previous deployment to a specified deployment slot.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

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.Server Namespace