Share via


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
WebSite()

Initializes a new instance of the WebSite class.

Properties

Name Description
AdminEnabled

Gets whether the web site administrator is enabled.

AvailabilityState

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

Enabled

Gets or sets a whether the web site is enabled.

EnabledHostNames

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

HostNames

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

HostNameSslStates

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

LastModifiedTimeUtc

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

Name

Gets or sets the name of the web site.

RepositorySiteName

Gets or sets the name of the repository web site.

RuntimeAvailabilityState

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

ServerFarm

Gets or sets the name of a server farm.

SiteProperties

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

Sku

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

State

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

Uri

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

UsageState

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

WebSpace

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

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

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