# SiteFunctionProxy

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

Represents the SiteFunction Azure Provisioning model.

## Definition

```typescript
interface SiteFunctionProxy {
  config: BicepValueProxy;
  configHref: BicepValueProxy | string;
  files: Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy;
  functionAppId: BicepValueProxy | string;
  href: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  invokeUrlTemplate: BicepValueProxy | string;
  isDisabled: BicepValueProxy | boolean;
  kind: BicepValueProxy | string;
  language: BicepValueProxy | string;
  name: BicepValueProxy | string;
  parent: WebSiteProxy;
  scriptHref: BicepValueProxy | string;
  scriptRootPathHref: BicepValueProxy | string;
  secretsFileHref: BicepValueProxy | string;
  readonly systemData: AppServiceSystemDataProxy;
  testData: BicepValueProxy | string;
  testDataHref: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearConfig(): void;
  clearConfigHref(): void;
  clearFunctionAppId(): void;
  clearHref(): void;
  clearInvokeUrlTemplate(): void;
  clearIsDisabled(): void;
  clearKind(): void;
  clearLanguage(): void;
  clearName(): void;
  clearScriptHref(): void;
  clearScriptRootPathHref(): void;
  clearSecretsFileHref(): void;
  clearTestData(): void;
  clearTestDataHref(): void;
}
```

## Properties

- `config`: `BicepValueProxy` `get - set` -- Gets or sets the Config provisioning property.
- `configHref`: `BicepValueProxy | string` `get - set` -- Gets or sets the ConfigHref provisioning property.
- `files`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Files provisioning property.
- `functionAppId`: `BicepValueProxy | string` `get - set` -- Gets or sets the FunctionAppId provisioning property.
- `href`: `BicepValueProxy | string` `get - set` -- Gets or sets the Href provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `invokeUrlTemplate`: `BicepValueProxy | string` `get - set` -- Gets or sets the InvokeUrlTemplate provisioning property.
- `isDisabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsDisabled provisioning property.
- `kind`: `BicepValueProxy | string` `get - set` -- Gets or sets the Kind provisioning property.
- `language`: `BicepValueProxy | string` `get - set` -- Gets or sets the Language provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [WebSiteProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/websiteproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `scriptHref`: `BicepValueProxy | string` `get - set` -- Gets or sets the ScriptHref provisioning property.
- `scriptRootPathHref`: `BicepValueProxy | string` `get - set` -- Gets or sets the ScriptRootPathHref provisioning property.
- `secretsFileHref`: `BicepValueProxy | string` `get - set` -- Gets or sets the SecretsFileHref provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `testData`: `BicepValueProxy | string` `get - set` -- Gets or sets the TestData provisioning property.
- `testDataHref`: `BicepValueProxy | string` `get - set` -- Gets or sets the TestDataHref provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearConfig](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearconfig.md) -- `method` -- Clears the Config provisioning property.
    ```typescript
  clearConfig(): void
  ```
- [clearConfigHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearconfighref.md) -- `method` -- Clears the ConfigHref provisioning property.
    ```typescript
  clearConfigHref(): void
  ```
- [clearFunctionAppId](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearfunctionappid.md) -- `method` -- Clears the FunctionAppId provisioning property.
    ```typescript
  clearFunctionAppId(): void
  ```
- [clearHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearhref.md) -- `method` -- Clears the Href provisioning property.
    ```typescript
  clearHref(): void
  ```
- [clearInvokeUrlTemplate](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearinvokeurltemplate.md) -- `method` -- Clears the InvokeUrlTemplate provisioning property.
    ```typescript
  clearInvokeUrlTemplate(): void
  ```
- [clearIsDisabled](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearisdisabled.md) -- `method` -- Clears the IsDisabled provisioning property.
    ```typescript
  clearIsDisabled(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearLanguage](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearlanguage.md) -- `method` -- Clears the Language provisioning property.
    ```typescript
  clearLanguage(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearScriptHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearscripthref.md) -- `method` -- Clears the ScriptHref provisioning property.
    ```typescript
  clearScriptHref(): void
  ```
- [clearScriptRootPathHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearscriptrootpathhref.md) -- `method` -- Clears the ScriptRootPathHref provisioning property.
    ```typescript
  clearScriptRootPathHref(): void
  ```
- [clearSecretsFileHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/clearsecretsfilehref.md) -- `method` -- Clears the SecretsFileHref provisioning property.
    ```typescript
  clearSecretsFileHref(): void
  ```
- [clearTestData](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/cleartestdata.md) -- `method` -- Clears the TestData provisioning property.
    ```typescript
  clearTestData(): void
  ```
- [clearTestDataHref](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/sitefunctionproxy/cleartestdatahref.md) -- `method` -- Clears the TestDataHref provisioning property.
    ```typescript
  clearTestDataHref(): void
  ```
