import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Concrete tracked resource types can be created by aliasing this type using a specific property type. * * Uses Azure REST API version 2025-05-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. * * Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15, 2026-07-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class StaticSite extends pulumi.CustomResource { /** * Get an existing StaticSite resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StaticSite; /** * Returns true if the given object is an instance of StaticSite. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is StaticSite; /** * false if config file is locked for this static web app; otherwise, true. */ readonly allowConfigFileUpdates: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * The target branch in the repository. */ readonly branch: pulumi.Output; /** * Build properties to configure on the repository. */ readonly buildProperties: pulumi.Output; /** * The content distribution endpoint for the static site. */ readonly contentDistributionEndpoint: pulumi.Output; /** * The custom domains associated with this static site. */ readonly customDomains: pulumi.Output; /** * Database connections for the static site */ readonly databaseConnections: pulumi.Output; /** * The default autogenerated hostname for the static site. */ readonly defaultHostname: pulumi.Output; /** * State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ readonly enterpriseGradeCdnStatus: pulumi.Output; /** * Managed service identity. */ readonly identity: pulumi.Output; /** * Identity to use for Key Vault Reference authentication. */ readonly keyVaultReferenceIdentity: pulumi.Output; /** * Kind of resource. */ readonly kind: pulumi.Output; /** * Backends linked to the static side */ readonly linkedBackends: pulumi.Output; /** * The geo-location where the resource lives */ readonly location: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * Private endpoint connections */ readonly privateEndpointConnections: pulumi.Output; /** * The provider that submitted the last deployment to the primary environment of the static site. */ readonly provider: pulumi.Output; /** * State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. */ readonly publicNetworkAccess: pulumi.Output; /** * A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ readonly repositoryToken: pulumi.Output; /** * URL for the repository of the static site. */ readonly repositoryUrl: pulumi.Output; /** * Description of a SKU for a scalable resource. */ readonly sku: pulumi.Output; /** * State indicating whether staging environments are allowed or not allowed for a static web app. */ readonly stagingEnvironmentPolicy: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Template options for generating a new repository. */ readonly templateProperties: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * User provided function apps registered with the static site */ readonly userProvidedFunctionApps: pulumi.Output; /** * Create a StaticSite resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: StaticSiteArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a StaticSite resource. */ export interface StaticSiteArgs { /** * false if config file is locked for this static web app; otherwise, true. */ allowConfigFileUpdates?: pulumi.Input; /** * The target branch in the repository. */ branch?: pulumi.Input; /** * Build properties to configure on the repository. */ buildProperties?: pulumi.Input; /** * State indicating the status of the enterprise grade CDN serving traffic to the static web app. */ enterpriseGradeCdnStatus?: pulumi.Input; /** * Managed service identity. */ identity?: pulumi.Input; /** * Kind of resource. */ kind?: pulumi.Input; /** * The geo-location where the resource lives */ location?: pulumi.Input; /** * Name of the static site. */ name?: pulumi.Input; /** * The provider that submitted the last deployment to the primary environment of the static site. */ provider?: pulumi.Input; /** * State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. */ publicNetworkAccess?: pulumi.Input; /** * A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. */ repositoryToken?: pulumi.Input; /** * URL for the repository of the static site. */ repositoryUrl?: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Description of a SKU for a scalable resource. */ sku?: pulumi.Input; /** * State indicating whether staging environments are allowed or not allowed for a static web app. */ stagingEnvironmentPolicy?: pulumi.Input; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Template options for generating a new repository. */ templateProperties?: pulumi.Input; } //# sourceMappingURL=staticSite.d.ts.map