# ContainerAppSourceControlProxy

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

Represents the ContainerAppSourceControl Azure Provisioning model.

## Definition

```typescript
interface ContainerAppSourceControlProxy {
  branch: BicepValueProxy | string;
  gitHubActionConfiguration: ContainerAppGitHubActionConfigurationProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly operationState: BicepValueProxy | ContainerAppSourceControlOperationState;
  parent: ContainerAppProxy;
  repoUri: BicepValueProxy | uri;
  readonly systemData: AppContainersSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearBranch(): void;
  clearName(): void;
  clearRepoUri(): void;
}
```

## Properties

- `branch`: `BicepValueProxy | string` `get - set` -- Gets or sets the Branch provisioning property.
- `gitHubActionConfiguration`: [ContainerAppGitHubActionConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappgithubactionconfigurationproxy.md) `get - set` -- Gets or sets the GitHubActionConfiguration provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `operationState`: `BicepValueProxy | ContainerAppSourceControlOperationState` `get` -- Gets the OperationState provisioning property.
- `parent`: [ContainerAppProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `repoUri`: `BicepValueProxy | uri` `get - set` -- Gets or sets the RepoUri provisioning property.
- `systemData`: [AppContainersSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/appcontainerssystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappsourcecontrolproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearBranch](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappsourcecontrolproxy/clearbranch.md) -- `method` -- Clears the Branch provisioning property.
    ```typescript
  clearBranch(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappsourcecontrolproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearRepoUri](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappsourcecontrolproxy/clearrepouri.md) -- `method` -- Clears the RepoUri provisioning property.
    ```typescript
  clearRepoUri(): void
  ```
