Share via


Site Constructors

Definition

Overloads

Site()
Site(String, String, String, String, String, IDictionary<String, String>, String, IList<String>, String, Nullable<UsageState>, Nullable<Boolean>, IList<String>, Nullable<SiteAvailabilityState>, IList<HostNameSslState>, String, Nullable<Boolean>, Nullable<DateTime>, SiteConfig, IList<String>, Nullable<Boolean>, String, HostingEnvironmentProfile, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, SnapshotRecoveryRequest, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, ManagedServiceIdentity)

Site()

public Site ();
Public Sub New ()

Applies to

Site(String, String, String, String, String, IDictionary<String, String>, String, IList<String>, String, Nullable<UsageState>, Nullable<Boolean>, IList<String>, Nullable<SiteAvailabilityState>, IList<HostNameSslState>, String, Nullable<Boolean>, Nullable<DateTime>, SiteConfig, IList<String>, Nullable<Boolean>, String, HostingEnvironmentProfile, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, SnapshotRecoveryRequest, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, ManagedServiceIdentity)

public Site (string location, string id = default, string name = default, string kind = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string state = default, System.Collections.Generic.IList<string> hostNames = default, string repositorySiteName = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.UsageState? usageState = default, bool? enabled = default, System.Collections.Generic.IList<string> enabledHostNames = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SiteAvailabilityState? availabilityState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.HostNameSslState> hostNameSslStates = default, string serverFarmId = default, bool? reserved = default, DateTime? lastModifiedTimeUtc = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SiteConfig siteConfig = default, System.Collections.Generic.IList<string> trafficManagerHostNames = default, bool? scmSiteAlsoStopped = default, string targetSwapSlot = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, bool? clientAffinityEnabled = default, bool? clientCertEnabled = default, bool? hostNamesDisabled = default, string outboundIpAddresses = default, string possibleOutboundIpAddresses = default, int? containerSize = default, int? dailyMemoryTimeQuota = default, DateTime? suspendedTill = default, int? maxNumberOfWorkers = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.CloningInfo cloningInfo = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SnapshotRecoveryRequest snapshotInfo = default, string resourceGroup = default, bool? isDefaultContainer = default, string defaultHostName = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SlotSwapStatus slotSwapStatus = default, bool? httpsOnly = default, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.ManagedServiceIdentity identity = default);
new Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.Site : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * string * Nullable<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.UsageState> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SiteAvailabilityState> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.HostNameSslState> * string * Nullable<bool> * Nullable<DateTime> * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SiteConfig * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.HostingEnvironmentProfile * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.CloningInfo * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SnapshotRecoveryRequest * string * Nullable<bool> * string * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.SlotSwapStatus * Nullable<bool> * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.ManagedServiceIdentity -> Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.Site
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional state As String = Nothing, Optional hostNames As IList(Of String) = Nothing, Optional repositorySiteName As String = Nothing, Optional usageState As Nullable(Of UsageState) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional enabledHostNames As IList(Of String) = Nothing, Optional availabilityState As Nullable(Of SiteAvailabilityState) = Nothing, Optional hostNameSslStates As IList(Of HostNameSslState) = Nothing, Optional serverFarmId As String = Nothing, Optional reserved As Nullable(Of Boolean) = Nothing, Optional lastModifiedTimeUtc As Nullable(Of DateTime) = Nothing, Optional siteConfig As SiteConfig = Nothing, Optional trafficManagerHostNames As IList(Of String) = Nothing, Optional scmSiteAlsoStopped As Nullable(Of Boolean) = Nothing, Optional targetSwapSlot As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional clientAffinityEnabled As Nullable(Of Boolean) = Nothing, Optional clientCertEnabled As Nullable(Of Boolean) = Nothing, Optional hostNamesDisabled As Nullable(Of Boolean) = Nothing, Optional outboundIpAddresses As String = Nothing, Optional possibleOutboundIpAddresses As String = Nothing, Optional containerSize As Nullable(Of Integer) = Nothing, Optional dailyMemoryTimeQuota As Nullable(Of Integer) = Nothing, Optional suspendedTill As Nullable(Of DateTime) = Nothing, Optional maxNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional cloningInfo As CloningInfo = Nothing, Optional snapshotInfo As SnapshotRecoveryRequest = Nothing, Optional resourceGroup As String = Nothing, Optional isDefaultContainer As Nullable(Of Boolean) = Nothing, Optional defaultHostName As String = Nothing, Optional slotSwapStatus As SlotSwapStatus = Nothing, Optional httpsOnly As Nullable(Of Boolean) = Nothing, Optional identity As ManagedServiceIdentity = Nothing)

Parameters

location
String
id
String
name
String
kind
String
type
String
state
String
hostNames
IList<String>
repositorySiteName
String
usageState
Nullable<UsageState>
enabled
Nullable<Boolean>
enabledHostNames
IList<String>
availabilityState
Nullable<SiteAvailabilityState>
hostNameSslStates
IList<HostNameSslState>
serverFarmId
String
reserved
Nullable<Boolean>
lastModifiedTimeUtc
Nullable<DateTime>
siteConfig
SiteConfig
trafficManagerHostNames
IList<String>
scmSiteAlsoStopped
Nullable<Boolean>
targetSwapSlot
String
hostingEnvironmentProfile
HostingEnvironmentProfile
clientAffinityEnabled
Nullable<Boolean>
clientCertEnabled
Nullable<Boolean>
hostNamesDisabled
Nullable<Boolean>
outboundIpAddresses
String
possibleOutboundIpAddresses
String
containerSize
Nullable<Int32>
dailyMemoryTimeQuota
Nullable<Int32>
suspendedTill
Nullable<DateTime>
maxNumberOfWorkers
Nullable<Int32>
cloningInfo
CloningInfo
resourceGroup
String
isDefaultContainer
Nullable<Boolean>
defaultHostName
String
slotSwapStatus
SlotSwapStatus
httpsOnly
Nullable<Boolean>

Applies to