WebSite Class

 

Represents a web site.

Namespace:   Microsoft.WindowsAzure.Management.WebSites.Models
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.WebSites.Models.WebSite

Syntax

public class WebSite
public ref class WebSite 
type WebSite = class end
Public Class WebSite

Constructors

Name Description
System_CAPS_pubmethod WebSite()

Initializes a new instance of the WebSite class.

Properties

Name Description
System_CAPS_pubproperty AdminEnabled

Gets whether the web site administrator is enabled.

System_CAPS_pubproperty AvailabilityState

Gets or sets an WebSpaceAvailabilityState value that specifies the availability of management information for the web site.

System_CAPS_pubproperty Enabled

Gets or sets a whether the web site is enabled.

System_CAPS_pubproperty EnabledHostNames

Gets or sets an array of enabled hostnames for the web site.

System_CAPS_pubproperty HostNames

Gets or sets an array of public hostnames for the web site, including custom domains.

System_CAPS_pubproperty HostNameSslStates

Gets or sets a collection of WebSite.WebSiteHostNameSslState objects that lists the SSL states that are bound to the web site.

System_CAPS_pubproperty LastModifiedTimeUtc

Gets or sets a DateTime object that contains, in Coordinated Universal Time, the last time the web site was modified.

System_CAPS_pubproperty Name

Gets or sets the name of the web site.

System_CAPS_pubproperty RepositorySiteName

Gets or sets the name of the repository web site.

System_CAPS_pubproperty RuntimeAvailabilityState

Gets or sets an WebSiteRuntimeAvailabilityState value that specifies the runtime availability state of the web site.

System_CAPS_pubproperty ServerFarm

Gets or sets the name of a server farm.

System_CAPS_pubproperty SiteProperties

Gets or sets an WebSite.WebSiteProperties value that specifies the properties of the web site.

System_CAPS_pubproperty Sku

Optional. The SKU of a Server Farm (Web Hosting Plan) where site belongs to.

System_CAPS_pubproperty State

Gets or sets an T:Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteState value that specifies the state of the web site.

System_CAPS_pubproperty Uri

Gets or sets a direct URL to the web site endpoint.

System_CAPS_pubproperty UsageState

Gets or sets an WebSiteUsageState value that specifies the usage state of the web site.

System_CAPS_pubproperty WebSpace

Gets the name of the web space in which the web site is located.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.WindowsAzure.Management.WebSites.Models Namespace

Return to top