TeamFoundationDeploymentService Class


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

public sealed class TeamFoundationDeploymentService : ITeamFoundationService

The TeamFoundationDeploymentService type exposes the following members.

Public methodAddBuildDeploymentPropertyAdds a property to the specified deployment
Public methodConnectAzureCloudApp(TeamFoundationRequestContext, String, String, String)
Public methodConnectAzureCloudApp(TeamFoundationRequestContext, String, String, String, String, String)
Public methodConnectAzureWebsiteThis 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 methodCreateBuildDeploymentMark build as a deployment and the associated build being deployed.
Public methodCreateDeploymentEnvironment
Public methodDeleteDeploymentEnvironment
Public methodDeleteTeamProjectDeletes 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 methodDisconnectAzureCloudAppDeletes DeploymentEnvironment for deploying to the given Azure hosted service and disables the associated build defintion.
Public methodDisconnectAzureWebsiteDeletes DeploymentEnvironment for deploying to the given Azure WebSite and disables the associated build defintion.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetDeploymentEnvironment
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodQueryDeploymentEnvironments
Public methodQueryDeploymentsQuery the list of deployments
Public methodQueryDeploymentsByUriQuery the list of deployments
Public methodRedeploy(TeamFoundationRequestContext, String)Redeploys a previous deployment.
Public methodRedeploy(TeamFoundationRequestContext, String, AzureDeploymentSlot, Boolean)Redeploys a previous deployment to a specified deployment slot.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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