# AppServiceCertificateOrderProxy

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

## Definition

```typescript
interface AppServiceCertificateOrderProxy {
  readonly appServiceCertificateNotRenewableReasons: Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfAppServiceCertificateNotRenewableReasonProxy;
  certificates: Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfAppServiceCertificatePropertiesProxy;
  readonly contact: CertificateOrderContactProxy;
  csr: BicepValueProxy | string;
  distinguishedName: BicepValueProxy | string;
  readonly domainVerificationToken: BicepValueProxy | string;
  readonly expireOn: BicepValueProxy | datetimeoffset;
  readonly id: BicepValueProxy;
  readonly intermediate: AppServiceCertificateDetailsProxy;
  isAutoRenew: BicepValueProxy | boolean;
  readonly isPrivateKeyExternal: BicepValueProxy | boolean;
  keySize: BicepValueProxy | number;
  kind: BicepValueProxy | string;
  readonly lastCertificateIssuedOn: BicepValueProxy | datetimeoffset;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly nextAutoRenewTimeStamp: BicepValueProxy | datetimeoffset;
  productType: BicepValueProxy | CertificateProductType;
  readonly provisioningState: BicepValueProxy | ProvisioningState;
  readonly root: AppServiceCertificateDetailsProxy;
  readonly serialNumber: BicepValueProxy | string;
  readonly signedCertificate: AppServiceCertificateDetailsProxy;
  readonly status: BicepValueProxy | CertificateOrderStatus;
  readonly systemData: AppServiceSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy;
  validityInYears: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCsr(): void;
  clearDistinguishedName(): void;
  clearIsAutoRenew(): void;
  clearKeySize(): void;
  clearKind(): void;
  clearLocation(): void;
  clearName(): void;
  clearProductType(): void;
  clearValidityInYears(): void;
}
```

## Properties

- `appServiceCertificateNotRenewableReasons`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_ListOfAppServiceCertificateNotRenewableReasonProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-listofappservicecertificatenotrenewablereasonproxy.md) `get` -- Gets the AppServiceCertificateNotRenewableReasons provisioning property.
- `certificates`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfAppServiceCertificatePropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-dictionaryofappservicecertificatepropertiesproxy.md) `get - set` -- Gets or sets the Certificates provisioning property.
- `contact`: [CertificateOrderContactProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/certificateordercontactproxy.md) `get` -- Gets the Contact provisioning property.
- `csr`: `BicepValueProxy | string` `get - set` -- Gets or sets the Csr provisioning property.
- `distinguishedName`: `BicepValueProxy | string` `get - set` -- Gets or sets the DistinguishedName provisioning property.
- `domainVerificationToken`: `BicepValueProxy | string` `get` -- Gets the DomainVerificationToken provisioning property.
- `expireOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the ExpireOn provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `intermediate`: [AppServiceCertificateDetailsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificatedetailsproxy.md) `get` -- Gets the Intermediate provisioning property.
- `isAutoRenew`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsAutoRenew provisioning property.
- `isPrivateKeyExternal`: `BicepValueProxy | boolean` `get` -- Gets the IsPrivateKeyExternal provisioning property.
- `keySize`: `BicepValueProxy | number` `get - set` -- Gets or sets the KeySize provisioning property.
- `kind`: `BicepValueProxy | string` `get - set` -- Gets or sets the Kind provisioning property.
- `lastCertificateIssuedOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastCertificateIssuedOn provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `nextAutoRenewTimeStamp`: `BicepValueProxy | datetimeoffset` `get` -- Gets the NextAutoRenewTimeStamp provisioning property.
- `productType`: `BicepValueProxy | CertificateProductType` `get - set` -- Gets or sets the ProductType provisioning property.
- `provisioningState`: `BicepValueProxy | ProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `root`: [AppServiceCertificateDetailsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificatedetailsproxy.md) `get` -- Gets the Root provisioning property.
- `serialNumber`: `BicepValueProxy | string` `get` -- Gets the SerialNumber provisioning property.
- `signedCertificate`: [AppServiceCertificateDetailsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificatedetailsproxy.md) `get` -- Gets the SignedCertificate provisioning property.
- `status`: `BicepValueProxy | CertificateOrderStatus` `get` -- Gets the Status provisioning property.
- `systemData`: [AppServiceSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_AppService_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/aspire-hosting-azure-provisioning-appservice-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `validityInYears`: `BicepValueProxy | number` `get - set` -- Gets or sets the ValidityInYears provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCsr](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearcsr.md) -- `method` -- Clears the Csr provisioning property.
    ```typescript
  clearCsr(): void
  ```
- [clearDistinguishedName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/cleardistinguishedname.md) -- `method` -- Clears the DistinguishedName provisioning property.
    ```typescript
  clearDistinguishedName(): void
  ```
- [clearIsAutoRenew](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearisautorenew.md) -- `method` -- Clears the IsAutoRenew provisioning property.
    ```typescript
  clearIsAutoRenew(): void
  ```
- [clearKeySize](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearkeysize.md) -- `method` -- Clears the KeySize provisioning property.
    ```typescript
  clearKeySize(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearProductType](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearproducttype.md) -- `method` -- Clears the ProductType provisioning property.
    ```typescript
  clearProductType(): void
  ```
- [clearValidityInYears](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/appservicecertificateorderproxy/clearvalidityinyears.md) -- `method` -- Clears the ValidityInYears provisioning property.
    ```typescript
  clearValidityInYears(): void
  ```
