Udostępnij za pośrednictwem


SitePatchResource Constructors

Definition

Overloads

SitePatchResource()

Initializes a new instance of the SitePatchResource class.

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>, Nullable<ClientCertMode>, String, Nullable<Boolean>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, Nullable<RedundancyMode>, Nullable<Guid>, Nullable<Boolean>, String, String, ManagedServiceIdentity)

Initializes a new instance of the SitePatchResource class.

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>, Nullable<ClientCertMode>, String, Nullable<Boolean>, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, Nullable<RedundancyMode>, Nullable<Guid>, Nullable<Boolean>, String, String, ManagedServiceIdentity)

Initializes a new instance of the SitePatchResource class.

public SitePatchResource (string id = default, string name = default, string kind = default, string type = default, string state = default, System.Collections.Generic.IList<string> hostNames = default, string repositorySiteName = default, Microsoft.Azure.Management.WebSites.Models.UsageState? usageState = default, bool? enabled = default, System.Collections.Generic.IList<string> enabledHostNames = default, Microsoft.Azure.Management.WebSites.Models.SiteAvailabilityState? availabilityState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.HostNameSslState> hostNameSslStates = default, string serverFarmId = default, bool? reserved = default, bool? isXenon = default, bool? hyperV = default, DateTime? lastModifiedTimeUtc = default, Microsoft.Azure.Management.WebSites.Models.SiteConfig siteConfig = default, System.Collections.Generic.IList<string> trafficManagerHostNames = default, bool? scmSiteAlsoStopped = default, string targetSwapSlot = default, Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, bool? clientAffinityEnabled = default, bool? clientCertEnabled = default, Microsoft.Azure.Management.WebSites.Models.ClientCertMode? clientCertMode = default, string clientCertExclusionPaths = default, bool? hostNamesDisabled = default, string customDomainVerificationId = default, string outboundIpAddresses = default, string possibleOutboundIpAddresses = default, int? containerSize = default, int? dailyMemoryTimeQuota = default, DateTime? suspendedTill = default, int? maxNumberOfWorkers = default, Microsoft.Azure.Management.WebSites.Models.CloningInfo cloningInfo = default, string resourceGroup = default, bool? isDefaultContainer = default, string defaultHostName = default, Microsoft.Azure.Management.WebSites.Models.SlotSwapStatus slotSwapStatus = default, bool? httpsOnly = default, Microsoft.Azure.Management.WebSites.Models.RedundancyMode? redundancyMode = default, Guid? inProgressOperationId = default, bool? storageAccountRequired = default, string keyVaultReferenceIdentity = default, string virtualNetworkSubnetId = default, Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentity identity = default);
new Microsoft.Azure.Management.WebSites.Models.SitePatchResource : string * string * string * string * string * System.Collections.Generic.IList<string> * string * Nullable<Microsoft.Azure.Management.WebSites.Models.UsageState> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.WebSites.Models.SiteAvailabilityState> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.HostNameSslState> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTime> * Microsoft.Azure.Management.WebSites.Models.SiteConfig * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile * Nullable<bool> * Nullable<bool> * Nullable<Microsoft.Azure.Management.WebSites.Models.ClientCertMode> * string * Nullable<bool> * string * string * string * Nullable<int> * Nullable<int> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.WebSites.Models.CloningInfo * string * Nullable<bool> * string * Microsoft.Azure.Management.WebSites.Models.SlotSwapStatus * Nullable<bool> * Nullable<Microsoft.Azure.Management.WebSites.Models.RedundancyMode> * Nullable<Guid> * Nullable<bool> * string * string * Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentity -> Microsoft.Azure.Management.WebSites.Models.SitePatchResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type 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 clientCertMode As Nullable(Of ClientCertMode) = Nothing, Optional clientCertExclusionPaths As String = Nothing, Optional hostNamesDisabled As Nullable(Of Boolean) = Nothing, Optional customDomainVerificationId As String = 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 storageAccountRequired As Nullable(Of Boolean) = Nothing, Optional keyVaultReferenceIdentity As String = Nothing, Optional virtualNetworkSubnetId As String = Nothing, Optional identity As ManagedServiceIdentity = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

state
String

Current state of the app.

hostNames
IList<String>

Hostnames associated with 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'

enabled
Nullable<Boolean>

<code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).

enabledHostNames
IList<String>

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}".

reserved
Nullable<Boolean>

<code>true</code> if reserved; otherwise, <code>false</code>.

isXenon
Nullable<Boolean>

Obsolete: Hyper-V sandbox.

hyperV
Nullable<Boolean>

Hyper-V sandbox.

lastModifiedTimeUtc
Nullable<DateTime>

Last time the app was modified, in UTC. Read-only.

siteConfig
SiteConfig

Configuration of the app.

trafficManagerHostNames
IList<String>

Azure Traffic Manager hostnames associated with the app. Read-only.

scmSiteAlsoStopped
Nullable<Boolean>

<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.

clientAffinityEnabled
Nullable<Boolean>

<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>.

clientCertEnabled
Nullable<Boolean>

<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.

clientCertMode
Nullable<ClientCertMode>

This composes with ClientCertEnabled setting. - ClientCertEnabled: false means ClientCert is ignored. - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. Possible values include: 'Required', 'Optional', 'OptionalInteractiveUser'

clientCertExclusionPaths
String

client certificate authentication comma-separated exclusion paths

hostNamesDisabled
Nullable<Boolean>

<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.

customDomainVerificationId
String

Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.

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.

containerSize
Nullable<Int32>

Size of the function container.

dailyMemoryTimeQuota
Nullable<Int32>

Maximum allowed daily memory-time quota (applicable on dynamic apps only).

suspendedTill
Nullable<DateTime>

App suspended till in case memory-time quota is exceeded.

maxNumberOfWorkers
Nullable<Int32>

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.

isDefaultContainer
Nullable<Boolean>

<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
Nullable<Boolean>

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'

inProgressOperationId
Nullable<Guid>

Specifies an operation id if this site has a pending operation.

storageAccountRequired
Nullable<Boolean>

Checks if Customer provided storage account is required

keyVaultReferenceIdentity
String

Identity to use for Key Vault Reference authentication.

virtualNetworkSubnetId
String

Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}

Applies to