public virtual async Task <ArmOperation <SqlRoleDefinitionResource> > UpdateAsync(WaitUntil waitUntil, SqlRoleDefinitionCreateOrUpdateContent content, CancellationToken cancellationToken = default)
        {
            Argument.AssertNotNull(content, nameof(content));

            using var scope = _sqlRoleDefinitionSqlResourcesClientDiagnostics.CreateScope("SqlRoleDefinitionResource.Update");
            scope.Start();
            try
            {
                var response = await _sqlRoleDefinitionSqlResourcesRestClient.CreateUpdateSqlRoleDefinitionAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content, cancellationToken).ConfigureAwait(false);

                var operation = new CosmosDBArmOperation <SqlRoleDefinitionResource>(new SqlRoleDefinitionOperationSource(Client), _sqlRoleDefinitionSqlResourcesClientDiagnostics, Pipeline, _sqlRoleDefinitionSqlResourcesRestClient.CreateCreateUpdateSqlRoleDefinitionRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content).Request, response, OperationFinalStateVia.Location);
                if (waitUntil == WaitUntil.Completed)
                {
                    await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
                }
                return(operation);
            }
            catch (Exception e)
            {
                scope.Failed(e);
                throw;
            }
        }