C# Class Microsoft.WindowsAzure.Commands.Websites.NewAzureWebsiteCommand

Inheritance: Microsoft.WindowsAzure.Commands.Utilities.Websites.Common.WebsiteContextBaseCmdlet, IGithubCmdlet
Mostra file Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
AddRemoteToLocalGitRepo void
BadPlan bool
CopyIisNodeWhenServerJsPresent void
CreateLinkedRevisionControl Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.LinkedRevisionControl
CreateNewSite Site
CreateSite Site
ExecuteCmdlet void
FindWebSpace WebSpace
GetDefaultWebSpace WebSpace
GetNamedWebSpace WebSpace
GetPublishingUser string
HostNameValidationFailed bool
InitializeRemoteRepo void
SiteAlreadyExists bool
SiteRepositoryAlreadyExists bool
UpdateLocalConfigWithSiteName void
UpdateSourceControlPublishing void
WebSpaceForLocation WebSpace

Public Methods

Method Description
GetLogger ( ) : Action
NewAzureWebsiteCommand ( ) : System

Initializes a new instance of the NewAzureWebsiteCommand class.

NewAzureWebsiteCommand ( IGithubServiceManagement githubChannel ) : System

Initializes a new instance of the NewAzureWebsiteCommand class.

Private Methods

Method Description
AddRemoteToLocalGitRepo ( Site website ) : void
BadPlan ( CloudException ex ) : bool
CopyIisNodeWhenServerJsPresent ( ) : void
CreateLinkedRevisionControl ( ) : LinkedRevisionControl
CreateNewSite ( string suffix ) : Site
CreateSite ( WebSpace webspace, SiteWithWebSpace website ) : Site
ExecuteCmdlet ( ) : void
FindWebSpace ( IList webspaceList ) : WebSpace
GetDefaultWebSpace ( IList webspaceList ) : WebSpace
GetNamedWebSpace ( IList webspaceList ) : WebSpace
GetPublishingUser ( ) : string
HostNameValidationFailed ( CloudException ex ) : bool
InitializeRemoteRepo ( string webspace, string websiteName ) : void
SiteAlreadyExists ( CloudException ex ) : bool
SiteRepositoryAlreadyExists ( Exception ex ) : bool
UpdateLocalConfigWithSiteName ( string websiteName, string webspace ) : void
UpdateSourceControlPublishing ( Site createdWebsite ) : void
WebSpaceForLocation ( string location ) : WebSpace

Method Details

GetLogger() public method

public GetLogger ( ) : Action
return Action

NewAzureWebsiteCommand() public method

Initializes a new instance of the NewAzureWebsiteCommand class.
public NewAzureWebsiteCommand ( ) : System
return System

NewAzureWebsiteCommand() public method

Initializes a new instance of the NewAzureWebsiteCommand class.
public NewAzureWebsiteCommand ( IGithubServiceManagement githubChannel ) : System
githubChannel IGithubServiceManagement /// Channel used for communication with the github APIs. ///
return System