# PostgreSqlResourceIdentifierProxy

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

Represents the ResourceIdentifier Azure Provisioning model.

## Definition

```typescript
interface PostgreSqlResourceIdentifierProxy {
  readonly location: PostgreSqlAzureLocationProxy;
  readonly name: string;
  readonly parent: PostgreSqlResourceIdentifierProxy;
  readonly provider: string;
  readonly resourceGroupName: string;
  readonly resourceType: PostgreSqlResourceTypeProxy;
  readonly subscriptionId: string;
  appendChildResource(
      childResourceType: string,
      childResourceName: string): PostgreSqlResourceIdentifierProxy;
  appendProviderResource(
      providerNamespace: string,
      resourceType: string,
      resourceName: string): PostgreSqlResourceIdentifierProxy;
  compareTo(other: PostgreSqlResourceIdentifierProxy): number;
}
```

## Properties

- `location`: [PostgreSqlAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlazurelocationproxy.md) `get` -- Gets the Location provisioning property.
- `name`: `string` `get` -- Gets the Name provisioning property.
- `parent`: [PostgreSqlResourceIdentifierProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlresourceidentifierproxy.md) `get` -- Gets the Parent provisioning property.
- `provider`: `string` `get` -- Gets the Provider provisioning property.
- `resourceGroupName`: `string` `get` -- Gets the ResourceGroupName provisioning property.
- `resourceType`: [PostgreSqlResourceTypeProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlresourcetypeproxy.md) `get` -- Gets the ResourceType provisioning property.
- `subscriptionId`: `string` `get` -- Gets the SubscriptionId provisioning property.

## Methods

- [appendChildResource](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlresourceidentifierproxy/appendchildresource.md) -- `method` -- Invokes AppendChildResource on the ResourceIdentifier provisioning model.
    ```typescript
  appendChildResource(childResourceType: string, childResourceName: string): PostgreSqlResourceIdentifierProxy
  ```
- [appendProviderResource](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlresourceidentifierproxy/appendproviderresource.md) -- `method` -- Invokes AppendProviderResource on the ResourceIdentifier provisioning model.
    ```typescript
  appendProviderResource(providerNamespace: string, resourceType: string, resourceName: string): PostgreSqlResourceIdentifierProxy
  ```
- [compareTo](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlresourceidentifierproxy/compareto.md) -- `method` -- Invokes CompareTo on the ResourceIdentifier provisioning model.
    ```typescript
  compareTo(other: PostgreSqlResourceIdentifierProxy): number
  ```
