# CdnProfileProxy

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

## Definition

```typescript
interface CdnProfileProxy {
  readonly extendedProperties: Aspire_Hosting_Azure_Provisioning_Cdn_Generated_DictionaryOfStringProxy;
  readonly frontDoorId: BicepValueProxy | guid;
  readonly id: BicepValueProxy;
  identity: CdnManagedServiceIdentityProxy;
  readonly kind: BicepValueProxy | string;
  location: BicepValueProxy;
  logScrubbing: ProfileLogScrubbingProxy;
  name: BicepValueProxy | string;
  originResponseTimeoutSeconds: BicepValueProxy | number;
  readonly provisioningState: BicepValueProxy | ProfileProvisioningState;
  readonly resourceState: BicepValueProxy | ProfileResourceState;
  skuName: BicepValueProxy | CdnSkuName;
  readonly systemData: CdnSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Cdn_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearLocation(): void;
  clearName(): void;
  clearOriginResponseTimeoutSeconds(): void;
  clearSkuName(): void;
}
```

## Properties

- `extendedProperties`: [Aspire_Hosting_Azure_Provisioning_Cdn_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/aspire-hosting-azure-provisioning-cdn-generated-dictionaryofstringproxy.md) `get` -- Gets the ExtendedProperties provisioning property.
- `frontDoorId`: `BicepValueProxy | guid` `get` -- Gets the FrontDoorId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [CdnManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnmanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `kind`: `BicepValueProxy | string` `get` -- Gets the Kind provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `logScrubbing`: [ProfileLogScrubbingProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/profilelogscrubbingproxy.md) `get - set` -- Gets or sets the LogScrubbing provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `originResponseTimeoutSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the OriginResponseTimeoutSeconds provisioning property.
- `provisioningState`: `BicepValueProxy | ProfileProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `resourceState`: `BicepValueProxy | ProfileResourceState` `get` -- Gets the ResourceState provisioning property.
- `skuName`: `BicepValueProxy | CdnSkuName` `get - set` -- Gets or sets the SkuName provisioning property.
- `systemData`: [CdnSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Cdn_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/aspire-hosting-azure-provisioning-cdn-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnprofileproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnprofileproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnprofileproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearOriginResponseTimeoutSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnprofileproxy/clearoriginresponsetimeoutseconds.md) -- `method` -- Clears the OriginResponseTimeoutSeconds provisioning property.
    ```typescript
  clearOriginResponseTimeoutSeconds(): void
  ```
- [clearSkuName](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cdnprofileproxy/clearskuname.md) -- `method` -- Clears the SkuName provisioning property.
    ```typescript
  clearSkuName(): void
  ```
