SitePatchResource Class

Definition

ARM resource for a site.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SitePatchResource : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SitePatchResource = class
    inherit ProxyOnlyResourceInner
Public Class SitePatchResource
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

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

Properties

AvailabilityState

Gets management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'

ClientAffinityEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; to enable client affinity; &lt;code&gt;false&lt;/code&gt; to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is &lt;code&gt;true&lt;/code&gt;.

ClientCertEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; to enable client certificate authentication (TLS mutual authentication); otherwise, &lt;code&gt;false&lt;/code&gt;. Default is &lt;code&gt;false&lt;/code&gt;.

ClientCertExclusionPaths

Gets or sets client certificate authentication comma-separated exclusion paths

CloningInfo

Gets or sets if specified during app creation, the app is cloned from a source app.

ContainerSize

Gets or sets size of the function container.

DailyMemoryTimeQuota

Gets or sets maximum allowed daily memory-time quota (applicable on dynamic apps only).

DefaultHostName

Gets default hostname of the app. Read-only.

Enabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if the app is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;. Setting this value to false disables the app (takes the app offline).

EnabledHostNames

Gets enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.

HostingEnvironmentProfile

Gets or sets app Service Environment to use for the app.

HostNames

Gets hostnames associated with the app.

HostNamesDisabled

Gets or sets &lt;code&gt;true&lt;/code&gt; to disable the public hostnames of the app; otherwise, &lt;code&gt;false&lt;/code&gt;. If &lt;code&gt;true&lt;/code&gt;, the app is only accessible via API management process.

HostNameSslStates

Gets or sets hostname SSL states are used to manage the SSL bindings for app's hostnames.

HttpsOnly

Gets or sets httpsOnly: configures a web site to accept only https requests. Issues redirect for http requests

HyperV

Gets or sets hyper-V sandbox.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Identity
InProgressOperationId

Gets specifies an operation id if this site has a pending operation.

IsDefaultContainer

Gets &lt;code&gt;true&lt;/code&gt; if the app is a default container; otherwise, &lt;code&gt;false&lt;/code&gt;.

IsXenon

Gets or sets obsolete: Hyper-V sandbox.

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResourceInner)
LastModifiedTimeUtc

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

Location

Resource location

(Inherited from Resource)
MaxNumberOfWorkers

Gets maximum number of workers. This only applies to Functions container.

Name

Resource name

(Inherited from ProxyResource)
OutboundIpAddresses

Gets 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

Gets list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.

RedundancyMode

Gets or sets site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant'

RepositorySiteName

Gets name of the repository site.

Reserved

Gets or sets &lt;code&gt;true&lt;/code&gt; if reserved; otherwise, &lt;code&gt;false&lt;/code&gt;.

ResourceGroup

Gets name of the resource group the app belongs to. Read-only.

ScmSiteAlsoStopped

Gets or sets &lt;code&gt;true&lt;/code&gt; to stop SCM (KUDU) site when the app is stopped; otherwise, &lt;code&gt;false&lt;/code&gt;. The default is &lt;code&gt;false&lt;/code&gt;.

ServerFarmId

Gets or sets resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

SiteConfig

Gets or sets configuration of the app.

SlotSwapStatus

Gets status of the last deployment slot swap operation.

State

Gets current state of the app.

SuspendedTill

Gets app suspended till in case memory-time quota is exceeded.

Tags

Resource tags

(Inherited from Resource)
TargetSwapSlot

Gets specifies which deployment slot this app will swap into. Read-only.

TrafficManagerHostNames

Gets azure Traffic Manager hostnames associated with the app. Read-only.

Type

Resource type

(Inherited from ProxyResource)
UsageState

Gets state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'

Methods

Validate()

Validate the object.

Applies to