SDK reference / Models

Models.WebApps namespace

Types

TypeKindDescription
DeployWebAppRequestclassRequest payload for `:deploy` on a Managed Web App.
DeployWebAppRequest_binaryFilesclassPackage files as bytes (path -> base64), for a `dotnet publish` folder or a Node package with binary assets (W104, ADR-0716 §3).A path is in files or here, never both; a zip is expanded by the client, the platform opens no archive. Without runtimeStack theruntime is read from the package: {name}.runtimeconfig.json is dotnet-10, package.json is node-22.
DeployWebAppRequest_filesclassCode bundle files (path -> text); Dockerfile is rejected. Give files, binaryFiles or both.
HostingPlanclassShared or dedicated hosting plan for Managed Web Apps (ADR-0716).
HostingPlanStateenumHosting plan lifecycle states.
HostingPlanUpdateMergePatchUpdateclassWhat an update of a hosting plan may change: the metadata, and for a STANDARD plan its size and instances (ADR-0730, proposed).
HostingPlanUpdateMergePatchUpdate_displayNameMember1class
HostingPlanUpdateMergePatchUpdate_instancesMember1class
HostingPlanUpdateMergePatchUpdate_sizeMember1class
HostingPlan_annotationsclassAt most 256 KiB in all; never policy input.
HostingPlan_labelsclassAt most 64.
PublishSiteRequestclassRequest of `:publish`: the whole new content of the site, published as its next version.
PublishSiteRequest_filesclassThe complete set of files (path -> UTF-8 text), as in a site's creation: pages left out are no longer served. Must include index.html.
RollbackSiteRequestclassRequest of `:rollback`.
RollbackWebAppRequestclass
SaveSiteFilesRequestclassRequest of `:saveFiles`: edits, new files and deletions applied to the version the site serves and published as its next version (W106).
SaveSiteFilesRequest_filesclassChanged and new files: path to UTF-8 text.
SaveWebAppFilesRequestclassRequest of `:saveFiles` (W105): edits, uploads and deletes saved as one new revision.
SaveWebAppFilesRequest_binaryFilesclassUploaded binary files: path to base64 bytes.
SaveWebAppFilesRequest_filesclassChanged and new text files: path to UTF-8 text.
SaveWebAppFilesResponseclassResponse of `:saveFiles` (W105).
SetWebAppTrafficRequestclassRequest payload for `:setTraffic`: the split across revisions. An empty list clears the split (production takes everything).
SiteclassStatic Site hosted on encrypted object storage and edge ingress (W22b; ADR-0605).
SiteCreateclassStatic Site hosted on encrypted object storage and edge ingress (W22b; ADR-0605).
SiteCreate_annotationsclassAt most 256 KiB in all; never policy input.
SiteCreate_filesclassStatic site files (path -> content); must include index.html.
SiteCreate_labelsclassAt most 64.
SiteFileContentclassResponse of `:getFile`: one file of the version the site serves, inline (W106).
SiteFileEntryclassOne file of a static site's active version, from `:listFiles`.
SiteFileListclassResponse of `:listFiles`: the files of the version the site serves (W106).
SiteStateenumStatic Site lifecycle states.
SiteVersionclassOne version of a Static Site's content, kept so the site can be rolled back to it (W22b; ADR-0605).
Site_annotationsclassAt most 256 KiB in all; never policy input.
Site_labelsclassAt most 64.
StartWebAppRolloutRequestclassRequest payload for `:startRollout`.
TestWebAppAddressRequestclassRequest payload for `:testAddress`.
TestWebAppAddressResponseclassWhat the address rules do with an address.
TestWebAppCorsRequestclassRequest payload for `:testCors`: a browser request, as the edge would see it.
TestWebAppCorsResponseclassWhat the CORS rules answer.
TestWebAppCorsResponse_headersclassThe response headers the edge sets.
WebAppclassA code-first Managed Web App running on a HostingPlan (ADR-0716).
WebAppAddressRuleclassOne address rule: allow or deny a block of addresses; the first rule that matches decides.
WebAppAddressRuleMergePatchUpdateReplaceOnlyclass
WebAppBuildRunListclassResponse of `:listBuilds` on a Managed Web App (W153, ADR-0727).
WebAppBuildRunViewclassOne source build run of a web app revision with steps, paged log lines and scan findings (W153, ADR-0727).
WebAppBuildStepViewclassOne step inside a web app source build run (W153, ADR-0727).
WebAppCorsRuleclassOne CORS rule: the first rule whose origins match answers the browser.
WebAppCorsRuleMergePatchUpdateReplaceOnlyclass
WebAppCreateclassA code-first Managed Web App running on a HostingPlan (ADR-0716).
WebAppCreate_annotationsclassAt most 256 KiB in all; never policy input.
WebAppCreate_environmentclassPlain 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.
WebAppCreate_filesclassInitial source or published code bundle (path -> text); no Dockerfile required.
WebAppCreate_frameworkOptionsclassTyped creation options validated against the chosen framework template (`webAppFrameworks`, W153 / ADR-0727).
WebAppCreate_labelsclassAt most 64.
WebAppFileContentclassResponse of `:getFile` (W105): one file, inline.
WebAppFileEntryclassRequest payload for `:rollback` on a Managed Web App.One file of a web app revision (W105).
WebAppFileListclassResponse of `:listFiles` (W105): the files of the deploy workspace or of one revision.
WebAppFrameworkBuildclassW35 builder preset declared by a framework profile (W153, ADR-0727).
WebAppFrameworkDetectRuleclassOne file-matching detection rule of a web app framework profile (W153, ADR-0727).
WebAppFrameworkListclassResponse of `webAppFrameworks` list (W153, ADR-0727).
WebAppFrameworkOptionclassOne typed creation option of a framework starter template (W153, ADR-0727).
WebAppFrameworkOptionChoiceclassOne choice offered by a choice-kind framework creation option (W153, ADR-0727).
WebAppFrameworkOptionVisibilityclassConditional visibility predicate referencing a sibling creation option (W153, ADR-0727).
WebAppFrameworkProvidesclassManaged resource offered at create and wired into a setting (W153, ADR-0727).
WebAppFrameworkRunclassRuntime contract declared by a framework profile (W153, ADR-0727).
WebAppFrameworkScanclassDependency vulnerability audit specification (W153, ADR-0727).
WebAppFrameworkSettingclassNamed setting declared by a framework profile (W153, ADR-0727).
WebAppFrameworkTemplateclassOne starter template declared by a framework profile (W153, ADR-0727).
WebAppFrameworkViewclassComplete data-driven web app framework profile served from catalog/frameworks/*.yaml (W153, ADR-0727).
WebAppFrameworkWorkspaceclassWorkspace editor hints of a framework profile (W153, ADR-0727).
WebAppHealthCheckclassThe probe that decides whether an instance may serve and whether it is replaced (Knative readiness and liveness probes).
WebAppHealthCheckMergePatchUpdateOrCreateclassThe probe that decides whether an instance may serve and whether it is replaced (Knative readiness and liveness probes).
WebAppHealthCheckMergePatchUpdateOrCreate_failureThresholdMember1class
WebAppHealthCheckMergePatchUpdateOrCreate_pathMember1class
WebAppHealthCheckMergePatchUpdateOrCreate_periodSecondsMember1class
WebAppHealthCheckMergePatchUpdateOrCreate_portMember1class
WebAppHealthCheckMergePatchUpdateOrCreate_startAllowanceSecondsMember1class
WebAppHealthCheckMergePatchUpdateOrCreate_timeoutSecondsMember1class
WebAppHealthResultclassOne answer of the platform's own health probe.
WebAppHealthResultListclassA list of health probe answers, newest first.
WebAppRequestSettingsclassHow a request is handled on the way to the app.
WebAppRequestSettingsMergePatchUpdateOrCreateclassHow a request is handled on the way to the app.
WebAppRequestSettingsMergePatchUpdateOrCreate_concurrencyPerInstanceMember1class
WebAppRequestSettingsMergePatchUpdateOrCreate_http2Member1class
WebAppRequestSettingsMergePatchUpdateOrCreate_timeLimitSecondsMember1class
WebAppRevisionListclassA web app's revisions with their settings, traffic and tag addresses.
WebAppRevisionViewclassOne immutable code revision of a Managed Web App.
WebAppRolloutclassA progressive rollout of one revision: steps of traffic, each held until the health gate passes (IP-04).
WebAppScanFindingViewclassOne dependency vulnerability finding emitted by a web app build scan (W153, ADR-0727).
WebAppSecretPinclassA secret version a web app reads (ADR-0701, C-055).
WebAppSecretPinMergePatchUpdateReplaceOnlyclass
WebAppSecretWarningclassA likely secret in a saved file; the value is never returned (W105, ADR-0716 §5).
WebAppSettingsclassThe settings a revision runs with, as a snapshot (Read) of what the app's settings were when the revision was made.
WebAppSettings_environmentclass
WebAppSignInWallclassThe sign-in wall in front of an app: the edge asks for the platform's sign-in before the app sees a request (ADR-0731, proposed).
WebAppSignInWallMergePatchUpdateOrCreateclassThe sign-in wall in front of an app: the edge asks for the platform's sign-in before the app sees a request (ADR-0731, proposed).
WebAppSignInWallMergePatchUpdateOrCreate_openPathsMember1class
WebAppSignInWallMergePatchUpdateOrCreate_passIdentityMember1class
WebAppSignInWallMergePatchUpdateOrCreate_peopleMember1class
WebAppSignInWallMergePatchUpdateOrCreate_sessionMinutesMember1class
WebAppStateenumManaged Web App lifecycle states.
WebAppTemplateListclassResponse of the template list.
WebAppTemplateViewclassA framework template a web app can start from (ADR-0716 §3, ADR-0809).
WebAppTrafficTargetclassOne target of a traffic split.
WebAppUpdateMergePatchUpdateclassWhat an update may change: the metadata every resource has, the app's settings and its access policy (IP-04). Each settings change is a new revision, rolled out with no downtime.
WebAppUpdateMergePatchUpdate_defaultAddressActionMember1class
WebAppUpdateMergePatchUpdate_displayNameMember1class
WebAppUpdateMergePatchUpdate_idleTimeoutSecondsMember1class
WebAppUpdateMergePatchUpdate_maxInstancesMember1class
WebAppUpdateMergePatchUpdate_minInstancesMember1class
WebAppUpdateMergePatchUpdate_passkeyAssertionIdMember1class
WebAppUpdateMergePatchUpdate_slotMember1class
WebAppUpdateMergePatchUpdate_targetConcurrencyMember1class
WebApp_annotationsclassAt most 256 KiB in all; never policy input.
WebApp_environmentclassPlain 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.
WebApp_frameworkOptionsclassTyped creation options validated against the chosen framework template (`webAppFrameworks`, W153 / ADR-0727).
WebApp_labelsclassAt most 64.