# CdnCustomDomainProxy

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

Represents the CdnCustomDomain Azure Provisioning model.

## Definition

```typescript
interface CdnCustomDomainProxy {
  readonly customDomainHttpsContent: CustomDomainHttpsContentProxy;
  readonly customHttpsAvailabilityState: BicepValueProxy | CustomHttpsAvailabilityState;
  readonly customHttpsProvisioningState: BicepValueProxy | CustomHttpsProvisioningState;
  hostName: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: CdnEndpointProxy;
  readonly provisioningState: BicepValueProxy | CustomHttpsProvisioningState;
  readonly resourceState: BicepValueProxy | CustomDomainResourceState;
  readonly systemData: CdnSystemDataProxy;
  readonly validationData: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearHostName(): void;
  clearName(): void;
}
```

## Properties

- `customDomainHttpsContent`: [CustomDomainHttpsContentProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/customdomainhttpscontentproxy.md) `get` -- Gets the CustomDomainHttpsContent provisioning property.
- `customHttpsAvailabilityState`: `BicepValueProxy | CustomHttpsAvailabilityState` `get` -- Gets the CustomHttpsAvailabilityState provisioning property.
- `customHttpsProvisioningState`: `BicepValueProxy | CustomHttpsProvisioningState` `get` -- Gets the CustomHttpsProvisioningState provisioning property.
- `hostName`: `BicepValueProxy | string` `get - set` -- Gets or sets the HostName provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [CdnEndpointProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnendpointproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | CustomHttpsProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `resourceState`: `BicepValueProxy | CustomDomainResourceState` `get` -- Gets the ResourceState provisioning property.
- `systemData`: [CdnSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `validationData`: `BicepValueProxy | string` `get` -- Gets the ValidationData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdncustomdomainproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearHostName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdncustomdomainproxy/clearhostname.md) -- `method` -- Clears the HostName provisioning property.
    ```typescript
  clearHostName(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdncustomdomainproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
