Gets the primary endpoint for the Redis server.
public EndpointReference PrimaryEndpoint { get; }API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
public ReferenceExpression ConnectionStringExpression { get; }public EndpointReferenceExpression Host { get; }public ParameterResource? PasswordParameter { get; }public EndpointReferenceExpression Port { get; }public EndpointReference PrimaryEndpoint { get; }public bool TlsEnabled { get; }EndpointAnnotation.TlsEnabled on the RedisResource.PrimaryEndpoint. When set to true, the connection string expression dynamically includes ,ssl=true and the URI expression uses the rediss:// scheme. This value is resolved lazily at expression evaluation time, avoiding timing issues when TLS is enabled later in the application lifecycle (e.g., during the BeforeStartEvent). public ReferenceExpression UriExpression { get; }redis://[:{password}@]{host}:{port}. The password segment is omitted when no password is configured.