SDK reference / Models / WebApps

WebApp

Kind: class

Namespace: Egulu.Sdk.Models.WebApps

A code-first Managed Web App running on a HostingPlan (ADR-0716).

Properties

NameTypeJSON nameDescription
AddressRulesList<Models.WebApps.WebAppAddressRule>?addressRulesAddress rules in order; the first match decides. At most 50.
AnnotationsModels.WebApps.WebApp_annotations?annotationsAt most 256 KiB in all; never policy input.
CorsList<Models.WebApps.WebAppCorsRule>?corsCORS rules in order; none leaves CORS to the app. At most 10.
CreateTimeDateTimeOffset?createTimeThe createTime property
DefaultAddressActionstring?defaultAddressActionALLOW (default) or DENY: what a visitor whose address matches no rule gets.
DefaultHostnamestring?defaultHostnameDefault platform subdomain hostname.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
EnvironmentModels.WebApps.WebApp_environment?environmentPlain variables for the app (names of letters, digits and underscores; never PLAT_, K_, KNATIVE_ or PORT). Secrets are pinned, not typed here. A change is a new revision.
Etagstring?etag"{generation}"; send it back in If-Match.
Frameworkstring?frameworkOptional framework profile ID (`webAppFrameworks`, W153 / ADR-0727), for example `dotnet`.
FrameworkOptionsModels.WebApps.WebApp_frameworkOptions?frameworkOptionsTyped creation options validated against the chosen framework template (`webAppFrameworks`, W153 / ADR-0727).
HealthCheckModels.WebApps.WebAppHealthCheck?healthCheckThe health check; absent asks `/` on the app's port with the defaults. Send `null` in a merge patch to remove it.
HistoryList<Models.WebApps.WebAppRevisionView>?historyImmutable revision history, including quarantined revisions held from routing.
IdleTimeoutSecondsint?idleTimeoutSecondsSeconds an app with no request stays awake before it sleeps, 30 to 3600 (default 900); applies when minInstances is 0.
LabelsModels.WebApps.WebApp_labels?labelsAt most 64.
MaxInstancesint?maxInstancesThe most instances, 1 to 20 (default 4); a plan may allow fewer.
MinInstancesint?minInstancesThe fewest instances kept warm, 0 to 20 (default 0: an idle app sleeps). 1 or more needs trust tier T1 (ADR-0405).
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PlanIdstring?planIdHosting plan ID in the same project and location.
ProductionRevisionModels.WebApps.WebAppRevisionView?productionRevisionActive production slot revision, when routable.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RequestsModels.WebApps.WebAppRequestSettings?requestsRequest handling: time limit, requests at once per instance, HTTP/2 to the app.
RolloutModels.WebApps.WebAppRollout?rolloutThe rollout in progress or the last one, if any.
RuntimeStackstring?runtimeStackManaged runtime stack: dotnet-10 | node-22 | python-3.13 | go-1.24.
SecretPinsList<Models.WebApps.WebAppSecretPin>?secretPinsSecret versions the app reads. A change needs a passkey sign-in of the last 15 minutes (ADR-0701, C-011).
SettingsRevisionIdstring?settingsRevisionIdThe revision that serves the settings now (it runs production); a settings change makes a new one.
SignInWallModels.WebApps.WebAppSignInWall?signInWallThe sign-in wall; absent or OFF leaves the app open.
StagingRevisionModels.WebApps.WebAppRevisionView?stagingRevisionStaging slot revision, when deployed.
StagingUrlstring?stagingUrlThe staging slot's own address, when a staging revision is deployed.
StateModels.WebApps.WebAppState?stateManaged Web App lifecycle states.
SuspendReasonstring?suspendReasonWhy serving is paused (for example spend-cap), if paused.
TargetConcurrencyint?targetConcurrencyRequests at once per instance the autoscaler aims for, 1 to 1000 (default 100).
TrafficList<Models.WebApps.WebAppTrafficTarget>?trafficThe current traffic split across revisions; production 100% unless a split or a rollout says otherwise.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
Urlstring?urlDefault HTTPS URL.