SitePatchResource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SitePatchResource()
Initializes a new instance of the SitePatchResource class.
public SitePatchResource ();
Public Sub New ()
Applies to
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)
Initializes a new instance of the SitePatchResource class.
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)
Parameters
- id
- String
- name
- String
- type
- String
- kind
- String
Kind of resource.
- state
- String
Current state of the app.
- repositorySiteName
- String
Name of the repository site.
- usageState
- Nullable<UsageState>
State indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
<code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).
Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.
- availabilityState
- Nullable<SiteAvailabilityState>
Management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'
- hostNameSslStates
- IList<HostNameSslState>
Hostname SSL states are used to manage the SSL bindings for app's hostnames.
- serverFarmId
- String
Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
- siteConfig
- SiteConfig
Configuration of the app.
Azure Traffic Manager hostnames associated with the app. Read-only.
<code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.
- targetSwapSlot
- String
Specifies which deployment slot this app will swap into. Read-only.
- hostingEnvironmentProfile
- HostingEnvironmentProfile
App Service Environment to use for the app.
<code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.
<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.
- clientCertExclusionPaths
- String
client certificate authentication comma-separated exclusion paths
<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.
- outboundIpAddresses
- String
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.
- possibleOutboundIpAddresses
- String
List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.
Maximum allowed daily memory-time quota (applicable on dynamic apps only).
Maximum number of workers. This only applies to Functions container.
- cloningInfo
- CloningInfo
If specified during app creation, the app is cloned from a source app.
- resourceGroup
- String
Name of the resource group the app belongs to. Read-only.
<code>true</code> if the app is a default container; otherwise, <code>false</code>.
- defaultHostName
- String
Default hostname of the app. Read-only.
- slotSwapStatus
- SlotSwapStatus
Status of the last deployment slot swap operation.
HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
- redundancyMode
- Nullable<RedundancyMode>
Site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant'
Specifies an operation id if this site has a pending operation.
- identity
- ManagedServiceIdentity
Applies to
Azure SDK for .NET