Service.Spec Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the specification of the Kubernetes Service resource.
[YamlDotNet.Serialization.YamlMember(Alias="spec")]
public Aspire.Hosting.Kubernetes.Resources.ServiceSpecV1 Spec { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="spec")>]
member this.Spec : Aspire.Hosting.Kubernetes.Resources.ServiceSpecV1 with get, set
Public Property Spec As ServiceSpecV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property contains the configuration details of the Service, such as ClusterIP, LoadBalancerIP, type, selector, ports, and other service-specific settings. The values are represented by the ServiceSpecV1 class.