WebSite Class

Summary

Provides info about Kudu website environment.
Assembly
Cake.Kudu.dll
Namespace
Cake.Kudu.Provider
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["WebSite"] class Type type-node

Syntax

public sealed class WebSite

Properties

Name Value Summary
AlwaysOnEnabled Nullable<bool>
Gets if always on is specified and if it's enabled or not.
AuthEnabled Nullable<bool>
Gets if authentication is enabled.
ComputeMode string
Gets the web site compute mode, i.e. Shared.
HostName string
Gets the web host name.
HttpLoggingEnabled Nullable<bool>
Gets if http logging is specified and if it's enabled or not.
IISSiteName string
Gets the IIS internal site name.
InstanceId string
Gets the internal ID of current instance.
Mode string
Gets site mode i.e. Limited.
Name string
Gets the name of the site.
NodeDefaulVersion string
Gets the default version of Node.
OwnerName string
Gets the site instance owner name.
Region string
Gets the region of the site, i.e. "North Europe".
SKU string
Gets the current site SKU, i.e. Free.
WebRoot DirectoryPath
Gets the path to current IIS web root.

Extension Methods

Name Value Summary
Dump<WebSite>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<WebSite>(WebSite[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<WebSite>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<WebSite>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<WebSite>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<WebSite>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin