# AIFoundryNetworkInjectionProxy

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

Represents the AIFoundryNetworkInjection Azure Provisioning model.

## Definition

```typescript
interface AIFoundryNetworkInjectionProxy {
  scenario: BicepValueProxy | AIFoundryNetworkInjectionScenarioType;
  subnetArmId: BicepValueProxy;
  useMicrosoftManagedNetwork: BicepValueProxy | boolean;
  clearScenario(): void;
  clearSubnetArmId(): void;
  clearUseMicrosoftManagedNetwork(): void;
}
```

## Properties

- `scenario`: `BicepValueProxy | AIFoundryNetworkInjectionScenarioType` `get - set` -- Gets or sets the Scenario provisioning property.
- `subnetArmId`: `BicepValueProxy` `get - set` -- Gets or sets the SubnetArmId provisioning property.
- `useMicrosoftManagedNetwork`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the UseMicrosoftManagedNetwork provisioning property.

## Methods

- [clearScenario](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/aifoundrynetworkinjectionproxy/clearscenario.md) -- `method` -- Clears the Scenario provisioning property.
    ```typescript
  clearScenario(): void
  ```
- [clearSubnetArmId](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/aifoundrynetworkinjectionproxy/clearsubnetarmid.md) -- `method` -- Clears the SubnetArmId provisioning property.
    ```typescript
  clearSubnetArmId(): void
  ```
- [clearUseMicrosoftManagedNetwork](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/aifoundrynetworkinjectionproxy/clearusemicrosoftmanagednetwork.md) -- `method` -- Clears the UseMicrosoftManagedNetwork provisioning property.
    ```typescript
  clearUseMicrosoftManagedNetwork(): void
  ```
