11 references to PrimaryEndpoint
Aspire.Hosting.MongoDB (11)
MongoDBBuilderExtensions.cs (1)
577
var targetPort = resource.
PrimaryEndpoint
.TargetPort;
MongoDBServerResource.cs (6)
43
public EndpointReferenceExpression Host =>
PrimaryEndpoint
.Property(EndpointProperty.Host);
48
public EndpointReferenceExpression Port =>
PrimaryEndpoint
.Property(EndpointProperty.Port);
101
/// This property proxies through to <see cref="EndpointAnnotation.TlsEnabled"/> on the <see cref="
PrimaryEndpoint
"/>,
107
public bool TlsEnabled =>
PrimaryEndpoint
.TlsEnabled;
143
builder.Append($"{
PrimaryEndpoint
.Property(EndpointProperty.HostAndPort)}");
174
builder.Append($"{
PrimaryEndpoint
.GetTlsValue(
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (2)
165
Internal: $"{m.Name}:{m.
PrimaryEndpoint
.TargetPort!.Value}",
167
External: await m.
PrimaryEndpoint
ReplicaSet\MongoDBReplicaSetResource.cs (2)
104
builder.Append($"{member.
PrimaryEndpoint
.Property(EndpointProperty.HostAndPort)}");
121
builder.Append($"{membersList[0].
PrimaryEndpoint
.GetTlsValue(