# PrivateLinkServiceProxy

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

Represents the PrivateLinkService Azure Provisioning model.

## Definition

```typescript
interface PrivateLinkServiceProxy {
  accessMode: BicepValueProxy | PrivateLinkServiceAccessMode;
  readonly alias: BicepValueProxy | string;
  autoApprovalSubscriptions: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  destinationIPAddress: BicepValueProxy | string;
  enableProxyProtocol: BicepValueProxy | boolean;
  readonly eTag: BicepValueProxy;
  extendedLocation: NetworkExtendedAzureLocationProxy;
  fqdns: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  id: BicepValueProxy;
  iPConfigurations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfPrivateLinkServiceIPConfigurationProxy;
  loadBalancerFrontendIPConfigurations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfFrontendIPConfigurationProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly networkInterfaces: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkInterfaceProxy;
  readonly privateEndpointConnections: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkPrivateEndpointConnectionProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  visibilitySubscriptions: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAccessMode(): void;
  clearDestinationIPAddress(): void;
  clearEnableProxyProtocol(): void;
  clearId(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `accessMode`: `BicepValueProxy | PrivateLinkServiceAccessMode` `get - set` -- Gets or sets the AccessMode provisioning property.
- `alias`: `BicepValueProxy | string` `get` -- Gets the Alias provisioning property.
- `autoApprovalSubscriptions`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the AutoApprovalSubscriptions provisioning property.
- `destinationIPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the DestinationIPAddress provisioning property.
- `enableProxyProtocol`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableProxyProtocol provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `extendedLocation`: [NetworkExtendedAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkextendedazurelocationproxy.md) `get - set` -- Gets or sets the ExtendedLocation provisioning property.
- `fqdns`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the Fqdns provisioning property.
- `id`: `BicepValueProxy` `get - set` -- Gets or sets the Id provisioning property.
- `iPConfigurations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfPrivateLinkServiceIPConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofprivatelinkserviceipconfigurationproxy.md) `get - set` -- Gets or sets the IPConfigurations provisioning property.
- `loadBalancerFrontendIPConfigurations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfFrontendIPConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listoffrontendipconfigurationproxy.md) `get - set` -- Gets or sets the LoadBalancerFrontendIPConfigurations 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.
- `networkInterfaces`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkInterfaceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofnetworkinterfaceproxy.md) `get` -- Gets the NetworkInterfaces provisioning property.
- `privateEndpointConnections`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkPrivateEndpointConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofnetworkprivateendpointconnectionproxy.md) `get` -- Gets the PrivateEndpointConnections provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `visibilitySubscriptions`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the VisibilitySubscriptions provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAccessMode](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/clearaccessmode.md) -- `method` -- Clears the AccessMode provisioning property.
    ```typescript
  clearAccessMode(): void
  ```
- [clearDestinationIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/cleardestinationipaddress.md) -- `method` -- Clears the DestinationIPAddress provisioning property.
    ```typescript
  clearDestinationIPAddress(): void
  ```
- [clearEnableProxyProtocol](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/clearenableproxyprotocol.md) -- `method` -- Clears the EnableProxyProtocol provisioning property.
    ```typescript
  clearEnableProxyProtocol(): void
  ```
- [clearId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/clearid.md) -- `method` -- Clears the Id provisioning property.
    ```typescript
  clearId(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/privatelinkserviceproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
