# SqlServerDevOpsAuditingSettingProxy

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

## Definition

```typescript
interface SqlServerDevOpsAuditingSettingProxy {
  readonly id: BicepValueProxy;
  isAzureMonitorTargetEnabled: BicepValueProxy | boolean;
  isManagedIdentityInUse: BicepValueProxy | boolean;
  name: BicepValueProxy | string;
  parent: SqlServerProxy;
  state: BicepValueProxy | BlobAuditingPolicyState;
  storageAccountAccessKey: BicepValueProxy | string;
  storageAccountSubscriptionId: BicepValueProxy | guid;
  storageEndpoint: BicepValueProxy | string;
  readonly systemData: SqlSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearIsAzureMonitorTargetEnabled(): void;
  clearIsManagedIdentityInUse(): void;
  clearName(): void;
  clearState(): void;
  clearStorageAccountAccessKey(): void;
  clearStorageAccountSubscriptionId(): void;
  clearStorageEndpoint(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `isAzureMonitorTargetEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsAzureMonitorTargetEnabled provisioning property.
- `isManagedIdentityInUse`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsManagedIdentityInUse provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `state`: `BicepValueProxy | BlobAuditingPolicyState` `get - set` -- Gets or sets the State provisioning property.
- `storageAccountAccessKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the StorageAccountAccessKey provisioning property.
- `storageAccountSubscriptionId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the StorageAccountSubscriptionId provisioning property.
- `storageEndpoint`: `BicepValueProxy | string` `get - set` -- Gets or sets the StorageEndpoint provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearIsAzureMonitorTargetEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearisazuremonitortargetenabled.md) -- `method` -- Clears the IsAzureMonitorTargetEnabled provisioning property.
    ```typescript
  clearIsAzureMonitorTargetEnabled(): void
  ```
- [clearIsManagedIdentityInUse](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearismanagedidentityinuse.md) -- `method` -- Clears the IsManagedIdentityInUse provisioning property.
    ```typescript
  clearIsManagedIdentityInUse(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearState](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearstate.md) -- `method` -- Clears the State provisioning property.
    ```typescript
  clearState(): void
  ```
- [clearStorageAccountAccessKey](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearstorageaccountaccesskey.md) -- `method` -- Clears the StorageAccountAccessKey provisioning property.
    ```typescript
  clearStorageAccountAccessKey(): void
  ```
- [clearStorageAccountSubscriptionId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearstorageaccountsubscriptionid.md) -- `method` -- Clears the StorageAccountSubscriptionId provisioning property.
    ```typescript
  clearStorageAccountSubscriptionId(): void
  ```
- [clearStorageEndpoint](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverdevopsauditingsettingproxy/clearstorageendpoint.md) -- `method` -- Clears the StorageEndpoint provisioning property.
    ```typescript
  clearStorageEndpoint(): void
  ```
