SiteInner Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
SiteInner()
Inicializuje novou instanci SiteInner třídy.
public SiteInner ();
Public Sub New ()
Platí pro
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)
Inicializuje novou instanci SiteInner třídy.
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)
Parametry
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- state
- String
Aktuální stav aplikace.
- repositorySiteName
- String
Název webu úložiště.
- usageState
- Nullable<UsageState>
Stav označující, jestli aplikace překročila využití kvóty. Jen pro čtení. Mezi možné hodnoty patří: "Normální", "Překročeno"
<kód>true</code> , pokud je aplikace povolená. <V opačném případě kód>false</kód>. Nastavení této hodnoty na false aplikaci zakáže (přenese aplikaci do režimu offline).
Povolené názvy hostitelů pro aplikaci Názvy hostitelů je potřeba přiřadit (viz HostNames) a povolit. V opačném případě se aplikace nebude obsluhovat u těchto názvů hostitelů.
- availabilityState
- Nullable<SiteAvailabilityState>
Stav dostupnosti informací správy aplikace Mezi možné hodnoty patří: Normal, Limited, DisasterRecoveryMode.
- hostNameSslStates
- IList<HostNameSslState>
Stavy SSL názvu hostitele se používají ke správě vazeb SSL pro názvy hostitelů aplikace.
- serverFarmId
- String
ID prostředku přidruženého plánu App Service ve formátu:/subscriptions/{id_předplatného}/resourceGroups/{název_skupiny}/providers/Microsoft.Web/serverfarms/{appServicePlanName}.
- siteConfig
- SiteConfig
Konfigurace aplikace.
Názvy hostitelů Azure Traffic Manageru přidružené k aplikaci Jen pro čtení.
<code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. Výchozí hodnota je <false< kódu>/kód>.
- targetSwapSlot
- String
Určuje, se kterým slotem nasazení se tato aplikace prohodí. Jen pro čtení.
- hostingEnvironmentProfile
- HostingEnvironmentProfile
App Service Environment, která se má použít pro aplikaci.
<kód>true</code> to enable client affinity; < kód>false</kód> pro zastavení odesílání souborů cookie spřažení relací, které směrují požadavky klientů ve stejné relaci na stejnou instanci. Výchozí hodnota je <kód>true</code>.
<kód>true</code> pro povolení ověřování klientským certifikátem (vzájemné ověřování TLS), v opačném případě <kód>false</kód>. Výchozí hodnota je <false< kódu>nebo kódu>.
- clientCertExclusionPaths
- String
Cesty vyloučení oddělené čárkami ověřování pomocí klientského certifikátu
<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. Pokud <je kód>true< nebo code>, je aplikace přístupná pouze prostřednictvím procesu služby API Management.
- outboundIpAddresses
- String
Seznam IP adres, které aplikace používá pro odchozí připojení (např. přístup k databázi) Zahrnuje virtuální IP adresy z tenantů, které je možné hostovat s aktuálním nastavením. Jen pro čtení.
- possibleOutboundIpAddresses
- String
Seznam IP adres, které aplikace používá pro odchozí připojení (např. přístup k databázi) Zahrnuje virtuální IP adresy ze všech tenantů s výjimkou dataComponent. Jen pro čtení.
Maximální povolená denní kvóta paměti (platí jenom pro dynamické aplikace).
Aplikace se pozastaví do doby, než dojde k překročení kvóty paměti.
Maximální počet pracovních procesů To platí jenom pro kontejner Functions.
- cloningInfo
- CloningInfo
Pokud ji zadáte při vytváření aplikace, aplikace se naklonuje ze zdrojové aplikace.
- resourceGroup
- String
Název skupiny prostředků, do které aplikace patří. Jen pro čtení.
<kód>true</code> , pokud je aplikace výchozím kontejnerem; <v opačném případě kód>false</kód>.
- defaultHostName
- String
Výchozí název hostitele aplikace. Jen pro čtení.
- slotSwapStatus
- SlotSwapStatus
Stav poslední operace prohození slotu nasazení
HttpsOnly: Nakonfiguruje web tak, aby přijímal pouze požadavky https. Problémy s přesměrováním požadavků HTTP
- redundancyMode
- Nullable<RedundancyMode>
Režim redundance webu. Mezi možné hodnoty patří: "None", 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant'
- identity
- ManagedServiceIdentity
- kind
- String
Druh prostředku.
Platí pro
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro