# StaticSiteBasicAuthPropertyProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppService](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the StaticSiteBasicAuthProperty Azure Provisioning model.

## Definition

```typescript
interface StaticSiteBasicAuthPropertyProxy {
  applicableEnvironmentsMode: BicepValueProxy | string;
  environments: Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfStringProxy;
  readonly id: BicepValueProxy;
  kind: BicepValueProxy | string;
  readonly name: BicepValueProxy | string;
  parent: StaticSiteProxy;
  password: BicepValueProxy | string;
  readonly secretState: BicepValueProxy | string;
  secretUri: BicepValueProxy | uri;
  readonly systemData: AppServiceSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearApplicableEnvironmentsMode(): void;
  clearKind(): void;
  clearPassword(): void;
  clearSecretUri(): void;
}
```

## Properties

- `applicableEnvironmentsMode`: `BicepValueProxy | string` `get - set` -- Gets or sets the ApplicableEnvironmentsMode provisioning property.
- `environments`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-listofstringproxy.md) `get - set` -- Gets or sets the Environments provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `kind`: `BicepValueProxy | string` `get - set` -- Gets or sets the Kind provisioning property.
- `name`: `BicepValueProxy | string` `get` -- Gets the Name provisioning property.
- `parent`: [StaticSiteProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsiteproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `password`: `BicepValueProxy | string` `get - set` -- Gets or sets the Password provisioning property.
- `secretState`: `BicepValueProxy | string` `get` -- Gets the SecretState provisioning property.
- `secretUri`: `BicepValueProxy | uri` `get - set` -- Gets or sets the SecretUri provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsitebasicauthpropertyproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearApplicableEnvironmentsMode](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsitebasicauthpropertyproxy/clearapplicableenvironmentsmode.md) -- `method` -- Clears the ApplicableEnvironmentsMode provisioning property.
    ```typescript
  clearApplicableEnvironmentsMode(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsitebasicauthpropertyproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsitebasicauthpropertyproxy/clearpassword.md) -- `method` -- Clears the Password provisioning property.
    ```typescript
  clearPassword(): void
  ```
- [clearSecretUri](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/staticsitebasicauthpropertyproxy/clearsecreturi.md) -- `method` -- Clears the SecretUri provisioning property.
    ```typescript
  clearSecretUri(): void
  ```
