Show / Hide Table of Contents

Class Apiextensionsv1ServiceReference

ServiceReference holds a reference to Service.legacy.k8s.io

Inheritance
object
Apiextensionsv1ServiceReference
Implements
IEquatable<Apiextensionsv1ServiceReference>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record Apiextensionsv1ServiceReference : IEquatable<Apiextensionsv1ServiceReference>

Constructors

View Source

Apiextensionsv1ServiceReference()

Declaration
public Apiextensionsv1ServiceReference()
View Source

Apiextensionsv1ServiceReference(Apiextensionsv1ServiceReference)

Declaration
protected Apiextensionsv1ServiceReference(Apiextensionsv1ServiceReference original)
Parameters
Type Name Description
Apiextensionsv1ServiceReference original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

Name

name is the name of the service. Required

Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type Description
string
View Source

NamespaceProperty

namespace is the namespace of the service. Required

Declaration
[JsonPropertyName("namespace")]
public string NamespaceProperty { get; set; }
Property Value
Type Description
string
View Source

Path

path is an optional URL path at which the webhook will be contacted.

Declaration
[JsonPropertyName("path")]
public string Path { get; set; }
Property Value
Type Description
string
View Source

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
Type Description
int?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(Apiextensionsv1ServiceReference?)

Declaration
public virtual bool Equals(Apiextensionsv1ServiceReference? other)
Parameters
Type Name Description
Apiextensionsv1ServiceReference other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(Apiextensionsv1ServiceReference?, Apiextensionsv1ServiceReference?)

Declaration
public static bool operator ==(Apiextensionsv1ServiceReference? left, Apiextensionsv1ServiceReference? right)
Parameters
Type Name Description
Apiextensionsv1ServiceReference left
Apiextensionsv1ServiceReference right
Returns
Type Description
bool
View Source

operator !=(Apiextensionsv1ServiceReference?, Apiextensionsv1ServiceReference?)

Declaration
public static bool operator !=(Apiextensionsv1ServiceReference? left, Apiextensionsv1ServiceReference? right)
Parameters
Type Name Description
Apiextensionsv1ServiceReference left
Apiextensionsv1ServiceReference right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX