Class HeadendClient.__Cluster
Inheritance
HeadendClient.__Cluster
Assembly: Neon.Kube.dll
Syntax
[GeneratedClient("cluster")]
public class HeadendClient.__Cluster : IGeneratedServiceClient
Properties
GeneratorVersion
Returns the version of the Neon.ModelGen assembly that generated
this code plus the generated code schema version. This is formatted like:
SEMANTIC-VERSION:SCHEMA
where SCHEMA-VERSION is the Neon.ModelGen assembly version and
SCHEMA is a simple integer schema version number. The version will be
incremented if or when the code generated by future versions of the
Neon.ModelGen assembly changes enough to become incompatible
with older versions of the Neon.Xunit.XunitExtensions.ValidateController()
method. This is likely to never change, but future proofing is always
a good idea.
Declaration
public string GeneratorVersion { get; }
Property Value
Methods
CreateSsoClientAsync(string, string, CancellationToken, IRetryPolicy)
Declaration
[GeneratedMethod(DefinedAs = "CreateSsoClientAsync", Returns = typeof(Dictionary<string, string>), RouteTemplate = "{clusterId}/sso-client", HttpMethod = "POST", ApiVersion = "2023-04-06")]
public Task<Dictionary<string, string>> CreateSsoClientAsync(string clusterId, string clusterName, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
GetCertificateAsync(string, CancellationToken, IRetryPolicy)
Declaration
[GeneratedMethod(DefinedAs = "GetCertificateAsync", Returns = typeof(IDictionary<string, byte[]>), RouteTemplate = "{clusterId}/certificate", HttpMethod = "GET", ApiVersion = "2023-04-06")]
public Task<IDictionary<string, byte[]>> GetCertificateAsync(string clusterId, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
GetTokenAsync(string, CancellationToken, IRetryPolicy)
Declaration
[GeneratedMethod(DefinedAs = "GetTokenAsync", Returns = typeof(string), RouteTemplate = "{clusterId}/token/renew", HttpMethod = "GET", ApiVersion = "2023-04-06")]
public Task<string> GetTokenAsync(string clusterId, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
UnsafeCreateSsoClientAsync(string, string, CancellationToken, IRetryPolicy)
Declaration
public Task<JsonResponse> UnsafeCreateSsoClientAsync(string clusterId, string clusterName, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
UnsafeGetCertificateAsync(string, CancellationToken, IRetryPolicy)
Declaration
public Task<JsonResponse> UnsafeGetCertificateAsync(string clusterId, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
UnsafeGetTokenAsync(string, CancellationToken, IRetryPolicy)
Declaration
public Task<JsonResponse> UnsafeGetTokenAsync(string clusterId, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
UnsafeUpdateClusterDomainAsync(string, string, CancellationToken, IRetryPolicy)
Declaration
public Task<JsonResponse> UnsafeUpdateClusterDomainAsync(string clusterId, string addresses, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
UpdateClusterDomainAsync(string, string, CancellationToken, IRetryPolicy)
Declaration
[GeneratedMethod(DefinedAs = "UpdateClusterDomainAsync", Returns = typeof(string), RouteTemplate = "{clusterId}/domain", HttpMethod = "PUT", ApiVersion = "2023-04-06")]
public Task<string> UpdateClusterDomainAsync(string clusterId, string addresses, CancellationToken _cancellationToken = default, IRetryPolicy _retryPolicy = null)
Parameters
Returns
Implements