SiteInner 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SiteInner()
初始化 SiteInner 類別的新實例。
public SiteInner ();
Public Sub New ()
適用於
SiteInner(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<Boolean>, Nullable<Boolean>, Nullable<DateTime>, SiteConfig, IList<String>, Nullable<Boolean>, String, HostingEnvironmentProfile, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, Nullable<RedundancyMode>, Nullable<Guid>, ManagedServiceIdentity, String)
初始化 SiteInner 類別的新實例。
public SiteInner (string location, string id = default, string name = 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.AppService.Fluent.Models.UsageState? usageState = default, bool? enabled = default, System.Collections.Generic.IList<string> enabledHostNames = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteAvailabilityState? availabilityState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameSslState> hostNameSslStates = default, string serverFarmId = default, bool? reserved = default, bool? isXenon = default, bool? hyperV = default, DateTime? lastModifiedTimeUtc = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfig siteConfig = default, System.Collections.Generic.IList<string> trafficManagerHostNames = default, bool? scmSiteAlsoStopped = default, string targetSwapSlot = default, Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, bool? clientAffinityEnabled = default, bool? clientCertEnabled = default, string clientCertExclusionPaths = 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.AppService.Fluent.Models.CloningInfo cloningInfo = default, string resourceGroup = default, bool? isDefaultContainer = default, string defaultHostName = default, Microsoft.Azure.Management.AppService.Fluent.Models.SlotSwapStatus slotSwapStatus = default, bool? httpsOnly = default, Microsoft.Azure.Management.AppService.Fluent.Models.RedundancyMode? redundancyMode = default, Guid? inProgressOperationId = default, Microsoft.Azure.Management.AppService.Fluent.Models.ManagedServiceIdentity identity = default, string kind = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.UsageState> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.SiteAvailabilityState> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameSslState> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTime> * Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfig * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.AppService.Fluent.Models.CloningInfo * string * Nullable<bool> * string * Microsoft.Azure.Management.AppService.Fluent.Models.SlotSwapStatus * Nullable<bool> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.RedundancyMode> * Nullable<Guid> * Microsoft.Azure.Management.AppService.Fluent.Models.ManagedServiceIdentity * string -> Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name 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 isXenon As Nullable(Of Boolean) = Nothing, Optional hyperV 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 clientCertExclusionPaths As String = 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 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 redundancyMode As Nullable(Of RedundancyMode) = Nothing, Optional inProgressOperationId As Nullable(Of Guid) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional kind As String = Nothing)
參數
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- state
- String
應用程式的目前狀態。
- repositorySiteName
- String
存放庫網站的名稱。
- usageState
- Nullable<UsageState>
指出應用程式是否已超過其配額使用量的狀態。 唯讀。 可能的值包括:'Normal'、'Exceeded'
<如果已啟用應用程式,則程式碼為 true < /code > ;否則為 <> false < /code > 。 > 將此值設定為 false 會停用應用程式 (讓應用程式離線) 。
- availabilityState
- Nullable<SiteAvailabilityState>
應用程式的管理資訊可用性狀態。 可能的值包括:'Normal'、'Limited'、'DisasterRecoveryMode'
- hostNameSslStates
- IList<HostNameSslState>
主機名稱 SSL 狀態可用來管理應用程式主機名稱的 SSL 系結。
- serverFarmId
- String
相關聯App Service方案的資源識別碼,格式為:「/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}」。
- siteConfig
- SiteConfig
應用程式的組態。
<程式碼 true/code > 可在停止應用程式時停止 SCM (KUDU) 網站;否則為 >< false < /code > 。 <> 預設值為 <> false < /code > 。
- targetSwapSlot
- String
指定此應用程式要交換的部署位置。 唯讀。
- hostingEnvironmentProfile
- HostingEnvironmentProfile
App Service 環境用於應用程式。
<程式碼 > true < /code > 可啟用用戶端親和性; <程式碼 > false < /程式碼 > 停止傳送會話親和性 Cookie,以將相同會話中的用戶端要求路由傳送至相同的實例。 預設值為 < 程式碼 > true < /code > 。
<程式碼 true/code > 可啟用用戶端憑證驗證 (TLS 相互驗證) ;否則為 >< false < /code > 。 <> 預設值為 <> false < /code > 。
- clientCertExclusionPaths
- String
用戶端憑證驗證逗號分隔排除路徑
<程式碼 true/code > 可停用應用程式的公用主機名稱;否則為 >< false < /code > 。 <> 如果 < 程式碼 > 為 true < /code > ,則應用程式只能透過 API 管理程式存取。
- outboundIpAddresses
- String
應用程式用於輸出連線的 IP 位址清單 (,例如資料庫存取) 。 包含可裝載目前設定之租使用者中的 VIP。 唯讀。
- possibleOutboundIpAddresses
- String
應用程式用於輸出連線的 IP 位址清單 (,例如資料庫存取) 。 包含來自所有租使用者的 VIP,但 dataComponent 除外。 唯讀。
- cloningInfo
- CloningInfo
如果在應用程式建立期間指定,則會從來源應用程式複製應用程式。
- resourceGroup
- String
應用程式所屬的資源群組名稱。 唯讀。
- defaultHostName
- String
應用程式的預設主機名稱。 唯讀。
- slotSwapStatus
- SlotSwapStatus
上次部署位置交換作業的狀態。
- redundancyMode
- Nullable<RedundancyMode>
網站備援模式。 可能的值包括:'None'、'Manual'、'Failover'、'ActiveActive'、'GeoRedundant'
- identity
- ManagedServiceIdentity
- kind
- String
資源種類。