Class Apiextensionsv1ServiceReference
ServiceReference holds a reference to Service.legacy.k8s.io
Inheritance
Apiextensionsv1ServiceReference
Assembly: KubernetesClient.dll
Syntax
public record Apiextensionsv1ServiceReference : IEquatable<Apiextensionsv1ServiceReference>
Constructors
Apiextensionsv1ServiceReference()
Declaration
public Apiextensionsv1ServiceReference()
Apiextensionsv1ServiceReference(Apiextensionsv1ServiceReference)
Declaration
protected Apiextensionsv1ServiceReference(Apiextensionsv1ServiceReference original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
name is the name of the service. Required
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
NamespaceProperty
namespace is the namespace of the service. Required
Declaration
[JsonPropertyName("namespace")]
public string NamespaceProperty { get; set; }
Property Value
Path
path is an optional URL path at which the webhook will be contacted.
Declaration
[JsonPropertyName("path")]
public string Path { get; set; }
Property Value
Port
port is an optional service port at which the webhook will be contacted. port
should be a valid port number (1-65535, inclusive). Defaults to 443 for backward
compatibility.
Declaration
[JsonPropertyName("port")]
public int? Port { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(Apiextensionsv1ServiceReference?)
Declaration
public virtual bool Equals(Apiextensionsv1ServiceReference? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(Apiextensionsv1ServiceReference?, Apiextensionsv1ServiceReference?)
Declaration
public static bool operator ==(Apiextensionsv1ServiceReference? left, Apiextensionsv1ServiceReference? right)
Parameters
Returns
operator !=(Apiextensionsv1ServiceReference?, Apiextensionsv1ServiceReference?)
Declaration
public static bool operator !=(Apiextensionsv1ServiceReference? left, Apiextensionsv1ServiceReference? right)
Parameters
Returns
Implements