# FrontDoorOriginProxy

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

Represents the FrontDoorOrigin Azure Provisioning model.

## Definition

```typescript
interface FrontDoorOriginProxy {
  readonly deploymentStatus: BicepValueProxy | FrontDoorDeploymentStatus;
  enabledState: BicepValueProxy | EnabledState;
  enforceCertificateNameCheck: BicepValueProxy | boolean;
  hostName: BicepValueProxy | string;
  httpPort: BicepValueProxy | number;
  httpsPort: BicepValueProxy | number;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly originGroupName: BicepValueProxy | string;
  originHostHeader: BicepValueProxy | string;
  originId: BicepValueProxy;
  parent: FrontDoorOriginGroupProxy;
  priority: BicepValueProxy | number;
  readonly provisioningState: BicepValueProxy | FrontDoorProvisioningState;
  sharedPrivateLinkResource: SharedPrivateLinkResourcePropertiesProxy;
  readonly systemData: CdnSystemDataProxy;
  weight: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearEnabledState(): void;
  clearEnforceCertificateNameCheck(): void;
  clearHostName(): void;
  clearHttpPort(): void;
  clearHttpsPort(): void;
  clearName(): void;
  clearOriginHostHeader(): void;
  clearOriginId(): void;
  clearPriority(): void;
  clearWeight(): void;
}
```

## Properties

- `deploymentStatus`: `BicepValueProxy | FrontDoorDeploymentStatus` `get` -- Gets the DeploymentStatus provisioning property.
- `enabledState`: `BicepValueProxy | EnabledState` `get - set` -- Gets or sets the EnabledState provisioning property.
- `enforceCertificateNameCheck`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnforceCertificateNameCheck provisioning property.
- `hostName`: `BicepValueProxy | string` `get - set` -- Gets or sets the HostName provisioning property.
- `httpPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the HttpPort provisioning property.
- `httpsPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the HttpsPort provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `originGroupName`: `BicepValueProxy | string` `get` -- Gets the OriginGroupName provisioning property.
- `originHostHeader`: `BicepValueProxy | string` `get - set` -- Gets or sets the OriginHostHeader provisioning property.
- `originId`: `BicepValueProxy` `get - set` -- Gets or sets the OriginId provisioning property.
- `parent`: [FrontDoorOriginGroupProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororigingroupproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `priority`: `BicepValueProxy | number` `get - set` -- Gets or sets the Priority provisioning property.
- `provisioningState`: `BicepValueProxy | FrontDoorProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `sharedPrivateLinkResource`: [SharedPrivateLinkResourcePropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/sharedprivatelinkresourcepropertiesproxy.md) `get - set` -- Gets or sets the SharedPrivateLinkResource provisioning property.
- `systemData`: [CdnSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `weight`: `BicepValueProxy | number` `get - set` -- Gets or sets the Weight provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearEnabledState](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearenabledstate.md) -- `method` -- Clears the EnabledState provisioning property.
    ```typescript
  clearEnabledState(): void
  ```
- [clearEnforceCertificateNameCheck](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearenforcecertificatenamecheck.md) -- `method` -- Clears the EnforceCertificateNameCheck provisioning property.
    ```typescript
  clearEnforceCertificateNameCheck(): void
  ```
- [clearHostName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearhostname.md) -- `method` -- Clears the HostName provisioning property.
    ```typescript
  clearHostName(): void
  ```
- [clearHttpPort](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearhttpport.md) -- `method` -- Clears the HttpPort provisioning property.
    ```typescript
  clearHttpPort(): void
  ```
- [clearHttpsPort](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearhttpsport.md) -- `method` -- Clears the HttpsPort provisioning property.
    ```typescript
  clearHttpsPort(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearOriginHostHeader](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearoriginhostheader.md) -- `method` -- Clears the OriginHostHeader provisioning property.
    ```typescript
  clearOriginHostHeader(): void
  ```
- [clearOriginId](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearoriginid.md) -- `method` -- Clears the OriginId provisioning property.
    ```typescript
  clearOriginId(): void
  ```
- [clearPriority](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearpriority.md) -- `method` -- Clears the Priority provisioning property.
    ```typescript
  clearPriority(): void
  ```
- [clearWeight](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/frontdoororiginproxy/clearweight.md) -- `method` -- Clears the Weight provisioning property.
    ```typescript
  clearWeight(): void
  ```
