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
| Name | Type | JSON name | Description |
|---|---|---|---|
AddressRules | List<Models.WebApps.WebAppAddressRule>? | addressRules | Address rules in order; the first match decides. At most 50. |
Annotations | Models.WebApps.WebApp_annotations? | annotations | At most 256 KiB in all; never policy input. |
Cors | List<Models.WebApps.WebAppCorsRule>? | cors | CORS rules in order; none leaves CORS to the app. At most 10. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DefaultAddressAction | string? | defaultAddressAction | ALLOW (default) or DENY: what a visitor whose address matches no rule gets. |
DefaultHostname | string? | defaultHostname | Default platform subdomain hostname. |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Environment | Models.WebApps.WebApp_environment? | environment | Plain 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. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Framework | string? | framework | Optional framework profile ID (`webAppFrameworks`, W153 / ADR-0727), for example `dotnet`. |
FrameworkOptions | Models.WebApps.WebApp_frameworkOptions? | frameworkOptions | Typed creation options validated against the chosen framework template (`webAppFrameworks`, W153 / ADR-0727). |
HealthCheck | Models.WebApps.WebAppHealthCheck? | healthCheck | The health check; absent asks `/` on the app's port with the defaults. Send `null` in a merge patch to remove it. |
History | List<Models.WebApps.WebAppRevisionView>? | history | Immutable revision history, including quarantined revisions held from routing. |
IdleTimeoutSeconds | int? | idleTimeoutSeconds | Seconds an app with no request stays awake before it sleeps, 30 to 3600 (default 900); applies when minInstances is 0. |
Labels | Models.WebApps.WebApp_labels? | labels | At most 64. |
MaxInstances | int? | maxInstances | The most instances, 1 to 20 (default 4); a plan may allow fewer. |
MinInstances | int? | minInstances | The fewest instances kept warm, 0 to 20 (default 0: an idle app sleeps). 1 or more needs trust tier T1 (ADR-0405). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PlanId | string? | planId | Hosting plan ID in the same project and location. |
ProductionRevision | Models.WebApps.WebAppRevisionView? | productionRevision | Active production slot revision, when routable. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Requests | Models.WebApps.WebAppRequestSettings? | requests | Request handling: time limit, requests at once per instance, HTTP/2 to the app. |
Rollout | Models.WebApps.WebAppRollout? | rollout | The rollout in progress or the last one, if any. |
RuntimeStack | string? | runtimeStack | Managed runtime stack: dotnet-10 | node-22 | python-3.13 | go-1.24. |
SecretPins | List<Models.WebApps.WebAppSecretPin>? | secretPins | Secret versions the app reads. A change needs a passkey sign-in of the last 15 minutes (ADR-0701, C-011). |
SettingsRevisionId | string? | settingsRevisionId | The revision that serves the settings now (it runs production); a settings change makes a new one. |
SignInWall | Models.WebApps.WebAppSignInWall? | signInWall | The sign-in wall; absent or OFF leaves the app open. |
StagingRevision | Models.WebApps.WebAppRevisionView? | stagingRevision | Staging slot revision, when deployed. |
StagingUrl | string? | stagingUrl | The staging slot's own address, when a staging revision is deployed. |
State | Models.WebApps.WebAppState? | state | Managed Web App lifecycle states. |
SuspendReason | string? | suspendReason | Why serving is paused (for example spend-cap), if paused. |
TargetConcurrency | int? | targetConcurrency | Requests at once per instance the autoscaler aims for, 1 to 1000 (default 100). |
Traffic | List<Models.WebApps.WebAppTrafficTarget>? | traffic | The current traffic split across revisions; production 100% unless a split or a rollout says otherwise. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
Url | string? | url | Default HTTPS URL. |