# AppServiceSourceControlProxy

- 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 AppServiceSourceControl Azure Provisioning model.

## Definition

```typescript
interface AppServiceSourceControlProxy {
  expireOn: BicepValueProxy | datetimeoffset;
  readonly id: BicepValueProxy;
  kind: BicepValueProxy | string;
  readonly name: BicepValueProxy | string;
  refreshToken: BicepValueProxy | string;
  readonly systemData: AppServiceSystemDataProxy;
  token: BicepValueProxy | string;
  tokenSecret: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearExpireOn(): void;
  clearKind(): void;
  clearRefreshToken(): void;
  clearToken(): void;
  clearTokenSecret(): void;
}
```

## Properties

- `expireOn`: `BicepValueProxy | datetimeoffset` `get - set` -- Gets or sets the ExpireOn 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.
- `refreshToken`: `BicepValueProxy | string` `get - set` -- Gets or sets the RefreshToken provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `token`: `BicepValueProxy | string` `get - set` -- Gets or sets the Token provisioning property.
- `tokenSecret`: `BicepValueProxy | string` `get - set` -- Gets or sets the TokenSecret provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearExpireOn](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/clearexpireon.md) -- `method` -- Clears the ExpireOn provisioning property.
    ```typescript
  clearExpireOn(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearRefreshToken](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/clearrefreshtoken.md) -- `method` -- Clears the RefreshToken provisioning property.
    ```typescript
  clearRefreshToken(): void
  ```
- [clearToken](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/cleartoken.md) -- `method` -- Clears the Token provisioning property.
    ```typescript
  clearToken(): void
  ```
- [clearTokenSecret](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesourcecontrolproxy/cleartokensecret.md) -- `method` -- Clears the TokenSecret provisioning property.
    ```typescript
  clearTokenSecret(): void
  ```
