public async Task <EntityShortRepresentation> AddKubernetesCredentialsAsync(KubernetesCredentials body, CancellationToken cancellationToken = default)
        {
            var response = await GetKubernetesCredentialsUrl()
                           .PostJsonAsync(body, cancellationToken)
                           .ReceiveJsonWithErrorChecking <EntityShortRepresentation>()
                           .ConfigureAwait(false);

            return(response);
        }
        public async Task <EntityShortRepresentation> UpdateKubernetesCredentialsAsync(string id, KubernetesCredentials body, CancellationToken cancellationToken = default)
        {
            var response = await GetKubernetesCredentialsUrl()
                           .AppendPathSegment(id)
                           .PutJsonAsync(body, cancellationToken)
                           .ReceiveJsonWithErrorChecking <EntityShortRepresentation>()
                           .ConfigureAwait(false);

            return(response);
        }