Class Admissionregistrationv1ServiceReference
ServiceReference holds a reference to Service.legacy.k8s.io
Inheritance
Admissionregistrationv1ServiceReference
Assembly: KubernetesClient.dll
Syntax
public record Admissionregistrationv1ServiceReference : IEquatable<Admissionregistrationv1ServiceReference>
Constructors
Admissionregistrationv1ServiceReference()
Declaration
public Admissionregistrationv1ServiceReference()
Admissionregistrationv1ServiceReference(Admissionregistrationv1ServiceReference)
Declaration
protected Admissionregistrationv1ServiceReference(Admissionregistrationv1ServiceReference 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 which will be sent in any request to this service.
Declaration
[JsonPropertyName("path")]
public string Path { get; set; }
Property Value
Port
port is the port on the service that hosts the webhook. Default to 443 for
backward compatibility. port should be a valid port number (1-65535,
inclusive).
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(Admissionregistrationv1ServiceReference?)
Declaration
public virtual bool Equals(Admissionregistrationv1ServiceReference? 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 ==(Admissionregistrationv1ServiceReference?, Admissionregistrationv1ServiceReference?)
Declaration
public static bool operator ==(Admissionregistrationv1ServiceReference? left, Admissionregistrationv1ServiceReference? right)
Parameters
Returns
operator !=(Admissionregistrationv1ServiceReference?, Admissionregistrationv1ServiceReference?)
Declaration
public static bool operator !=(Admissionregistrationv1ServiceReference? left, Admissionregistrationv1ServiceReference? right)
Parameters
Returns
Implements