DockerComposeServiceResource Properties
ClassProperties2 members
Represents a compute resource for Docker Compose with strongly-typed properties.
Gets the parent resource of type
DockerComposeEnvironmentResource . public DockerComposeEnvironmentResource Parent { get; } Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }Remarks
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use
ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.