Share via


AzurePostgresFlexibleServerResource.HostName Property

Definition

Gets the host name for the PostgreSQL server.

public Aspire.Hosting.ApplicationModel.ReferenceExpression HostName { get; }
member this.HostName : Aspire.Hosting.ApplicationModel.ReferenceExpression
Public ReadOnly Property HostName As ReferenceExpression

Property Value

Remarks

In container mode, resolves to the container's primary endpoint host. In Azure mode, resolves to the Azure PostgreSQL server's fully qualified domain name.

Applies to