in src/Azure.Deployments.Extensibility.Extensions.Kubernetes/Client/K8sClient.cs [79:97]
public async Task<T> PatchClusterScopedObjectAsync<T>(JsonObject @object, string? group, string version, string plural, string objectName, bool dryRun, CancellationToken cancellationToken)
{
try
{
return await this.kubernetes.CustomObjects.PatchClusterCustomObjectAsync<T>(
CreateApplyPatchFor(@object),
group,
version,
plural,
objectName,
dryRun: dryRun ? "All" : null,
fieldManager: "Bicep",
cancellationToken: cancellationToken);
}
catch (HttpOperationException exception)
{
throw ConvertToErrorResponseException(exception);
}
}