TeamFoundationDeploymentService.ConnectAzureWebsite Method
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.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub ConnectAzureWebsite ( _
requestContext As TeamFoundationRequestContext, _
teamProject As String, _
subscriptionId As String, _
webspace As String, _
website As String _
)
public void ConnectAzureWebsite(
TeamFoundationRequestContext requestContext,
string teamProject,
string subscriptionId,
string webspace,
string website
)
public:
void ConnectAzureWebsite(
TeamFoundationRequestContext^ requestContext,
String^ teamProject,
String^ subscriptionId,
String^ webspace,
String^ website
)
member ConnectAzureWebsite :
requestContext:TeamFoundationRequestContext *
teamProject:string *
subscriptionId:string *
webspace:string *
website:string -> unit
public function ConnectAzureWebsite(
requestContext : TeamFoundationRequestContext,
teamProject : String,
subscriptionId : String,
webspace : String,
website : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamProject
Type: System.String
- subscriptionId
Type: System.String
- webspace
Type: System.String
- website
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.