# SiteSlotHostNameBindingProxy

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

## Definition

```typescript
interface SiteSlotHostNameBindingProxy {
  azureResourceName: BicepValueProxy | string;
  azureResourceType: BicepValueProxy | AppServiceResourceType;
  customHostNameDnsRecordType: BicepValueProxy | CustomHostNameDnsRecordType;
  domainId: BicepValueProxy | string;
  hostNameType: BicepValueProxy | AppServiceHostNameType;
  readonly id: BicepValueProxy;
  kind: BicepValueProxy | string;
  name: BicepValueProxy | string;
  parent: WebSiteSlotProxy;
  siteName: BicepValueProxy | string;
  sslState: BicepValueProxy | HostNameBindingSslState;
  readonly systemData: AppServiceSystemDataProxy;
  thumbprintString: BicepValueProxy | string;
  readonly virtualIP: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAzureResourceName(): void;
  clearAzureResourceType(): void;
  clearCustomHostNameDnsRecordType(): void;
  clearDomainId(): void;
  clearHostNameType(): void;
  clearKind(): void;
  clearName(): void;
  clearSiteName(): void;
  clearSslState(): void;
  clearThumbprintString(): void;
}
```

## Properties

- `azureResourceName`: `BicepValueProxy | string` `get - set` -- Gets or sets the AzureResourceName provisioning property.
- `azureResourceType`: `BicepValueProxy | AppServiceResourceType` `get - set` -- Gets or sets the AzureResourceType provisioning property.
- `customHostNameDnsRecordType`: `BicepValueProxy | CustomHostNameDnsRecordType` `get - set` -- Gets or sets the CustomHostNameDnsRecordType provisioning property.
- `domainId`: `BicepValueProxy | string` `get - set` -- Gets or sets the DomainId provisioning property.
- `hostNameType`: `BicepValueProxy | AppServiceHostNameType` `get - set` -- Gets or sets the HostNameType 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 - set` -- Gets or sets the Name provisioning property.
- `parent`: [WebSiteSlotProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/websiteslotproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `siteName`: `BicepValueProxy | string` `get - set` -- Gets or sets the SiteName provisioning property.
- `sslState`: `BicepValueProxy | HostNameBindingSslState` `get - set` -- Gets or sets the SslState provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `thumbprintString`: `BicepValueProxy | string` `get - set` -- Gets or sets the ThumbprintString provisioning property.
- `virtualIP`: `BicepValueProxy | string` `get` -- Gets the VirtualIP provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAzureResourceName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearazureresourcename.md) -- `method` -- Clears the AzureResourceName provisioning property.
    ```typescript
  clearAzureResourceName(): void
  ```
- [clearAzureResourceType](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearazureresourcetype.md) -- `method` -- Clears the AzureResourceType provisioning property.
    ```typescript
  clearAzureResourceType(): void
  ```
- [clearCustomHostNameDnsRecordType](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearcustomhostnamednsrecordtype.md) -- `method` -- Clears the CustomHostNameDnsRecordType provisioning property.
    ```typescript
  clearCustomHostNameDnsRecordType(): void
  ```
- [clearDomainId](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/cleardomainid.md) -- `method` -- Clears the DomainId provisioning property.
    ```typescript
  clearDomainId(): void
  ```
- [clearHostNameType](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearhostnametype.md) -- `method` -- Clears the HostNameType provisioning property.
    ```typescript
  clearHostNameType(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearSiteName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearsitename.md) -- `method` -- Clears the SiteName provisioning property.
    ```typescript
  clearSiteName(): void
  ```
- [clearSslState](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearsslstate.md) -- `method` -- Clears the SslState provisioning property.
    ```typescript
  clearSslState(): void
  ```
- [clearThumbprintString](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/siteslothostnamebindingproxy/clearthumbprintstring.md) -- `method` -- Clears the ThumbprintString provisioning property.
    ```typescript
  clearThumbprintString(): void
  ```
