# SyncGroupProxy

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

Represents the SyncGroup Azure Provisioning model.

## Definition

```typescript
interface SyncGroupProxy {
  conflictLoggingRetentionInDays: BicepValueProxy | number;
  conflictResolutionPolicy: BicepValueProxy | SyncConflictResolutionPolicy;
  hubDatabasePassword: BicepValueProxy | string;
  hubDatabaseUserName: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  interval: BicepValueProxy | number;
  isConflictLoggingEnabled: BicepValueProxy | boolean;
  readonly lastSyncOn: BicepValueProxy | datetimeoffset;
  name: BicepValueProxy | string;
  parent: SqlDatabaseProxy;
  readonly privateEndpointName: BicepValueProxy | string;
  schema: SyncGroupSchemaProxy;
  sku: SqlSkuProxy;
  syncDatabaseId: BicepValueProxy;
  readonly syncState: BicepValueProxy | SyncGroupState;
  readonly systemData: SqlSystemDataProxy;
  usePrivateLinkConnection: BicepValueProxy | boolean;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearConflictLoggingRetentionInDays(): void;
  clearConflictResolutionPolicy(): void;
  clearHubDatabasePassword(): void;
  clearHubDatabaseUserName(): void;
  clearInterval(): void;
  clearIsConflictLoggingEnabled(): void;
  clearName(): void;
  clearSyncDatabaseId(): void;
  clearUsePrivateLinkConnection(): void;
}
```

## Properties

- `conflictLoggingRetentionInDays`: `BicepValueProxy | number` `get - set` -- Gets or sets the ConflictLoggingRetentionInDays provisioning property.
- `conflictResolutionPolicy`: `BicepValueProxy | SyncConflictResolutionPolicy` `get - set` -- Gets or sets the ConflictResolutionPolicy provisioning property.
- `hubDatabasePassword`: `BicepValueProxy | string` `get - set` -- Gets or sets the HubDatabasePassword provisioning property.
- `hubDatabaseUserName`: `BicepValueProxy | string` `get - set` -- Gets or sets the HubDatabaseUserName provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `interval`: `BicepValueProxy | number` `get - set` -- Gets or sets the Interval provisioning property.
- `isConflictLoggingEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsConflictLoggingEnabled provisioning property.
- `lastSyncOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastSyncOn provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlDatabaseProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqldatabaseproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `privateEndpointName`: `BicepValueProxy | string` `get` -- Gets the PrivateEndpointName provisioning property.
- `schema`: [SyncGroupSchemaProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupschemaproxy.md) `get - set` -- Gets or sets the Schema provisioning property.
- `sku`: [SqlSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `syncDatabaseId`: `BicepValueProxy` `get - set` -- Gets or sets the SyncDatabaseId provisioning property.
- `syncState`: `BicepValueProxy | SyncGroupState` `get` -- Gets the SyncState provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `usePrivateLinkConnection`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the UsePrivateLinkConnection provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearConflictLoggingRetentionInDays](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearconflictloggingretentionindays.md) -- `method` -- Clears the ConflictLoggingRetentionInDays provisioning property.
    ```typescript
  clearConflictLoggingRetentionInDays(): void
  ```
- [clearConflictResolutionPolicy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearconflictresolutionpolicy.md) -- `method` -- Clears the ConflictResolutionPolicy provisioning property.
    ```typescript
  clearConflictResolutionPolicy(): void
  ```
- [clearHubDatabasePassword](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearhubdatabasepassword.md) -- `method` -- Clears the HubDatabasePassword provisioning property.
    ```typescript
  clearHubDatabasePassword(): void
  ```
- [clearHubDatabaseUserName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearhubdatabaseusername.md) -- `method` -- Clears the HubDatabaseUserName provisioning property.
    ```typescript
  clearHubDatabaseUserName(): void
  ```
- [clearInterval](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearinterval.md) -- `method` -- Clears the Interval provisioning property.
    ```typescript
  clearInterval(): void
  ```
- [clearIsConflictLoggingEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearisconflictloggingenabled.md) -- `method` -- Clears the IsConflictLoggingEnabled provisioning property.
    ```typescript
  clearIsConflictLoggingEnabled(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearSyncDatabaseId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearsyncdatabaseid.md) -- `method` -- Clears the SyncDatabaseId provisioning property.
    ```typescript
  clearSyncDatabaseId(): void
  ```
- [clearUsePrivateLinkConnection](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/syncgroupproxy/clearuseprivatelinkconnection.md) -- `method` -- Clears the UsePrivateLinkConnection provisioning property.
    ```typescript
  clearUsePrivateLinkConnection(): void
  ```
