# ManagementPolicyRuleProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Storage](/reference/api/typescript/aspire.hosting.azure.provisioning.storage.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the ManagementPolicyRule Azure Provisioning model.

## Definition

```typescript
interface ManagementPolicyRuleProxy {
  definition: ManagementPolicyDefinitionProxy;
  isEnabled: BicepValueProxy | boolean;
  name: BicepValueProxy | string;
  ruleType: BicepValueProxy | ManagementPolicyRuleType;
  clearIsEnabled(): void;
  clearName(): void;
  clearRuleType(): void;
}
```

## Properties

- `definition`: [ManagementPolicyDefinitionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/managementpolicydefinitionproxy.md) `get - set` -- Gets or sets the Definition provisioning property.
- `isEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsEnabled provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `ruleType`: `BicepValueProxy | ManagementPolicyRuleType` `get - set` -- Gets or sets the RuleType provisioning property.

## Methods

- [clearIsEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/managementpolicyruleproxy/clearisenabled.md) -- `method` -- Clears the IsEnabled provisioning property.
    ```typescript
  clearIsEnabled(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/managementpolicyruleproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearRuleType](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/managementpolicyruleproxy/clearruletype.md) -- `method` -- Clears the RuleType provisioning property.
    ```typescript
  clearRuleType(): void
  ```
