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