共用方式為


SitePatchResource 建構函式

定義

多載

SitePatchResource()

初始化 SitePatchResource 類別的新實例。

SitePatchResource(String, String, 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)

初始化 SitePatchResource 類別的新實例。

SitePatchResource()

初始化 SitePatchResource 類別的新實例。

public SitePatchResource ();
Public Sub New ()

適用於

SitePatchResource(String, String, 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)

初始化 SitePatchResource 類別的新實例。

public SitePatchResource (string id = default, string name = default, string type = default, string kind = 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);
new Microsoft.Azure.Management.AppService.Fluent.Models.SitePatchResource : string * string * 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 -> Microsoft.Azure.Management.AppService.Fluent.Models.SitePatchResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As 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)

參數

id
String
name
String
type
String
kind
String

資源種類。

state
String

應用程式的目前狀態。

hostNames
IList<String>

與應用程式相關聯的主機名稱。

repositorySiteName
String

存放庫網站的名稱。

usageState
Nullable<UsageState>

指出應用程式是否已超過其配額使用量的狀態。 唯讀。 可能的值包括:'Normal'、'Exceeded'

enabled
Nullable<Boolean>

<如果啟用應用程式,則程式碼為 true < /code > ;否則為 <> false < /code > 。 > 將此值設定為 false 會停用應用程式 (讓應用程式離線) 。

enabledHostNames
IList<String>

已啟用應用程式的主機名稱。必須指派主機名稱 (請參閱 HostNames) AND 已啟用。 否則,應用程式不會在這些主機名稱上提供。

availabilityState
Nullable<SiteAvailabilityState>

應用程式的管理資訊可用性狀態。 可能的值包括:'Normal'、'Limited'、'DisasterRecoveryMode'

hostNameSslStates
IList<HostNameSslState>

主機名稱 SSL 狀態可用來管理應用程式主機名稱的 SSL 系結。

serverFarmId
String

相關聯App Service方案的資源識別碼,格式為:「/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}」。

reserved
Nullable<Boolean>

<如果保留程式碼,則為 true/code > ;否則為 <> false < /code > 。 <>

isXenon
Nullable<Boolean>

過時:Hyper-V 沙箱。

hyperV
Nullable<Boolean>

Hyper-V 沙箱。

lastModifiedTimeUtc
Nullable<DateTime>

上次以 UTC 修改應用程式的時間。 唯讀。

siteConfig
SiteConfig

應用程式的設定。

trafficManagerHostNames
IList<String>

與應用程式相關聯的 Azure 流量管理員主機名稱。 唯讀。

scmSiteAlsoStopped
Nullable<Boolean>

<code > true < /code > to stop SCM (KUDU) site when the app is stopped; otherwise, < code > false < /code > . 預設值為 <> false < /code > 。

targetSwapSlot
String

指定此應用程式將交換的部署位置。 唯讀。

hostingEnvironmentProfile
HostingEnvironmentProfile

要用於應用程式的App Service 環境。

clientAffinityEnabled
Nullable<Boolean>

<程式碼 true < /程式碼 >> 以啟用用戶端親和性; <code > false < /code > to stop sending session affinity cookies, which route client requests in the same session to the same instance. 預設值為 < code > true < /code > 。

clientCertEnabled
Nullable<Boolean>

<code > true < /code > to enable client certificate authentication (TLS mutual authentication) ;否則為 <> false < /code > 。 預設值為 <> false < /code > 。

clientCertExclusionPaths
String

用戶端憑證驗證逗號分隔排除路徑

hostNamesDisabled
Nullable<Boolean>

<code > true < /code > to disable the public hostnames of the app; other, < code > false < /code > . 如果 < 程式碼 > 為 true < /code > ,則應用程式只能透過 API 管理程式存取。

outboundIpAddresses
String

應用程式用於輸出連線的 IP 位址清單 (,例如資料庫存取) 。 包含租使用者中可裝載目前設定的 VIP。 唯讀。

possibleOutboundIpAddresses
String

應用程式用於輸出連線的 IP 位址清單 (,例如資料庫存取) 。 包含 dataComponent 以外的所有租使用者 VIP。 唯讀。

containerSize
Nullable<Int32>

函式容器的大小。

dailyMemoryTimeQuota
Nullable<Int32>

動態應用程式) 上允許的每日記憶體時間配額上限 (。

suspendedTill
Nullable<DateTime>

在超過記憶體時間配額之前,應用程式會暫停。

maxNumberOfWorkers
Nullable<Int32>

背景工作角色數目上限。 這只適用于 Functions 容器。

cloningInfo
CloningInfo

如果在應用程式建立期間指定,則會從來源應用程式複製應用程式。

resourceGroup
String

應用程式所屬的資源群組名稱。 唯讀。

isDefaultContainer
Nullable<Boolean>

<如果應用程式是預設容器,則程式碼為 true < /code > ;否則為 >< false < /code > 。 >

defaultHostName
String

應用程式的預設主機名稱。 唯讀。

slotSwapStatus
SlotSwapStatus

上次部署位置交換作業的狀態。

httpsOnly
Nullable<Boolean>

HttpsOnly:設定網站只接受 HTTPs 要求。 HTTP 要求的問題重新導向

redundancyMode
Nullable<RedundancyMode>

月臺備援模式。 可能的值包括:'None'、'Manual'、'Failover'、'ActiveActive'、'GeoRedundant'

inProgressOperationId
Nullable<Guid>

如果此網站有擱置中的作業,則指定作業識別碼。

適用於